tencentcloud-sdk-python-intl-en 3.0.1127__py2.py3-none-any.whl → 3.0.1129__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-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1127'
16
+ __version__ = '3.0.1129'
@@ -1590,7 +1590,7 @@ Setting it to `true` will clear data disks, which means that CVM newly created o
1590
1590
  Setting it to `true` will clear the hostname settings, which means that CVM newly created on this launch configuration will have no hostname.
1591
1591
  :type ClearHostNameSettings: bool
1592
1592
  :param _ClearInstanceNameSettings: Whether to clear the CVM instance name settings. This parameter is optional and the default value is `false`.
1593
- Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.
1593
+ Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.
1594
1594
  :type ClearInstanceNameSettings: bool
1595
1595
  :param _ClearDisasterRecoverGroupIds: Whether to clear placement group information. This parameter is optional. Default value: `false`.
1596
1596
  `True` means clearing placement group information. After that, no placement groups are specified for CVMs created based on the information.
@@ -1598,6 +1598,8 @@ Setting it to `true` will clear the instance name settings, which means that CVM
1598
1598
  :param _ClearInstanceTags: Whether to clear the instance tag list. This parameter is optional, and its default value is false.
1599
1599
  If true is filled in, it indicates that the instance tag list should be cleared. After the list is cleared, the CVMs created based on this will not be bound to the tags in the list.
1600
1600
  :type ClearInstanceTags: bool
1601
+ :param _ClearMetadata: Whether to clear metadata, optional, defaults to false. Setting it to true will clear metadata, the CVMs created based on this will not be associated with custom metadata.
1602
+ :type ClearMetadata: bool
1601
1603
  """
1602
1604
  self._LaunchConfigurationId = None
1603
1605
  self._ClearDataDisks = None
@@ -1605,6 +1607,7 @@ If true is filled in, it indicates that the instance tag list should be cleared.
1605
1607
  self._ClearInstanceNameSettings = None
1606
1608
  self._ClearDisasterRecoverGroupIds = None
1607
1609
  self._ClearInstanceTags = None
1610
+ self._ClearMetadata = None
1608
1611
 
1609
1612
  @property
1610
1613
  def LaunchConfigurationId(self):
@@ -1644,7 +1647,7 @@ Setting it to `true` will clear the hostname settings, which means that CVM newl
1644
1647
  @property
1645
1648
  def ClearInstanceNameSettings(self):
1646
1649
  """Whether to clear the CVM instance name settings. This parameter is optional and the default value is `false`.
1647
- Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.
1650
+ Setting it to `true` will clear the instance name settings, which means that CVM newly created on this launch configuration will be named in the as-{{AutoScalingGroupName}} format.
1648
1651
  :rtype: bool
1649
1652
  """
1650
1653
  return self._ClearInstanceNameSettings
@@ -1677,6 +1680,17 @@ If true is filled in, it indicates that the instance tag list should be cleared.
1677
1680
  def ClearInstanceTags(self, ClearInstanceTags):
1678
1681
  self._ClearInstanceTags = ClearInstanceTags
1679
1682
 
1683
+ @property
1684
+ def ClearMetadata(self):
1685
+ """Whether to clear metadata, optional, defaults to false. Setting it to true will clear metadata, the CVMs created based on this will not be associated with custom metadata.
1686
+ :rtype: bool
1687
+ """
1688
+ return self._ClearMetadata
1689
+
1690
+ @ClearMetadata.setter
1691
+ def ClearMetadata(self, ClearMetadata):
1692
+ self._ClearMetadata = ClearMetadata
1693
+
1680
1694
 
1681
1695
  def _deserialize(self, params):
1682
1696
  self._LaunchConfigurationId = params.get("LaunchConfigurationId")
@@ -1685,6 +1699,7 @@ If true is filled in, it indicates that the instance tag list should be cleared.
1685
1699
  self._ClearInstanceNameSettings = params.get("ClearInstanceNameSettings")
1686
1700
  self._ClearDisasterRecoverGroupIds = params.get("ClearDisasterRecoverGroupIds")
1687
1701
  self._ClearInstanceTags = params.get("ClearInstanceTags")
1702
+ self._ClearMetadata = params.get("ClearMetadata")
1688
1703
  memeber_set = set(params.keys())
1689
1704
  for name, value in vars(self).items():
1690
1705
  property_name = name[1:]
@@ -2506,7 +2521,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
2506
2521
  :type LaunchConfigurationName: str
2507
2522
  :param _ImageId: [Image](https://intl.cloud.tencent.com/document/product/213/4940?from_cn_redirect=1) ID in the format of `img-xxx`. There are three types of images: <br/><li>Public images </li><li>Custom images </li><li>Shared images </li><br/>You can obtain the image IDs in the [CVM console](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE).</li><li>You can also use the [DescribeImages](https://intl.cloud.tencent.com/document/api/213/15715?from_cn_redirect=1) and look for `ImageId` in the response.</li>
2508
2523
  :type ImageId: str
2509
- :param _ProjectId: Project ID of the launch configuration. The default project is used if it’s left blank.
2524
+ :param _ProjectId: Project ID of the launch configuration. The default project is used if it is left blank.
2510
2525
  Note that this project ID is not the same as the project ID of the scaling group.
2511
2526
  :type ProjectId: int
2512
2527
  :param _InstanceType: Instance model. Different instance models specify different resource specifications. The specific value can be obtained by calling the [DescribeInstanceTypeConfigs](https://intl.cloud.tencent.com/document/api/213/15749?from_cn_redirect=1) API to get the latest specification table or referring to the descriptions in [Instance Types](https://intl.cloud.tencent.com/document/product/213/11518?from_cn_redirect=1).
@@ -2570,6 +2585,8 @@ Note: This field is default to empty
2570
2585
  :type ImageFamily: str
2571
2586
  :param _DedicatedClusterId: CDC ID.
2572
2587
  :type DedicatedClusterId: str
2588
+ :param _Metadata: Custom metadata.
2589
+ :type Metadata: :class:`tencentcloud.autoscaling.v20180419.models.Metadata`
2573
2590
  """
2574
2591
  self._LaunchConfigurationName = None
2575
2592
  self._ImageId = None
@@ -2598,6 +2615,7 @@ Note: This field is default to empty
2598
2615
  self._DisasterRecoverGroupIds = None
