tencentcloud-sdk-python 3.0.973__py2.py3-none-any.whl → 3.0.974__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.

@@ -3199,9 +3199,8 @@ OPEN:公网属性, INTERNAL:内网属性。
3199
3199
  :type BandwidthPackageId: str
3200
3200
  :param _ExclusiveCluster: 独占型实例信息。若创建独占型的内网负载均衡实例,则此参数必填。
3201
3201
  :type ExclusiveCluster: :class:`tencentcloud.clb.v20180317.models.ExclusiveCluster`
3202
- :param _SlaType: 创建性能容量型实例。
3203
- <ul><li>若需要创建性能容量型实例,则此参数必填,且取值为:SLA,表示超强型1规格。
3204
- <ul><li>当您开通了超大型规格的性能容量型时,SLA对应超强型4规格。如需超大型规格的性能容量型,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category)。</li></ul></li><li>若需要创建共享型实例,则无需填写此参数。</li></ul>
3202
+ :param _SlaType: 性能容量型规格。
3203
+ <ul><li>若需要创建性能容量型实例,则此参数必填,取值范围:<ul><li> SLA:超强型1规格。当您开通了超大型规格的性能容量型时,SLA对应超强型4规格 </li><li> clb.c2.medium:标准型规格 </li><li> clb.c3.small:高阶型1规格 </li><li> clb.c3.medium:高阶型2规格 </li><li> clb.c4.small:超强型1规格 </li><li> clb.c4.medium:超强型2规格 </li><li> clb.c4.large:超强型3规格 </li><li> clb.c4.xlarge:超强型4规格 </li>如需超大型规格(超强型2及以上),请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。</ul></li><li>若需要创建共享型实例,则无需填写此参数。</li></ul>如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)。
3205
3204
  :type SlaType: str
3206
3205
  :param _ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
3207
3206
  :type ClientToken: str
@@ -3220,6 +3219,8 @@ OPEN:公网属性, INTERNAL:内网属性。
3220
3219
  :type LoadBalancerPassToTarget: bool
3221
3220
  :param _DynamicVip: 创建域名化负载均衡。
3222
3221
  :type DynamicVip: bool
3222
+ :param _Egress: 网络出口
3223
+ :type Egress: str
3223
3224
  """
3224
3225
  self._LoadBalancerType = None
3225
3226
  self._Forward = None
@@ -3246,6 +3247,7 @@ OPEN:公网属性, INTERNAL:内网属性。
3246
3247
  self._EipAddressId = None
3247
3248
  self._LoadBalancerPassToTarget = None
3248
3249
  self._DynamicVip = None
3250
+ self._Egress = None
3249
3251
 
3250
3252
  @property
3251
3253
  def LoadBalancerType(self):
@@ -3447,6 +3449,14 @@ OPEN:公网属性, INTERNAL:内网属性。
3447
3449
  def DynamicVip(self, DynamicVip):
3448
3450
  self._DynamicVip = DynamicVip
3449
3451
 
3452
+ @property
3453
+ def Egress(self):
3454
+ return self._Egress
3455
+
3456
+ @Egress.setter
3457
+ def Egress(self, Egress):
3458
+ self._Egress = Egress
3459
+
3450
3460
 
3451
3461
  def _deserialize(self, params):
3452
3462
  self._LoadBalancerType = params.get("LoadBalancerType")
@@ -3488,6 +3498,7 @@ OPEN:公网属性, INTERNAL:内网属性。
3488
3498
  self._EipAddressId = params.get("EipAddressId")
3489
3499
  self._LoadBalancerPassToTarget = params.get("LoadBalancerPassToTarget")
3490
3500
  self._DynamicVip = params.get("DynamicVip")
3501
+ self._Egress = params.get("Egress")
3491
3502
  memeber_set = set(params.keys())
3492
3503
  for name, value in vars(self).items():
3493
3504
  property_name = name[1:]
@@ -15440,8 +15451,15 @@ class SlaUpdateParam(AbstractModel):
15440
15451
  r"""
