tencentcloud-sdk-python 3.0.1450__py2.py3-none-any.whl → 3.0.1452__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/autoscaling/v20180419/models.py +28 -8
- tencentcloud/ckafka/v20190819/ckafka_client.py +4 -4
- tencentcloud/ckafka/v20190819/models.py +266 -178
- tencentcloud/gs/v20191118/models.py +45 -0
- tencentcloud/ioa/v20220601/models.py +23 -8
- tencentcloud/lighthouse/v20200324/errorcodes.py +24 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +171 -0
- tencentcloud/lighthouse/v20200324/models.py +1111 -50
- tencentcloud/lke/v20231130/models.py +132 -0
- tencentcloud/lkeap/v20240522/models.py +87 -2
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +237 -0
- tencentcloud/mqtt/v20240516/models.py +2 -2
- tencentcloud/oceanus/v20190422/models.py +156 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/tcb/v20180608/models.py +15 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +6 -6
- tencentcloud/thpc/v20230321/models.py +23 -10
- tencentcloud/tke/v20180525/models.py +12 -12
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/tsf/v20180326/models.py +86 -40
- tencentcloud/waf/v20180125/errorcodes.py +78 -0
- tencentcloud/waf/v20180125/models.py +2541 -69
- tencentcloud/waf/v20180125/waf_client.py +141 -0
- {tencentcloud_sdk_python-3.0.1450.dist-info → tencentcloud_sdk_python-3.0.1452.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1450.dist-info → tencentcloud_sdk_python-3.0.1452.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.0.1450.dist-info → tencentcloud_sdk_python-3.0.1452.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1450.dist-info → tencentcloud_sdk_python-3.0.1452.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1450.dist-info → tencentcloud_sdk_python-3.0.1452.dist-info}/top_level.txt +0 -0
@@ -443,6 +443,14 @@ class Cluster(AbstractModel):
|
|
443
443
|
:param _Yarns: []
|
444
444
|
注意:此字段可能返回 null,表示取不到有效值。
|
445
445
|
:type Yarns: list of HadoopYarnItem
|
446
|
+
:param _DeploymentMode: 0 单可用区 1多可用区
|
447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
448
|
+
:type DeploymentMode: int
|
449
|
+
:param _SlaveZones: 备可用区
|
450
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
451
|
+
:type SlaveZones: list of SlaveZone
|
452
|
+
:param _LogCOSBucket: 集群的日志cos存储
|
453
|
+
:type LogCOSBucket: str
|
446
454
|
"""
|
447
455
|
self._ClusterId = None
|
448
456
|
self._Name = None
|
@@ -498,6 +506,9 @@ class Cluster(AbstractModel):
|
|
498
506
|
self._RunningMem = None
|
499
507
|
self._Setats = None
|
500
508
|
self._Yarns = None
|
509
|
+
self._DeploymentMode = None
|
510
|
+
self._SlaveZones = None
|
511
|
+
self._LogCOSBucket = None
|
501
512
|
|
502
513
|
@property
|
503
514
|
def ClusterId(self):
|
@@ -1125,6 +1136,41 @@ class Cluster(AbstractModel):
|
|
1125
1136
|
def Yarns(self, Yarns):
|
1126
1137
|
self._Yarns = Yarns
|
1127
1138
|
|
1139
|
+
@property
|
1140
|
+
def DeploymentMode(self):
|
1141
|
+
"""0 单可用区 1多可用区
|
1142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1143
|
+
:rtype: int
|
1144
|
+
"""
|
1145
|
+
return self._DeploymentMode
|
1146
|
+
|
1147
|
+
@DeploymentMode.setter
|
1148
|
+
def DeploymentMode(self, DeploymentMode):
|
1149
|
+
self._DeploymentMode = DeploymentMode
|
1150
|
+
|
1151
|
+
@property
|
1152
|
+
def SlaveZones(self):
|
1153
|
+
"""备可用区
|
1154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1155
|
+
:rtype: list of SlaveZone
|
1156
|
+
"""
|
1157
|
+
return self._SlaveZones
|
1158
|
+
|
1159
|
+
@SlaveZones.setter
|
1160
|
+
def SlaveZones(self, SlaveZones):
|
1161
|
+
self._SlaveZones = SlaveZones
|
1162
|
+
|
1163
|
+
@property
|
1164
|
+
def LogCOSBucket(self):
|
1165
|
+
"""集群的日志cos存储
|
1166
|
+
:rtype: str
|
1167
|
+
"""
|
1168
|
+
return self._LogCOSBucket
|
1169
|
+
|
1170
|
+
@LogCOSBucket.setter
|
1171
|
+
def LogCOSBucket(self, LogCOSBucket):
|
1172
|
+
self._LogCOSBucket = LogCOSBucket
|
1173
|
+
|
1128
1174
|
|
1129
1175
|
def _deserialize(self, params):
|
1130
1176
|
self._ClusterId = params.get("ClusterId")
|
@@ -1222,6 +1268,14 @@ class Cluster(AbstractModel):
|
|
1222
1268
|
obj = HadoopYarnItem()
|
1223
1269
|
obj._deserialize(item)
|
1224
1270
|
self._Yarns.append(obj)
|
1271
|
+
self._DeploymentMode = params.get("DeploymentMode")
|
1272
|
+
if params.get("SlaveZones") is not None:
|
1273
|
+
self._SlaveZones = []
|
1274
|
+
for item in params.get("SlaveZones"):
|
1275
|
+
obj = SlaveZone()
|
1276
|
+
obj._deserialize(item)
|
1277
|
+
self._SlaveZones.append(obj)
|
1278
|
+
self._LogCOSBucket = params.get("LogCOSBucket")
|
1225
1279
|
memeber_set = set(params.keys())
|
1226
1280
|
for name, value in vars(self).items():
|
1227
1281
|
property_name = name[1:]
|
@@ -2682,6 +2736,8 @@ class CreateJobConfigRequest(AbstractModel):
|
|
2682
2736
|
:type ProgramArgsAfterGzip: str
|
2683
2737
|
:param _CheckpointTimeoutSecond: checkpoint 超时时间
|
2684
2738
|
:type CheckpointTimeoutSecond: int
|
2739
|
+
:param _CheckpointIntervalSecond: checkpoint 间隔时间
|
2740
|
+
:type CheckpointIntervalSecond: int
|
2685
2741
|
"""
|
2686
2742
|
self._JobId = None
|
2687
2743
|
self._EntrypointClass = None
|
@@ -2719,6 +2775,7 @@ class CreateJobConfigRequest(AbstractModel):
|
|
2719
2775
|
self._UseOldSystemConnector = None
|
2720
2776
|
self._ProgramArgsAfterGzip = None
|
2721
2777
|
self._CheckpointTimeoutSecond = None
|
2778
|
+
self._CheckpointIntervalSecond = None
|
2722
2779
|
|
2723
2780
|
@property
|
2724
2781
|
def JobId(self):
|
@@ -3116,6 +3173,17 @@ class CreateJobConfigRequest(AbstractModel):
|
|
3116
3173
|
def CheckpointTimeoutSecond(self, CheckpointTimeoutSecond):
|
3117
3174
|
self._CheckpointTimeoutSecond = CheckpointTimeoutSecond
|
3118
3175
|
|
3176
|
+
@property
|
3177
|
+
def CheckpointIntervalSecond(self):
|
3178
|
+
"""checkpoint 间隔时间
|
3179
|
+
:rtype: int
|
3180
|
+
"""
|
3181
|
+
return self._CheckpointIntervalSecond
|
3182
|
+
|
3183
|
+
@CheckpointIntervalSecond.setter
|
3184
|
+
def CheckpointIntervalSecond(self, CheckpointIntervalSecond):
|
3185
|
+
self._CheckpointIntervalSecond = CheckpointIntervalSecond
|
3186
|
+
|
3119
3187
|
|
3120
3188
|
def _deserialize(self, params):
|
3121
3189
|
self._JobId = params.get("JobId")
|
@@ -3175,6 +3243,7 @@ class CreateJobConfigRequest(AbstractModel):
|
|
3175
3243
|
self._UseOldSystemConnector = params.get("UseOldSystemConnector")
|
3176
3244
|
self._ProgramArgsAfterGzip = params.get("ProgramArgsAfterGzip")
|
3177
3245
|
self._CheckpointTimeoutSecond = params.get("CheckpointTimeoutSecond")
|
3246
|
+
self._CheckpointIntervalSecond = params.get("CheckpointIntervalSecond")
|
3178
3247
|
memeber_set = set(params.keys())
|
3179
3248
|
for name, value in vars(self).items():
|
3180
3249
|
property_name = name[1:]
|
@@ -8615,6 +8684,8 @@ class JobConfig(AbstractModel):
|
|
8615
8684
|
:type JobConfigItem: :class:`tencentcloud.oceanus.v20190422.models.JobConfig`
|
8616
8685
|
:param _CheckpointTimeoutSecond: checkpoint 超时时间
|
8617
8686
|
:type CheckpointTimeoutSecond: int
|
8687
|
+
:param _CheckpointIntervalSecond: checkpoint 间隔时间
|
8688
|
+
:type CheckpointIntervalSecond: int
|
8618
8689
|
"""
|
8619
8690
|
self._JobId = None
|
8620
8691
|
self._EntrypointClass = None
|
@@ -8655,6 +8726,7 @@ class JobConfig(AbstractModel):
|
|
8655
8726
|
self._TaskManagerMem = None
|
8656
8727
|
self._JobConfigItem = None
|
8657
8728
|
self._CheckpointTimeoutSecond = None
|
8729
|
+
self._CheckpointIntervalSecond = None
|
8658
8730
|
|
8659
8731
|
@property
|
8660
8732
|
def JobId(self):
|
@@ -9120,6 +9192,17 @@ class JobConfig(AbstractModel):
|
|
9120
9192
|
def CheckpointTimeoutSecond(self, CheckpointTimeoutSecond):
|
9121
9193
|
self._CheckpointTimeoutSecond = CheckpointTimeoutSecond
|
9122
9194
|
|
9195
|
+
@property
|
9196
|
+
def CheckpointIntervalSecond(self):
|
9197
|
+
"""checkpoint 间隔时间
|
9198
|
+
:rtype: int
|
9199
|
+
"""
|
9200
|
+
return self._CheckpointIntervalSecond
|
9201
|
+
|
9202
|
+
@CheckpointIntervalSecond.setter
|
9203
|
+
def CheckpointIntervalSecond(self, CheckpointIntervalSecond):
|
9204
|
+
self._CheckpointIntervalSecond = CheckpointIntervalSecond
|
9205
|
+
|
9123
9206
|
|
9124
9207
|
def _deserialize(self, params):
|
9125
9208
|
self._JobId = params.get("JobId")
|
@@ -9184,6 +9267,7 @@ class JobConfig(AbstractModel):
|
|
9184
9267
|
self._JobConfigItem = JobConfig()
|
9185
9268
|
self._JobConfigItem._deserialize(params.get("JobConfigItem"))
|
9186
9269
|
self._CheckpointTimeoutSecond = params.get("CheckpointTimeoutSecond")
|
9270
|
+
self._CheckpointIntervalSecond = params.get("CheckpointIntervalSecond")
|
9187
9271
|
memeber_set = set(params.keys())
|
9188
9272
|
for name, value in vars(self).items():
|
9189
9273
|
property_name = name[1:]
|
@@ -13877,6 +13961,78 @@ CLOUD_PREMIUM
|
|
13877
13961
|
|
13878
13962
|
|
13879
13963
|
|
13964
|
+
class SlaveZone(AbstractModel):
|
13965
|
+
"""多可用区支持备区域
|
13966
|
+
|
13967
|
+
"""
|
13968
|
+
|
13969
|
+
def __init__(self):
|
13970
|
+
r"""
|
13971
|
+
:param _VpcId: vpc
|
13972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13973
|
+
:type VpcId: str
|
13974
|
+
:param _SubnetId: 子网
|
13975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13976
|
+
:type SubnetId: str
|
13977
|
+
:param _Zone: 区
|
13978
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13979
|
+
:type Zone: str
|
13980
|
+
"""
|
13981
|
+
self._VpcId = None
|
13982
|
+
self._SubnetId = None
|
13983
|
+
self._Zone = None
|
13984
|
+
|
13985
|
+
@property
|
13986
|
+
def VpcId(self):
|
13987
|
+
"""vpc
|
13988
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13989
|
+
:rtype: str
|
13990
|
+
"""
|
13991
|
+
return self._VpcId
|
13992
|
+
|
13993
|
+
@VpcId.setter
|
13994
|
+
def VpcId(self, VpcId):
|
13995
|
+
self._VpcId = VpcId
|
13996
|
+
|
13997
|
+
@property
|
13998
|
+
def SubnetId(self):
|
13999
|
+
"""子网
|
14000
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14001
|
+
:rtype: str
|
14002
|
+
"""
|
14003
|
+
return self._SubnetId
|
14004
|
+
|
14005
|
+
@SubnetId.setter
|
14006
|
+
def SubnetId(self, SubnetId):
|
14007
|
+
self._SubnetId = SubnetId
|
14008
|
+
|
14009
|
+
@property
|
14010
|
+
def Zone(self):
|
14011
|
+
"""区
|
14012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14013
|
+
:rtype: str
|
14014
|
+
"""
|
14015
|
+
return self._Zone
|
14016
|
+
|
14017
|
+
@Zone.setter
|
14018
|
+
def Zone(self, Zone):
|
14019
|
+
self._Zone = Zone
|
14020
|
+
|
14021
|
+
|
14022
|
+
def _deserialize(self, params):
|
14023
|
+
self._VpcId = params.get("VpcId")
|
14024
|
+
self._SubnetId = params.get("SubnetId")
|
14025
|
+
self._Zone = params.get("Zone")
|
14026
|
+
memeber_set = set(params.keys())
|
14027
|
+
for name, value in vars(self).items():
|
14028
|
+
property_name = name[1:]
|
14029
|
+
if property_name in memeber_set:
|
14030
|
+
memeber_set.remove(property_name)
|
14031
|
+
if len(memeber_set) > 0:
|
14032
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14033
|
+
|
14034
|
+
|
14035
|
+
|
13880
14036
|
class SlotSharingGroup(AbstractModel):
|
13881
14037
|
"""SlotSharingGroup 描述
|
13882
14038
|
|
@@ -20266,14 +20266,14 @@ class RemoveReplicationGroupRequest(AbstractModel):
|
|
20266
20266
|
|
20267
20267
|
def __init__(self):
|
20268
20268
|
r"""
|
20269
|
-
:param _GroupId: 复制组ID
|
20269
|
+
:param _GroupId: 复制组ID。请登录 [Redis控制台的全球复制](https://console.cloud.tencent.com/redis/replication) 页面获取复制组 ID。
|
20270
20270
|
:type GroupId: str
|
20271
20271
|
"""
|
20272
20272
|
self._GroupId = None
|
20273
20273
|
|
20274
20274
|
@property
|
20275
20275
|
def GroupId(self):
|
20276
|
-
"""复制组ID
|
20276
|
+
"""复制组ID。请登录 [Redis控制台的全球复制](https://console.cloud.tencent.com/redis/replication) 页面获取复制组 ID。
|
20277
20277
|
:rtype: str
|
20278
20278
|
"""
|
20279
20279
|
return self._GroupId
|
@@ -2237,7 +2237,7 @@ class RedisClient(AbstractClient):
|
|
2237
2237
|
|
2238
2238
|
|
2239
2239
|
def RemoveReplicationGroup(self, request):
|
2240
|
-
"""
|
2240
|
+
"""本接口(RemoveReplicationGroup)用于删除复制组。
|
2241
2241
|
|
2242
2242
|
:param request: Request instance for RemoveReplicationGroup.
|
2243
2243
|
:type request: :class:`tencentcloud.redis.v20180412.models.RemoveReplicationGroupRequest`
|
@@ -19278,10 +19278,13 @@ class LogResObject(AbstractModel):
|
|
19278
19278
|
:type ListOver: bool
|
19279
19279
|
:param _Results: 日志内容信息
|
19280
19280
|
:type Results: list of LogObject
|
19281
|
+
:param _AnalysisRecords: 日志聚合结果
|
19282
|
+
:type AnalysisRecords: list of str
|
19281
19283
|
"""
|
19282
19284
|
self._Context = None
|
19283
19285
|
self._ListOver = None
|
19284
19286
|
self._Results = None
|
19287
|
+
self._AnalysisRecords = None
|
19285
19288
|
|
19286
19289
|
@property
|
19287
19290
|
def Context(self):
|
@@ -19316,6 +19319,17 @@ class LogResObject(AbstractModel):
|
|
19316
19319
|
def Results(self, Results):
|
19317
19320
|
self._Results = Results
|
19318
19321
|
|
19322
|
+
@property
|
19323
|
+
def AnalysisRecords(self):
|
19324
|
+
"""日志聚合结果
|
19325
|
+
:rtype: list of str
|
19326
|
+
"""
|
19327
|
+
return self._AnalysisRecords
|
19328
|
+
|
19329
|
+
@AnalysisRecords.setter
|
19330
|
+
def AnalysisRecords(self, AnalysisRecords):
|
19331
|
+
self._AnalysisRecords = AnalysisRecords
|
19332
|
+
|
19319
19333
|
|
19320
19334
|
def _deserialize(self, params):
|
19321
19335
|
self._Context = params.get("Context")
|
@@ -19326,6 +19340,7 @@ class LogResObject(AbstractModel):
|
|
19326
19340
|
obj = LogObject()
|
19327
19341
|
obj._deserialize(item)
|
19328
19342
|
self._Results.append(obj)
|
19343
|
+
self._AnalysisRecords = params.get("AnalysisRecords")
|
19329
19344
|
memeber_set = set(params.keys())
|
19330
19345
|
for name, value in vars(self).items():
|
19331
19346
|
property_name = name[1:]
|
@@ -1713,6 +1713,8 @@ class EnvBaseInfo(AbstractModel):
|
|
1713
1713
|
:type EnvType: str
|
1714
1714
|
:param _SubnetIds: 子网id
|
1715
1715
|
:type SubnetIds: str
|
1716
|
+
:param _Recycle: 回收标志,为空则表示正常,recycle表示已回收
|
1717
|
+
:type Recycle: str
|
1716
1718
|
"""
|
1717
1719
|
self._EnvId = None
|
1718
1720
|
self._PackageType = None
|
@@ -1723,6 +1725,7 @@ class EnvBaseInfo(AbstractModel):
|
|
1723
1725
|
self._Region = None
|
1724
1726
|
self._EnvType = None
|
1725
1727
|
self._SubnetIds = None
|
1728
|
+
self._Recycle = None
|
1726
1729
|
|
1727
1730
|
@property
|
1728
1731
|
def EnvId(self):
|
@@ -1823,6 +1826,17 @@ class EnvBaseInfo(AbstractModel):
|
|
1823
1826
|
def SubnetIds(self, SubnetIds):
|
1824
1827
|
self._SubnetIds = SubnetIds
|
1825
1828
|
|
1829
|
+
@property
|
1830
|
+
def Recycle(self):
|
1831
|
+
"""回收标志,为空则表示正常,recycle表示已回收
|
1832
|
+
:rtype: str
|
1833
|
+
"""
|
1834
|
+
return self._Recycle
|
1835
|
+
|
1836
|
+
@Recycle.setter
|
1837
|
+
def Recycle(self, Recycle):
|
1838
|
+
self._Recycle = Recycle
|
1839
|
+
|
1826
1840
|
|
1827
1841
|
def _deserialize(self, params):
|
1828
1842
|
self._EnvId = params.get("EnvId")
|
@@ -1834,6 +1848,7 @@ class EnvBaseInfo(AbstractModel):
|
|
1834
1848
|
self._Region = params.get("Region")
|
1835
1849
|
self._EnvType = params.get("EnvType")
|
1836
1850
|
self._SubnetIds = params.get("SubnetIds")
|
1851
|
+
self._Recycle = params.get("Recycle")
|
1837
1852
|
memeber_set = set(params.keys())
|
1838
1853
|
for name, value in vars(self).items():
|
1839
1854
|
property_name = name[1:]
|
@@ -6464,7 +6464,7 @@ class ClientAttester(AbstractModel):
|
|
6464
6464
|
<li>CUSTOM: 用户自定义规则。</li>
|
6465
6465
|
:type Type: str
|
6466
6466
|
:param _AttesterSource: 认证方法。取值有:
|
6467
|
-
<li>TC-RCE:
|
6467
|
+
<li>TC-RCE: 使用风险识别 RCE 进行认证;</li>
|
6468
6468
|
<li>TC-CAPTCHA: 使用天御验证码进行认证。</li>
|
6469
6469
|
:type AttesterSource: str
|
6470
6470
|
:param _AttesterDuration: 认证有效时间。默认为 60s,支持的单位有:
|
@@ -6525,7 +6525,7 @@ class ClientAttester(AbstractModel):
|
|
6525
6525
|
@property
|
6526
6526
|
def AttesterSource(self):
|
6527
6527
|
"""认证方法。取值有:
|
6528
|
-
<li>TC-RCE:
|
6528
|
+
<li>TC-RCE: 使用风险识别 RCE 进行认证;</li>
|
6529
6529
|
<li>TC-CAPTCHA: 使用天御验证码进行认证。</li>
|
6530
6530
|
:rtype: str
|
6531
6531
|
"""
|
@@ -46013,8 +46013,8 @@ class Resource(AbstractModel):
|
|
46013
46013
|
:param _PlanId: 套餐关联资源 ID。
|
46014
46014
|
:type PlanId: str
|
46015
46015
|
:param _Area: 地域,取值有:
|
46016
|
-
<li>mainland
|
46017
|
-
<li>overseas
|
46016
|
+
<li>mainland:中国大陆境内;</li>
|
46017
|
+
<li>overseas:中国大陆境外。</li>
|
46018
46018
|
<li>global:全球。</li>
|
46019
46019
|
:type Area: str
|
46020
46020
|
:param _Group: 资源类型,取值有:
|
@@ -46153,8 +46153,8 @@ class Resource(AbstractModel):
|
|
46153
46153
|
@property
|
46154
46154
|
def Area(self):
|
46155
46155
|
"""地域,取值有:
|
46156
|
-
<li>mainland
|
46157
|
-
<li>overseas
|
46156
|
+
<li>mainland:中国大陆境内;</li>
|
46157
|
+
<li>overseas:中国大陆境外。</li>
|
46158
46158
|
<li>global:全球。</li>
|
46159
46159
|
:rtype: str
|
46160
46160
|
"""
|
@@ -852,25 +852,27 @@ class CFSOption(AbstractModel):
|
|
852
852
|
:type LocalPath: str
|
853
853
|
:param _RemotePath: 文件系统远程挂载ip及路径。
|
854
854
|
:type RemotePath: str
|
855
|
-
:param _Protocol:
|
856
|
-
<li>NFS 3.0
|
857
|
-
<li>NFS 4.0
|
858
|
-
<li>TURBO
|
855
|
+
:param _Protocol: 文件系统协议类型。
|
856
|
+
<li>NFS 3.0</li>
|
857
|
+
<li>NFS 4.0</li>
|
858
|
+
<li>TURBO</li>
|
859
859
|
:type Protocol: str
|
860
860
|
:param _StorageType: 文件系统存储类型,默认值SD;其中 SD 为通用标准型标准型存储, HP为通用性能型存储, TB为turbo标准型, TP 为turbo性能型。
|
861
861
|
:type StorageType: str
|
862
862
|
:param _MountOption: 文件系统挂载挂载命令参数选项。
|
863
|
-
|
864
863
|
- NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport
|
865
864
|
- NFS 4.0默认值:vers=4.0,noresvport
|
866
865
|
- TURBO默认值:user_xattr
|
867
866
|
:type MountOption: str
|
867
|
+
:param _FileSystemId: 文件系统ID 文件系统ID通过调用接口[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)获取。
|
868
|
+
:type FileSystemId: str
|
868
869
|
"""
|
869
870
|
self._LocalPath = None
|
870
871
|
self._RemotePath = None
|
871
872
|
self._Protocol = None
|
872
873
|
self._StorageType = None
|
873
874
|
self._MountOption = None
|
875
|
+
self._FileSystemId = None
|
874
876
|
|
875
877
|
@property
|
876
878
|
def LocalPath(self):
|
@@ -896,10 +898,10 @@ class CFSOption(AbstractModel):
|
|
896
898
|
|
897
899
|
@property
|
898
900
|
def Protocol(self):
|
899
|
-
"""
|
900
|
-
<li>NFS 3.0
|
901
|
-
<li>NFS 4.0
|
902
|
-
<li>TURBO
|
901
|
+
"""文件系统协议类型。
|
902
|
+
<li>NFS 3.0</li>
|
903
|
+
<li>NFS 4.0</li>
|
904
|
+
<li>TURBO</li>
|
903
905
|
:rtype: str
|
904
906
|
"""
|
905
907
|
return self._Protocol
|
@@ -922,7 +924,6 @@ class CFSOption(AbstractModel):
|
|
922
924
|
@property
|
923
925
|
def MountOption(self):
|
924
926
|
"""文件系统挂载挂载命令参数选项。
|
925
|
-
|
926
927
|
- NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport
|
927
928
|
- NFS 4.0默认值:vers=4.0,noresvport
|
928
929
|
- TURBO默认值:user_xattr
|
@@ -934,6 +935,17 @@ class CFSOption(AbstractModel):
|
|
934
935
|
def MountOption(self, MountOption):
|
935
936
|
self._MountOption = MountOption
|
936
937
|
|
938
|
+
@property
|
939
|
+
def FileSystemId(self):
|
940
|
+
"""文件系统ID 文件系统ID通过调用接口[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)获取。
|
941
|
+
:rtype: str
|
942
|
+
"""
|
943
|
+
return self._FileSystemId
|
944
|
+
|
945
|
+
@FileSystemId.setter
|
946
|
+
def FileSystemId(self, FileSystemId):
|
947
|
+
self._FileSystemId = FileSystemId
|
948
|
+
|
937
949
|
|
938
950
|
def _deserialize(self, params):
|
939
951
|
self._LocalPath = params.get("LocalPath")
|
@@ -941,6 +953,7 @@ class CFSOption(AbstractModel):
|
|
941
953
|
self._Protocol = params.get("Protocol")
|
942
954
|
self._StorageType = params.get("StorageType")
|
943
955
|
self._MountOption = params.get("MountOption")
|
956
|
+
self._FileSystemId = params.get("FileSystemId")
|
944
957
|
memeber_set = set(params.keys())
|
945
958
|
for name, value in vars(self).items():
|
946
959
|
property_name = name[1:]
|
@@ -45122,15 +45122,15 @@ class SuperNodeResource(AbstractModel):
|
|
45122
45122
|
|
45123
45123
|
def __init__(self):
|
45124
45124
|
r"""
|
45125
|
-
:param _NodeName:
|
45125
|
+
:param _NodeName: 节点名称,此字段在出参中有效。
|
45126
45126
|
:type NodeName: str
|
45127
|
-
:param _Num:
|
45127
|
+
:param _Num: 节点上的资源总数,QuotaType为 exact 时,表示创建指定规格的精确配额数量。
|
45128
45128
|
:type Num: int
|
45129
|
-
:param _Cpu:
|
45129
|
+
:param _Cpu: 节点上的总核数,QuotaType为 exact 时表示指定规格的核数。
|
45130
45130
|
:type Cpu: float
|
45131
|
-
:param _Memory:
|
45131
|
+
:param _Memory: 节点上的总内存数,QuotaType为 exact 时表示指定规格的内存,单位:Gi
|
45132
45132
|
:type Memory: float
|
45133
|
-
:param _Gpu: 节点上的总 GPU
|
45133
|
+
:param _Gpu: 节点上的总 GPU 卡数,QuotaType为 exact 时表示指定规格的GPU卡数。
|
45134
45134
|
:type Gpu: float
|
45135
45135
|
:param _QuotaType: 节点资源的配额类型,exact表示精确配额,fuzzy 表示模糊配额。
|
45136
45136
|
:type QuotaType: str
|
@@ -45138,7 +45138,7 @@ class SuperNodeResource(AbstractModel):
|
|
45138
45138
|
:type ChargeType: str
|
45139
45139
|
:param _ResourceType: QuotaType为 exact 时,此字段有效,表示精确配额的资源类型。
|
45140
45140
|
:type ResourceType: str
|
45141
|
-
:param _DisasterRecoverGroupId: 置放群组 ID
|
45141
|
+
:param _DisasterRecoverGroupId: 置放群组 ID,QuotaType为 exact 时有效,表示购买的精确配额需满足置放群组。可通过 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810) 接口返回值中的DisasterRecoverGroupId获取。
|
45142
45142
|
:type DisasterRecoverGroupId: str
|
45143
45143
|
"""
|
45144
45144
|
self._NodeName = None
|
@@ -45153,7 +45153,7 @@ class SuperNodeResource(AbstractModel):
|
|
45153
45153
|
|
45154
45154
|
@property
|
45155
45155
|
def NodeName(self):
|
45156
|
-
"""
|
45156
|
+
"""节点名称,此字段在出参中有效。
|
45157
45157
|
:rtype: str
|
45158
45158
|
"""
|
45159
45159
|
return self._NodeName
|
@@ -45164,7 +45164,7 @@ class SuperNodeResource(AbstractModel):
|
|
45164
45164
|
|
45165
45165
|
@property
|
45166
45166
|
def Num(self):
|
45167
|
-
"""
|
45167
|
+
"""节点上的资源总数,QuotaType为 exact 时,表示创建指定规格的精确配额数量。
|
45168
45168
|
:rtype: int
|
45169
45169
|
"""
|
45170
45170
|
return self._Num
|
@@ -45175,7 +45175,7 @@ class SuperNodeResource(AbstractModel):
|
|
45175
45175
|
|
45176
45176
|
@property
|
45177
45177
|
def Cpu(self):
|
45178
|
-
"""
|
45178
|
+
"""节点上的总核数,QuotaType为 exact 时表示指定规格的核数。
|
45179
45179
|
:rtype: float
|
45180
45180
|
"""
|
45181
45181
|
return self._Cpu
|
@@ -45186,7 +45186,7 @@ class SuperNodeResource(AbstractModel):
|
|
45186
45186
|
|
45187
45187
|
@property
|
45188
45188
|
def Memory(self):
|
45189
|
-
"""
|
45189
|
+
"""节点上的总内存数,QuotaType为 exact 时表示指定规格的内存,单位:Gi
|
45190
45190
|
:rtype: float
|
45191
45191
|
"""
|
45192
45192
|
return self._Memory
|
@@ -45197,7 +45197,7 @@ class SuperNodeResource(AbstractModel):
|
|
45197
45197
|
|
45198
45198
|
@property
|
45199
45199
|
def Gpu(self):
|
45200
|
-
"""节点上的总 GPU
|
45200
|
+
"""节点上的总 GPU 卡数,QuotaType为 exact 时表示指定规格的GPU卡数。
|
45201
45201
|
:rtype: float
|
45202
45202
|
"""
|
45203
45203
|
return self._Gpu
|
@@ -45241,7 +45241,7 @@ class SuperNodeResource(AbstractModel):
|
|
45241
45241
|
|
45242
45242
|
@property
|
45243
45243
|
def DisasterRecoverGroupId(self):
|
45244
|
-
"""置放群组 ID
|
45244
|
+
"""置放群组 ID,QuotaType为 exact 时有效,表示购买的精确配额需满足置放群组。可通过 [DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/product/213/17810) 接口返回值中的DisasterRecoverGroupId获取。
|
45245
45245
|
:rtype: str
|
45246
45246
|
"""
|
45247
45247
|
return self._DisasterRecoverGroupId
|
@@ -17731,7 +17731,7 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
17731
17731
|
:type StreamUrl: str
|
17732
17732
|
:param _Volume: 音量,取值范围[0, 100],默认100,表示原音量。
|
17733
17733
|
:type Volume: int
|
17734
|
-
:param _IsPause: 是否暂停,默认false
|
17734
|
+
:param _IsPause: 是否暂停,默认false表示不暂停。暂停期间任务仍在进行中仍会计费,暂停超过12小时会自动销毁任务, 建议主动调用停止任务接口。
|
17735
17735
|
:type IsPause: bool
|
17736
17736
|
"""
|
17737
17737
|
self._SdkAppId = None
|
@@ -17786,7 +17786,7 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
17786
17786
|
|
17787
17787
|
@property
|
17788
17788
|
def IsPause(self):
|
17789
|
-
"""是否暂停,默认false
|
17789
|
+
"""是否暂停,默认false表示不暂停。暂停期间任务仍在进行中仍会计费,暂停超过12小时会自动销毁任务, 建议主动调用停止任务接口。
|
17790
17790
|
:rtype: bool
|
17791
17791
|
"""
|
17792
17792
|
return self._IsPause
|