2599
2616
  self._ImageFamily = None
2600
2617
  self._DedicatedClusterId = None
2618
+ self._Metadata = None
2601
2619
 
2602
2620
  @property
2603
2621
  def LaunchConfigurationName(self):
@@ -2623,7 +2641,7 @@ Note: This field is default to empty
2623
2641
 
2624
2642
  @property
2625
2643
  def ProjectId(self):
2626
- """Project ID of the launch configuration. The default project is used if it’s left blank.
2644
+ """Project ID of the launch configuration. The default project is used if it is left blank.
2627
2645
  Note that this project ID is not the same as the project ID of the scaling group.
2628
2646
  :rtype: int
2629
2647
  """
@@ -2910,6 +2928,17 @@ Note: This field is default to empty
2910
2928
  def DedicatedClusterId(self, DedicatedClusterId):
2911
2929
  self._DedicatedClusterId = DedicatedClusterId
2912
2930
 
2931
+ @property
2932
+ def Metadata(self):
2933
+ """Custom metadata.
2934
+ :rtype: :class:`tencentcloud.autoscaling.v20180419.models.Metadata`
2935
+ """
2936
+ return self._Metadata
2937
+
2938
+ @Metadata.setter
2939
+ def Metadata(self, Metadata):
2940
+ self._Metadata = Metadata
2941
+
2913
2942
 
2914
2943
  def _deserialize(self, params):
2915
2944
  self._LaunchConfigurationName = params.get("LaunchConfigurationName")
@@ -2972,6 +3001,9 @@ Note: This field is default to empty
2972
3001
  self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
2973
3002
  self._ImageFamily = params.get("ImageFamily")
2974
3003
  self._DedicatedClusterId = params.get("DedicatedClusterId")
3004
+ if params.get("Metadata") is not None:
3005
+ self._Metadata = Metadata()
3006
+ self._Metadata._deserialize(params.get("Metadata"))
2975
3007
  memeber_set = set(params.keys())
2976
3008
  for name, value in vars(self).items():
2977
3009
  property_name = name[1:]
@@ -3421,7 +3453,7 @@ class CreateScalingPolicyRequest(AbstractModel):
3421
3453
  :type ScalingPolicyName: str
3422
3454
  :param _ScalingPolicyType: Scaling policy type. Valid values: <br><li>`SIMPLE` (default): A simple policy</li><li>`TARGET_TRACKING`: A target tracking policy</li>.
3423
3455
  :type ScalingPolicyType: str
3424
- :param _AdjustmentType: The method to adjust the desired capacity after the alarm is triggered. It’s only available when `ScalingPolicyType` is `Simple`. Valid values: <br><li>`CHANGE_IN_CAPACITY`: Increase or decrease the desired capacity </li><li>`EXACT_CAPACITY`: Adjust to the specified desired capacity </li> <li>`PERCENT_CHANGE_IN_CAPACITY`: Adjust the desired capacity by percentage </li>
3456
+ :param _AdjustmentType: The method to adjust the desired capacity after the alarm is triggered. It is only available when `ScalingPolicyType` is `Simple`. Valid values: <br><li>`CHANGE_IN_CAPACITY`: Increase or decrease the desired capacity </li><li>`EXACT_CAPACITY`: Adjust to the specified desired capacity </li> <li>`PERCENT_CHANGE_IN_CAPACITY`: Adjust the desired capacity by percentage </li>
3425
3457
  :type AdjustmentType: str
3426
3458
  :param _AdjustmentValue: Adjustment value for the expected number of instances after an alarm is triggered, which is applicable only to simple policies.
3427
3459
  <li>When AdjustmentType is set to CHANGE_IN_CAPACITY, a positive value of AdjustmentValue indicates an increase in the number of instances after the alarm is triggered, while a negative value indicates a decrease in the number of instances after the alarm is triggered.</li>
@@ -3430,14 +3462,14 @@ class CreateScalingPolicyRequest(AbstractModel):
3430
3462
  :type AdjustmentValue: int
3431
3463
  :param _Cooldown: Cooldown period (in seconds). This parameter is only applicable to a simple policy. Default value: 300.
3432
3464
  :type Cooldown: int
3433
- :param _MetricAlarm: Alarm monitoring metric. It’s only available when `ScalingPolicyType` is `Simple`.
3465
+ :param _MetricAlarm: Alarm monitoring metric. It is only available when `ScalingPolicyType` is `Simple`.
3434
3466
  :type MetricAlarm: :class:`tencentcloud.autoscaling.v20180419.models.MetricAlarm`
3435
- :param _PredefinedMetricType: Predefined monitoring item, which is applicable only to target tracking policies. Valid values:
3436
- <li>ASG_AVG_CPU_UTILIZATION: average CPU utilization.</li>
3437
- <li>ASG_AVG_LAN_TRAFFIC_OUT: average outbound private network bandwidth.</li>
3438
- <li>ASG_AVG_LAN_TRAFFIC_IN: average inbound private network bandwidth.</li>
3439
- <li>ASG_AVG_WAN_TRAFFIC_OUT: average outbound public network bandwidth.</li>
3440
- <li>ASG_AVG_WAN_TRAFFIC_IN: average inbound public network bandwidth.</li>
3467
+ :param _PredefinedMetricType: Predefined monitoring item, applicable only to target tracking policies. Valid values:
3468
+ <li>ASG_AVG_CPU_UTILIZATION: average CPU utilization</li>
3469
+ <li>ASG_AVG_LAN_TRAFFIC_OUT: average outbound private network bandwidth</li>
3470
+ <li>ASG_AVG_LAN_TRAFFIC_IN: average inbound private network bandwidth</li>
3471
+ <li>ASG_AVG_WAN_TRAFFIC_OUT: average outbound public network bandwidth</li>
3472
+ <li>ASG_AVG_WAN_TRAFFIC_IN: average inbound public network bandwidth</li>
3441
3473
  :type PredefinedMetricType: str
3442
3474
  :param _TargetValue: Target value, which is applicable only to target tracking policies.
3443
3475
  <li>ASG_AVG_CPU_UTILIZATION: value range: [1, 100); unit: %.</li>
@@ -3446,7 +3478,7 @@ class CreateScalingPolicyRequest(AbstractModel):
3446
3478
  <li>ASG_AVG_WAN_TRAFFIC_OUT: value range: > 0; unit: Mbps.</li>
3447
3479
  <li>ASG_AVG_WAN_TRAFFIC_IN: value range: > 0; unit: Mbps.</li>
3448
3480
  :type TargetValue: int
3449
- :param _EstimatedInstanceWarmup: Instance warm-up period (in seconds). It’s only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value range: 0-3600. Default value: 300.
3481
+ :param _EstimatedInstanceWarmup: Instance warm-up period (in seconds). It is only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value range: 0-3600. Default value: 300.
3450
3482
  :type EstimatedInstanceWarmup: int
3451
3483
  :param _DisableScaleIn: Whether to disable scale-in, which is applicable only to target tracking policies. Default value: false. Valid values:
3452
3484
  <li>true: Target tracking policies trigger only scale-out.</li>
@@ -3504,7 +3536,7 @@ Notification group ID, which is the set of user group IDs.
3504
3536
 
3505
3537
  @property
3506
3538
  def AdjustmentType(self):
3507
- """The method to adjust the desired capacity after the alarm is triggered. It’s only available when `ScalingPolicyType` is `Simple`. Valid values: <br><li>`CHANGE_IN_CAPACITY`: Increase or decrease the desired capacity </li><li>`EXACT_CAPACITY`: Adjust to the specified desired capacity </li> <li>`PERCENT_CHANGE_IN_CAPACITY`: Adjust the desired capacity by percentage </li>
3539
+ """The method to adjust the desired capacity after the alarm is triggered. It is only available when `ScalingPolicyType` is `Simple`. Valid values: <br><li>`CHANGE_IN_CAPACITY`: Increase or decrease the desired capacity </li><li>`EXACT_CAPACITY`: Adjust to the specified desired capacity </li> <li>`PERCENT_CHANGE_IN_CAPACITY`: Adjust the desired capacity by percentage </li>
3508
3540
  :rtype: str
3509
3541
  """
