tencentcloud-sdk-python 3.0.1207__py2.py3-none-any.whl → 3.0.1209__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/aiart/v20221229/models.py +28 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +509 -11
- tencentcloud/cwp/v20180228/cwp_client.py +26 -1
- tencentcloud/cwp/v20180228/models.py +190 -0
- tencentcloud/emr/v20190103/emr_client.py +69 -0
- tencentcloud/emr/v20190103/models.py +1362 -63
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/hunyuan/v20230901/models.py +4 -4
- tencentcloud/ioa/v20220601/models.py +6 -5
- tencentcloud/organization/v20210331/errorcodes.py +9 -0
- tencentcloud/organization/v20210331/models.py +484 -0
- tencentcloud/organization/v20210331/organization_client.py +69 -0
- tencentcloud/smh/v20210712/errorcodes.py +69 -0
- tencentcloud/smh/v20210712/models.py +1173 -36
- tencentcloud/smh/v20210712/smh_client.py +115 -0
- tencentcloud/tcss/v20201101/models.py +140 -5
- tencentcloud/trocket/v20230308/models.py +106 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +6 -28
- tencentcloud/trtc/v20190722/trtc_client.py +0 -3
- tencentcloud/vclm/v20240523/errorcodes.py +0 -3
- tencentcloud/vod/v20180717/models.py +13 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/top_level.txt +0 -0
@@ -2733,6 +2733,229 @@ class ConfigInfo(AbstractModel):
|
|
2733
2733
|
|
2734
2734
|
|
2735
2735
|
|
2736
|
+
class ConsoleSharingConfig(AbstractModel):
|
2737
|
+
"""控制台分享配置
|
2738
|
+
|
2739
|
+
"""
|
2740
|
+
|
2741
|
+
def __init__(self):
|
2742
|
+
r"""
|
2743
|
+
:param _Name: 分享链接名称
|
2744
|
+
:type Name: str
|
2745
|
+
:param _Type: 仪表盘: 1; 检索页:2
|
2746
|
+
:type Type: int
|
2747
|
+
:param _DurationMilliseconds: 分享链接有效期,单位:毫秒,最长支持30天
|
2748
|
+
:type DurationMilliseconds: int
|
2749
|
+
:param _Resources: 允许访问的资源列表
|
2750
|
+
:type Resources: list of str
|
2751
|
+
:param _Domain: 分享链接域名,可选范围
|
2752
|
+
- 公网匿名分享:填写clsshare.com
|
2753
|
+
- datasight内网匿名分享(若开启):datasight内网域名
|
2754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2755
|
+
:type Domain: str
|
2756
|
+
:param _VerifyCode: 验证码
|
2757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2758
|
+
:type VerifyCode: str
|
2759
|
+
:param _StartTime: 开始时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
|
2760
|
+
:type StartTime: str
|
2761
|
+
:param _EndTime: 结束时间,支持绝对时间(13位时间戳字符串)/相对时间字符串
|
2762
|
+
:type EndTime: str
|
2763
|
+
:param _NowTime: 当StartTime/EndTime为相对时间时,基于NowTime计算绝对时间,默认为创建时间
|
2764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2765
|
+
:type NowTime: int
|
2766
|
+
:param _Params: params参数列表,当Type为2时支持
|
2767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2768
|
+
:type Params: list of ConsoleSharingParam
|
2769
|
+
:param _IsLockTimeRange: 是否允许访问者自行修改检索分析时间范围,默认不锁定
|
2770
|
+
:type IsLockTimeRange: bool
|
2771
|
+
:param _IsLockQuery: 是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态
|
2772
|
+
:type IsLockQuery: bool
|
2773
|
+
"""
|
2774
|
+
self._Name = None
|
2775
|
+
self._Type = None
|
2776
|
+
self._DurationMilliseconds = None
|
2777
|
+
self._Resources = None
|
2778
|
+
self._Domain = None
|
2779
|
+
self._VerifyCode = None
|
2780
|
+
self._StartTime = None
|
2781
|
+
self._EndTime = None
|
2782
|
+
self._NowTime = None
|
2783
|
+
self._Params = None
|
2784
|
+
self._IsLockTimeRange = None
|
2785
|
+
self._IsLockQuery = None
|
2786
|
+
|
2787
|
+
@property
|
2788
|
+
def Name(self):
|
2789
|
+
return self._Name
|
2790
|
+
|
2791
|
+
@Name.setter
|
2792
|
+
def Name(self, Name):
|
2793
|
+
self._Name = Name
|
2794
|
+
|
2795
|
+
@property
|
2796
|
+
def Type(self):
|
2797
|
+
return self._Type
|
2798
|
+
|
2799
|
+
@Type.setter
|
2800
|
+
def Type(self, Type):
|
2801
|
+
self._Type = Type
|
2802
|
+
|
2803
|
+
@property
|
2804
|
+
def DurationMilliseconds(self):
|
2805
|
+
return self._DurationMilliseconds
|
2806
|
+
|
2807
|
+
@DurationMilliseconds.setter
|
2808
|
+
def DurationMilliseconds(self, DurationMilliseconds):
|
2809
|
+
self._DurationMilliseconds = DurationMilliseconds
|
2810
|
+
|
2811
|
+
@property
|
2812
|
+
def Resources(self):
|
2813
|
+
return self._Resources
|
2814
|
+
|
2815
|
+
@Resources.setter
|
2816
|
+
def Resources(self, Resources):
|
2817
|
+
self._Resources = Resources
|
2818
|
+
|
2819
|
+
@property
|
2820
|
+
def Domain(self):
|
2821
|
+
return self._Domain
|
2822
|
+
|
2823
|
+
@Domain.setter
|
2824
|
+
def Domain(self, Domain):
|
2825
|
+
self._Domain = Domain
|
2826
|
+
|
2827
|
+
@property
|
2828
|
+
def VerifyCode(self):
|
2829
|
+
return self._VerifyCode
|
2830
|
+
|
2831
|
+
@VerifyCode.setter
|
2832
|
+
def VerifyCode(self, VerifyCode):
|
2833
|
+
self._VerifyCode = VerifyCode
|
2834
|
+
|
2835
|
+
@property
|
2836
|
+
def StartTime(self):
|
2837
|
+
return self._StartTime
|
2838
|
+
|
2839
|
+
@StartTime.setter
|
2840
|
+
def StartTime(self, StartTime):
|
2841
|
+
self._StartTime = StartTime
|
2842
|
+
|
2843
|
+
@property
|
2844
|
+
def EndTime(self):
|
2845
|
+
return self._EndTime
|
2846
|
+
|
2847
|
+
@EndTime.setter
|
2848
|
+
def EndTime(self, EndTime):
|
2849
|
+
self._EndTime = EndTime
|
2850
|
+
|
2851
|
+
@property
|
2852
|
+
def NowTime(self):
|
2853
|
+
return self._NowTime
|
2854
|
+
|
2855
|
+
@NowTime.setter
|
2856
|
+
def NowTime(self, NowTime):
|
2857
|
+
self._NowTime = NowTime
|
2858
|
+
|
2859
|
+
@property
|
2860
|
+
def Params(self):
|
2861
|
+
return self._Params
|
2862
|
+
|
2863
|
+
@Params.setter
|
2864
|
+
def Params(self, Params):
|
2865
|
+
self._Params = Params
|
2866
|
+
|
2867
|
+
@property
|
2868
|
+
def IsLockTimeRange(self):
|
2869
|
+
return self._IsLockTimeRange
|
2870
|
+
|
2871
|
+
@IsLockTimeRange.setter
|
2872
|
+
def IsLockTimeRange(self, IsLockTimeRange):
|
2873
|
+
self._IsLockTimeRange = IsLockTimeRange
|
2874
|
+
|
2875
|
+
@property
|
2876
|
+
def IsLockQuery(self):
|
2877
|
+
return self._IsLockQuery
|
2878
|
+
|
2879
|
+
@IsLockQuery.setter
|
2880
|
+
def IsLockQuery(self, IsLockQuery):
|
2881
|
+
self._IsLockQuery = IsLockQuery
|
2882
|
+
|
2883
|
+
|
2884
|
+
def _deserialize(self, params):
|
2885
|
+
self._Name = params.get("Name")
|
2886
|
+
self._Type = params.get("Type")
|
2887
|
+
self._DurationMilliseconds = params.get("DurationMilliseconds")
|
2888
|
+
self._Resources = params.get("Resources")
|
2889
|
+
self._Domain = params.get("Domain")
|
2890
|
+
self._VerifyCode = params.get("VerifyCode")
|
2891
|
+
self._StartTime = params.get("StartTime")
|
2892
|
+
self._EndTime = params.get("EndTime")
|
2893
|
+
self._NowTime = params.get("NowTime")
|
2894
|
+
if params.get("Params") is not None:
|
2895
|
+
self._Params = []
|
2896
|
+
for item in params.get("Params"):
|
2897
|
+
obj = ConsoleSharingParam()
|
2898
|
+
obj._deserialize(item)
|
2899
|
+
self._Params.append(obj)
|
2900
|
+
self._IsLockTimeRange = params.get("IsLockTimeRange")
|
2901
|
+
self._IsLockQuery = params.get("IsLockQuery")
|
2902
|
+
memeber_set = set(params.keys())
|
2903
|
+
for name, value in vars(self).items():
|
2904
|
+
property_name = name[1:]
|
2905
|
+
if property_name in memeber_set:
|
2906
|
+
memeber_set.remove(property_name)
|
2907
|
+
if len(memeber_set) > 0:
|
2908
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2909
|
+
|
2910
|
+
|
2911
|
+
|
2912
|
+
class ConsoleSharingParam(AbstractModel):
|
2913
|
+
"""控制台分享链接params参数
|
2914
|
+
|
2915
|
+
"""
|
2916
|
+
|
2917
|
+
def __init__(self):
|
2918
|
+
r"""
|
2919
|
+
:param _Name: 名称
|
2920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2921
|
+
:type Name: str
|
2922
|
+
:param _Value: 值
|
2923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2924
|
+
:type Value: str
|
2925
|
+
"""
|
2926
|
+
self._Name = None
|
2927
|
+
self._Value = None
|
2928
|
+
|
2929
|
+
@property
|
2930
|
+
def Name(self):
|
2931
|
+
return self._Name
|
2932
|
+
|
2933
|
+
@Name.setter
|
2934
|
+
def Name(self, Name):
|
2935
|
+
self._Name = Name
|
2936
|
+
|
2937
|
+
@property
|
2938
|
+
def Value(self):
|
2939
|
+
return self._Value
|
2940
|
+
|
2941
|
+
@Value.setter
|
2942
|
+
def Value(self, Value):
|
2943
|
+
self._Value = Value
|
2944
|
+
|
2945
|
+
|
2946
|
+
def _deserialize(self, params):
|
2947
|
+
self._Name = params.get("Name")
|
2948
|
+
self._Value = params.get("Value")
|
2949
|
+
memeber_set = set(params.keys())
|
2950
|
+
for name, value in vars(self).items():
|
2951
|
+
property_name = name[1:]
|
2952
|
+
if property_name in memeber_set:
|
2953
|
+
memeber_set.remove(property_name)
|
2954
|
+
if len(memeber_set) > 0:
|
2955
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2956
|
+
|
2957
|
+
|
2958
|
+
|
2736
2959
|
class ConsumerContent(AbstractModel):
|
2737
2960
|
"""投递任务出入参 Content
|
2738
2961
|
|
@@ -4634,6 +4857,90 @@ class CreateConfigResponse(AbstractModel):
|
|
4634
4857
|
self._RequestId = params.get("RequestId")
|
4635
4858
|
|
4636
4859
|
|
4860
|
+
class CreateConsoleSharingRequest(AbstractModel):
|
4861
|
+
"""CreateConsoleSharing请求参数结构体
|
4862
|
+
|
4863
|
+
"""
|
4864
|
+
|
4865
|
+
def __init__(self):
|
4866
|
+
r"""
|
4867
|
+
:param _SharingConfig: 免密分享配置
|
4868
|
+
:type SharingConfig: :class:`tencentcloud.cls.v20201016.models.ConsoleSharingConfig`
|
4869
|
+
"""
|
4870
|
+
self._SharingConfig = None
|
4871
|
+
|
4872
|
+
@property
|
4873
|
+
def SharingConfig(self):
|
4874
|
+
return self._SharingConfig
|
4875
|
+
|
4876
|
+
@SharingConfig.setter
|
4877
|
+
def SharingConfig(self, SharingConfig):
|
4878
|
+
self._SharingConfig = SharingConfig
|
4879
|
+
|
4880
|
+
|
4881
|
+
def _deserialize(self, params):
|
4882
|
+
if params.get("SharingConfig") is not None:
|
4883
|
+
self._SharingConfig = ConsoleSharingConfig()
|
4884
|
+
self._SharingConfig._deserialize(params.get("SharingConfig"))
|
4885
|
+
memeber_set = set(params.keys())
|
4886
|
+
for name, value in vars(self).items():
|
4887
|
+
property_name = name[1:]
|
4888
|
+
if property_name in memeber_set:
|
4889
|
+
memeber_set.remove(property_name)
|
4890
|
+
if len(memeber_set) > 0:
|
4891
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4892
|
+
|
4893
|
+
|
4894
|
+
|
4895
|
+
class CreateConsoleSharingResponse(AbstractModel):
|
4896
|
+
"""CreateConsoleSharing返回参数结构体
|
4897
|
+
|
4898
|
+
"""
|
4899
|
+
|
4900
|
+
def __init__(self):
|
4901
|
+
r"""
|
4902
|
+
:param _SharingUrl: 免密分享链接
|
4903
|
+
:type SharingUrl: str
|
4904
|
+
:param _SharingId: 免密分享链接ID
|
4905
|
+
:type SharingId: str
|
4906
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4907
|
+
:type RequestId: str
|
4908
|
+
"""
|
4909
|
+
self._SharingUrl = None
|
4910
|
+
self._SharingId = None
|
4911
|
+
self._RequestId = None
|
4912
|
+
|
4913
|
+
@property
|
4914
|
+
def SharingUrl(self):
|
4915
|
+
return self._SharingUrl
|
4916
|
+
|
4917
|
+
@SharingUrl.setter
|
4918
|
+
def SharingUrl(self, SharingUrl):
|
4919
|
+
self._SharingUrl = SharingUrl
|
4920
|
+
|
4921
|
+
@property
|
4922
|
+
def SharingId(self):
|
4923
|
+
return self._SharingId
|
4924
|
+
|
4925
|
+
@SharingId.setter
|
4926
|
+
def SharingId(self, SharingId):
|
4927
|
+
self._SharingId = SharingId
|
4928
|
+
|
4929
|
+
@property
|
4930
|
+
def RequestId(self):
|
4931
|
+
return self._RequestId
|
4932
|
+
|
4933
|
+
@RequestId.setter
|
4934
|
+
def RequestId(self, RequestId):
|
4935
|
+
self._RequestId = RequestId
|
4936
|
+
|
4937
|
+
|
4938
|
+
def _deserialize(self, params):
|
4939
|
+
self._SharingUrl = params.get("SharingUrl")
|
4940
|
+
self._SharingId = params.get("SharingId")
|
4941
|
+
self._RequestId = params.get("RequestId")
|
4942
|
+
|
4943
|
+
|
4637
4944
|
class CreateConsumerRequest(AbstractModel):
|
4638
4945
|
"""CreateConsumer请求参数结构体
|
4639
4946
|
|
@@ -7847,6 +8154,64 @@ class DeleteConfigResponse(AbstractModel):
|
|
7847
8154
|
self._RequestId = params.get("RequestId")
|
7848
8155
|
|
7849
8156
|
|
8157
|
+
class DeleteConsoleSharingRequest(AbstractModel):
|
8158
|
+
"""DeleteConsoleSharing请求参数结构体
|
8159
|
+
|
8160
|
+
"""
|
8161
|
+
|
8162
|
+
def __init__(self):
|
8163
|
+
r"""
|
8164
|
+
:param _SharingId: 免密分享Id
|
8165
|
+
:type SharingId: str
|
8166
|
+
"""
|
8167
|
+
self._SharingId = None
|
8168
|
+
|
8169
|
+
@property
|
8170
|
+
def SharingId(self):
|
8171
|
+
return self._SharingId
|
8172
|
+
|
8173
|
+
@SharingId.setter
|
8174
|
+
def SharingId(self, SharingId):
|
8175
|
+
self._SharingId = SharingId
|
8176
|
+
|
8177
|
+
|
8178
|
+
def _deserialize(self, params):
|
8179
|
+
self._SharingId = params.get("SharingId")
|
8180
|
+
memeber_set = set(params.keys())
|
8181
|
+
for name, value in vars(self).items():
|
8182
|
+
property_name = name[1:]
|
8183
|
+
if property_name in memeber_set:
|
8184
|
+
memeber_set.remove(property_name)
|
8185
|
+
if len(memeber_set) > 0:
|
8186
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8187
|
+
|
8188
|
+
|
8189
|
+
|
8190
|
+
class DeleteConsoleSharingResponse(AbstractModel):
|
8191
|
+
"""DeleteConsoleSharing返回参数结构体
|
8192
|
+
|
8193
|
+
"""
|
8194
|
+
|
8195
|
+
def __init__(self):
|
8196
|
+
r"""
|
8197
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8198
|
+
:type RequestId: str
|
8199
|
+
"""
|
8200
|
+
self._RequestId = None
|
8201
|
+
|
8202
|
+
@property
|
8203
|
+
def RequestId(self):
|
8204
|
+
return self._RequestId
|
8205
|
+
|
8206
|
+
@RequestId.setter
|
8207
|
+
def RequestId(self, RequestId):
|
8208
|
+
self._RequestId = RequestId
|
8209
|
+
|
8210
|
+
|
8211
|
+
def _deserialize(self, params):
|
8212
|
+
self._RequestId = params.get("RequestId")
|
8213
|
+
|
8214
|
+
|
7850
8215
|
class DeleteConsumerRequest(AbstractModel):
|
7851
8216
|
"""DeleteConsumer请求参数结构体
|
7852
8217
|
|
@@ -9449,6 +9814,49 @@ class DescribeConfigsResponse(AbstractModel):
|
|
9449
9814
|
self._RequestId = params.get("RequestId")
|
9450
9815
|
|
9451
9816
|
|
9817
|
+
class DescribeConsoleSharingListRequest(AbstractModel):
|
9818
|
+
"""DescribeConsoleSharingList请求参数结构体
|
9819
|
+
|
9820
|
+
"""
|
9821
|
+
|
9822
|
+
|
9823
|
+
class DescribeConsoleSharingListResponse(AbstractModel):
|
9824
|
+
"""DescribeConsoleSharingList返回参数结构体
|
9825
|
+
|
9826
|
+
"""
|
9827
|
+
|
9828
|
+
def __init__(self):
|
9829
|
+
r"""
|
9830
|
+
:param _TotalCount: 分页的总数目
|
9831
|
+
:type TotalCount: int
|
9832
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9833
|
+
:type RequestId: str
|
9834
|
+
"""
|
9835
|
+
self._TotalCount = None
|
9836
|
+
self._RequestId = None
|
9837
|
+
|
9838
|
+
@property
|
9839
|
+
def TotalCount(self):
|
9840
|
+
return self._TotalCount
|
9841
|
+
|
9842
|
+
@TotalCount.setter
|
9843
|
+
def TotalCount(self, TotalCount):
|
9844
|
+
self._TotalCount = TotalCount
|
9845
|
+
|
9846
|
+
@property
|
9847
|
+
def RequestId(self):
|
9848
|
+
return self._RequestId
|
9849
|
+
|
9850
|
+
@RequestId.setter
|
9851
|
+
def RequestId(self, RequestId):
|
9852
|
+
self._RequestId = RequestId
|
9853
|
+
|
9854
|
+
|
9855
|
+
def _deserialize(self, params):
|
9856
|
+
self._TotalCount = params.get("TotalCount")
|
9857
|
+
self._RequestId = params.get("RequestId")
|
9858
|
+
|
9859
|
+
|
9452
9860
|
class DescribeConsumerRequest(AbstractModel):
|
9453
9861
|
"""DescribeConsumer请求参数结构体
|
9454
9862
|
|
@@ -16222,6 +16630,76 @@ class ModifyConfigResponse(AbstractModel):
|
|
16222
16630
|
self._RequestId = params.get("RequestId")
|
16223
16631
|
|
16224
16632
|
|
16633
|
+
class ModifyConsoleSharingRequest(AbstractModel):
|
16634
|
+
"""ModifyConsoleSharing请求参数结构体
|
16635
|
+
|
16636
|
+
"""
|
16637
|
+
|
16638
|
+
def __init__(self):
|
16639
|
+
r"""
|
16640
|
+
:param _SharingId: 免密分享链接Id
|
16641
|
+
:type SharingId: str
|
16642
|
+
:param _DurationMilliseconds: 指定分享链接有效期,单位:毫秒,最长可设定有效期为30天
|
16643
|
+
:type DurationMilliseconds: int
|
16644
|
+
"""
|
16645
|
+
self._SharingId = None
|
16646
|
+
self._DurationMilliseconds = None
|
16647
|
+
|
16648
|
+
@property
|
16649
|
+
def SharingId(self):
|
16650
|
+
return self._SharingId
|
16651
|
+
|
16652
|
+
@SharingId.setter
|
16653
|
+
def SharingId(self, SharingId):
|
16654
|
+
self._SharingId = SharingId
|
16655
|
+
|
16656
|
+
@property
|
16657
|
+
def DurationMilliseconds(self):
|
16658
|
+
return self._DurationMilliseconds
|
16659
|
+
|
16660
|
+
@DurationMilliseconds.setter
|
16661
|
+
def DurationMilliseconds(self, DurationMilliseconds):
|
16662
|
+
self._DurationMilliseconds = DurationMilliseconds
|
16663
|
+
|
16664
|
+
|
16665
|
+
def _deserialize(self, params):
|
16666
|
+
self._SharingId = params.get("SharingId")
|
16667
|
+
self._DurationMilliseconds = params.get("DurationMilliseconds")
|
16668
|
+
memeber_set = set(params.keys())
|
16669
|
+
for name, value in vars(self).items():
|
16670
|
+
property_name = name[1:]
|
16671
|
+
if property_name in memeber_set:
|
16672
|
+
memeber_set.remove(property_name)
|
16673
|
+
if len(memeber_set) > 0:
|
16674
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16675
|
+
|
16676
|
+
|
16677
|
+
|
16678
|
+
class ModifyConsoleSharingResponse(AbstractModel):
|
16679
|
+
"""ModifyConsoleSharing返回参数结构体
|
16680
|
+
|
16681
|
+
"""
|
16682
|
+
|
16683
|
+
def __init__(self):
|
16684
|
+
r"""
|
16685
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16686
|
+
:type RequestId: str
|
16687
|
+
"""
|
16688
|
+
self._RequestId = None
|
16689
|
+
|
16690
|
+
@property
|
16691
|
+
def RequestId(self):
|
16692
|
+
return self._RequestId
|
16693
|
+
|
16694
|
+
@RequestId.setter
|
16695
|
+
def RequestId(self, RequestId):
|
16696
|
+
self._RequestId = RequestId
|
16697
|
+
|
16698
|
+
|
16699
|
+
def _deserialize(self, params):
|
16700
|
+
self._RequestId = params.get("RequestId")
|
16701
|
+
|
16702
|
+
|
16225
16703
|
class ModifyConsumerRequest(AbstractModel):
|
16226
16704
|
"""ModifyConsumer请求参数结构体
|
16227
16705
|
|
@@ -20215,16 +20693,26 @@ class SearchLogRequest(AbstractModel):
|
|
20215
20693
|
- 检索单个日志主题时请使用TopicId。
|
20216
20694
|
- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。
|
20217
20695
|
:type Topics: list of MultiTopicSearchInformation
|
20218
|
-
:param
|
20696
|
+
:param _Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
20697
|
+
注意:
|
20698
|
+
* 仅当检索分析语句(Query)不包含SQL时有效
|
20699
|
+
* SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
|
20700
|
+
:type Sort: str
|
20701
|
+
:param _Limit: 表示单次查询返回的原始日志条数,默认为100,最大值为1000。
|
20219
20702
|
注意:
|
20220
20703
|
* 仅当检索分析语句(Query)不包含SQL时有效
|
20221
20704
|
* SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
|
20705
|
+
|
20706
|
+
可通过两种方式获取后续更多日志:
|
20707
|
+
* Context:透传上次接口返回的Context值,获取后续更多日志,总计最多可获取1万条原始日志
|
20708
|
+
* Offset:偏移量,表示从第几行开始返回原始日志,无日志条数限制
|
20222
20709
|
:type Limit: int
|
20223
|
-
:param
|
20710
|
+
:param _Offset: 查询原始日志的偏移量,表示从第几行开始返回原始日志,默认为0。
|
20224
20711
|
注意:
|
20225
20712
|
* 仅当检索分析语句(Query)不包含SQL时有效
|
20226
|
-
*
|
20227
|
-
|
20713
|
+
* 不能与Context参数同时使用
|
20714
|
+
* 仅适用于单日志主题检索
|
20715
|
+
:type Offset: int
|
20228
20716
|
:param _Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
|
20229
20717
|
注意:
|
20230
20718
|
* 透传该参数时,请勿修改除该参数外的其它参数
|
@@ -20248,8 +20736,9 @@ class SearchLogRequest(AbstractModel):
|
|
20248
20736
|
self._SyntaxRule = None
|
20249
20737
|
self._TopicId = None
|
20250
20738
|
self._Topics = None
|
20251
|
-
self._Limit = None
|
20252
20739
|
self._Sort = None
|
20740
|
+
self._Limit = None
|
20741
|
+
self._Offset = None
|
20253
20742
|
self._Context = None
|
20254
20743
|
self._SamplingRate = None
|
20255
20744
|
self._UseNewAnalysis = None
|
@@ -20302,6 +20791,14 @@ class SearchLogRequest(AbstractModel):
|
|
20302
20791
|
def Topics(self, Topics):
|
20303
20792
|
self._Topics = Topics
|
20304
20793
|
|
20794
|
+
@property
|
20795
|
+
def Sort(self):
|
20796
|
+
return self._Sort
|
20797
|
+
|
20798
|
+
@Sort.setter
|
20799
|
+
def Sort(self, Sort):
|
20800
|
+
self._Sort = Sort
|
20801
|
+
|
20305
20802
|
@property
|
20306
20803
|
def Limit(self):
|
20307
20804
|
return self._Limit
|
@@ -20311,12 +20808,12 @@ class SearchLogRequest(AbstractModel):
|
|
20311
20808
|
self._Limit = Limit
|
20312
20809
|
|
20313
20810
|
@property
|
20314
|
-
def
|
20315
|
-
return self.
|
20811
|
+
def Offset(self):
|
20812
|
+
return self._Offset
|
20316
20813
|
|
20317
|
-
@
|
20318
|
-
def
|
20319
|
-
self.
|
20814
|
+
@Offset.setter
|
20815
|
+
def Offset(self, Offset):
|
20816
|
+
self._Offset = Offset
|
20320
20817
|
|
20321
20818
|
@property
|
20322
20819
|
def Context(self):
|
@@ -20355,8 +20852,9 @@ class SearchLogRequest(AbstractModel):
|
|
20355
20852
|
obj = MultiTopicSearchInformation()
|
20356
20853
|
obj._deserialize(item)
|
20357
20854
|
self._Topics.append(obj)
|
20358
|
-
self._Limit = params.get("Limit")
|
20359
20855
|
self._Sort = params.get("Sort")
|
20856
|
+
self._Limit = params.get("Limit")
|
20857
|
+
self._Offset = params.get("Offset")
|
20360
20858
|
self._Context = params.get("Context")
|
20361
20859
|
self._SamplingRate = params.get("SamplingRate")
|
20362
20860
|
self._UseNewAnalysis = params.get("UseNewAnalysis")
|
@@ -326,7 +326,9 @@ class CwpClient(AbstractClient):
|
|
326
326
|
|
327
327
|
|
328
328
|
def CreateCloudProtectServiceOrderRecord(self, request):
|
329
|
-
"""
|
329
|
+
"""云护航计费产品已下线
|
330
|
+
|
331
|
+
云护航服务使用完成后,该接口可以确认收货
|
330
332
|
|
331
333
|
:param request: Request instance for CreateCloudProtectServiceOrderRecord.
|
332
334
|
:type request: :class:`tencentcloud.cwp.v20180228.models.CreateCloudProtectServiceOrderRecordRequest`
|
@@ -10816,6 +10818,29 @@ class CwpClient(AbstractClient):
|
|
10816
10818
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
10817
10819
|
|
10818
10820
|
|
10821
|
+
def ModifyReverseShellRulesAggregation(self, request):
|
10822
|
+
"""编辑反弹Shell规则(支持多服务器选择)
|
10823
|
+
|
10824
|
+
:param request: Request instance for ModifyReverseShellRulesAggregation.
|
10825
|
+
:type request: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationRequest`
|
10826
|
+
:rtype: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationResponse`
|
10827
|
+
|
10828
|
+
"""
|
10829
|
+
try:
|
10830
|
+
params = request._serialize()
|
10831
|
+
headers = request.headers
|
10832
|
+
body = self.call("ModifyReverseShellRulesAggregation", params, headers=headers)
|
10833
|
+
response = json.loads(body)
|
10834
|
+
model = models.ModifyReverseShellRulesAggregationResponse()
|
10835
|
+
model._deserialize(response["Response"])
|
10836
|
+
return model
|
10837
|
+
except Exception as e:
|
10838
|
+
if isinstance(e, TencentCloudSDKException):
|
10839
|
+
raise
|
10840
|
+
else:
|
10841
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
10842
|
+
|
10843
|
+
|
10819
10844
|
def ModifyRiskDnsPolicy(self, request):
|
10820
10845
|
"""更改恶意请求策略
|
10821
10846
|
|