15441
15452
  :param _LoadBalancerId: lb的字符串ID
15442
15453
  :type LoadBalancerId: str
15443
- :param _SlaType: 升级为性能容量型,固定取值为SLA。SLA表示超强型1规格。
15444
- 当您开通了超大型规格的性能容量型时,SLA对应超强型4规格。如需超大型规格的性能容量型,请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。
15454
+ :param _SlaType: 性能容量型规格,取值范围:
15455
+ <li> SLA:超强型1规格。当您开通了超大型规格的性能容量型时,SLA对应超强型4规格 </li>
15456
+ <li> clb.c2.medium:标准型规格 </li>
15457
+ <li> clb.c3.small:高阶型1规格 </li>
15458
+ <li> clb.c3.medium:高阶型2规格 </li>
15459
+ <li> clb.c4.small:超强型1规格 </li>
15460
+ <li> clb.c4.medium:超强型2规格 </li>
15461
+ <li> clb.c4.large:超强型3规格 </li>
15462
+ <li> clb.c4.xlarge:超强型4规格 </li>如需超大型规格(超强型2及以上),请提交[工单申请](https://console.cloud.tencent.com/workorder/category)。如需了解规格详情,请参见[实例规格对比](https://cloud.tencent.com/document/product/214/84689)
15445
15463
  :type SlaType: str
15446
15464
  """
15447
15465
  self._LoadBalancerId = None
@@ -417,6 +417,29 @@ class DbbrainClient(AbstractClient):
417
417
  raise TencentCloudSDKException(type(e).__name__, str(e))
418
418
 
419
419
 
420
+ def DescribeAlarmTemplate(self, request):
421
+ """通知模板查询
422
+
423
+ :param request: Request instance for DescribeAlarmTemplate.
424
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.DescribeAlarmTemplateRequest`
425
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.DescribeAlarmTemplateResponse`
426
+
427
+ """
428
+ try:
429
+ params = request._serialize()
430
+ headers = request.headers
431
+ body = self.call("DescribeAlarmTemplate", params, headers=headers)
432
+ response = json.loads(body)
433
+ model = models.DescribeAlarmTemplateResponse()
434
+ model._deserialize(response["Response"])
435
+ return model
436
+ except Exception as e:
437
+ if isinstance(e, TencentCloudSDKException):
438
+ raise
439
+ else:
440
+ raise TencentCloudSDKException(type(e).__name__, str(e))
441
+
442
+
420
443
  def DescribeAllUserContact(self, request):
421
444
  """获取邮件发送中联系人的相关信息。
422
445
 
@@ -1153,6 +1176,29 @@ class DbbrainClient(AbstractClient):
1153
1176
  raise TencentCloudSDKException(type(e).__name__, str(e))
1154
1177
 
1155
1178
 
1179
+ def ModifyAlarmPolicy(self, request):
1180
+ """修改告警策略
1181
+
1182
+ :param request: Request instance for ModifyAlarmPolicy.
1183
+ :type request: :class:`tencentcloud.dbbrain.v20210527.models.ModifyAlarmPolicyRequest`
1184
+ :rtype: :class:`tencentcloud.dbbrain.v20210527.models.ModifyAlarmPolicyResponse`
1185
+
1186
+ """
1187
+ try:
1188
+ params = request._serialize()
1189
+ headers = request.headers
1190
+ body = self.call("ModifyAlarmPolicy", params, headers=headers)
1191
+ response = json.loads(body)
1192
+ model = models.ModifyAlarmPolicyResponse()
1193
+ model._deserialize(response["Response"])
1194
+ return model
1195
+ except Exception as e:
1196
+ if isinstance(e, TencentCloudSDKException):
1197
+ raise
1198
+ else:
1199
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1200
+
1201
+
1156
1202
  def ModifyAuditService(self, request):
1157
1203
  """修改审计配置相关信息,如高频存储时长等
1158
1204