3510
3542
  return self._AdjustmentType
@@ -3540,7 +3572,7 @@ Notification group ID, which is the set of user group IDs.
3540
3572
 
3541
3573
  @property
3542
3574
  def MetricAlarm(self):
3543
- """Alarm monitoring metric. It’s only available when `ScalingPolicyType` is `Simple`.
3575
+ """Alarm monitoring metric. It is only available when `ScalingPolicyType` is `Simple`.
3544
3576
  :rtype: :class:`tencentcloud.autoscaling.v20180419.models.MetricAlarm`
3545
3577
  """
3546
3578
  return self._MetricAlarm
@@ -3551,12 +3583,12 @@ Notification group ID, which is the set of user group IDs.
3551
3583
 
3552
3584
  @property
3553
3585
  def PredefinedMetricType(self):
3554
- """Predefined monitoring item, which is applicable only to target tracking policies. Valid values:
3555
- <li>ASG_AVG_CPU_UTILIZATION: average CPU utilization.</li>
3556
- <li>ASG_AVG_LAN_TRAFFIC_OUT: average outbound private network bandwidth.</li>
3557
- <li>ASG_AVG_LAN_TRAFFIC_IN: average inbound private network bandwidth.</li>
3558
- <li>ASG_AVG_WAN_TRAFFIC_OUT: average outbound public network bandwidth.</li>
3559
- <li>ASG_AVG_WAN_TRAFFIC_IN: average inbound public network bandwidth.</li>
3586
+ """Predefined monitoring item, applicable only to target tracking policies. Valid values:
3587
+ <li>ASG_AVG_CPU_UTILIZATION: average CPU utilization</li>
3588
+ <li>ASG_AVG_LAN_TRAFFIC_OUT: average outbound private network bandwidth</li>
3589
+ <li>ASG_AVG_LAN_TRAFFIC_IN: average inbound private network bandwidth</li>
3590
+ <li>ASG_AVG_WAN_TRAFFIC_OUT: average outbound public network bandwidth</li>
3591
+ <li>ASG_AVG_WAN_TRAFFIC_IN: average inbound public network bandwidth</li>
3560
3592
  :rtype: str
3561
3593
  """
3562
3594
  return self._PredefinedMetricType
@@ -3583,7 +3615,7 @@ Notification group ID, which is the set of user group IDs.
3583
3615
 
3584
3616
  @property
3585
3617
  def EstimatedInstanceWarmup(self):
3586
- """Instance warm-up period (in seconds). It’s only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value range: 0-3600. Default value: 300.
3618
+ """Instance warm-up period (in seconds). It is only available when `ScalingPolicyType` is `TARGET_TRACKING`. Value range: 0-3600. Default value: 300.
3587
3619
  :rtype: int
3588
3620
  """
3589
3621
  return self._EstimatedInstanceWarmup
@@ -9109,9 +9141,9 @@ class LoginSettings(AbstractModel):
9109
9141
  def __init__(self):
9110
9142
  r"""
9111
9143
  :param _Password: Instance login password. The password complexity requirements vary according to the operating system type. The details are as follows:
