tencentcloud-sdk-python-intl-en 3.0.1177__py2.py3-none-any.whl → 3.0.1179__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 +1 -1
- tencentcloud/captcha/v20190722/models.py +4 -6
- tencentcloud/cvm/v20170312/cvm_client.py +0 -1
- tencentcloud/mdl/v20200326/mdl_client.py +0 -23
- tencentcloud/mdl/v20200326/models.py +23 -353
- tencentcloud/mdp/v20200527/models.py +30 -0
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +80 -66
- tencentcloud/rum/v20210622/models.py +32 -2
- tencentcloud/sqlserver/v20180328/models.py +109 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +4274 -1634
- tencentcloud/wedata/v20210820/wedata_client.py +69 -0
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/RECORD +17 -17
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1177.dist-info → tencentcloud_sdk_python_intl_en-3.0.1179.dist-info}/top_level.txt +0 -0
|
@@ -1598,7 +1598,8 @@ class AdaptiveStreamTemplate(AbstractModel):
|
|
|
1598
1598
|
<li>1: yes.</li>
|
|
1599
1599
|
:type RemoveVideo: int
|
|
1600
1600
|
:param _AudioList: Audio parameter information list.
|
|
1601
|
-
The parameter is only used when merging multiple audio tracks
|
|
1601
|
+
The parameter is only used when merging multiple audio tracks in adaptive bitrate transcoding. the maximum length of the parameter array is 64.
|
|
1602
|
+
|
|
1602
1603
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1603
1604
|
:type AudioList: list of AudioTemplateInfo
|
|
1604
1605
|
"""
|
|
@@ -1659,7 +1660,8 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
1659
1660
|
@property
|
|
1660
1661
|
def AudioList(self):
|
|
1661
1662
|
"""Audio parameter information list.
|
|
1662
|
-
The parameter is only used when merging multiple audio tracks
|
|
1663
|
+
The parameter is only used when merging multiple audio tracks in adaptive bitrate transcoding. the maximum length of the parameter array is 64.
|
|
1664
|
+
|
|
1663
1665
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1664
1666
|
:rtype: list of AudioTemplateInfo
|
|
1665
1667
|
"""
|
|
@@ -11508,14 +11510,15 @@ Unit: Hz.
|
|
|
11508
11510
|
Please ensure that the sampling rate of the source audio stream is within the value range of the above options. otherwise, transcoding failure may occur.
|
|
11509
11511
|
:type SampleRate: int
|
|
11510
11512
|
:param _AudioChannel: Audio channel mode. Valid values:
|
|
11511
|
-
<li>1:
|
|
11512
|
-
<li>2: dual
|
|
11513
|
-
<li>6: 5.1 surround sound
|
|
11514
|
-
|
|
11515
|
-
|
|
11513
|
+
<li>1: mono-channel.</li>
|
|
11514
|
+
<li>2: dual-channel.</li>
|
|
11515
|
+
<li>6: 5.1 surround sound.
|
|
11516
|
+
<li>Default value: 2.
|
|
11517
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11516
11518
|
:type AudioChannel: int
|
|
11517
11519
|
:param _TrackChannelInfo: Merge audio track information.
|
|
11518
|
-
This field only takes
|
|
11520
|
+
This field only takes effect in adaptive bitrate transcoding.
|
|
11521
|
+
|
|
11519
11522
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11520
11523
|
:type TrackChannelInfo: :class:`tencentcloud.mps.v20190612.models.AudioTrackChannelInfo`
|
|
11521
11524
|
"""
|
|
@@ -11588,11 +11591,11 @@ Please ensure that the sampling rate of the source audio stream is within the va
|
|
|
11588
11591
|
@property
|
|
11589
11592
|
def AudioChannel(self):
|
|
11590
11593
|
"""Audio channel mode. Valid values:
|
|
11591
|
-
<li>1:
|
|
11592
|
-
<li>2: dual
|
|
11593
|
-
<li>6: 5.1 surround sound
|
|
11594
|
-
|
|
11595
|
-
|
|
11594
|
+
<li>1: mono-channel.</li>
|
|
11595
|
+
<li>2: dual-channel.</li>
|
|
11596
|
+
<li>6: 5.1 surround sound.
|
|
11597
|
+
<li>Default value: 2.
|
|
11598
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11596
11599
|
:rtype: int
|
|
11597
11600
|
"""
|
|
11598
11601
|
return self._AudioChannel
|
|
@@ -11604,7 +11607,8 @@ Default value: 2.
|
|
|
11604
11607
|
@property
|
|
11605
11608
|
def TrackChannelInfo(self):
|
|
11606
11609
|
"""Merge audio track information.
|
|
11607
|
-
This field only takes
|
|
11610
|
+
This field only takes effect in adaptive bitrate transcoding.
|
|
11611
|
+
|
|
11608
11612
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11609
11613
|
:rtype: :class:`tencentcloud.mps.v20190612.models.AudioTrackChannelInfo`
|
|
11610
11614
|
"""
|
|
@@ -11661,15 +11665,17 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
11661
11665
|
:type Codec: str
|
|
11662
11666
|
:param _Bitrate: Audio stream bitrate in Kbps. Value range: 0 and [26, 256]. If the value is 0, the bitrate of the audio stream will be the same as that of the original audio.
|
|
11663
11667
|
:type Bitrate: int
|
|
11664
|
-
:param _SampleRate: The sampling rate of the audio stream. the
|
|
11665
|
-
|
|
11668
|
+
:param _SampleRate: The sampling rate of the audio stream. the sampling rate options supported by different encoding standards are different. for details, see the audio sample rate support scope document (https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
|
|
11669
|
+
Unit: Hz.
|
|
11670
|
+
Please ensure that the sampling rate of the source audio stream is within the scope of the above options. otherwise, transcoding failure may occur.
|
|
11666
11671
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11667
11672
|
:type SampleRate: int
|
|
11668
11673
|
:param _AudioChannel: Audio channel mode. Valid values:
|
|
11669
|
-
<li>1:
|
|
11670
|
-
<li>2: dual
|
|
11671
|
-
<li>6: 5.1 surround sound
|
|
11672
|
-
When the
|
|
11674
|
+
<li>1: mono-channel.</li>
|
|
11675
|
+
<li>2: dual-channel.</li>
|
|
11676
|
+
<li>6: 5.1 surround sound.
|
|
11677
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11678
|
+
|
|
11673
11679
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11674
11680
|
:type AudioChannel: int
|
|
11675
11681
|
:param _StreamSelects: The audio tracks to retain. All audio tracks are retained by default.
|
|
@@ -11722,8 +11728,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
11722
11728
|
|
|
11723
11729
|
@property
|
|
11724
11730
|
def SampleRate(self):
|
|
11725
|
-
"""The sampling rate of the audio stream. the
|
|
11726
|
-
|
|
11731
|
+
"""The sampling rate of the audio stream. the sampling rate options supported by different encoding standards are different. for details, see the audio sample rate support scope document (https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
|
|
11732
|
+
Unit: Hz.
|
|
11733
|
+
Please ensure that the sampling rate of the source audio stream is within the scope of the above options. otherwise, transcoding failure may occur.
|
|
11727
11734
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11728
11735
|
:rtype: int
|
|
11729
11736
|
"""
|
|
@@ -11736,10 +11743,11 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11736
11743
|
@property
|
|
11737
11744
|
def AudioChannel(self):
|
|
11738
11745
|
"""Audio channel mode. Valid values:
|
|
11739
|
-
<li>1:
|
|
11740
|
-
<li>2: dual
|
|
11741
|
-
<li>6: 5.1 surround sound
|
|
11742
|
-
When the
|
|
11746
|
+
<li>1: mono-channel.</li>
|
|
11747
|
+
<li>2: dual-channel.</li>
|
|
11748
|
+
<li>6: 5.1 surround sound.
|
|
11749
|
+
When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
|
|
11750
|
+
|
|
11743
11751
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11744
11752
|
:rtype: int
|
|
11745
11753
|
"""
|
|
@@ -11784,21 +11792,23 @@ class AudioTrackChannelInfo(AbstractModel):
|
|
|
11784
11792
|
|
|
11785
11793
|
def __init__(self):
|
|
11786
11794
|
r"""
|
|
11787
|
-
:param _ChannelsRemix: Whether to enable the feature of multi-audio track mixing.
|
|
11788
|
-
0:
|
|
11789
|
-
1:
|
|
11790
|
-
Default value: 0
|
|
11795
|
+
:param _ChannelsRemix: Whether to enable the feature of multi-audio track mixing. Valid values:
|
|
11796
|
+
<li>0: To disable the multi-audio track mixing feature.
|
|
11797
|
+
<li>1: To enable the multi-audio track mixing feature.
|
|
11798
|
+
<li>Default value: 0.
|
|
11791
11799
|
|
|
11792
11800
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11793
11801
|
:type ChannelsRemix: int
|
|
11794
|
-
:param _SelectType: Set the selector type for the input audio track.
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
Default: track.
|
|
11798
|
-
If the original
|
|
11802
|
+
:param _SelectType: Set the selector type for the input audio track. Valid values:
|
|
11803
|
+
<li>track: indicates the usage of audio track id to identify the track to be used.
|
|
11804
|
+
<li>track_channel: indicates the usage of both the audio track id and sound channel id to identify the track and channel to be used.
|
|
11805
|
+
<li>Default value: track.
|
|
11806
|
+
If the original audio track has multiple sound channels, please use track_channel.
|
|
11807
|
+
|
|
11799
11808
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11800
11809
|
:type SelectType: str
|
|
11801
11810
|
:param _InputTrackInfo: Audio track information.
|
|
11811
|
+
|
|
11802
11812
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11803
11813
|
:type InputTrackInfo: list of TrackInfo
|
|
11804
11814
|
"""
|
|
@@ -11808,10 +11818,10 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11808
11818
|
|
|
11809
11819
|
@property
|
|
11810
11820
|
def ChannelsRemix(self):
|
|
11811
|
-
"""Whether to enable the feature of multi-audio track mixing.
|
|
11812
|
-
0:
|
|
11813
|
-
1:
|
|
11814
|
-
Default value: 0
|
|
11821
|
+
"""Whether to enable the feature of multi-audio track mixing. Valid values:
|
|
11822
|
+
<li>0: To disable the multi-audio track mixing feature.
|
|
11823
|
+
<li>1: To enable the multi-audio track mixing feature.
|
|
11824
|
+
<li>Default value: 0.
|
|
11815
11825
|
|
|
11816
11826
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11817
11827
|
:rtype: int
|
|
@@ -11824,11 +11834,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11824
11834
|
|
|
11825
11835
|
@property
|
|
11826
11836
|
def SelectType(self):
|
|
11827
|
-
"""Set the selector type for the input audio track.
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
Default: track.
|
|
11831
|
-
If the original
|
|
11837
|
+
"""Set the selector type for the input audio track. Valid values:
|
|
11838
|
+
<li>track: indicates the usage of audio track id to identify the track to be used.
|
|
11839
|
+
<li>track_channel: indicates the usage of both the audio track id and sound channel id to identify the track and channel to be used.
|
|
11840
|
+
<li>Default value: track.
|
|
11841
|
+
If the original audio track has multiple sound channels, please use track_channel.
|
|
11842
|
+
|
|
11832
11843
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11833
11844
|
:rtype: str
|
|
11834
11845
|
"""
|
|
@@ -11841,6 +11852,7 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
11841
11852
|
@property
|
|
11842
11853
|
def InputTrackInfo(self):
|
|
11843
11854
|
"""Audio track information.
|
|
11855
|
+
|
|
11844
11856
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
11845
11857
|
:rtype: list of TrackInfo
|
|
11846
11858
|
"""
|
|
@@ -47262,19 +47274,20 @@ class TrackInfo(AbstractModel):
|
|
|
47262
47274
|
|
|
47263
47275
|
def __init__(self):
|
|
47264
47276
|
r"""
|
|
47265
|
-
:param _TrackNum:
|
|
47266
|
-
When the SelectType
|
|
47267
|
-
When the SelectType
|
|
47268
|
-
Default value:
|
|
47269
|
-
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index of the audio track,
|
|
47277
|
+
:param _TrackNum: The serial number of the audio track and sound channel.
|
|
47278
|
+
<li>When the value of SelectType is track, this value is an integer, for example: 1.
|
|
47279
|
+
<li>When the value of SelectType is track_channel, this value is a decimal, for example: 1.0.
|
|
47280
|
+
<li>Default value: 1.0.
|
|
47281
|
+
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index value of the audio track, which can be 0 or a positive integer. The decimal part supports up to 2 decimal places, and only 0 - 63 is supported. However, when the Codec is aac/eac3/ac3, only 0 - 15 is supported for the decimal part. For example: for an audio track with a stream index value of 1, 1.0 represents the first sound channel of this audio track, and 1.1 represents the second sound channel of this audio track.
|
|
47282
|
+
|
|
47270
47283
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47271
47284
|
:type TrackNum: str
|
|
47272
|
-
:param _ChannelVolume:
|
|
47273
|
-
|
|
47274
|
-
|
|
47275
|
-
When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16
|
|
47276
|
-
|
|
47277
|
-
|
|
47285
|
+
:param _ChannelVolume: The volume of the sound channel.
|
|
47286
|
+
<li>When the value of AudioChannel is 1, the length of this array is 1. For example: [6].
|
|
47287
|
+
<li>When the value of AudioChannel is 2, the length of this array is 2. For example: [0,6].
|
|
47288
|
+
<li>When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16. For example: [-60,0,0,6].
|
|
47289
|
+
|
|
47290
|
+
Please specify the value array for this parameter. The value range is between -60 and 6, where -60 indicates mute, 0 maintains the original volume, and 6 doubles the original volume. The default value is -60. Please note: This field supports up to 3 decimal places.
|
|
47278
47291
|
|
|
47279
47292
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47280
47293
|
:type ChannelVolume: list of float
|
|
@@ -47284,11 +47297,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
47284
47297
|
|
|
47285
47298
|
@property
|
|
47286
47299
|
def TrackNum(self):
|
|
47287
|
-
"""
|
|
47288
|
-
When the SelectType
|
|
47289
|
-
When the SelectType
|
|
47290
|
-
Default value:
|
|
47291
|
-
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index of the audio track,
|
|
47300
|
+
"""The serial number of the audio track and sound channel.
|
|
47301
|
+
<li>When the value of SelectType is track, this value is an integer, for example: 1.
|
|
47302
|
+
<li>When the value of SelectType is track_channel, this value is a decimal, for example: 1.0.
|
|
47303
|
+
<li>Default value: 1.0.
|
|
47304
|
+
The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index value of the audio track, which can be 0 or a positive integer. The decimal part supports up to 2 decimal places, and only 0 - 63 is supported. However, when the Codec is aac/eac3/ac3, only 0 - 15 is supported for the decimal part. For example: for an audio track with a stream index value of 1, 1.0 represents the first sound channel of this audio track, and 1.1 represents the second sound channel of this audio track.
|
|
47305
|
+
|
|
47292
47306
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47293
47307
|
:rtype: str
|
|
47294
47308
|
"""
|
|
@@ -47300,12 +47314,12 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
47300
47314
|
|
|
47301
47315
|
@property
|
|
47302
47316
|
def ChannelVolume(self):
|
|
47303
|
-
"""
|
|
47304
|
-
|
|
47305
|
-
|
|
47306
|
-
When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16
|
|
47307
|
-
|
|
47308
|
-
|
|
47317
|
+
"""The volume of the sound channel.
|
|
47318
|
+
<li>When the value of AudioChannel is 1, the length of this array is 1. For example: [6].
|
|
47319
|
+
<li>When the value of AudioChannel is 2, the length of this array is 2. For example: [0,6].
|
|
47320
|
+
<li>When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16. For example: [-60,0,0,6].
|
|
47321
|
+
|
|
47322
|
+
Please specify the value array for this parameter. The value range is between -60 and 6, where -60 indicates mute, 0 maintains the original volume, and 6 doubles the original volume. The default value is -60. Please note: This field supports up to 3 decimal places.
|
|
47309
47323
|
|
|
47310
47324
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
47311
47325
|
:rtype: list of float
|
|
@@ -5598,6 +5598,10 @@ class DescribeDataPvUrlStatisticsRequest(AbstractModel):
|
|
|
5598
5598
|
:type Browser: str
|
|
5599
5599
|
:param _Env: Environment
|
|
5600
5600
|
:type Env: str
|
|
5601
|
+
:param _GroupByType:
|
|
5602
|
+
:type GroupByType: int
|
|
5603
|
+
:param _IsNewData:
|
|
5604
|
+
:type IsNewData: int
|
|
5601
5605
|
"""
|
|
5602
5606
|
self._StartTime = None
|
|
5603
5607
|
self._Type = None
|
|
@@ -5620,6 +5624,8 @@ class DescribeDataPvUrlStatisticsRequest(AbstractModel):
|
|
|
5620
5624
|
self._Os = None
|
|
5621
5625
|
self._Browser = None
|
|
5622
5626
|
self._Env = None
|
|
5627
|
+
self._GroupByType = None
|
|
5628
|
+
self._IsNewData = None
|
|
5623
5629
|
|
|
5624
5630
|
@property
|
|
5625
5631
|
def StartTime(self):
|
|
@@ -5852,6 +5858,28 @@ class DescribeDataPvUrlStatisticsRequest(AbstractModel):
|
|
|
5852
5858
|
def Env(self, Env):
|
|
5853
5859
|
self._Env = Env
|
|
5854
5860
|
|
|
5861
|
+
@property
|
|
5862
|
+
def GroupByType(self):
|
|
5863
|
+
"""
|
|
5864
|
+
:rtype: int
|
|
5865
|
+
"""
|
|
5866
|
+
return self._GroupByType
|
|
5867
|
+
|
|
5868
|
+
@GroupByType.setter
|
|
5869
|
+
def GroupByType(self, GroupByType):
|
|
5870
|
+
self._GroupByType = GroupByType
|
|
5871
|
+
|
|
5872
|
+
@property
|
|
5873
|
+
def IsNewData(self):
|
|
5874
|
+
"""
|
|
5875
|
+
:rtype: int
|
|
5876
|
+
"""
|
|
5877
|
+
return self._IsNewData
|
|
5878
|
+
|
|
5879
|
+
@IsNewData.setter
|
|
5880
|
+
def IsNewData(self, IsNewData):
|
|
5881
|
+
self._IsNewData = IsNewData
|
|
5882
|
+
|
|
5855
5883
|
|
|
5856
5884
|
def _deserialize(self, params):
|
|
5857
5885
|
self._StartTime = params.get("StartTime")
|
|
@@ -5875,6 +5903,8 @@ class DescribeDataPvUrlStatisticsRequest(AbstractModel):
|
|
|
5875
5903
|
self._Os = params.get("Os")
|
|
5876
5904
|
self._Browser = params.get("Browser")
|
|
5877
5905
|
self._Env = params.get("Env")
|
|
5906
|
+
self._GroupByType = params.get("GroupByType")
|
|
5907
|
+
self._IsNewData = params.get("IsNewData")
|
|
5878
5908
|
memeber_set = set(params.keys())
|
|
5879
5909
|
for name, value in vars(self).items():
|
|
5880
5910
|
property_name = name[1:]
|
|
@@ -5894,7 +5924,7 @@ class DescribeDataPvUrlStatisticsResponse(AbstractModel):
|
|
|
5894
5924
|
r"""
|
|
5895
5925
|
:param _Result: Returned value
|
|
5896
5926
|
:type Result: str
|
|
5897
|
-
:param _RequestId: The unique request ID,
|
|
5927
|
+
: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.
|
|
5898
5928
|
:type RequestId: str
|
|
5899
5929
|
"""
|
|
5900
5930
|
self._Result = None
|
|
@@ -5913,7 +5943,7 @@ class DescribeDataPvUrlStatisticsResponse(AbstractModel):
|
|
|
5913
5943
|
|
|
5914
5944
|
@property
|
|
5915
5945
|
def RequestId(self):
|
|
5916
|
-
"""The unique request ID,
|
|
5946
|
+
"""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.
|
|
5917
5947
|
:rtype: str
|
|
5918
5948
|
"""
|
|
5919
5949
|
return self._RequestId
|
|
@@ -10380,6 +10380,115 @@ class DescribeInstanceParamsResponse(AbstractModel):
|
|
|
10380
10380
|
self._RequestId = params.get("RequestId")
|
|
10381
10381
|
|
|
10382
10382
|
|
|
10383
|
+
class DescribeMaintenanceSpanRequest(AbstractModel):
|
|
10384
|
+
"""DescribeMaintenanceSpan request structure.
|
|
10385
|
+
|
|
10386
|
+
"""
|
|
10387
|
+
|
|
10388
|
+
def __init__(self):
|
|
10389
|
+
r"""
|
|
10390
|
+
:param _InstanceId: Instance ID. For example, mssql-k8voqdlz.
|
|
10391
|
+
:type InstanceId: str
|
|
10392
|
+
"""
|
|
10393
|
+
self._InstanceId = None
|
|
10394
|
+
|
|
10395
|
+
@property
|
|
10396
|
+
def InstanceId(self):
|
|
10397
|
+
"""Instance ID. For example, mssql-k8voqdlz.
|
|
10398
|
+
:rtype: str
|
|
10399
|
+
"""
|
|
10400
|
+
return self._InstanceId
|
|
10401
|
+
|
|
10402
|
+
@InstanceId.setter
|
|
10403
|
+
def InstanceId(self, InstanceId):
|
|
10404
|
+
self._InstanceId = InstanceId
|
|
10405
|
+
|
|
10406
|
+
|
|
10407
|
+
def _deserialize(self, params):
|
|
10408
|
+
self._InstanceId = params.get("InstanceId")
|
|
10409
|
+
memeber_set = set(params.keys())
|
|
10410
|
+
for name, value in vars(self).items():
|
|
10411
|
+
property_name = name[1:]
|
|
10412
|
+
if property_name in memeber_set:
|
|
10413
|
+
memeber_set.remove(property_name)
|
|
10414
|
+
if len(memeber_set) > 0:
|
|
10415
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10416
|
+
|
|
10417
|
+
|
|
10418
|
+
|
|
10419
|
+
class DescribeMaintenanceSpanResponse(AbstractModel):
|
|
10420
|
+
"""DescribeMaintenanceSpan response structure.
|
|
10421
|
+
|
|
10422
|
+
"""
|
|
10423
|
+
|
|
10424
|
+
def __init__(self):
|
|
10425
|
+
r"""
|
|
10426
|
+
:param _Weekly: Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance.
|
|
10427
|
+
:type Weekly: list of int
|
|
10428
|
+
:param _StartTime: Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24.
|
|
10429
|
+
:type StartTime: str
|
|
10430
|
+
:param _Span: Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts.
|
|
10431
|
+
:type Span: int
|
|
10432
|
+
: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.
|
|
10433
|
+
:type RequestId: str
|
|
10434
|
+
"""
|
|
10435
|
+
self._Weekly = None
|
|
10436
|
+
self._StartTime = None
|
|
10437
|
+
self._Span = None
|
|
10438
|
+
self._RequestId = None
|
|
10439
|
+
|
|
10440
|
+
@property
|
|
10441
|
+
def Weekly(self):
|
|
10442
|
+
"""Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance.
|
|
10443
|
+
:rtype: list of int
|
|
10444
|
+
"""
|
|
10445
|
+
return self._Weekly
|
|
10446
|
+
|
|
10447
|
+
@Weekly.setter
|
|
10448
|
+
def Weekly(self, Weekly):
|
|
10449
|
+
self._Weekly = Weekly
|
|
10450
|
+
|
|
10451
|
+
@property
|
|
10452
|
+
def StartTime(self):
|
|
10453
|
+
"""Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24.
|
|
10454
|
+
:rtype: str
|
|
10455
|
+
"""
|
|
10456
|
+
return self._StartTime
|
|
10457
|
+
|
|
10458
|
+
@StartTime.setter
|
|
10459
|
+
def StartTime(self, StartTime):
|
|
10460
|
+
self._StartTime = StartTime
|
|
10461
|
+
|
|
10462
|
+
@property
|
|
10463
|
+
def Span(self):
|
|
10464
|
+
"""Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts.
|
|
10465
|
+
:rtype: int
|
|
10466
|
+
"""
|
|
10467
|
+
return self._Span
|
|
10468
|
+
|
|
10469
|
+
@Span.setter
|
|
10470
|
+
def Span(self, Span):
|
|
10471
|
+
self._Span = Span
|
|
10472
|
+
|
|
10473
|
+
@property
|
|
10474
|
+
def RequestId(self):
|
|
10475
|
+
"""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.
|
|
10476
|
+
:rtype: str
|
|
10477
|
+
"""
|
|
10478
|
+
return self._RequestId
|
|
10479
|
+
|
|
10480
|
+
@RequestId.setter
|
|
10481
|
+
def RequestId(self, RequestId):
|
|
10482
|
+
self._RequestId = RequestId
|
|
10483
|
+
|
|
10484
|
+
|
|
10485
|
+
def _deserialize(self, params):
|
|
10486
|
+
self._Weekly = params.get("Weekly")
|
|
10487
|
+
self._StartTime = params.get("StartTime")
|
|
10488
|
+
self._Span = params.get("Span")
|
|
10489
|
+
self._RequestId = params.get("RequestId")
|
|
10490
|
+
|
|
10491
|
+
|
|
10383
10492
|
class DescribeMigrationDetailRequest(AbstractModel):
|
|
10384
10493
|
"""DescribeMigrationDetail request structure.
|
|
10385
10494
|
|
|
@@ -923,6 +923,29 @@ class SqlserverClient(AbstractClient):
|
|
|
923
923
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
924
924
|
|
|
925
925
|
|
|
926
|
+
def DescribeMaintenanceSpan(self, request):
|
|
927
|
+
"""This API is used to query the maintenance time window of an instance based on its instance ID.
|
|
928
|
+
|
|
929
|
+
:param request: Request instance for DescribeMaintenanceSpan.
|
|
930
|
+
:type request: :class:`tencentcloud.sqlserver.v20180328.models.DescribeMaintenanceSpanRequest`
|
|
931
|
+
:rtype: :class:`tencentcloud.sqlserver.v20180328.models.DescribeMaintenanceSpanResponse`
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
try:
|
|
935
|
+
params = request._serialize()
|
|
936
|
+
headers = request.headers
|
|
937
|
+
body = self.call("DescribeMaintenanceSpan", params, headers=headers)
|
|
938
|
+
response = json.loads(body)
|
|
939
|
+
model = models.DescribeMaintenanceSpanResponse()
|
|
940
|
+
model._deserialize(response["Response"])
|
|
941
|
+
return model
|
|
942
|
+
except Exception as e:
|
|
943
|
+
if isinstance(e, TencentCloudSDKException):
|
|
944
|
+
raise
|
|
945
|
+
else:
|
|
946
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
947
|
+
|
|
948
|
+
|
|
926
949
|
def DescribeMigrationDetail(self, request):
|
|
927
950
|
"""This API is used to query migration task details.
|
|
928
951
|
|