tencentcloud-sdk-python 3.0.1439__py2.py3-none-any.whl → 3.0.1441__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/autoscaling/v20180419/models.py +10 -6
- tencentcloud/batch/v20170312/models.py +83 -0
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/cdwch/v20200915/models.py +19 -6
- tencentcloud/cfg/v20210820/models.py +20 -0
- tencentcloud/cfs/v20190719/cfs_client.py +23 -0
- tencentcloud/cfs/v20190719/models.py +124 -0
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/csip/v20221121/csip_client.py +23 -0
- tencentcloud/csip/v20221121/models.py +578 -4
- tencentcloud/dcdb/v20180411/models.py +47 -2
- tencentcloud/dlc/v20210125/models.py +15 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -1
- tencentcloud/dsgc/v20190723/models.py +10 -10
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20180416/errorcodes.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +16 -1
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/mariadb/v20170312/models.py +47 -2
- tencentcloud/mps/v20190612/models.py +24 -0
- tencentcloud/omics/v20221128/models.py +175 -0
- tencentcloud/organization/v20210331/models.py +306 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/privatedns/v20201028/models.py +6 -6
- tencentcloud/sqlserver/v20180328/models.py +30 -0
- tencentcloud/tdmq/v20200217/models.py +17 -2
- tencentcloud/teo/v20220901/models.py +130 -0
- tencentcloud/trocket/v20230308/models.py +35 -20
- tencentcloud/tsf/v20180326/errorcodes.py +21 -21
- tencentcloud/tsf/v20180326/models.py +4 -4
- tencentcloud/vdb/v20230616/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/RECORD +37 -37
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1439.dist-info → tencentcloud_sdk_python-3.0.1441.dist-info}/top_level.txt +0 -0
|
@@ -12079,6 +12079,10 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
|
|
|
12079
12079
|
:type MultiDrReadableInfo: list of DrReadableInfo
|
|
12080
12080
|
:param _IsDiskEncryptFlag: 是否开启磁盘加密,1-开启,0-未开启
|
|
12081
12081
|
:type IsDiskEncryptFlag: int
|
|
12082
|
+
:param _IsSafetyLimited: 是否安全限制部分功能,0-没有限制,1-有限制。限制的功能有:修改可用区、迁移变配、DTS数据迁移等
|
|
12083
|
+
:type IsSafetyLimited: int
|
|
12084
|
+
:param _IsSupportSA: 是否支持创建SA权限账号,0-不支持,1-支持
|
|
12085
|
+
:type IsSupportSA: int
|
|
12082
12086
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12083
12087
|
:type RequestId: str
|
|
12084
12088
|
"""
|
|
@@ -12097,6 +12101,8 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
|
|
|
12097
12101
|
self._XEventStatus = None
|
|
12098
12102
|
self._MultiDrReadableInfo = None
|
|
12099
12103
|
self._IsDiskEncryptFlag = None
|
|
12104
|
+
self._IsSafetyLimited = None
|
|
12105
|
+
self._IsSupportSA = None
|
|
12100
12106
|
self._RequestId = None
|
|
12101
12107
|
|
|
12102
12108
|
@property
|
|
@@ -12264,6 +12270,28 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
|
|
|
12264
12270
|
def IsDiskEncryptFlag(self, IsDiskEncryptFlag):
|
|
12265
12271
|
self._IsDiskEncryptFlag = IsDiskEncryptFlag
|
|
12266
12272
|
|
|
12273
|
+
@property
|
|
12274
|
+
def IsSafetyLimited(self):
|
|
12275
|
+
"""是否安全限制部分功能,0-没有限制,1-有限制。限制的功能有:修改可用区、迁移变配、DTS数据迁移等
|
|
12276
|
+
:rtype: int
|
|
12277
|
+
"""
|
|
12278
|
+
return self._IsSafetyLimited
|
|
12279
|
+
|
|
12280
|
+
@IsSafetyLimited.setter
|
|
12281
|
+
def IsSafetyLimited(self, IsSafetyLimited):
|
|
12282
|
+
self._IsSafetyLimited = IsSafetyLimited
|
|
12283
|
+
|
|
12284
|
+
@property
|
|
12285
|
+
def IsSupportSA(self):
|
|
12286
|
+
"""是否支持创建SA权限账号,0-不支持,1-支持
|
|
12287
|
+
:rtype: int
|
|
12288
|
+
"""
|
|
12289
|
+
return self._IsSupportSA
|
|
12290
|
+
|
|
12291
|
+
@IsSupportSA.setter
|
|
12292
|
+
def IsSupportSA(self, IsSupportSA):
|
|
12293
|
+
self._IsSupportSA = IsSupportSA
|
|
12294
|
+
|
|
12267
12295
|
@property
|
|
12268
12296
|
def RequestId(self):
|
|
12269
12297
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -12308,6 +12336,8 @@ class DescribeDBInstancesAttributeResponse(AbstractModel):
|
|
|
12308
12336
|
obj._deserialize(item)
|
|
12309
12337
|
self._MultiDrReadableInfo.append(obj)
|
|
12310
12338
|
self._IsDiskEncryptFlag = params.get("IsDiskEncryptFlag")
|
|
12339
|
+
self._IsSafetyLimited = params.get("IsSafetyLimited")
|
|
12340
|
+
self._IsSupportSA = params.get("IsSupportSA")
|
|
12311
12341
|
self._RequestId = params.get("RequestId")
|
|
12312
12342
|
|
|
12313
12343
|
|
|
@@ -16225,7 +16225,7 @@ class DescribeRocketMQGroupsRequest(AbstractModel):
|
|
|
16225
16225
|
:type FilterTopic: str
|
|
16226
16226
|
:param _FilterGroup: 按消费组名称查询消费组,支持模糊查询
|
|
16227
16227
|
:type FilterGroup: str
|
|
16228
|
-
:param _SortedBy: 按照指定字段排序,可选值为
|
|
16228
|
+
:param _SortedBy: 按照指定字段排序,可选值为 subscribeNum: 订阅 Topic 个数
|
|
16229
16229
|
:type SortedBy: str
|
|
16230
16230
|
:param _SortOrder: 按升序或降序排列,可选值为asc,desc
|
|
16231
16231
|
:type SortOrder: str
|
|
@@ -16313,7 +16313,7 @@ class DescribeRocketMQGroupsRequest(AbstractModel):
|
|
|
16313
16313
|
|
|
16314
16314
|
@property
|
|
16315
16315
|
def SortedBy(self):
|
|
16316
|
-
"""按照指定字段排序,可选值为
|
|
16316
|
+
"""按照指定字段排序,可选值为 subscribeNum: 订阅 Topic 个数
|
|
16317
16317
|
:rtype: str
|
|
16318
16318
|
"""
|
|
16319
16319
|
return self._SortedBy
|
|
@@ -31205,6 +31205,8 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
|
|
|
31205
31205
|
:type Topic: str
|
|
31206
31206
|
:param _ResetTimestamp: 重置指定的时间戳,仅在 Type 为1是生效,以毫秒为单位
|
|
31207
31207
|
:type ResetTimestamp: int
|
|
31208
|
+
:param _RetryFlag: 重置的是否是retry topic
|
|
31209
|
+
:type RetryFlag: bool
|
|
31208
31210
|
"""
|
|
31209
31211
|
self._ClusterId = None
|
|
31210
31212
|
self._NamespaceId = None
|
|
@@ -31212,6 +31214,7 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
|
|
|
31212
31214
|
self._Type = None
|
|
31213
31215
|
self._Topic = None
|
|
31214
31216
|
self._ResetTimestamp = None
|
|
31217
|
+
self._RetryFlag = None
|
|
31215
31218
|
|
|
31216
31219
|
@property
|
|
31217
31220
|
def ClusterId(self):
|
|
@@ -31279,6 +31282,17 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
|
|
|
31279
31282
|
def ResetTimestamp(self, ResetTimestamp):
|
|
31280
31283
|
self._ResetTimestamp = ResetTimestamp
|
|
31281
31284
|
|
|
31285
|
+
@property
|
|
31286
|
+
def RetryFlag(self):
|
|
31287
|
+
"""重置的是否是retry topic
|
|
31288
|
+
:rtype: bool
|
|
31289
|
+
"""
|
|
31290
|
+
return self._RetryFlag
|
|
31291
|
+
|
|
31292
|
+
@RetryFlag.setter
|
|
31293
|
+
def RetryFlag(self, RetryFlag):
|
|
31294
|
+
self._RetryFlag = RetryFlag
|
|
31295
|
+
|
|
31282
31296
|
|
|
31283
31297
|
def _deserialize(self, params):
|
|
31284
31298
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -31287,6 +31301,7 @@ class ResetRocketMQConsumerOffSetRequest(AbstractModel):
|
|
|
31287
31301
|
self._Type = params.get("Type")
|
|
31288
31302
|
self._Topic = params.get("Topic")
|
|
31289
31303
|
self._ResetTimestamp = params.get("ResetTimestamp")
|
|
31304
|
+
self._RetryFlag = params.get("RetryFlag")
|
|
31290
31305
|
memeber_set = set(params.keys())
|
|
31291
31306
|
for name, value in vars(self).items():
|
|
31292
31307
|
property_name = name[1:]
|
|
@@ -29727,6 +29727,119 @@ class ForceRedirectHTTPSParameters(AbstractModel):
|
|
|
29727
29727
|
|
|
29728
29728
|
|
|
29729
29729
|
|
|
29730
|
+
class FrequentScanningProtection(AbstractModel):
|
|
29731
|
+
"""高频扫描防护配置选项,当某一访客的请求频繁命中「配置为拦截」的托管规则时,在一段时间内封禁该访客所有请求。
|
|
29732
|
+
|
|
29733
|
+
"""
|
|
29734
|
+
|
|
29735
|
+
def __init__(self):
|
|
29736
|
+
r"""
|
|
29737
|
+
:param _Enabled: 高频扫描防护规则是否开启。取值有:<li>on:开启,高频扫描防护规则生效;</li><li>off:关闭,高频扫描防护规则不生效。</li>
|
|
29738
|
+
:type Enabled: str
|
|
29739
|
+
:param _Action: 高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
|
|
29740
|
+
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
29741
|
+
:param _CountBy: 请求统计的匹配方式,当 Enabled 为 on 时,此字段必填。取值有:<li>http.request.xff_header_ip:客户端 IP(优先匹配 XFF 头部);</li><li>http.request.ip:客户端 IP。</li>
|
|
29742
|
+
:type CountBy: str
|
|
29743
|
+
:param _BlockThreshold: 此参数指定高频扫描防护的阈值,即在 CountingPeriod 所设置时间范围内命中「配置为拦截」的托管规则时的累计拦截次数,取值范围 1 ~ 4294967294,例如 100,当超过此统计值时,后续请求将触发 Action 所设置的处置动作。当 Enabled 为 on 时,此字段必填。
|
|
29744
|
+
:type BlockThreshold: int
|
|
29745
|
+
:param _CountingPeriod: 此参数指定高频扫描防护所统计的时间窗口,即命中「配置为拦截」的托管规则的请求的统计时间窗口,取值 5 ~ 1800,单位仅支持秒(s),例如 5s。 当 Enabled 为 on 时,此字段必填。
|
|
29746
|
+
:type CountingPeriod: str
|
|
29747
|
+
:param _ActionDuration: 此参数指定高频扫描防护 Action 参数所设置处置动作的持续时长,取值范围 60 ~ 86400,单位仅支持秒(s),例如 60s。当 Enabled 为 on 时,此字段必填。
|
|
29748
|
+
:type ActionDuration: str
|
|
29749
|
+
"""
|
|
29750
|
+
self._Enabled = None
|
|
29751
|
+
self._Action = None
|
|
29752
|
+
self._CountBy = None
|
|
29753
|
+
self._BlockThreshold = None
|
|
29754
|
+
self._CountingPeriod = None
|
|
29755
|
+
self._ActionDuration = None
|
|
29756
|
+
|
|
29757
|
+
@property
|
|
29758
|
+
def Enabled(self):
|
|
29759
|
+
"""高频扫描防护规则是否开启。取值有:<li>on:开启,高频扫描防护规则生效;</li><li>off:关闭,高频扫描防护规则不生效。</li>
|
|
29760
|
+
:rtype: str
|
|
29761
|
+
"""
|
|
29762
|
+
return self._Enabled
|
|
29763
|
+
|
|
29764
|
+
@Enabled.setter
|
|
29765
|
+
def Enabled(self, Enabled):
|
|
29766
|
+
self._Enabled = Enabled
|
|
29767
|
+
|
|
29768
|
+
@property
|
|
29769
|
+
def Action(self):
|
|
29770
|
+
"""高频扫描防护的处置动作。 当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Deny:拦截,响应拦截页面;</li><li>Monitor:观察,不处理请求记录安全事件到日志中;</li><li>JSChallenge:JavaScript 挑战,响应 JavaScript 挑战页面。</li>
|
|
29771
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
29772
|
+
"""
|
|
29773
|
+
return self._Action
|
|
29774
|
+
|
|
29775
|
+
@Action.setter
|
|
29776
|
+
def Action(self, Action):
|
|
29777
|
+
self._Action = Action
|
|
29778
|
+
|
|
29779
|
+
@property
|
|
29780
|
+
def CountBy(self):
|
|
29781
|
+
"""请求统计的匹配方式,当 Enabled 为 on 时,此字段必填。取值有:<li>http.request.xff_header_ip:客户端 IP(优先匹配 XFF 头部);</li><li>http.request.ip:客户端 IP。</li>
|
|
29782
|
+
:rtype: str
|
|
29783
|
+
"""
|
|
29784
|
+
return self._CountBy
|
|
29785
|
+
|
|
29786
|
+
@CountBy.setter
|
|
29787
|
+
def CountBy(self, CountBy):
|
|
29788
|
+
self._CountBy = CountBy
|
|
29789
|
+
|
|
29790
|
+
@property
|
|
29791
|
+
def BlockThreshold(self):
|
|
29792
|
+
"""此参数指定高频扫描防护的阈值,即在 CountingPeriod 所设置时间范围内命中「配置为拦截」的托管规则时的累计拦截次数,取值范围 1 ~ 4294967294,例如 100,当超过此统计值时,后续请求将触发 Action 所设置的处置动作。当 Enabled 为 on 时,此字段必填。
|
|
29793
|
+
:rtype: int
|
|
29794
|
+
"""
|
|
29795
|
+
return self._BlockThreshold
|
|
29796
|
+
|
|
29797
|
+
@BlockThreshold.setter
|
|
29798
|
+
def BlockThreshold(self, BlockThreshold):
|
|
29799
|
+
self._BlockThreshold = BlockThreshold
|
|
29800
|
+
|
|
29801
|
+
@property
|
|
29802
|
+
def CountingPeriod(self):
|
|
29803
|
+
"""此参数指定高频扫描防护所统计的时间窗口,即命中「配置为拦截」的托管规则的请求的统计时间窗口,取值 5 ~ 1800,单位仅支持秒(s),例如 5s。 当 Enabled 为 on 时,此字段必填。
|
|
29804
|
+
:rtype: str
|
|
29805
|
+
"""
|
|
29806
|
+
return self._CountingPeriod
|
|
29807
|
+
|
|
29808
|
+
@CountingPeriod.setter
|
|
29809
|
+
def CountingPeriod(self, CountingPeriod):
|
|
29810
|
+
self._CountingPeriod = CountingPeriod
|
|
29811
|
+
|
|
29812
|
+
@property
|
|
29813
|
+
def ActionDuration(self):
|
|
29814
|
+
"""此参数指定高频扫描防护 Action 参数所设置处置动作的持续时长,取值范围 60 ~ 86400,单位仅支持秒(s),例如 60s。当 Enabled 为 on 时,此字段必填。
|
|
29815
|
+
:rtype: str
|
|
29816
|
+
"""
|
|
29817
|
+
return self._ActionDuration
|
|
29818
|
+
|
|
29819
|
+
@ActionDuration.setter
|
|
29820
|
+
def ActionDuration(self, ActionDuration):
|
|
29821
|
+
self._ActionDuration = ActionDuration
|
|
29822
|
+
|
|
29823
|
+
|
|
29824
|
+
def _deserialize(self, params):
|
|
29825
|
+
self._Enabled = params.get("Enabled")
|
|
29826
|
+
if params.get("Action") is not None:
|
|
29827
|
+
self._Action = SecurityAction()
|
|
29828
|
+
self._Action._deserialize(params.get("Action"))
|
|
29829
|
+
self._CountBy = params.get("CountBy")
|
|
29830
|
+
self._BlockThreshold = params.get("BlockThreshold")
|
|
29831
|
+
self._CountingPeriod = params.get("CountingPeriod")
|
|
29832
|
+
self._ActionDuration = params.get("ActionDuration")
|
|
29833
|
+
memeber_set = set(params.keys())
|
|
29834
|
+
for name, value in vars(self).items():
|
|
29835
|
+
property_name = name[1:]
|
|
29836
|
+
if property_name in memeber_set:
|
|
29837
|
+
memeber_set.remove(property_name)
|
|
29838
|
+
if len(memeber_set) > 0:
|
|
29839
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
29840
|
+
|
|
29841
|
+
|
|
29842
|
+
|
|
29730
29843
|
class Function(AbstractModel):
|
|
29731
29844
|
"""边缘函数详情
|
|
29732
29845
|
|
|
@@ -34591,12 +34704,15 @@ class ManagedRules(AbstractModel):
|
|
|
34591
34704
|
:type AutoUpdate: :class:`tencentcloud.teo.v20220901.models.ManagedRuleAutoUpdate`
|
|
34592
34705
|
:param _ManagedRuleGroups: 托管规则组的配置。如果此结构传空数组或 GroupId 未包含在列表内将按照默认方式处理。
|
|
34593
34706
|
:type ManagedRuleGroups: list of ManagedRuleGroup
|
|
34707
|
+
:param _FrequentScanningProtection: 高频扫描防护配置选项,当某一访客的请求频繁命中「配置为拦截」的托管规则时,在一段时间内封禁该访客所有请求。
|
|
34708
|
+
:type FrequentScanningProtection: :class:`tencentcloud.teo.v20220901.models.FrequentScanningProtection`
|
|
34594
34709
|
"""
|
|
34595
34710
|
self._Enabled = None
|
|
34596
34711
|
self._DetectionOnly = None
|
|
34597
34712
|
self._SemanticAnalysis = None
|
|
34598
34713
|
self._AutoUpdate = None
|
|
34599
34714
|
self._ManagedRuleGroups = None
|
|
34715
|
+
self._FrequentScanningProtection = None
|
|
34600
34716
|
|
|
34601
34717
|
@property
|
|
34602
34718
|
def Enabled(self):
|
|
@@ -34653,6 +34769,17 @@ class ManagedRules(AbstractModel):
|
|
|
34653
34769
|
def ManagedRuleGroups(self, ManagedRuleGroups):
|
|
34654
34770
|
self._ManagedRuleGroups = ManagedRuleGroups
|
|
34655
34771
|
|
|
34772
|
+
@property
|
|
34773
|
+
def FrequentScanningProtection(self):
|
|
34774
|
+
"""高频扫描防护配置选项,当某一访客的请求频繁命中「配置为拦截」的托管规则时,在一段时间内封禁该访客所有请求。
|
|
34775
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.FrequentScanningProtection`
|
|
34776
|
+
"""
|
|
34777
|
+
return self._FrequentScanningProtection
|
|
34778
|
+
|
|
34779
|
+
@FrequentScanningProtection.setter
|
|
34780
|
+
def FrequentScanningProtection(self, FrequentScanningProtection):
|
|
34781
|
+
self._FrequentScanningProtection = FrequentScanningProtection
|
|
34782
|
+
|
|
34656
34783
|
|
|
34657
34784
|
def _deserialize(self, params):
|
|
34658
34785
|
self._Enabled = params.get("Enabled")
|
|
@@ -34667,6 +34794,9 @@ class ManagedRules(AbstractModel):
|
|
|
34667
34794
|
obj = ManagedRuleGroup()
|
|
34668
34795
|
obj._deserialize(item)
|
|
34669
34796
|
self._ManagedRuleGroups.append(obj)
|
|
34797
|
+
if params.get("FrequentScanningProtection") is not None:
|
|
34798
|
+
self._FrequentScanningProtection = FrequentScanningProtection()
|
|
34799
|
+
self._FrequentScanningProtection._deserialize(params.get("FrequentScanningProtection"))
|
|
34670
34800
|
memeber_set = set(params.keys())
|
|
34671
34801
|
for name, value in vars(self).items():
|
|
34672
34802
|
property_name = name[1:]
|
|
@@ -780,12 +780,12 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
780
780
|
:type Name: str
|
|
781
781
|
:param _SkuCode: 商品规格,从 [DescribeProductSKUs](https://cloud.tencent.com/document/api/1493/107676) 接口中的 [ProductSKU](https://cloud.tencent.com/document/api/1493/96031#ProductSKU) 出参获得。
|
|
782
782
|
:type SkuCode: str
|
|
783
|
+
:param _VpcList: 集群绑定的VPC信息
|
|
784
|
+
:type VpcList: list of VpcInfo
|
|
783
785
|
:param _Remark: 备注信息
|
|
784
786
|
:type Remark: str
|
|
785
787
|
:param _TagList: 标签列表
|
|
786
788
|
:type TagList: list of Tag
|
|
787
|
-
:param _VpcList: 集群绑定的VPC信息,必填
|
|
788
|
-
:type VpcList: list of VpcInfo
|
|
789
789
|
:param _EnablePublic: 是否开启公网,默认值为false表示不开启
|
|
790
790
|
:type EnablePublic: bool
|
|
791
791
|
:param _BillingFlow: 公网是否按流量计费,默认值为false表示不按流量计费
|
|
@@ -817,9 +817,9 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
817
817
|
self._InstanceType = None
|
|
818
818
|
self._Name = None
|
|
819
819
|
self._SkuCode = None
|
|
820
|
+
self._VpcList = None
|
|
820
821
|
self._Remark = None
|
|
821
822
|
self._TagList = None
|
|
822
|
-
self._VpcList = None
|
|
823
823
|
self._EnablePublic = None
|
|
824
824
|
self._BillingFlow = None
|
|
825
825
|
self._Bandwidth = None
|
|
@@ -872,6 +872,17 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
872
872
|
def SkuCode(self, SkuCode):
|
|
873
873
|
self._SkuCode = SkuCode
|
|
874
874
|
|
|
875
|
+
@property
|
|
876
|
+
def VpcList(self):
|
|
877
|
+
"""集群绑定的VPC信息
|
|
878
|
+
:rtype: list of VpcInfo
|
|
879
|
+
"""
|
|
880
|
+
return self._VpcList
|
|
881
|
+
|
|
882
|
+
@VpcList.setter
|
|
883
|
+
def VpcList(self, VpcList):
|
|
884
|
+
self._VpcList = VpcList
|
|
885
|
+
|
|
875
886
|
@property
|
|
876
887
|
def Remark(self):
|
|
877
888
|
"""备注信息
|
|
@@ -894,17 +905,6 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
894
905
|
def TagList(self, TagList):
|
|
895
906
|
self._TagList = TagList
|
|
896
907
|
|
|
897
|
-
@property
|
|
898
|
-
def VpcList(self):
|
|
899
|
-
"""集群绑定的VPC信息,必填
|
|
900
|
-
:rtype: list of VpcInfo
|
|
901
|
-
"""
|
|
902
|
-
return self._VpcList
|
|
903
|
-
|
|
904
|
-
@VpcList.setter
|
|
905
|
-
def VpcList(self, VpcList):
|
|
906
|
-
self._VpcList = VpcList
|
|
907
|
-
|
|
908
908
|
@property
|
|
909
909
|
def EnablePublic(self):
|
|
910
910
|
"""是否开启公网,默认值为false表示不开启
|
|
@@ -1027,6 +1027,12 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1027
1027
|
self._InstanceType = params.get("InstanceType")
|
|
1028
1028
|
self._Name = params.get("Name")
|
|
1029
1029
|
self._SkuCode = params.get("SkuCode")
|
|
1030
|
+
if params.get("VpcList") is not None:
|
|
1031
|
+
self._VpcList = []
|
|
1032
|
+
for item in params.get("VpcList"):
|
|
1033
|
+
obj = VpcInfo()
|
|
1034
|
+
obj._deserialize(item)
|
|
1035
|
+
self._VpcList.append(obj)
|
|
1030
1036
|
self._Remark = params.get("Remark")
|
|
1031
1037
|
if params.get("TagList") is not None:
|
|
1032
1038
|
self._TagList = []
|
|
@@ -1034,12 +1040,6 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
1034
1040
|
obj = Tag()
|
|
1035
1041
|
obj._deserialize(item)
|
|
1036
1042
|
self._TagList.append(obj)
|
|
1037
|
-
if params.get("VpcList") is not None:
|
|
1038
|
-
self._VpcList = []
|
|
1039
|
-
for item in params.get("VpcList"):
|
|
1040
|
-
obj = VpcInfo()
|
|
1041
|
-
obj._deserialize(item)
|
|
1042
|
-
self._VpcList.append(obj)
|
|
1043
1043
|
self._EnablePublic = params.get("EnablePublic")
|
|
1044
1044
|
self._BillingFlow = params.get("BillingFlow")
|
|
1045
1045
|
self._Bandwidth = params.get("Bandwidth")
|
|
@@ -8588,11 +8588,14 @@ class DescribeTopicListRequest(AbstractModel):
|
|
|
8588
8588
|
:type Offset: int
|
|
8589
8589
|
:param _Limit: 查询结果限制数量,默认20。
|
|
8590
8590
|
:type Limit: int
|
|
8591
|
+
:param _FromGroup: 按照消费组查询订阅的主题
|
|
8592
|
+
:type FromGroup: str
|
|
8591
8593
|
"""
|
|
8592
8594
|
self._InstanceId = None
|
|
8593
8595
|
self._Filters = None
|
|
8594
8596
|
self._Offset = None
|
|
8595
8597
|
self._Limit = None
|
|
8598
|
+
self._FromGroup = None
|
|
8596
8599
|
|
|
8597
8600
|
@property
|
|
8598
8601
|
def InstanceId(self):
|
|
@@ -8638,6 +8641,17 @@ class DescribeTopicListRequest(AbstractModel):
|
|
|
8638
8641
|
def Limit(self, Limit):
|
|
8639
8642
|
self._Limit = Limit
|
|
8640
8643
|
|
|
8644
|
+
@property
|
|
8645
|
+
def FromGroup(self):
|
|
8646
|
+
"""按照消费组查询订阅的主题
|
|
8647
|
+
:rtype: str
|
|
8648
|
+
"""
|
|
8649
|
+
return self._FromGroup
|
|
8650
|
+
|
|
8651
|
+
@FromGroup.setter
|
|
8652
|
+
def FromGroup(self, FromGroup):
|
|
8653
|
+
self._FromGroup = FromGroup
|
|
8654
|
+
|
|
8641
8655
|
|
|
8642
8656
|
def _deserialize(self, params):
|
|
8643
8657
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -8649,6 +8663,7 @@ class DescribeTopicListRequest(AbstractModel):
|
|
|
8649
8663
|
self._Filters.append(obj)
|
|
8650
8664
|
self._Offset = params.get("Offset")
|
|
8651
8665
|
self._Limit = params.get("Limit")
|
|
8666
|
+
self._FromGroup = params.get("FromGroup")
|
|
8652
8667
|
memeber_set = set(params.keys())
|
|
8653
8668
|
for name, value in vars(self).items():
|
|
8654
8669
|
property_name = name[1:]
|
|
@@ -119,7 +119,7 @@ FAILEDOPERATION_FINDMETRICSEXCLUSIVEERROR = 'FailedOperation.FindMetricsExclusiv
|
|
|
119
119
|
# 网关通用异常:%s。
|
|
120
120
|
FAILEDOPERATION_GATEWAYCOMMONERROR = 'FailedOperation.GatewayCommonError'
|
|
121
121
|
|
|
122
|
-
#
|
|
122
|
+
# 远端访问错误。
|
|
123
123
|
FAILEDOPERATION_GATEWAYREMOTECALLERROR = 'FailedOperation.GatewayRemoteCallError'
|
|
124
124
|
|
|
125
125
|
# 命名空间下存在部署组。
|
|
@@ -221,7 +221,7 @@ FAILEDOPERATION_TASKDELETEERROR = 'FailedOperation.TaskDeleteError'
|
|
|
221
221
|
# 操作失败。
|
|
222
222
|
FAILEDOPERATION_TASKOPERATIONFAILED = 'FailedOperation.TaskOperationFailed'
|
|
223
223
|
|
|
224
|
-
#
|
|
224
|
+
# 操作不允许。
|
|
225
225
|
FAILEDOPERATION_TASKOPERATIONFORBIDDEN = 'FailedOperation.TaskOperationForbidden'
|
|
226
226
|
|
|
227
227
|
# 任务下发异常。
|
|
@@ -317,7 +317,7 @@ FAILEDOPERATION_TSFMSERROR = 'FailedOperation.TsfMsError'
|
|
|
317
317
|
# 调用ms server失败。
|
|
318
318
|
FAILEDOPERATION_TSFMSSERVERERROR = 'FailedOperation.TsfMsServerError'
|
|
319
319
|
|
|
320
|
-
# TSF
|
|
320
|
+
# TSF权限模块异常,请联系系统管理员。
|
|
321
321
|
FAILEDOPERATION_TSFPRIVILEGEERROR = 'FailedOperation.TsfPrivilegeError'
|
|
322
322
|
|
|
323
323
|
# 未授权。
|
|
@@ -374,7 +374,7 @@ INTERNALERROR_CONTAINERGROUPKUBERNETEDEPLOYMENTNOTFOUND = 'InternalError.Contain
|
|
|
374
374
|
# 容器应用SQL错误。
|
|
375
375
|
INTERNALERROR_CONTAINERGROUPSQLFAILED = 'InternalError.ContainergroupSqlFailed'
|
|
376
376
|
|
|
377
|
-
#
|
|
377
|
+
# 容器平台集群不可用,当前状态。有 Idling、Notinit等。
|
|
378
378
|
INTERNALERROR_CPCLUSTERUNAVAILABLE = 'InternalError.CpClusterUnavailable'
|
|
379
379
|
|
|
380
380
|
# 命令下放失败。
|
|
@@ -389,7 +389,7 @@ INTERNALERROR_CVMCAEMASTERNONALIVE = 'InternalError.CvmCaeMasterNonAlive'
|
|
|
389
389
|
# 数据查询失败。
|
|
390
390
|
INTERNALERROR_CVMCAEMASTERQUERYERROR = 'InternalError.CvmCaeMasterQueryError'
|
|
391
391
|
|
|
392
|
-
# TSF
|
|
392
|
+
# TSF暂时不能响应请求。
|
|
393
393
|
INTERNALERROR_DISPATCHCOMMONERROR = 'InternalError.DispatchCommonError'
|
|
394
394
|
|
|
395
395
|
# 网关通用异常:%s。
|
|
@@ -464,7 +464,7 @@ INTERNALERROR_TSFMONITORINTERNALERROR = 'InternalError.TsfMonitorInternalError'
|
|
|
464
464
|
# TSF服务管理通用异常。
|
|
465
465
|
INTERNALERROR_TSFMSERROR = 'InternalError.TsfMsError'
|
|
466
466
|
|
|
467
|
-
#
|
|
467
|
+
# 模块未处理异常。
|
|
468
468
|
INTERNALERROR_UNHANDLEDEXCEPTION = 'InternalError.UnhandledException'
|
|
469
469
|
|
|
470
470
|
# 参数错误。
|
|
@@ -473,7 +473,7 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
|
473
473
|
# 删除应用失败。
|
|
474
474
|
INVALIDPARAMETER_APPLICATIONDELETEFAILED = 'InvalidParameter.ApplicationDeleteFailed'
|
|
475
475
|
|
|
476
|
-
#
|
|
476
|
+
# 示例:serviceId模块接口action请求不正确(400 BAD REQUEST)。
|
|
477
477
|
INVALIDPARAMETER_BADREQUEST = 'InvalidParameter.BadRequest'
|
|
478
478
|
|
|
479
479
|
# 配置模板名称不符合规范。
|
|
@@ -590,7 +590,7 @@ INVALIDPARAMETER_TSFAPMSTDOUTSEARCHREQUESTPARAMERROR = 'InvalidParameter.TsfApmS
|
|
|
590
590
|
# TSF应用性能管理调用链搜索请求参数错误。
|
|
591
591
|
INVALIDPARAMETER_TSFAPMTRACESEARCHREQUESTPARAMERROR = 'InvalidParameter.TsfApmTraceSearchRequestParamError'
|
|
592
592
|
|
|
593
|
-
# TSF
|
|
593
|
+
# TSF监控统计请求参数非法。
|
|
594
594
|
INVALIDPARAMETER_TSFMONITORREQUESTPARAMILLEGAL = 'InvalidParameter.TsfMonitorRequestParamIllegal'
|
|
595
595
|
|
|
596
596
|
# 仓库批量删除包数量超过单次允许上限。
|
|
@@ -764,7 +764,7 @@ INVALIDPARAMETERVALUE_CONTAINERGROUPPROTOCOLPORTSNULL = 'InvalidParameterValue.C
|
|
|
764
764
|
# 镜像仓库名与应用名不匹配。
|
|
765
765
|
INVALIDPARAMETERVALUE_CONTAINERGROUPREPONAMEINVALID = 'InvalidParameterValue.ContainergroupReponameInvalid'
|
|
766
766
|
|
|
767
|
-
# agent 容器资源值非法 ,
|
|
767
|
+
# 示例:agent 容器资源值非法 , cpu。
|
|
768
768
|
INVALIDPARAMETERVALUE_CONTAINERGROUPRESOURCEAGENTVALUEINVALID = 'InvalidParameterValue.ContainergroupResourceAgentValueInvalid'
|
|
769
769
|
|
|
770
770
|
# 容器端口不允许重复映射。
|
|
@@ -899,7 +899,7 @@ INVALIDPARAMETERVALUE_IMAGEREPOTAGNAMENULL = 'InvalidParameterValue.ImagerepoTag
|
|
|
899
899
|
# 重装系统,无效的镜像id。
|
|
900
900
|
INVALIDPARAMETERVALUE_INSTANCEINVALIDIMAGE = 'InvalidParameterValue.InstanceInvalidImage'
|
|
901
901
|
|
|
902
|
-
#
|
|
902
|
+
# 示例:参数 Region 取值错误。
|
|
903
903
|
INVALIDPARAMETERVALUE_INVALIDPARAMETER = 'InvalidParameterValue.InvalidParameter'
|
|
904
904
|
|
|
905
905
|
# 参数格式异常。
|
|
@@ -1004,7 +1004,7 @@ INVALIDPARAMETERVALUE_RELEASEDCONFIGCANNOTBEDELETED = 'InvalidParameterValue.Rel
|
|
|
1004
1004
|
# 文件配置项已经发布,不允许删除。
|
|
1005
1005
|
INVALIDPARAMETERVALUE_RELEASEDFILECONFIGCANNOTBEDELETED = 'InvalidParameterValue.ReleasedFileConfigCanNotBeDeleted'
|
|
1006
1006
|
|
|
1007
|
-
#
|
|
1007
|
+
# 无权限操作资源[%s]。
|
|
1008
1008
|
INVALIDPARAMETERVALUE_RESOURCEPERMISSIONDENIED = 'InvalidParameterValue.ResourcePermissionDenied'
|
|
1009
1009
|
|
|
1010
1010
|
# ResourceType 不支持。
|
|
@@ -1016,7 +1016,7 @@ INVALIDPARAMETERVALUE_SERVICEDESCLENGTH = 'InvalidParameterValue.ServiceDescLeng
|
|
|
1016
1016
|
# 服务名称重复。
|
|
1017
1017
|
INVALIDPARAMETERVALUE_SERVICENAMEREPEATED = 'InvalidParameterValue.ServiceNameRepeated'
|
|
1018
1018
|
|
|
1019
|
-
#
|
|
1019
|
+
# 无法获取微服务列表或无访问权限。
|
|
1020
1020
|
INVALIDPARAMETERVALUE_SERVICENOTEXISTSORPERMISSIONDENIED = 'InvalidParameterValue.ServiceNotExistsOrPermissionDenied'
|
|
1021
1021
|
|
|
1022
1022
|
# 无效请求参数。
|
|
@@ -1112,13 +1112,13 @@ MISSINGPARAMETER_NAMESPACEIDREQUIRED = 'MissingParameter.NamespaceIdRequired'
|
|
|
1112
1112
|
# 命名空间名称未填写。
|
|
1113
1113
|
MISSINGPARAMETER_NAMESPACENAMEREQUIRED = 'MissingParameter.NamespaceNameRequired'
|
|
1114
1114
|
|
|
1115
|
-
# %s缺失。
|
|
1115
|
+
# [%s]缺失。
|
|
1116
1116
|
MISSINGPARAMETER_REQUIREDPARAMETERMISSING = 'MissingParameter.RequiredParameterMissing'
|
|
1117
1117
|
|
|
1118
1118
|
# 未填写服务Id。
|
|
1119
1119
|
MISSINGPARAMETER_SERVICEIDREQUIRED = 'MissingParameter.ServiceIdRequired'
|
|
1120
1120
|
|
|
1121
|
-
# 未指定%s
|
|
1121
|
+
# 未指定%s。
|
|
1122
1122
|
MISSINGPARAMETER_SYSTEMPARAMETERREQUIRED = 'MissingParameter.SystemParameterRequired'
|
|
1123
1123
|
|
|
1124
1124
|
# 缺少必填参数。
|
|
@@ -1211,10 +1211,10 @@ RESOURCENOTFOUND_INTERFACENOTFOUND = 'ResourceNotFound.InterfaceNotFound'
|
|
|
1211
1211
|
# 无法找到License服务器。
|
|
1212
1212
|
RESOURCENOTFOUND_LICENSESERVERNOTFOUND = 'ResourceNotFound.LicenseServerNotFound'
|
|
1213
1213
|
|
|
1214
|
-
#
|
|
1214
|
+
# 目标微服务已离线。
|
|
1215
1215
|
RESOURCENOTFOUND_MICROSERVICEOFFLINE = 'ResourceNotFound.MicroserviceOffline'
|
|
1216
1216
|
|
|
1217
|
-
#
|
|
1217
|
+
# 命名空间不存在,或相应权限不足。
|
|
1218
1218
|
RESOURCENOTFOUND_NAMESPACENOTEXIST = 'ResourceNotFound.NamespaceNotExist'
|
|
1219
1219
|
|
|
1220
1220
|
# 资源对象不存在。
|
|
@@ -1223,19 +1223,19 @@ RESOURCENOTFOUND_OBJECTNOEXIST = 'ResourceNotFound.ObjectNoExist'
|
|
|
1223
1223
|
# 无法获取服务,无法执行该操作。
|
|
1224
1224
|
RESOURCENOTFOUND_SERVICENOTEXIST = 'ResourceNotFound.ServiceNotExist'
|
|
1225
1225
|
|
|
1226
|
-
#
|
|
1226
|
+
# 资源不存在。
|
|
1227
1227
|
RESOURCENOTFOUND_TASKNOTFOUND = 'ResourceNotFound.TaskNotFound'
|
|
1228
1228
|
|
|
1229
1229
|
# TKE 中不存在该集群。
|
|
1230
1230
|
RESOURCENOTFOUND_TKECLUSTERNOTEXISTS = 'ResourceNotFound.TkeClusterNotExists'
|
|
1231
1231
|
|
|
1232
|
-
#
|
|
1232
|
+
# 示例:访问 CAM 系统出错,[报错信息]。
|
|
1233
1233
|
UNAUTHORIZEDOPERATION_CAMGENERALERROR = 'UnauthorizedOperation.CamGeneralError'
|
|
1234
1234
|
|
|
1235
|
-
# 协作者身份未授权,需要主账号授予协作者权限,参考 TSF
|
|
1235
|
+
# 协作者身份未授权,需要主账号授予协作者权限,参考 TSF 官网文档[子账号获取访问授权](https://cloud.tencent.com/document/product/649/55570)。
|
|
1236
1236
|
UNAUTHORIZEDOPERATION_CAMTSFROLENOPERMISSION = 'UnauthorizedOperation.CamTsfRoleNoPermission'
|
|
1237
1237
|
|
|
1238
|
-
# 当前主账号未创建TSF_QCSRole或未对子账号授予预设策略QcloudCamSubaccountsAuthorizeRoleFullAccess
|
|
1238
|
+
# 当前主账号未创建TSF_QCSRole或未对子账号授予预设策略QcloudCamSubaccountsAuthorizeRoleFullAccess。请参考产品文档[主账号获取访问授权](https://cloud.tencent.com/document/product/649/16869)。
|
|
1239
1239
|
UNAUTHORIZEDOPERATION_CAMTSFROLENOTEXIST = 'UnauthorizedOperation.CamTsfRoleNotExist'
|
|
1240
1240
|
|
|
1241
1241
|
# License未激活。
|
|
@@ -1244,7 +1244,7 @@ UNAUTHORIZEDOPERATION_LICENSEINACTIVE = 'UnauthorizedOperation.LicenseInactive'
|
|
|
1244
1244
|
# 您所购买的服务不支持该操作。
|
|
1245
1245
|
UNAUTHORIZEDOPERATION_LICENSEUNAUTHORIZED = 'UnauthorizedOperation.LicenseUnauthorized'
|
|
1246
1246
|
|
|
1247
|
-
# 缺少License
|
|
1247
|
+
# 缺少License。
|
|
1248
1248
|
UNAUTHORIZEDOPERATION_NOLICENSE = 'UnauthorizedOperation.NoLicense'
|
|
1249
1249
|
|
|
1250
1250
|
# 用户无权限访问该接口。
|
|
@@ -43094,7 +43094,7 @@ class ModifyContainerGroupRequest(AbstractModel):
|
|
|
43094
43094
|
|
|
43095
43095
|
def __init__(self):
|
|
43096
43096
|
r"""
|
|
43097
|
-
:param _GroupId: 部署组ID
|
|
43097
|
+
:param _GroupId: 部署组ID,可通过调用[DescribeContainerGroups](https://cloud.tencent.com/document/api/649/36068)查询已创建的项目列表或登录控制台进行查看;也可以调用[CreateContainGroup](https://cloud.tencent.com/document/api/649/36075)创建新的项目。
|
|
43098
43098
|
:type GroupId: str
|
|
43099
43099
|
:param _AccessType: 0:公网 1:集群内访问 2:NodePort
|
|
43100
43100
|
:type AccessType: int
|
|
@@ -43104,7 +43104,7 @@ class ModifyContainerGroupRequest(AbstractModel):
|
|
|
43104
43104
|
:type UpdateType: int
|
|
43105
43105
|
:param _UpdateIvl: 更新间隔,单位秒
|
|
43106
43106
|
:type UpdateIvl: int
|
|
43107
|
-
:param _SubnetId: 子网ID
|
|
43107
|
+
:param _SubnetId: 子网ID,可通过调用[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)查询已创建的项目列表或登录控制台进行查看;也可以调用[CreateSubnet](https://cloud.tencent.com/document/product/1108/43594)创建新的项目。
|
|
43108
43108
|
:type SubnetId: str
|
|
43109
43109
|
:param _Alias: 部署组备注
|
|
43110
43110
|
:type Alias: str
|
|
@@ -43119,7 +43119,7 @@ class ModifyContainerGroupRequest(AbstractModel):
|
|
|
43119
43119
|
|
|
43120
43120
|
@property
|
|
43121
43121
|
def GroupId(self):
|
|
43122
|
-
"""部署组ID
|
|
43122
|
+
"""部署组ID,可通过调用[DescribeContainerGroups](https://cloud.tencent.com/document/api/649/36068)查询已创建的项目列表或登录控制台进行查看;也可以调用[CreateContainGroup](https://cloud.tencent.com/document/api/649/36075)创建新的项目。
|
|
43123
43123
|
:rtype: str
|
|
43124
43124
|
"""
|
|
43125
43125
|
return self._GroupId
|
|
@@ -43174,7 +43174,7 @@ class ModifyContainerGroupRequest(AbstractModel):
|
|
|
43174
43174
|
|
|
43175
43175
|
@property
|
|
43176
43176
|
def SubnetId(self):
|
|
43177
|
-
"""子网ID
|
|
43177
|
+
"""子网ID,可通过调用[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)查询已创建的项目列表或登录控制台进行查看;也可以调用[CreateSubnet](https://cloud.tencent.com/document/product/1108/43594)创建新的项目。
|
|
43178
43178
|
:rtype: str
|
|
43179
43179
|
"""
|
|
43180
43180
|
return self._SubnetId
|
|
@@ -130,6 +130,8 @@ class CreateInstanceRequest(AbstractModel):
|
|
|
130
130
|
:type ResourceTags: list of Tag
|
|
131
131
|
:param _Project: 指定实例所属项目 ID。
|
|
132
132
|
:type Project: str
|
|
133
|
+
:param _ProductType: 产品版本,0-标准版,1-容量增强版
|
|
134
|
+
:type ProductType: int
|
|
133
135
|
:param _InstanceType: 实例类型。
|
|
134
136
|
- base:免费测试版。
|
|
135
137
|
- single:单机版。
|
|
@@ -191,6 +193,7 @@ VPC或TCS
|
|
|
191
193
|
self._Params = None
|
|
192
194
|
self._ResourceTags = None
|
|
193
195
|
self._Project = None
|
|
196
|
+
self._ProductType = None
|
|
194
197
|
self._InstanceType = None
|
|
195
198
|
self._Mode = None
|
|
196
199
|
self._GoodsNum = None
|
|
@@ -331,6 +334,17 @@ VPC或TCS
|
|
|
331
334
|
|
|
332
335
|
self._Project = Project
|
|
333
336
|
|
|
337
|
+
@property
|
|
338
|
+
def ProductType(self):
|
|
339
|
+
"""产品版本,0-标准版,1-容量增强版
|
|
340
|
+
:rtype: int
|
|
341
|
+
"""
|
|
342
|
+
return self._ProductType
|
|
343
|
+
|
|
344
|
+
@ProductType.setter
|
|
345
|
+
def ProductType(self, ProductType):
|
|
346
|
+
self._ProductType = ProductType
|
|
347
|
+
|
|
334
348
|
@property
|
|
335
349
|
def InstanceType(self):
|
|
336
350
|
"""实例类型。
|
|
@@ -617,6 +631,7 @@ VPC或TCS
|
|
|
617
631
|
obj._deserialize(item)
|
|
618
632
|
self._ResourceTags.append(obj)
|
|
619
633
|
self._Project = params.get("Project")
|
|
634
|
+
self._ProductType = params.get("ProductType")
|
|
620
635
|
self._InstanceType = params.get("InstanceType")
|
|
621
636
|
self._Mode = params.get("Mode")
|
|
622
637
|
self._GoodsNum = params.get("GoodsNum")
|