9112
- <li>The login password for Linux instances should contain 8 to 16 characters, including at least two types of the following characters: letters, digits, and special characters (such as ()`~!@#$%^&*-+=|{}[]:;',.?/).</li>
9113
- <li>The login password for Windows instances should contain 12 to 16 characters, including at least three types of the following characters: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+={}[]:;',.?/).</li>
9114
- If this parameter is not specified, the system will generate a random password and notify the user via the message center.
9144
+ - For a Linux system, the password should contain 8 to 30 characters consisting of at least two of the four character types: lowercase letters, uppercase letters, digits, and special characters.
9145
+ - For a Windows system, the password should contain 12 to 30 characters consisting of at least three of the four character types: lowercase letters, uppercase letters, digits, and special characters.
9146
+ - If this parameter is not specified, the system will generate a random password and notify the user via the message centerSupported special characters: ( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /
9115
9147
  :type Password: str
9116
9148
  :param _KeyIds: List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call `DescribeKeyPairs` to obtain `KeyId`. Key and password cannot be specified at the same time. Windows instances do not support keys. Currently, you can only specify one key when purchasing an instance.
9117
9149
  :type KeyIds: list of str
@@ -9127,9 +9159,9 @@ If this parameter is not specified, the system will generate a random password a
9127
9159
  @property
9128
9160
  def Password(self):
9129
9161
  """Instance login password. The password complexity requirements vary according to the operating system type. The details are as follows:
9130
- <li>The login password for Linux instances should contain 8 to 16 characters, including at least two types of the following characters: letters, digits, and special characters (such as ()`~!@#$%^&*-+=|{}[]:;',.?/).</li>
9131
- <li>The login password for Windows instances should contain 12 to 16 characters, including at least three types of the following characters: lowercase letters, uppercase letters, digits, and special characters (such as ()`~!@#$%^&*-+={}[]:;',.?/).</li>
9132
- If this parameter is not specified, the system will generate a random password and notify the user via the message center.
9162
+ - For a Linux system, the password should contain 8 to 30 characters consisting of at least two of the four character types: lowercase letters, uppercase letters, digits, and special characters.
9163
+ - For a Windows system, the password should contain 12 to 30 characters consisting of at least three of the four character types: lowercase letters, uppercase letters, digits, and special characters.
9164
+ - If this parameter is not specified, the system will generate a random password and notify the user via the message centerSupported special characters: ( ) ` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /
9133
9165
  :rtype: str
9134
9166
  """
9135
9167
  return self._Password
@@ -9177,6 +9209,98 @@ If this parameter is not specified, the system will generate a random password a
9177
9209
 
9178
9210
 
9179
9211
 
9212
+ class Metadata(AbstractModel):
9213
+ """Custom Metadata
9214
+
9215
+ """
9216
+
9217
+ def __init__(self):
9218
+ r"""
9219
+ :param _Items: Custom metadata key-value pair list.
9220
+ :type Items: list of MetadataItem
9221
+ """
9222
+ self._Items = None
9223
+
9224
+ @property
9225
+ def Items(self):
9226
+ """Custom metadata key-value pair list.
9227
+ :rtype: list of MetadataItem
9228
+ """
9229
+ return self._Items
9230
+
9231
+ @Items.setter
9232
+ def Items(self, Items):
9233
+ self._Items = Items
9234
+
9235
+
9236
+ def _deserialize(self, params):
9237
+ if params.get("Items") is not None:
9238
+ self._Items = []
9239
+ for item in params.get("Items"):
9240
+ obj = MetadataItem()
9241
+ obj._deserialize(item)
9242
+ self._Items.append(obj)
9243
+ memeber_set = set(params.keys())
9244
+ for name, value in vars(self).items():
9245
+ property_name = name[1:]
9246
+ if property_name in memeber_set:
9247
+ memeber_set.remove(property_name)
9248
+ if len(memeber_set) > 0:
9249
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9250
+
9251
+
9252
+
9253
+ class MetadataItem(AbstractModel):
9254
+ """A set of key-value pair information for custom Metadata
9255
+
9256
+ """
9257
+
9258
+ def __init__(self):
9259
+ r"""
9260
+ :param _Key: Custom metadata key.
9261
+ :type Key: str
9262
+ :param _Value: Custom metadata value.
9263
+ :type Value: str
9264
+ """
9265
+ self._Key = None
9266
+ self._Value = None
9267
+
9268
+ @property
9269
+ def Key(self):
9270
+ """Custom metadata key.
9271
+ :rtype: str
9272
+ """
9273
+ return self._Key
9274
+
9275
+ @Key.setter
9276
+ def Key(self, Key):
9277
+ self._Key = Key
9278
+
9279
+ @property
9280
+ def Value(self):
9281
+ """Custom metadata value.
9282
+ :rtype: str
9283
+ """
9284
+ return self._Value
9285
+
9286
+ @Value.setter
9287
+ def Value(self, Value):
9288
+ self._Value = Value
9289
+
9290
+
9291
+ def _deserialize(self, params):
9292
+ self._Key = params.get("Key")
9293
+ self._Value = params.get("Value")
9294
+ memeber_set = set(params.keys())
9295
+ for name, value in vars(self).items():
9296
+ property_name = name[1:]
9297
+ if property_name in memeber_set:
9298
+ memeber_set.remove(property_name)
9299
+ if len(memeber_set) > 0:
9300
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9301
+
9302
+
9303
+
9180
9304
  class MetricAlarm(AbstractModel):
9181
9305
  """Alarming metric of AS
9182
9306
 
@@ -9942,6 +10066,8 @@ This parameter will overwrite the original instance tag list. To add new tags, y
9942
10066
  :type ImageFamily: str
9943
10067
  :param _DedicatedClusterId: Cloud Dedicated Cluster (CDC) ID.
9944
10068
  :type DedicatedClusterId: str
10069
+ :param _Metadata: Custom metadata.
10070
+ :type Metadata: :class:`tencentcloud.autoscaling.v20180419.models.Metadata`
9945
10071
  """
9946
10072
  self._LaunchConfigurationId = None
9947
10073
  self._ImageId = None
@@ -9968,6 +10094,7 @@ This parameter will overwrite the original instance tag list. To add new tags, y
9968
10094
  self._InstanceTags = None
9969
10095
  self._ImageFamily = None
9970
10096
  self._DedicatedClusterId = None
10097
+ self._Metadata = None
9971
10098
 
9972
10099
  @property
9973
10100
  def LaunchConfigurationId(self):
@@ -10269,6 +10396,17 @@ This parameter will overwrite the original instance tag list. To add new tags, y
10269
10396
  def DedicatedClusterId(self, DedicatedClusterId):
10270
10397
  self._DedicatedClusterId = DedicatedClusterId
10271
10398
 
10399
+ @property
10400
+ def Metadata(self):
10401
+ """Custom metadata.
10402
+ :rtype: :class:`tencentcloud.autoscaling.v20180419.models.Metadata`
10403
+ """
10404
+ return self._Metadata
10405
+
10406
+ @Metadata.setter
10407
+ def Metadata(self, Metadata):
10408
+ self._Metadata = Metadata
10409
+
10272
10410
 
10273
10411
  def _deserialize(self, params):
10274
10412
  self._LaunchConfigurationId = params.get("LaunchConfigurationId")
@@ -10324,6 +10462,9 @@ This parameter will overwrite the original instance tag list. To add new tags, y
10324
10462
  self._InstanceTags.append(obj)
10325
10463
  self._ImageFamily = params.get("ImageFamily")
10326
10464
  self._DedicatedClusterId = params.get("DedicatedClusterId")
10465
+ if params.get("Metadata") is not None:
10466
+ self._Metadata = Metadata()
10467
+ self._Metadata._deserialize(params.get("Metadata"))
10327
10468
  memeber_set = set(params.keys())
10328
10469
  for name, value in vars(self).items():
10329
10470
  property_name = name[1:]
@@ -12354,15 +12495,15 @@ Note: This field may return `null`, indicating that no valid values can be obtai
12354
12495
 
12355
12496
 
12356
12497
  class RunMonitorServiceEnabled(AbstractModel):
12357
- """This describes the information related to the Cloud Monitor service.
12498
+ """Information related to Tencent Cloud Observability Platform (TCOP, formerly Cloud Monitor).
12358
12499
 
12359
12500
  """
12360
12501
 
12361
12502
  def __init__(self):
12362
12503
  r"""
12363
- :param _Enabled: Whether to enable the [Tencent Cloud Observability Platform](https://www.tencentcloud.com/document/product/248?lang=en&pg=) service. Valid values:
12364
- <li>TRUE: enable.</li>
12365
- <li>FALSE: disable.</li>
12504
+ :param _Enabled: Whether [TCOP (formerly Cloud Monitor)](https://intl.cloud.tencent.com/document/product/248?from_cn_redirect=1) is enabled. Valid values:
12505
+ <li>TRUE: enabled</li>
12506
+ <li>FALSE: disabled</li>
12366
12507
  Default value: TRUE.
12367
12508
  Note: This field may return null, indicating that no valid values can be obtained.
12368
12509
  :type Enabled: bool
@@ -12371,9 +12512,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
12371
12512
 
12372
12513
  @property
12373
12514
  def Enabled(self):
12374
- """Whether to enable the [Tencent Cloud Observability Platform](https://www.tencentcloud.com/document/product/248?lang=en&pg=) service. Valid values:
12375
- <li>TRUE: enable.</li>
12376
- <li>FALSE: disable.</li>
12515
+ """Whether [TCOP (formerly Cloud Monitor)](https://intl.cloud.tencent.com/document/product/248?from_cn_redirect=1) is enabled. Valid values:
12516
+ <li>TRUE: enabled</li>
12517
+ <li>FALSE: disabled</li>
12377
12518
  Default value: TRUE.
12378
12519
  Note: This field may return null, indicating that no valid values can be obtained.
12379
12520
  :rtype: bool
@@ -13093,11 +13234,14 @@ RESET: Performing a system reinstallation on unhealthy instances to keep informa
13093
13234
  Default value: RECREATE.
13094
13235
  Note: This field may return null, indicating that no valid values can be obtained.
13095
13236
  :type ReplaceMode: str
13237
+ :param _AutoUpdateInstanceTags: Automatic instance tag update. The default value is false. If this feature is enabled, tags of running instances in a scaling group will be updated as well if the scaling group tags are updated. (This feature takes effect for tag creation and editing but not tag deletion.) The update does not take effect immediately due to certain latency.
13238
+ :type AutoUpdateInstanceTags: bool
13096
13239
  """
13097
13240
  self._ReplaceMonitorUnhealthy = None
13098
13241
  self._ScalingMode = None
13099
13242
  self._ReplaceLoadBalancerUnhealthy = None
13100
13243
  self._ReplaceMode = None
13244
+ self._AutoUpdateInstanceTags = None
13101
13245
 
13102
13246
  @property
13103
13247
  def ReplaceMonitorUnhealthy(self):
@@ -13150,12 +13294,24 @@ Note: This field may return null, indicating that no valid values can be obtaine
13150
13294
  def ReplaceMode(self, ReplaceMode):
13151
13295
  self._ReplaceMode = ReplaceMode
13152
13296
 
13297
+ @property
13298
+ def AutoUpdateInstanceTags(self):
13299
+ """Automatic instance tag update. The default value is false. If this feature is enabled, tags of running instances in a scaling group will be updated as well if the scaling group tags are updated. (This feature takes effect for tag creation and editing but not tag deletion.) The update does not take effect immediately due to certain latency.
13300
+ :rtype: bool
13301
+ """
13302
+ return self._AutoUpdateInstanceTags
13303
+
13304
+ @AutoUpdateInstanceTags.setter
13305
+ def AutoUpdateInstanceTags(self, AutoUpdateInstanceTags):
13306
+ self._AutoUpdateInstanceTags = AutoUpdateInstanceTags
13307
+
13153
13308
 
13154
13309
  def _deserialize(self, params):
13155
13310
  self._ReplaceMonitorUnhealthy = params.get("ReplaceMonitorUnhealthy")
13156
13311
  self._ScalingMode = params.get("ScalingMode")
13157
13312
  self._ReplaceLoadBalancerUnhealthy = params.get("ReplaceLoadBalancerUnhealthy")
13158
13313
  self._ReplaceMode = params.get("ReplaceMode")
13314
+ self._AutoUpdateInstanceTags = params.get("AutoUpdateInstanceTags")
13159
13315
  memeber_set = set(params.keys())
13160
13316
  for name, value in vars(self).items():
13161
13317
  property_name = name[1:]
@@ -53,6 +53,12 @@ INTERNALERROR_UPLOADWATERMARKERROR = 'InternalError.UploadWatermarkError'
53
53
  # Parameter error.
54
54
  INVALIDPARAMETER = 'InvalidParameter'
55
55
 
56
+ # InvalidParameter.Id
57
+ INVALIDPARAMETER_ID = 'InvalidParameter.Id'
58
+
59
+ # InvalidParameter.NotFound
60
+ INVALIDPARAMETER_NOTFOUND = 'InvalidParameter.NotFound'
61
+
56
62
  # Incorrect parameter value.
57
63
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
58
64
 
@@ -18821,6 +18821,8 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
18821
18821
  <li>Custom: custom template.</li>
18822
18822
  :type Type: str
18823
18823
  :param _PureAudio: Whether it is an audio-only template. 0: video template. 1: audio-only template.
18824
+
18825
+ Default value: 0
18824
18826
  :type PureAudio: int
18825
18827
  :param _Name: Filter condition for adaptive transcoding template identifiers, with a length limit of 64 characters.
18826
18828
  :type Name: str
@@ -18881,6 +18883,8 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
18881
18883
  @property
18882
18884
  def PureAudio(self):
18883
18885
  """Whether it is an audio-only template. 0: video template. 1: audio-only template.
18886
+
18887
+ Default value: 0
18884
18888
  :rtype: int
18885
18889
  """
18886
18890
  return self._PureAudio
@@ -20564,6 +20568,87 @@ class DescribeSnapshotByTimeOffsetTemplatesResponse(AbstractModel):
20564
20568
  self._RequestId = params.get("RequestId")
20565
20569
 
20566
20570
 
20571
+ class DescribeStreamLinkSecurityGroupRequest(AbstractModel):
20572
+ """DescribeStreamLinkSecurityGroup request structure.
20573
+
20574
+ """
20575
+
20576
+ def __init__(self):
20577
+ r"""
20578
+ :param _Id: Security group ID.
20579
+ :type Id: str
20580
+ """
20581
+ self._Id = None
20582
+
20583
+ @property
20584
+ def Id(self):
20585
+ """Security group ID.
20586
+ :rtype: str
20587
+ """
20588
+ return self._Id
20589
+
20590
+ @Id.setter
20591
+ def Id(self, Id):
20592
+ self._Id = Id
20593
+
20594
+
20595
+ def _deserialize(self, params):
20596
+ self._Id = params.get("Id")
20597
+ memeber_set = set(params.keys())
20598
+ for name, value in vars(self).items():
20599
+ property_name = name[1:]
20600
+ if property_name in memeber_set:
20601
+ memeber_set.remove(property_name)
20602
+ if len(memeber_set) > 0:
20603
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20604
+
20605
+
20606
+
20607
+ class DescribeStreamLinkSecurityGroupResponse(AbstractModel):
20608
+ """DescribeStreamLinkSecurityGroup response structure.
20609
+
20610
+ """
20611
+
20612
+ def __init__(self):
20613
+ r"""
20614
+ :param _Info: Information on the input security group.
20615
+ :type Info: :class:`tencentcloud.mps.v20190612.models.SecurityGroupInfo`
20616
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
20617
+ :type RequestId: str
20618
+ """
20619
+ self._Info = None
20620
+ self._RequestId = None
20621
+
20622
+ @property
20623
+ def Info(self):
20624
+ """Information on the input security group.
20625
+ :rtype: :class:`tencentcloud.mps.v20190612.models.SecurityGroupInfo`
20626
+ """
20627
+ return self._Info
20628
+
20629
+ @Info.setter
20630
+ def Info(self, Info):
20631
+ self._Info = Info
20632
+
20633
+ @property
20634
+ def RequestId(self):
20635
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
20636
+ :rtype: str
20637
+ """
20638
+ return self._RequestId
20639
+
20640
+ @RequestId.setter
20641
+ def RequestId(self, RequestId):
20642
+ self._RequestId = RequestId
20643
+
20644
+
20645
+ def _deserialize(self, params):
20646
+ if params.get("Info") is not None:
20647
+ self._Info = SecurityGroupInfo()
20648
+ self._Info._deserialize(params.get("Info"))
20649
+ self._RequestId = params.get("RequestId")
20650
+
20651
+
20567
20652
  class DescribeTaskDetailRequest(AbstractModel):
20568
20653
  """DescribeTaskDetail request structure.
20569
20654
 
@@ -40534,6 +40619,121 @@ Note: This field may return null, indicating that no valid values can be obtaine
40534
40619
 
40535
40620
 
40536
40621
 
40622
+ class SecurityGroupInfo(AbstractModel):
40623
+ """Security group information.
40624
+
40625
+ """
40626
+
40627
+ def __init__(self):
40628
+ r"""
40629
+ :param _Id: Security group ID.
40630
+ :type Id: str
40631
+ :param _Name: Security group name.
40632
+ :type Name: str
40633
+ :param _Whitelist: Allowlist list.
40634
+ :type Whitelist: list of str
40635
+ :param _OccupiedInputs: List of bound input streams.
40636
+ Note: This field may return null, indicating that no valid value can be obtained.
40637
+ :type OccupiedInputs: list of str
40638
+ :param _Region: Security group address.
40639
+ :type Region: str
40640
+ :param _OccupiedOutputs: List of bound output streams.
40641
+ Note: This field may return null, indicating that no valid value can be obtained.
40642
+ :type OccupiedOutputs: list of str
40643
+ """
40644
+ self._Id = None
40645
+ self._Name = None
40646
+ self._Whitelist = None
40647
+ self._OccupiedInputs = None
40648
+ self._Region = None
40649
+ self._OccupiedOutputs = None
40650
+
40651
+ @property
40652
+ def Id(self):
40653
+ """Security group ID.
40654
+ :rtype: str
40655
+ """
40656
+ return self._Id
40657
+
40658
+ @Id.setter
40659
+ def Id(self, Id):
40660
+ self._Id = Id
40661
+
40662
+ @property
40663
+ def Name(self):
40664
+ """Security group name.
40665
+ :rtype: str
40666
+ """
40667
+ return self._Name
40668
+
40669
+ @Name.setter
40670
+ def Name(self, Name):
40671
+ self._Name = Name
40672
+
40673
+ @property
40674
+ def Whitelist(self):
40675
+ """Allowlist list.
40676
+ :rtype: list of str
40677
+ """
40678
+ return self._Whitelist
40679
+
40680
+ @Whitelist.setter
40681
+ def Whitelist(self, Whitelist):
40682
+ self._Whitelist = Whitelist
40683
+
40684
+ @property
40685
+ def OccupiedInputs(self):
40686
+ """List of bound input streams.
40687
+ Note: This field may return null, indicating that no valid value can be obtained.
40688
+ :rtype: list of str
40689
+ """
40690
+ return self._OccupiedInputs
40691
+
40692
+ @OccupiedInputs.setter
40693
+ def OccupiedInputs(self, OccupiedInputs):
40694
+ self._OccupiedInputs = OccupiedInputs
40695
+
40696
+ @property
40697
+ def Region(self):
40698
+ """Security group address.
40699
+ :rtype: str
40700
+ """
40701
+ return self._Region
40702
+
40703
+ @Region.setter
40704
+ def Region(self, Region):
40705
+ self._Region = Region
40706
+
40707
+ @property
40708
+ def OccupiedOutputs(self):
40709
+ """List of bound output streams.
40710
+ Note: This field may return null, indicating that no valid value can be obtained.
40711
+ :rtype: list of str
40712
+ """
40713
+ return self._OccupiedOutputs
40714
+
40715
+ @OccupiedOutputs.setter
40716
+ def OccupiedOutputs(self, OccupiedOutputs):
40717
+ self._OccupiedOutputs = OccupiedOutputs
40718
+
40719
+
40720
+ def _deserialize(self, params):
40721
+ self._Id = params.get("Id")
40722
+ self._Name = params.get("Name")
40723
+ self._Whitelist = params.get("Whitelist")
40724
+ self._OccupiedInputs = params.get("OccupiedInputs")
40725
+ self._Region = params.get("Region")
40726
+ self._OccupiedOutputs = params.get("OccupiedOutputs")
40727
+ memeber_set = set(params.keys())
40728
+ for name, value in vars(self).items():
40729
+ property_name = name[1:]
40730
+ if property_name in memeber_set:
40731
+ memeber_set.remove(property_name)
40732
+ if len(memeber_set) > 0:
40733
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40734
+
40735
+
40736
+
40537
40737
  class SegmentRecognitionItem(AbstractModel):
40538
40738
  """
40539
40739
 
@@ -44609,19 +44809,21 @@ If the value is 0, the frame rate will be the same as that of the source video.
44609
44809
  Default value: open.
44610
44810
  Note: When resolution adaption is enabled, `Width` cannot be smaller than `Height`.
44611
44811
  :type ResolutionAdaptive: str
44612
- :param _Width: Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
44613
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
44614
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
44615
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
44616
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
44812
+ :param _Width: Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096].
44813
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
44814
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
44815
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
44816
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
44617
44817
  Default value: 0.
44818
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
44618
44819
  :type Width: int
44619
- :param _Height: Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
44620
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
44621
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
44622
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
44623
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
44820
+ :param _Height: Maximum value of the video stream height (or short edge) in px. Value range: 0 and [128, 4,096].
44821
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
44822
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
44823
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
44824
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
44624
44825
  Default value: 0.
44826
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
44625
44827
  :type Height: int
44626
44828
  :param _Gop: Interval between I-frames (keyframes), which can be customized in frames or seconds. GOP value range: 0 and [1, 100000].
44627
44829
  If this parameter is 0 or left blank, the system will automatically set the GOP length.
@@ -44852,12 +45054,13 @@ Note: When resolution adaption is enabled, `Width` cannot be smaller than `Heigh
44852
45054
 
44853
45055
  @property
44854
45056
  def Width(self):
44855
- """Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
44856
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
44857
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
44858
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
44859
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
45057
+ """Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096].
45058
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
45059
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
45060
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
45061
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
44860
45062
  Default value: 0.
45063
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
44861
45064
  :rtype: int
44862
45065
  """
44863
45066
  return self._Width
@@ -44868,12 +45071,13 @@ Default value: 0.
44868
45071
 
44869
45072
  @property
44870
45073
  def Height(self):
44871
- """Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
44872
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
44873
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
44874
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
44875
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
45074
+ """Maximum value of the video stream height (or short edge) in px. Value range: 0 and [128, 4,096].
45075
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
45076
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
45077
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
45078
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
44876
45079
  Default value: 0.
45080
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
44877
45081
  :rtype: int
44878
45082
  """
44879
45083
  return self._Height
@@ -45283,13 +45487,17 @@ If the value is 0, the frame rate will be the same as that of the source video.N
45283
45487
  <li>close: Disabled. When resolution adaption is disabled, `Width` indicates the width of a video, while `Height` indicates the height.</li>
45284
45488
  Note: When resolution adaption is enabled, `Width` cannot be smaller than `Height`.
45285
45489
  :type ResolutionAdaptive: str
45286
- :param _Width: Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
45287
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
45288
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
45289
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
45290
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
45490
+ :param _Width: Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096].
45491
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
45492
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
45493
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
45494
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
45495
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
45496
+ Note: This field may return null, indicating that no valid value can be obtained.
45291
45497
  :type Width: int
45292
- :param _Height: Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
45498
+ :param _Height: Maximum value of the video stream height (or short edge) in px. Value range: 0 and [128, 4,096].
45499
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
45500
+ Note: This field may return null, indicating that no valid value can be obtained.
45293
45501
  :type Height: int
45294
45502
  :param _Gop: Interval between I-frames (keyframes), which can be customized in frames or seconds. GOP value range: 0 and [1, 100000].
45295
45503
  If this parameter is 0, the system will automatically set the GOP length.
@@ -45534,11 +45742,13 @@ Note: When resolution adaption is enabled, `Width` cannot be smaller than `Heigh
45534
45742
 
45535
45743
  @property
45536
45744
  def Width(self):
45537
- """Maximum value of the width (or long side) of a video stream in px. Value range: 0 and [128, 4,096].
45538
- <li>If both `Width` and `Height` are 0, the resolution will be the same as that of the source video;</li>
45539
- <li>If `Width` is 0, but `Height` is not 0, `Width` will be proportionally scaled;</li>
45540
- <li>If `Width` is not 0, but `Height` is 0, `Height` will be proportionally scaled;</li>
45541
- <li>If both `Width` and `Height` are not 0, the custom resolution will be used.</li>
45745
+ """Maximum value of the video stream width (or long edge) in px. Value range: 0 and [128, 4096].
45746
+ <li>If both Width and Height are 0, the resolution is the same as the source.</li>
45747
+ <li>If Width is 0 but Height is not 0, the width will be proportionally scaled.</li>
45748
+ <li>If Width is not 0 but Height is 0, the height will be proportionally scaled.</li>
45749
+ <li>If both Width and Height are not 0, the resolution is as specified by the user.</li>
45750
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
45751
+ Note: This field may return null, indicating that no valid value can be obtained.
45542
45752
  :rtype: int
45543
45753
  """
45544
45754
  return self._Width
@@ -45549,7 +45759,9 @@ Note: When resolution adaption is enabled, `Width` cannot be smaller than `Heigh
45549
45759
 
45550
45760
  @property
45551
45761
  def Height(self):
45552
- """Maximum value of the height (or short side) of a video stream in px. Value range: 0 and [128, 4,096].
45762
+ """Maximum value of the video stream height (or short edge) in px. Value range: 0 and [128, 4,096].
45763
+ Note: If Codec is set to MV-HEVC, the maximum value can be 7680.
45764
+ Note: This field may return null, indicating that no valid value can be obtained.
45553
45765
  :rtype: int
45554
45766
  """
45555
45767
  return self._Height
@@ -1085,6 +1085,29 @@ class MpsClient(AbstractClient):
1085
1085
  raise TencentCloudSDKException(type(e).__name__, str(e))
1086
1086
 
1087
1087
 
1088
+ def DescribeStreamLinkSecurityGroup(self, request):
1089
+ """This API is used to query a security group.
1090
+
1091
+ :param request: Request instance for DescribeStreamLinkSecurityGroup.
1092
+ :type request: :class:`tencentcloud.mps.v20190612.models.DescribeStreamLinkSecurityGroupRequest`
1093
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeStreamLinkSecurityGroupResponse`
1094
+
1095
+ """
1096
+ try:
1097
+ params = request._serialize()
1098
+ headers = request.headers
1099
+ body = self.call("DescribeStreamLinkSecurityGroup", params, headers=headers)
1100
+ response = json.loads(body)
1101
+ model = models.DescribeStreamLinkSecurityGroupResponse()
1102
+ model._deserialize(response["Response"])
1103
+ return model
1104
+ except Exception as e:
1105
+ if isinstance(e, TencentCloudSDKException):
1106
+ raise
1107
+ else:
1108
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1109
+
1110
+
1088
1111
  def DescribeTaskDetail(self, request):
1089
1112
  """This API is used to query the details of execution status and result of a task submitted in the last 3 days by task ID.
1090
1113
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1127
3
+ Version: 3.0.1129
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=iFpAykkbVqgnd-oBH8yNlLaoW6EP6N2-xiHkUg9sk2k,630
1
+ tencentcloud/__init__.py,sha256=UOA24s5kqHO0n59QKUCjh1KcSgmGke9gZsa2lESaEJ8,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
@@ -33,7 +33,7 @@ tencentcloud/autoscaling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
33
33
  tencentcloud/autoscaling/v20180419/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  tencentcloud/autoscaling/v20180419/autoscaling_client.py,sha256=Ba6ZLeBwEZuI0GHNDENQM6beLjxgZScO-cDOZ-yyIzo,73443
35
35
  tencentcloud/autoscaling/v20180419/errorcodes.py,sha256=EnO0NtPCX0cHZg4gwcuFy0h0lpGYXj7IxKOPyumtZss,23895
36
- tencentcloud/autoscaling/v20180419/models.py,sha256=2Hc3FD75gV0n0MkwNs-mC9MzHY-4IUCMoq0dR4P_ZTU,618429
36
+ tencentcloud/autoscaling/v20180419/models.py,sha256=0DCz-zVAJd5bZH16zlqxmLXGiVOL3ZCB3EkEOpzvNvc,623782
37
37
  tencentcloud/batch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  tencentcloud/batch/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  tencentcloud/batch/v20170312/batch_client.py,sha256=dZRtOWDZKKeCiO05RhGAe3RxcuMK3lyPZ5Il-eElpbI,29648
@@ -387,9 +387,9 @@ tencentcloud/monitor/v20180724/models.py,sha256=1WZbPJq0hBZwiqomGOXosSWbWg_R6lyl
387
387
  tencentcloud/monitor/v20180724/monitor_client.py,sha256=hrQeKcXUL7MmNd_VeJAxLups9W0MOkyX4XDhUX1uecc,142921
388
388
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
389
389
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
- tencentcloud/mps/v20190612/errorcodes.py,sha256=32AjW4KHmhgtgFPA9f36f3HTU9gR0orelCbhHwJhbYM,13235
391
- tencentcloud/mps/v20190612/models.py,sha256=UndmT3fYr172-cpKeFPbcf_4OnMYJozE93OVFZU3-Fw,1743382
392
- tencentcloud/mps/v20190612/mps_client.py,sha256=WFzOqkVS-Rjbyx-5qQpzz7DWIBOCSPftD6GIsRcMgMI,83582
390
+ tencentcloud/mps/v20190612/errorcodes.py,sha256=kKjLv4IwopD1t0xpQG1vz0XLafjQYO53GYZ0iHVYFro,13387
391
+ tencentcloud/mps/v20190612/models.py,sha256=9MnRBdQ73CFB8IWSbaVm8UWrtxVfgDoYmeY5wo-I5Mc,1749738
392
+ tencentcloud/mps/v20190612/mps_client.py,sha256=xbixyXjhGCMIgcjSzOERH7OdZLRGIGZE5mfhRqsvcBs,84560
393
393
  tencentcloud/msp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
394
394
  tencentcloud/msp/v20180319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
395
395
  tencentcloud/msp/v20180319/errorcodes.py,sha256=m7TqnT1KqSLNt0trBqZV5xL7aJtce_53v7OwSaOoOQI,806
@@ -614,7 +614,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
614
614
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
615
615
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
616
616
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
617
- tencentcloud_sdk_python_intl_en-3.0.1127.dist-info/METADATA,sha256=fAk9pM0YxHlYaZFepACZZnIkNOBR3Tc_j4gAW9_I6M4,1628
618
- tencentcloud_sdk_python_intl_en-3.0.1127.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
619
- tencentcloud_sdk_python_intl_en-3.0.1127.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
620
- tencentcloud_sdk_python_intl_en-3.0.1127.dist-info/RECORD,,
617
+ tencentcloud_sdk_python_intl_en-3.0.1129.dist-info/METADATA,sha256=mAtRfx7RLOtraofYAXJ22iIAiFb9DsZ67FMVjYIRBiE,1628
618
+ tencentcloud_sdk_python_intl_en-3.0.1129.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
619
+ tencentcloud_sdk_python_intl_en-3.0.1129.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
620
+ tencentcloud_sdk_python_intl_en-3.0.1129.dist-info/RECORD,,