tencentcloud-sdk-python 3.0.1242__py2.py3-none-any.whl → 3.0.1243__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +39 -3
- tencentcloud/ca/v20230228/models.py +5 -5
- tencentcloud/ccc/v20200210/ccc_client.py +46 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +279 -0
- tencentcloud/cdwdoris/v20211228/models.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/errorcodes.py +4 -1
- tencentcloud/cvm/v20170312/models.py +188 -4
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +42 -42
- tencentcloud/cynosdb/v20190107/models.py +6 -3
- tencentcloud/mqtt/v20240516/models.py +1 -1
- tencentcloud/mrs/v20200910/models.py +131 -0
- tencentcloud/tke/v20180525/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +64 -0
- {tencentcloud_sdk_python-3.0.1242.dist-info → tencentcloud_sdk_python-3.0.1243.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1242.dist-info → tencentcloud_sdk_python-3.0.1243.dist-info}/RECORD +21 -21
- {tencentcloud_sdk_python-3.0.1242.dist-info → tencentcloud_sdk_python-3.0.1243.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1242.dist-info → tencentcloud_sdk_python-3.0.1243.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1242.dist-info → tencentcloud_sdk_python-3.0.1243.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -2049,7 +2049,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2049
2049
|
r"""
|
2050
2050
|
:param _LaunchConfigurationName: 启动配置显示名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。
|
2051
2051
|
:type LaunchConfigurationName: str
|
2052
|
-
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-8toqc6s3
|
2052
|
+
:param _ImageId: 指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-8toqc6s3`。镜像Id与镜像族名称,二者必填一个且只能填写一个。镜像类型分为四种:<br/><li>公共镜像</li><li>自定义镜像</li><li>共享镜像</li><li>服务市场镜像</li><br/>可通过以下方式获取可用的镜像ID:<br/><li>`公共镜像`、`自定义镜像`、`共享镜像`的镜像ID可通过登录[控制台](https://console.cloud.tencent.com/cvm/image?rid=1&imageType=PUBLIC_IMAGE)查询;`服务镜像市场`的镜像ID可通过[云市场](https://market.cloud.tencent.com/list)查询。</li><li>通过调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715) ,取返回信息中的`ImageId`字段。</li>
|
2053
2053
|
:type ImageId: str
|
2054
2054
|
:param _ProjectId: 启动配置所属项目ID。不填为默认项目。
|
2055
2055
|
注意:伸缩组内实例所属项目ID取伸缩组项目ID,与这里取值无关。
|
@@ -2112,6 +2112,8 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2112
2112
|
:type IPv6InternetAccessible: :class:`tencentcloud.autoscaling.v20180419.models.IPv6InternetAccessible`
|
2113
2113
|
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。
|
2114
2114
|
:type DisasterRecoverGroupIds: list of str
|
2115
|
+
:param _ImageFamily: 镜像族名称。镜像Id与镜像族名称,二者必填一个且只能填写一个。
|
2116
|
+
:type ImageFamily: str
|
2115
2117
|
"""
|
2116
2118
|
self._LaunchConfigurationName = None
|
2117
2119
|
self._ImageId = None
|
@@ -2138,6 +2140,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2138
2140
|
self._HpcClusterId = None
|
2139
2141
|
self._IPv6InternetAccessible = None
|
2140
2142
|
self._DisasterRecoverGroupIds = None
|
2143
|
+
self._ImageFamily = None
|
2141
2144
|
|
2142
2145
|
@property
|
2143
2146
|
def LaunchConfigurationName(self):
|
@@ -2339,6 +2342,14 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2339
2342
|
def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
|
2340
2343
|
self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
|
2341
2344
|
|
2345
|
+
@property
|
2346
|
+
def ImageFamily(self):
|
2347
|
+
return self._ImageFamily
|
2348
|
+
|
2349
|
+
@ImageFamily.setter
|
2350
|
+
def ImageFamily(self, ImageFamily):
|
2351
|
+
self._ImageFamily = ImageFamily
|
2352
|
+
|
2342
2353
|
|
2343
2354
|
def _deserialize(self, params):
|
2344
2355
|
self._LaunchConfigurationName = params.get("LaunchConfigurationName")
|
@@ -2399,6 +2410,7 @@ class CreateLaunchConfigurationRequest(AbstractModel):
|
|
2399
2410
|
self._IPv6InternetAccessible = IPv6InternetAccessible()
|
2400
2411
|
self._IPv6InternetAccessible._deserialize(params.get("IPv6InternetAccessible"))
|
2401
2412
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
2413
|
+
self._ImageFamily = params.get("ImageFamily")
|
2402
2414
|
memeber_set = set(params.keys())
|
2403
2415
|
for name, value in vars(self).items():
|
2404
2416
|
property_name = name[1:]
|
@@ -4261,8 +4273,7 @@ class DescribeLaunchConfigurationsRequest(AbstractModel):
|
|
4261
4273
|
<li> vague-launch-configuration-name - String - 是否必填:否 -(过滤条件)按照启动配置名称模糊搜索。</li>
|
4262
4274
|
<li> tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。</li>
|
4263
4275
|
<li> tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。</li>
|
4264
|
-
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3
|
4265
|
-
</li>
|
4276
|
+
<li> tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例3</li>
|
4266
4277
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`LaunchConfigurationIds`和`Filters`。
|
4267
4278
|
:type Filters: list of Filter
|
4268
4279
|
:param _Limit: 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
@@ -6754,6 +6765,9 @@ class LaunchConfiguration(AbstractModel):
|
|
6754
6765
|
:type IPv6InternetAccessible: :class:`tencentcloud.autoscaling.v20180419.models.IPv6InternetAccessible`
|
6755
6766
|
:param _DisasterRecoverGroupIds: 置放群组id,仅支持指定一个。
|
6756
6767
|
:type DisasterRecoverGroupIds: list of str
|
6768
|
+
:param _ImageFamily: 镜像族名称。
|
6769
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6770
|
+
:type ImageFamily: str
|
6757
6771
|
"""
|
6758
6772
|
self._ProjectId = None
|
6759
6773
|
self._LaunchConfigurationId = None
|
@@ -6786,6 +6800,7 @@ class LaunchConfiguration(AbstractModel):
|
|
6786
6800
|
self._HpcClusterId = None
|
6787
6801
|
self._IPv6InternetAccessible = None
|
6788
6802
|
self._DisasterRecoverGroupIds = None
|
6803
|
+
self._ImageFamily = None
|
6789
6804
|
|
6790
6805
|
@property
|
6791
6806
|
def ProjectId(self):
|
@@ -7035,6 +7050,14 @@ class LaunchConfiguration(AbstractModel):
|
|
7035
7050
|
def DisasterRecoverGroupIds(self, DisasterRecoverGroupIds):
|
7036
7051
|
self._DisasterRecoverGroupIds = DisasterRecoverGroupIds
|
7037
7052
|
|
7053
|
+
@property
|
7054
|
+
def ImageFamily(self):
|
7055
|
+
return self._ImageFamily
|
7056
|
+
|
7057
|
+
@ImageFamily.setter
|
7058
|
+
def ImageFamily(self, ImageFamily):
|
7059
|
+
self._ImageFamily = ImageFamily
|
7060
|
+
|
7038
7061
|
|
7039
7062
|
def _deserialize(self, params):
|
7040
7063
|
self._ProjectId = params.get("ProjectId")
|
@@ -7106,6 +7129,7 @@ class LaunchConfiguration(AbstractModel):
|
|
7106
7129
|
self._IPv6InternetAccessible = IPv6InternetAccessible()
|
7107
7130
|
self._IPv6InternetAccessible._deserialize(params.get("IPv6InternetAccessible"))
|
7108
7131
|
self._DisasterRecoverGroupIds = params.get("DisasterRecoverGroupIds")
|
7132
|
+
self._ImageFamily = params.get("ImageFamily")
|
7109
7133
|
memeber_set = set(params.keys())
|
7110
7134
|
for name, value in vars(self).items():
|
7111
7135
|
property_name = name[1:]
|
@@ -8163,6 +8187,8 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8163
8187
|
:param _InstanceTags: 实例标签列表。通过指定该参数,可以为扩容的实例绑定标签。最多支持指定10个标签。
|
8164
8188
|
该参数会覆盖原有的实例标签列表,如需新增标签,需将新标签和原有标签一并传入。
|
8165
8189
|
:type InstanceTags: list of InstanceTag
|
8190
|
+
:param _ImageFamily: 镜像族名称。
|
8191
|
+
:type ImageFamily: str
|
8166
8192
|
"""
|
8167
8193
|
self._LaunchConfigurationId = None
|
8168
8194
|
self._ImageId = None
|
@@ -8187,6 +8213,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8187
8213
|
self._DisasterRecoverGroupIds = None
|
8188
8214
|
self._LoginSettings = None
|
8189
8215
|
self._InstanceTags = None
|
8216
|
+
self._ImageFamily = None
|
8190
8217
|
|
8191
8218
|
@property
|
8192
8219
|
def LaunchConfigurationId(self):
|
@@ -8372,6 +8399,14 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8372
8399
|
def InstanceTags(self, InstanceTags):
|
8373
8400
|
self._InstanceTags = InstanceTags
|
8374
8401
|
|
8402
|
+
@property
|
8403
|
+
def ImageFamily(self):
|
8404
|
+
return self._ImageFamily
|
8405
|
+
|
8406
|
+
@ImageFamily.setter
|
8407
|
+
def ImageFamily(self, ImageFamily):
|
8408
|
+
self._ImageFamily = ImageFamily
|
8409
|
+
|
8375
8410
|
|
8376
8411
|
def _deserialize(self, params):
|
8377
8412
|
self._LaunchConfigurationId = params.get("LaunchConfigurationId")
|
@@ -8425,6 +8460,7 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
|
|
8425
8460
|
obj = InstanceTag()
|
8426
8461
|
obj._deserialize(item)
|
8427
8462
|
self._InstanceTags.append(obj)
|
8463
|
+
self._ImageFamily = params.get("ImageFamily")
|
8428
8464
|
memeber_set = set(params.keys())
|
8429
8465
|
for name, value in vars(self).items():
|
8430
8466
|
property_name = name[1:]
|
@@ -25,17 +25,17 @@ class CreateVerifyReportRequest(AbstractModel):
|
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param _ApplyCustomerType:
|
28
|
+
:param _ApplyCustomerType: 申请者类型 1:个人,2:企业
|
29
29
|
:type ApplyCustomerType: str
|
30
30
|
:param _ApplyCustomerName: 申请企业 or 自然人名称
|
31
31
|
:type ApplyCustomerName: str
|
32
|
-
:param _ApplyName:
|
32
|
+
:param _ApplyName: 验签申请经办人姓名
|
33
33
|
:type ApplyName: str
|
34
|
-
:param _ApplyMobile:
|
34
|
+
:param _ApplyMobile: 验签申请经办人电话
|
35
35
|
:type ApplyMobile: str
|
36
36
|
:param _FileId: 验签文件id
|
37
37
|
:type FileId: str
|
38
|
-
:param _ApplyEmail:
|
38
|
+
:param _ApplyEmail: 验签申请经办人邮箱
|
39
39
|
:type ApplyEmail: str
|
40
40
|
"""
|
41
41
|
self._ApplyCustomerType = None
|
@@ -275,7 +275,7 @@ class FileInfo(AbstractModel):
|
|
275
275
|
r"""
|
276
276
|
:param _FileBody: BASE64编码后的文件内容
|
277
277
|
:type FileBody: str
|
278
|
-
:param _FileName:
|
278
|
+
:param _FileName: 文件名及类型,最大长度不超过200字符
|
279
279
|
:type FileName: str
|
280
280
|
"""
|
281
281
|
self._FileBody = None
|
@@ -302,6 +302,29 @@ class CccClient(AbstractClient):
|
|
302
302
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
303
303
|
|
304
304
|
|
305
|
+
def CreateOwnNumberApply(self, request):
|
306
|
+
"""创建客户自携号码接入审核
|
307
|
+
|
308
|
+
:param request: Request instance for CreateOwnNumberApply.
|
309
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.CreateOwnNumberApplyRequest`
|
310
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.CreateOwnNumberApplyResponse`
|
311
|
+
|
312
|
+
"""
|
313
|
+
try:
|
314
|
+
params = request._serialize()
|
315
|
+
headers = request.headers
|
316
|
+
body = self.call("CreateOwnNumberApply", params, headers=headers)
|
317
|
+
response = json.loads(body)
|
318
|
+
model = models.CreateOwnNumberApplyResponse()
|
319
|
+
model._deserialize(response["Response"])
|
320
|
+
return model
|
321
|
+
except Exception as e:
|
322
|
+
if isinstance(e, TencentCloudSDKException):
|
323
|
+
raise
|
324
|
+
else:
|
325
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
326
|
+
|
327
|
+
|
305
328
|
def CreatePredictiveDialingCampaign(self, request):
|
306
329
|
"""创建预测式外呼任务
|
307
330
|
|
@@ -1132,6 +1155,29 @@ class CccClient(AbstractClient):
|
|
1132
1155
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1133
1156
|
|
1134
1157
|
|
1158
|
+
def ModifyOwnNumberApply(self, request):
|
1159
|
+
"""修改客户自携号码审批单
|
1160
|
+
|
1161
|
+
:param request: Request instance for ModifyOwnNumberApply.
|
1162
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.ModifyOwnNumberApplyRequest`
|
1163
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.ModifyOwnNumberApplyResponse`
|
1164
|
+
|
1165
|
+
"""
|
1166
|
+
try:
|
1167
|
+
params = request._serialize()
|
1168
|
+
headers = request.headers
|
1169
|
+
body = self.call("ModifyOwnNumberApply", params, headers=headers)
|
1170
|
+
response = json.loads(body)
|
1171
|
+
model = models.ModifyOwnNumberApplyResponse()
|
1172
|
+
model._deserialize(response["Response"])
|
1173
|
+
return model
|
1174
|
+
except Exception as e:
|
1175
|
+
if isinstance(e, TencentCloudSDKException):
|
1176
|
+
raise
|
1177
|
+
else:
|
1178
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1179
|
+
|
1180
|
+
|
1135
1181
|
def ModifyStaff(self, request):
|
1136
1182
|
"""修改客服账号
|
1137
1183
|
|
@@ -119,9 +119,15 @@ INVALIDPARAMETERVALUE_APPLYIDNOTEXIST = 'InvalidParameterValue.ApplyIDNotExist'
|
|
119
119
|
# 公司信息已经存在。
|
120
120
|
INVALIDPARAMETERVALUE_COMPANYEXIST = 'InvalidParameterValue.CompanyExist'
|
121
121
|
|
122
|
+
# 审核单状态错误。
|
123
|
+
INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = 'InvalidParameterValue.ErrorApplyStatus'
|
124
|
+
|
122
125
|
# 实例不存在。
|
123
126
|
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = 'InvalidParameterValue.InstanceNotExist'
|
124
127
|
|
128
|
+
# 号码状态无效。
|
129
|
+
INVALIDPARAMETERVALUE_PHONENUMINVALID = 'InvalidParameterValue.PhoneNumInvalid'
|
130
|
+
|
125
131
|
# 号码已经绑定别的账号。
|
126
132
|
INVALIDPARAMETERVALUE_PHONENUMISBOUNDOTHERACCOUNT = 'InvalidParameterValue.PhoneNumIsBoundOtherAccount'
|
127
133
|
|
@@ -2792,6 +2792,117 @@ class CreateIVRSessionResponse(AbstractModel):
|
|
2792
2792
|
self._RequestId = params.get("RequestId")
|
2793
2793
|
|
2794
2794
|
|
2795
|
+
class CreateOwnNumberApplyRequest(AbstractModel):
|
2796
|
+
"""CreateOwnNumberApply请求参数结构体
|
2797
|
+
|
2798
|
+
"""
|
2799
|
+
|
2800
|
+
def __init__(self):
|
2801
|
+
r"""
|
2802
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
2803
|
+
:type SdkAppId: int
|
2804
|
+
:param _SipTrunkId: SIP通道ID
|
2805
|
+
:type SipTrunkId: int
|
2806
|
+
:param _DetailList: 线路相关参数
|
2807
|
+
:type DetailList: list of OwnNumberApplyDetailItem
|
2808
|
+
:param _Prefix: 送号前缀
|
2809
|
+
:type Prefix: str
|
2810
|
+
"""
|
2811
|
+
self._SdkAppId = None
|
2812
|
+
self._SipTrunkId = None
|
2813
|
+
self._DetailList = None
|
2814
|
+
self._Prefix = None
|
2815
|
+
|
2816
|
+
@property
|
2817
|
+
def SdkAppId(self):
|
2818
|
+
return self._SdkAppId
|
2819
|
+
|
2820
|
+
@SdkAppId.setter
|
2821
|
+
def SdkAppId(self, SdkAppId):
|
2822
|
+
self._SdkAppId = SdkAppId
|
2823
|
+
|
2824
|
+
@property
|
2825
|
+
def SipTrunkId(self):
|
2826
|
+
return self._SipTrunkId
|
2827
|
+
|
2828
|
+
@SipTrunkId.setter
|
2829
|
+
def SipTrunkId(self, SipTrunkId):
|
2830
|
+
self._SipTrunkId = SipTrunkId
|
2831
|
+
|
2832
|
+
@property
|
2833
|
+
def DetailList(self):
|
2834
|
+
return self._DetailList
|
2835
|
+
|
2836
|
+
@DetailList.setter
|
2837
|
+
def DetailList(self, DetailList):
|
2838
|
+
self._DetailList = DetailList
|
2839
|
+
|
2840
|
+
@property
|
2841
|
+
def Prefix(self):
|
2842
|
+
return self._Prefix
|
2843
|
+
|
2844
|
+
@Prefix.setter
|
2845
|
+
def Prefix(self, Prefix):
|
2846
|
+
self._Prefix = Prefix
|
2847
|
+
|
2848
|
+
|
2849
|
+
def _deserialize(self, params):
|
2850
|
+
self._SdkAppId = params.get("SdkAppId")
|
2851
|
+
self._SipTrunkId = params.get("SipTrunkId")
|
2852
|
+
if params.get("DetailList") is not None:
|
2853
|
+
self._DetailList = []
|
2854
|
+
for item in params.get("DetailList"):
|
2855
|
+
obj = OwnNumberApplyDetailItem()
|
2856
|
+
obj._deserialize(item)
|
2857
|
+
self._DetailList.append(obj)
|
2858
|
+
self._Prefix = params.get("Prefix")
|
2859
|
+
memeber_set = set(params.keys())
|
2860
|
+
for name, value in vars(self).items():
|
2861
|
+
property_name = name[1:]
|
2862
|
+
if property_name in memeber_set:
|
2863
|
+
memeber_set.remove(property_name)
|
2864
|
+
if len(memeber_set) > 0:
|
2865
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2866
|
+
|
2867
|
+
|
2868
|
+
|
2869
|
+
class CreateOwnNumberApplyResponse(AbstractModel):
|
2870
|
+
"""CreateOwnNumberApply返回参数结构体
|
2871
|
+
|
2872
|
+
"""
|
2873
|
+
|
2874
|
+
def __init__(self):
|
2875
|
+
r"""
|
2876
|
+
:param _ApplyId: 审批单号
|
2877
|
+
:type ApplyId: int
|
2878
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2879
|
+
:type RequestId: str
|
2880
|
+
"""
|
2881
|
+
self._ApplyId = None
|
2882
|
+
self._RequestId = None
|
2883
|
+
|
2884
|
+
@property
|
2885
|
+
def ApplyId(self):
|
2886
|
+
return self._ApplyId
|
2887
|
+
|
2888
|
+
@ApplyId.setter
|
2889
|
+
def ApplyId(self, ApplyId):
|
2890
|
+
self._ApplyId = ApplyId
|
2891
|
+
|
2892
|
+
@property
|
2893
|
+
def RequestId(self):
|
2894
|
+
return self._RequestId
|
2895
|
+
|
2896
|
+
@RequestId.setter
|
2897
|
+
def RequestId(self, RequestId):
|
2898
|
+
self._RequestId = RequestId
|
2899
|
+
|
2900
|
+
|
2901
|
+
def _deserialize(self, params):
|
2902
|
+
self._ApplyId = params.get("ApplyId")
|
2903
|
+
self._RequestId = params.get("RequestId")
|
2904
|
+
|
2905
|
+
|
2795
2906
|
class CreatePredictiveDialingCampaignRequest(AbstractModel):
|
2796
2907
|
"""CreatePredictiveDialingCampaign请求参数结构体
|
2797
2908
|
|
@@ -8235,6 +8346,105 @@ class ModifyExtensionResponse(AbstractModel):
|
|
8235
8346
|
self._RequestId = params.get("RequestId")
|
8236
8347
|
|
8237
8348
|
|
8349
|
+
class ModifyOwnNumberApplyRequest(AbstractModel):
|
8350
|
+
"""ModifyOwnNumberApply请求参数结构体
|
8351
|
+
|
8352
|
+
"""
|
8353
|
+
|
8354
|
+
def __init__(self):
|
8355
|
+
r"""
|
8356
|
+
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
8357
|
+
:type SdkAppId: int
|
8358
|
+
:param _DetailList: 线路相关参数
|
8359
|
+
:type DetailList: list of OwnNumberApplyDetailItem
|
8360
|
+
:param _ApplyId: 审批单号
|
8361
|
+
:type ApplyId: int
|
8362
|
+
:param _Prefix: 送号前缀
|
8363
|
+
:type Prefix: str
|
8364
|
+
"""
|
8365
|
+
self._SdkAppId = None
|
8366
|
+
self._DetailList = None
|
8367
|
+
self._ApplyId = None
|
8368
|
+
self._Prefix = None
|
8369
|
+
|
8370
|
+
@property
|
8371
|
+
def SdkAppId(self):
|
8372
|
+
return self._SdkAppId
|
8373
|
+
|
8374
|
+
@SdkAppId.setter
|
8375
|
+
def SdkAppId(self, SdkAppId):
|
8376
|
+
self._SdkAppId = SdkAppId
|
8377
|
+
|
8378
|
+
@property
|
8379
|
+
def DetailList(self):
|
8380
|
+
return self._DetailList
|
8381
|
+
|
8382
|
+
@DetailList.setter
|
8383
|
+
def DetailList(self, DetailList):
|
8384
|
+
self._DetailList = DetailList
|
8385
|
+
|
8386
|
+
@property
|
8387
|
+
def ApplyId(self):
|
8388
|
+
return self._ApplyId
|
8389
|
+
|
8390
|
+
@ApplyId.setter
|
8391
|
+
def ApplyId(self, ApplyId):
|
8392
|
+
self._ApplyId = ApplyId
|
8393
|
+
|
8394
|
+
@property
|
8395
|
+
def Prefix(self):
|
8396
|
+
return self._Prefix
|
8397
|
+
|
8398
|
+
@Prefix.setter
|
8399
|
+
def Prefix(self, Prefix):
|
8400
|
+
self._Prefix = Prefix
|
8401
|
+
|
8402
|
+
|
8403
|
+
def _deserialize(self, params):
|
8404
|
+
self._SdkAppId = params.get("SdkAppId")
|
8405
|
+
if params.get("DetailList") is not None:
|
8406
|
+
self._DetailList = []
|
8407
|
+
for item in params.get("DetailList"):
|
8408
|
+
obj = OwnNumberApplyDetailItem()
|
8409
|
+
obj._deserialize(item)
|
8410
|
+
self._DetailList.append(obj)
|
8411
|
+
self._ApplyId = params.get("ApplyId")
|
8412
|
+
self._Prefix = params.get("Prefix")
|
8413
|
+
memeber_set = set(params.keys())
|
8414
|
+
for name, value in vars(self).items():
|
8415
|
+
property_name = name[1:]
|
8416
|
+
if property_name in memeber_set:
|
8417
|
+
memeber_set.remove(property_name)
|
8418
|
+
if len(memeber_set) > 0:
|
8419
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8420
|
+
|
8421
|
+
|
8422
|
+
|
8423
|
+
class ModifyOwnNumberApplyResponse(AbstractModel):
|
8424
|
+
"""ModifyOwnNumberApply返回参数结构体
|
8425
|
+
|
8426
|
+
"""
|
8427
|
+
|
8428
|
+
def __init__(self):
|
8429
|
+
r"""
|
8430
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8431
|
+
:type RequestId: str
|
8432
|
+
"""
|
8433
|
+
self._RequestId = None
|
8434
|
+
|
8435
|
+
@property
|
8436
|
+
def RequestId(self):
|
8437
|
+
return self._RequestId
|
8438
|
+
|
8439
|
+
@RequestId.setter
|
8440
|
+
def RequestId(self, RequestId):
|
8441
|
+
self._RequestId = RequestId
|
8442
|
+
|
8443
|
+
|
8444
|
+
def _deserialize(self, params):
|
8445
|
+
self._RequestId = params.get("RequestId")
|
8446
|
+
|
8447
|
+
|
8238
8448
|
class ModifyStaffPasswordRequest(AbstractModel):
|
8239
8449
|
"""ModifyStaffPassword请求参数结构体
|
8240
8450
|
|
@@ -8528,6 +8738,75 @@ class NumberInfo(AbstractModel):
|
|
8528
8738
|
|
8529
8739
|
|
8530
8740
|
|
8741
|
+
class OwnNumberApplyDetailItem(AbstractModel):
|
8742
|
+
"""用户自带号码审批明细数据类型
|
8743
|
+
|
8744
|
+
"""
|
8745
|
+
|
8746
|
+
def __init__(self):
|
8747
|
+
r"""
|
8748
|
+
:param _CallType: 号码类型:0-呼入|1-呼出|2-呼入呼出
|
8749
|
+
:type CallType: int
|
8750
|
+
:param _PhoneNumber: 线路号码
|
8751
|
+
:type PhoneNumber: str
|
8752
|
+
:param _MaxCallCount: 最大并发呼叫数
|
8753
|
+
:type MaxCallCount: int
|
8754
|
+
:param _MaxCallPSec: 每秒最大并发数
|
8755
|
+
:type MaxCallPSec: int
|
8756
|
+
"""
|
8757
|
+
self._CallType = None
|
8758
|
+
self._PhoneNumber = None
|
8759
|
+
self._MaxCallCount = None
|
8760
|
+
self._MaxCallPSec = None
|
8761
|
+
|
8762
|
+
@property
|
8763
|
+
def CallType(self):
|
8764
|
+
return self._CallType
|
8765
|
+
|
8766
|
+
@CallType.setter
|
8767
|
+
def CallType(self, CallType):
|
8768
|
+
self._CallType = CallType
|
8769
|
+
|
8770
|
+
@property
|
8771
|
+
def PhoneNumber(self):
|
8772
|
+
return self._PhoneNumber
|
8773
|
+
|
8774
|
+
@PhoneNumber.setter
|
8775
|
+
def PhoneNumber(self, PhoneNumber):
|
8776
|
+
self._PhoneNumber = PhoneNumber
|
8777
|
+
|
8778
|
+
@property
|
8779
|
+
def MaxCallCount(self):
|
8780
|
+
return self._MaxCallCount
|
8781
|
+
|
8782
|
+
@MaxCallCount.setter
|
8783
|
+
def MaxCallCount(self, MaxCallCount):
|
8784
|
+
self._MaxCallCount = MaxCallCount
|
8785
|
+
|
8786
|
+
@property
|
8787
|
+
def MaxCallPSec(self):
|
8788
|
+
return self._MaxCallPSec
|
8789
|
+
|
8790
|
+
@MaxCallPSec.setter
|
8791
|
+
def MaxCallPSec(self, MaxCallPSec):
|
8792
|
+
self._MaxCallPSec = MaxCallPSec
|
8793
|
+
|
8794
|
+
|
8795
|
+
def _deserialize(self, params):
|
8796
|
+
self._CallType = params.get("CallType")
|
8797
|
+
self._PhoneNumber = params.get("PhoneNumber")
|
8798
|
+
self._MaxCallCount = params.get("MaxCallCount")
|
8799
|
+
self._MaxCallPSec = params.get("MaxCallPSec")
|
8800
|
+
memeber_set = set(params.keys())
|
8801
|
+
for name, value in vars(self).items():
|
8802
|
+
property_name = name[1:]
|
8803
|
+
if property_name in memeber_set:
|
8804
|
+
memeber_set.remove(property_name)
|
8805
|
+
if len(memeber_set) > 0:
|
8806
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8807
|
+
|
8808
|
+
|
8809
|
+
|
8531
8810
|
class PSTNSession(AbstractModel):
|
8532
8811
|
"""PSTN 会话类型。
|
8533
8812
|
|
@@ -6836,7 +6836,7 @@ class DorisSourceInfo(AbstractModel):
|
|
6836
6836
|
:param _User: doris集群的账号
|
6837
6837
|
注意:此字段可能返回 null,表示取不到有效值。
|
6838
6838
|
:type User: str
|
6839
|
-
:param _Password: doris
|
6839
|
+
:param _Password: base64编码的doris集群对应用户的密码
|
6840
6840
|
注意:此字段可能返回 null,表示取不到有效值。
|
6841
6841
|
:type Password: str
|
6842
6842
|
"""
|
@@ -653,6 +653,29 @@ class CvmClient(AbstractClient):
|
|
653
653
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
654
654
|
|
655
655
|
|
656
|
+
def DescribeImageFromFamily(self, request):
|
657
|
+
"""本接口(DescribeImageFromFamily) 用于查看镜像族内可用镜像信息。
|
658
|
+
|
659
|
+
:param request: Request instance for DescribeImageFromFamily.
|
660
|
+
:type request: :class:`tencentcloud.cvm.v20170312.models.DescribeImageFromFamilyRequest`
|
661
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeImageFromFamilyResponse`
|
662
|
+
|
663
|
+
"""
|
664
|
+
try:
|
665
|
+
params = request._serialize()
|
666
|
+
headers = request.headers
|
667
|
+
body = self.call("DescribeImageFromFamily", params, headers=headers)
|
668
|
+
response = json.loads(body)
|
669
|
+
model = models.DescribeImageFromFamilyResponse()
|
670
|
+
model._deserialize(response["Response"])
|
671
|
+
return model
|
672
|
+
except Exception as e:
|
673
|
+
if isinstance(e, TencentCloudSDKException):
|
674
|
+
raise
|
675
|
+
else:
|
676
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
677
|
+
|
678
|
+
|
656
679
|
def DescribeImageQuota(self, request):
|
657
680
|
"""本接口(DescribeImageQuota)用于查询用户账号的镜像配额。
|
658
681
|
|
@@ -443,6 +443,9 @@ INVALIDPARAMETERVALUE_INVALIDFILENAMEPREFIXLIST = 'InvalidParameterValue.Invalid
|
|
443
443
|
# 不支持转为非GPU或其他类型GPU实例。
|
444
444
|
INVALIDPARAMETERVALUE_INVALIDGPUFAMILYCHANGE = 'InvalidParameterValue.InvalidGPUFamilyChange'
|
445
445
|
|
446
|
+
# 错误格式的镜像族名称
|
447
|
+
INVALIDPARAMETERVALUE_INVALIDIMAGEFAMILY = 'InvalidParameterValue.InvalidImageFamily'
|
448
|
+
|
446
449
|
# 镜像ID不支持指定的实例机型。
|
447
450
|
INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = 'InvalidParameterValue.InvalidImageForGivenInstanceType'
|
448
451
|
|
@@ -518,7 +521,7 @@ INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = 'InvalidParameterValue.KeyPairNotSup
|
|
518
521
|
# 不支持删除默认启动模板版本。
|
519
522
|
INVALIDPARAMETERVALUE_LAUNCHTEMPLATEDEFAULTVERSION = 'InvalidParameterValue.LaunchTemplateDefaultVersion'
|
520
523
|
|
521
|
-
# 实例启动模板ID
|
524
|
+
# 实例启动模板ID格式错误,请提供规范的实例启动模板ID,类似lt-xxxxxxxx,字母x代表小写字符或者数字。
|
522
525
|
INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = 'InvalidParameterValue.LaunchTemplateIdMalformed'
|
523
526
|
|
524
527
|
# 实例启动模板ID不存在。
|