tencentcloud-sdk-python-intl-en 3.0.1278__py2.py3-none-any.whl → 3.0.1280__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/apigateway/v20180808/errorcodes.py +15 -15
- tencentcloud/autoscaling/v20180419/errorcodes.py +1 -1
- tencentcloud/batch/v20170312/errorcodes.py +1 -1
- tencentcloud/cbs/v20170312/errorcodes.py +2 -2
- tencentcloud/cdb/v20170320/errorcodes.py +1 -1
- tencentcloud/cdn/v20180606/errorcodes.py +2 -2
- tencentcloud/cdz/__init__.py +0 -0
- tencentcloud/cdz/v20221123/__init__.py +0 -0
- tencentcloud/cdz/v20221123/cdz_client.py +49 -0
- tencentcloud/cdz/v20221123/errorcodes.py +18 -0
- tencentcloud/cdz/v20221123/models.py +412 -0
- tencentcloud/cfs/v20190719/errorcodes.py +10 -10
- tencentcloud/cloudaudit/v20190319/errorcodes.py +4 -4
- tencentcloud/csip/v20221121/errorcodes.py +4 -4
- tencentcloud/cvm/v20170312/cvm_client.py +52 -0
- tencentcloud/cvm/v20170312/errorcodes.py +41 -32
- tencentcloud/cvm/v20170312/models.py +253 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +4 -4
- tencentcloud/dbbrain/v20191016/errorcodes.py +1 -1
- tencentcloud/dbbrain/v20210527/errorcodes.py +1 -1
- tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +7 -4
- tencentcloud/dnspod/v20210323/models.py +287 -0
- tencentcloud/dts/v20180330/errorcodes.py +4 -4
- tencentcloud/dts/v20211206/errorcodes.py +1 -1
- tencentcloud/eb/v20210416/errorcodes.py +1 -1
- tencentcloud/ecm/v20190719/errorcodes.py +3 -3
- tencentcloud/eiam/v20210420/errorcodes.py +33 -33
- tencentcloud/emr/v20190103/errorcodes.py +1 -1
- tencentcloud/es/v20180416/errorcodes.py +16 -16
- tencentcloud/faceid/v20180301/errorcodes.py +1 -1
- tencentcloud/faceid/v20180301/faceid_client.py +2 -2
- tencentcloud/faceid/v20180301/models.py +2 -4
- tencentcloud/iai/v20200303/errorcodes.py +5 -5
- tencentcloud/ims/v20201229/errorcodes.py +3 -3
- tencentcloud/intlpartnersmgt/v20220928/errorcodes.py +2 -2
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/errorcodes.py +8 -8
- tencentcloud/live/v20180801/errorcodes.py +7 -7
- tencentcloud/lke/v20231130/errorcodes.py +1 -1
- tencentcloud/mdl/v20200326/errorcodes.py +1 -1
- tencentcloud/mdp/v20200527/errorcodes.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +2 -2
- tencentcloud/mps/v20190612/models.py +2176 -371
- tencentcloud/mps/v20190612/mps_client.py +30 -23
- tencentcloud/ocr/v20181119/errorcodes.py +2 -2
- tencentcloud/organization/v20181225/errorcodes.py +1 -1
- tencentcloud/privatedns/v20201028/errorcodes.py +3 -3
- tencentcloud/scf/v20180416/errorcodes.py +5 -5
- tencentcloud/sms/v20190711/errorcodes.py +1 -1
- tencentcloud/sms/v20210111/errorcodes.py +2 -2
- tencentcloud/tag/v20180813/errorcodes.py +1 -1
- tencentcloud/tat/v20201028/errorcodes.py +4 -4
- tencentcloud/tcr/v20190924/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tem/v20210701/errorcodes.py +4 -4
- tencentcloud/teo/v20220106/errorcodes.py +2 -2
- tencentcloud/teo/v20220901/errorcodes.py +6 -6
- tencentcloud/teo/v20220901/models.py +14 -14
- tencentcloud/teo/v20220901/teo_client.py +4 -4
- tencentcloud/tiw/v20190919/errorcodes.py +2 -2
- tencentcloud/tke/v20180525/errorcodes.py +1 -1
- tencentcloud/tms/v20201229/errorcodes.py +1 -1
- tencentcloud/tmt/v20180321/errorcodes.py +7 -7
- tencentcloud/trtc/v20190722/errorcodes.py +2 -2
- tencentcloud/tts/v20190823/errorcodes.py +1 -1
- tencentcloud/vm/v20201229/errorcodes.py +1 -1
- tencentcloud/vm/v20210922/errorcodes.py +1 -1
- tencentcloud/vod/v20180717/errorcodes.py +6 -6
- tencentcloud/vpc/v20170312/errorcodes.py +39 -38
- {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/RECORD +75 -70
- {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1278.dist-info → tencentcloud_sdk_python_intl_en-3.0.1280.dist-info}/top_level.txt +0 -0
|
@@ -9091,6 +9091,142 @@ class InquirePricePurchaseReservedInstancesOfferingResponse(AbstractModel):
|
|
|
9091
9091
|
self._RequestId = params.get("RequestId")
|
|
9092
9092
|
|
|
9093
9093
|
|
|
9094
|
+
class InquiryPriceModifyInstancesChargeTypeRequest(AbstractModel):
|
|
9095
|
+
r"""InquiryPriceModifyInstancesChargeType request structure.
|
|
9096
|
+
|
|
9097
|
+
"""
|
|
9098
|
+
|
|
9099
|
+
def __init__(self):
|
|
9100
|
+
r"""
|
|
9101
|
+
:param _InstanceIds: One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
|
|
9102
|
+
:type InstanceIds: list of str
|
|
9103
|
+
:param _InstanceChargeType: Modified instance [billing type](https://www.tencentcloud.com/document/product/213/2180?from_cn_redirect=1). <br><li>`PREPAID`: monthly subscription.</li>
|
|
9104
|
+
|
|
9105
|
+
**Note:** Only supports converting pay-as-you-go instances to annual and monthly subscription instances.
|
|
9106
|
+
|
|
9107
|
+
default value: `PREPAID`
|
|
9108
|
+
:type InstanceChargeType: str
|
|
9109
|
+
:param _InstanceChargePrepaid: Prepaid mode, parameter settings related to monthly/annual subscription. through this parameter, specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes.
|
|
9110
|
+
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
|
9111
|
+
:param _ModifyPortableDataDisk: Whether to switch the billing mode of elastic data cloud disks simultaneously. valid values: <br><li>true: means switching the billing mode of elastic data cloud disks</li><li>false: means not switching the billing mode of elastic data cloud disks</li><br>default value: false.
|
|
9112
|
+
:type ModifyPortableDataDisk: bool
|
|
9113
|
+
"""
|
|
9114
|
+
self._InstanceIds = None
|
|
9115
|
+
self._InstanceChargeType = None
|
|
9116
|
+
self._InstanceChargePrepaid = None
|
|
9117
|
+
self._ModifyPortableDataDisk = None
|
|
9118
|
+
|
|
9119
|
+
@property
|
|
9120
|
+
def InstanceIds(self):
|
|
9121
|
+
r"""One or more instance IDs to be operated. You can obtain the instance ID through the `InstanceId` in the return value from the API [DescribeInstances](https://www.tencentcloud.com/document/api/213/15728?from_cn_redirect=1). The maximum number of instances per request is 100.
|
|
9122
|
+
:rtype: list of str
|
|
9123
|
+
"""
|
|
9124
|
+
return self._InstanceIds
|
|
9125
|
+
|
|
9126
|
+
@InstanceIds.setter
|
|
9127
|
+
def InstanceIds(self, InstanceIds):
|
|
9128
|
+
self._InstanceIds = InstanceIds
|
|
9129
|
+
|
|
9130
|
+
@property
|
|
9131
|
+
def InstanceChargeType(self):
|
|
9132
|
+
r"""Modified instance [billing type](https://www.tencentcloud.com/document/product/213/2180?from_cn_redirect=1). <br><li>`PREPAID`: monthly subscription.</li>
|
|
9133
|
+
|
|
9134
|
+
**Note:** Only supports converting pay-as-you-go instances to annual and monthly subscription instances.
|
|
9135
|
+
|
|
9136
|
+
default value: `PREPAID`
|
|
9137
|
+
:rtype: str
|
|
9138
|
+
"""
|
|
9139
|
+
return self._InstanceChargeType
|
|
9140
|
+
|
|
9141
|
+
@InstanceChargeType.setter
|
|
9142
|
+
def InstanceChargeType(self, InstanceChargeType):
|
|
9143
|
+
self._InstanceChargeType = InstanceChargeType
|
|
9144
|
+
|
|
9145
|
+
@property
|
|
9146
|
+
def InstanceChargePrepaid(self):
|
|
9147
|
+
r"""Prepaid mode, parameter settings related to monthly/annual subscription. through this parameter, specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes.
|
|
9148
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
|
9149
|
+
"""
|
|
9150
|
+
return self._InstanceChargePrepaid
|
|
9151
|
+
|
|
9152
|
+
@InstanceChargePrepaid.setter
|
|
9153
|
+
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
|
9154
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid
|
|
9155
|
+
|
|
9156
|
+
@property
|
|
9157
|
+
def ModifyPortableDataDisk(self):
|
|
9158
|
+
r"""Whether to switch the billing mode of elastic data cloud disks simultaneously. valid values: <br><li>true: means switching the billing mode of elastic data cloud disks</li><li>false: means not switching the billing mode of elastic data cloud disks</li><br>default value: false.
|
|
9159
|
+
:rtype: bool
|
|
9160
|
+
"""
|
|
9161
|
+
return self._ModifyPortableDataDisk
|
|
9162
|
+
|
|
9163
|
+
@ModifyPortableDataDisk.setter
|
|
9164
|
+
def ModifyPortableDataDisk(self, ModifyPortableDataDisk):
|
|
9165
|
+
self._ModifyPortableDataDisk = ModifyPortableDataDisk
|
|
9166
|
+
|
|
9167
|
+
|
|
9168
|
+
def _deserialize(self, params):
|
|
9169
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
9170
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
|
9171
|
+
if params.get("InstanceChargePrepaid") is not None:
|
|
9172
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
|
9173
|
+
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
9174
|
+
self._ModifyPortableDataDisk = params.get("ModifyPortableDataDisk")
|
|
9175
|
+
memeber_set = set(params.keys())
|
|
9176
|
+
for name, value in vars(self).items():
|
|
9177
|
+
property_name = name[1:]
|
|
9178
|
+
if property_name in memeber_set:
|
|
9179
|
+
memeber_set.remove(property_name)
|
|
9180
|
+
if len(memeber_set) > 0:
|
|
9181
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9182
|
+
|
|
9183
|
+
|
|
9184
|
+
|
|
9185
|
+
class InquiryPriceModifyInstancesChargeTypeResponse(AbstractModel):
|
|
9186
|
+
r"""InquiryPriceModifyInstancesChargeType response structure.
|
|
9187
|
+
|
|
9188
|
+
"""
|
|
9189
|
+
|
|
9190
|
+
def __init__(self):
|
|
9191
|
+
r"""
|
|
9192
|
+
:param _Price: This parameter indicates the price for switching the billing mode of the corresponding configuration instance.
|
|
9193
|
+
:type Price: :class:`tencentcloud.cvm.v20170312.models.Price`
|
|
9194
|
+
: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.
|
|
9195
|
+
:type RequestId: str
|
|
9196
|
+
"""
|
|
9197
|
+
self._Price = None
|
|
9198
|
+
self._RequestId = None
|
|
9199
|
+
|
|
9200
|
+
@property
|
|
9201
|
+
def Price(self):
|
|
9202
|
+
r"""This parameter indicates the price for switching the billing mode of the corresponding configuration instance.
|
|
9203
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.Price`
|
|
9204
|
+
"""
|
|
9205
|
+
return self._Price
|
|
9206
|
+
|
|
9207
|
+
@Price.setter
|
|
9208
|
+
def Price(self, Price):
|
|
9209
|
+
self._Price = Price
|
|
9210
|
+
|
|
9211
|
+
@property
|
|
9212
|
+
def RequestId(self):
|
|
9213
|
+
r"""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.
|
|
9214
|
+
:rtype: str
|
|
9215
|
+
"""
|
|
9216
|
+
return self._RequestId
|
|
9217
|
+
|
|
9218
|
+
@RequestId.setter
|
|
9219
|
+
def RequestId(self, RequestId):
|
|
9220
|
+
self._RequestId = RequestId
|
|
9221
|
+
|
|
9222
|
+
|
|
9223
|
+
def _deserialize(self, params):
|
|
9224
|
+
if params.get("Price") is not None:
|
|
9225
|
+
self._Price = Price()
|
|
9226
|
+
self._Price._deserialize(params.get("Price"))
|
|
9227
|
+
self._RequestId = params.get("RequestId")
|
|
9228
|
+
|
|
9229
|
+
|
|
9094
9230
|
class InquiryPriceRenewInstancesRequest(AbstractModel):
|
|
9095
9231
|
r"""InquiryPriceRenewInstances request structure.
|
|
9096
9232
|
|
|
@@ -13975,6 +14111,123 @@ class ModifyInstancesAttributeResponse(AbstractModel):
|
|
|
13975
14111
|
self._RequestId = params.get("RequestId")
|
|
13976
14112
|
|
|
13977
14113
|
|
|
14114
|
+
class ModifyInstancesChargeTypeRequest(AbstractModel):
|
|
14115
|
+
r"""ModifyInstancesChargeType request structure.
|
|
14116
|
+
|
|
14117
|
+
"""
|
|
14118
|
+
|
|
14119
|
+
def __init__(self):
|
|
14120
|
+
r"""
|
|
14121
|
+
:param _InstanceIds: One or more instance ids to be operated. you can obtain the instance ID through the `InstanceId` in the return value from the api [DescribeInstances](https://www.tencentcloud.com/document/api/213/15728?from_cn_redirect=1). the maximum number of instances per request is 30.
|
|
14122
|
+
:type InstanceIds: list of str
|
|
14123
|
+
:param _InstanceChargeType: Modified instance [billing type](https://www.tencentcloud.com/document/product/213/2180?from_cn_redirect=1). <li>`PREPAID`: monthly subscription.</li>
|
|
14124
|
+
**Note:** Only supports converting pay-as-you-go instances to annual and monthly subscription instances.
|
|
14125
|
+
|
|
14126
|
+
default value: `PREPAID`
|
|
14127
|
+
:type InstanceChargeType: str
|
|
14128
|
+
:param _InstanceChargePrepaid: Modified prepaid mode, parameter settings related to monthly/annual subscription. by specifying this parameter, you can specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes.
|
|
14129
|
+
:type InstanceChargePrepaid: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
|
14130
|
+
:param _ModifyPortableDataDisk: Whether to switch the billing mode of elastic data cloud disks simultaneously. valid values: <li> true: means switching the billing mode of elastic data cloud disks</li><li> false: means not switching the billing mode of elastic data cloud disks</li>default value: false.
|
|
14131
|
+
:type ModifyPortableDataDisk: bool
|
|
14132
|
+
"""
|
|
14133
|
+
self._InstanceIds = None
|
|
14134
|
+
self._InstanceChargeType = None
|
|
14135
|
+
self._InstanceChargePrepaid = None
|
|
14136
|
+
self._ModifyPortableDataDisk = None
|
|
14137
|
+
|
|
14138
|
+
@property
|
|
14139
|
+
def InstanceIds(self):
|
|
14140
|
+
r"""One or more instance ids to be operated. you can obtain the instance ID through the `InstanceId` in the return value from the api [DescribeInstances](https://www.tencentcloud.com/document/api/213/15728?from_cn_redirect=1). the maximum number of instances per request is 30.
|
|
14141
|
+
:rtype: list of str
|
|
14142
|
+
"""
|
|
14143
|
+
return self._InstanceIds
|
|
14144
|
+
|
|
14145
|
+
@InstanceIds.setter
|
|
14146
|
+
def InstanceIds(self, InstanceIds):
|
|
14147
|
+
self._InstanceIds = InstanceIds
|
|
14148
|
+
|
|
14149
|
+
@property
|
|
14150
|
+
def InstanceChargeType(self):
|
|
14151
|
+
r"""Modified instance [billing type](https://www.tencentcloud.com/document/product/213/2180?from_cn_redirect=1). <li>`PREPAID`: monthly subscription.</li>
|
|
14152
|
+
**Note:** Only supports converting pay-as-you-go instances to annual and monthly subscription instances.
|
|
14153
|
+
|
|
14154
|
+
default value: `PREPAID`
|
|
14155
|
+
:rtype: str
|
|
14156
|
+
"""
|
|
14157
|
+
return self._InstanceChargeType
|
|
14158
|
+
|
|
14159
|
+
@InstanceChargeType.setter
|
|
14160
|
+
def InstanceChargeType(self, InstanceChargeType):
|
|
14161
|
+
self._InstanceChargeType = InstanceChargeType
|
|
14162
|
+
|
|
14163
|
+
@property
|
|
14164
|
+
def InstanceChargePrepaid(self):
|
|
14165
|
+
r"""Modified prepaid mode, parameter settings related to monthly/annual subscription. by specifying this parameter, you can specify the purchase duration of annual and monthly subscription instances, whether to enable auto-renewal, and other attributes.
|
|
14166
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.InstanceChargePrepaid`
|
|
14167
|
+
"""
|
|
14168
|
+
return self._InstanceChargePrepaid
|
|
14169
|
+
|
|
14170
|
+
@InstanceChargePrepaid.setter
|
|
14171
|
+
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
|
14172
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid
|
|
14173
|
+
|
|
14174
|
+
@property
|
|
14175
|
+
def ModifyPortableDataDisk(self):
|
|
14176
|
+
r"""Whether to switch the billing mode of elastic data cloud disks simultaneously. valid values: <li> true: means switching the billing mode of elastic data cloud disks</li><li> false: means not switching the billing mode of elastic data cloud disks</li>default value: false.
|
|
14177
|
+
:rtype: bool
|
|
14178
|
+
"""
|
|
14179
|
+
return self._ModifyPortableDataDisk
|
|
14180
|
+
|
|
14181
|
+
@ModifyPortableDataDisk.setter
|
|
14182
|
+
def ModifyPortableDataDisk(self, ModifyPortableDataDisk):
|
|
14183
|
+
self._ModifyPortableDataDisk = ModifyPortableDataDisk
|
|
14184
|
+
|
|
14185
|
+
|
|
14186
|
+
def _deserialize(self, params):
|
|
14187
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
14188
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
|
14189
|
+
if params.get("InstanceChargePrepaid") is not None:
|
|
14190
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
|
14191
|
+
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
14192
|
+
self._ModifyPortableDataDisk = params.get("ModifyPortableDataDisk")
|
|
14193
|
+
memeber_set = set(params.keys())
|
|
14194
|
+
for name, value in vars(self).items():
|
|
14195
|
+
property_name = name[1:]
|
|
14196
|
+
if property_name in memeber_set:
|
|
14197
|
+
memeber_set.remove(property_name)
|
|
14198
|
+
if len(memeber_set) > 0:
|
|
14199
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14200
|
+
|
|
14201
|
+
|
|
14202
|
+
|
|
14203
|
+
class ModifyInstancesChargeTypeResponse(AbstractModel):
|
|
14204
|
+
r"""ModifyInstancesChargeType response structure.
|
|
14205
|
+
|
|
14206
|
+
"""
|
|
14207
|
+
|
|
14208
|
+
def __init__(self):
|
|
14209
|
+
r"""
|
|
14210
|
+
: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.
|
|
14211
|
+
:type RequestId: str
|
|
14212
|
+
"""
|
|
14213
|
+
self._RequestId = None
|
|
14214
|
+
|
|
14215
|
+
@property
|
|
14216
|
+
def RequestId(self):
|
|
14217
|
+
r"""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.
|
|
14218
|
+
:rtype: str
|
|
14219
|
+
"""
|
|
14220
|
+
return self._RequestId
|
|
14221
|
+
|
|
14222
|
+
@RequestId.setter
|
|
14223
|
+
def RequestId(self, RequestId):
|
|
14224
|
+
self._RequestId = RequestId
|
|
14225
|
+
|
|
14226
|
+
|
|
14227
|
+
def _deserialize(self, params):
|
|
14228
|
+
self._RequestId = params.get("RequestId")
|
|
14229
|
+
|
|
14230
|
+
|
|
13978
14231
|
class ModifyInstancesDisasterRecoverGroupRequest(AbstractModel):
|
|
13979
14232
|
r"""ModifyInstancesDisasterRecoverGroup request structure.
|
|
13980
14233
|
|
|
@@ -38,7 +38,7 @@ FAILEDOPERATION_CREATEORDER = 'FailedOperation.CreateOrder'
|
|
|
38
38
|
# Failed to create a resource pack
|
|
39
39
|
FAILEDOPERATION_CREATESOURCEPACKAGEERROR = 'FailedOperation.CreateSourcePackageError'
|
|
40
40
|
|
|
41
|
-
#
|
|
41
|
+
# Failed to set the backup policy. Please try again later. If the failure persists, please contact customer service for handling.
|
|
42
42
|
FAILEDOPERATION_CYNOSDBMYSQLSETBACKUPSTRATEGY = 'FailedOperation.CynosdbMysqlSetBackupStrategy'
|
|
43
43
|
|
|
44
44
|
# Failed to access the database. Please try again later. If the problem persists, please contact customer service.
|
|
@@ -59,7 +59,7 @@ FAILEDOPERATION_GETNETSERVICEINFOERROR = 'FailedOperation.GetNetServiceInfoError
|
|
|
59
59
|
# Failed to query the details of a read-write instance
|
|
60
60
|
FAILEDOPERATION_GETOSSINFOERROR = 'FailedOperation.GetOssInfoError'
|
|
61
61
|
|
|
62
|
-
#
|
|
62
|
+
# The request to query the instance information failed.
|
|
63
63
|
FAILEDOPERATION_INSTANCEQUERYERROR = 'FailedOperation.InstanceQueryError'
|
|
64
64
|
|
|
65
65
|
# Insufficient account balance
|
|
@@ -119,7 +119,7 @@ INTERNALERROR_INTERNALHTTPSERVERERROR = 'InternalError.InternalHttpServerError'
|
|
|
119
119
|
# Failed to query instances by security group.
|
|
120
120
|
INTERNALERROR_LISTINSTANCEFAILED = 'InternalError.ListInstanceFailed'
|
|
121
121
|
|
|
122
|
-
#
|
|
122
|
+
# Instance query error.
|
|
123
123
|
INTERNALERROR_LISTINSTANCESERROR = 'InternalError.ListInstancesError'
|
|
124
124
|
|
|
125
125
|
# Public network operation failed.
|
|
@@ -251,7 +251,7 @@ LIMITEXCEEDED_USERINSTANCELIMIT = 'LimitExceeded.UserInstanceLimit'
|
|
|
251
251
|
# Audit log is disabled for instance {{1}}. operations cannot be performed.
|
|
252
252
|
OPERATIONDENIED_AUDITLOGCLOSEDERROR = 'OperationDenied.AuditLogClosedError'
|
|
253
253
|
|
|
254
|
-
#
|
|
254
|
+
# The audit status is abnormal.
|
|
255
255
|
OPERATIONDENIED_AUDITSTATUSERROR = 'OperationDenied.AuditStatusError'
|
|
256
256
|
|
|
257
257
|
# Failed to verify permissions
|
|
@@ -279,6 +279,29 @@ class DnspodClient(AbstractClient):
|
|
|
279
279
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
280
280
|
|
|
281
281
|
|
|
282
|
+
def DeletePackageOrder(self, request):
|
|
283
|
+
r"""This API is used to disable the paid plan on the international website.
|
|
284
|
+
|
|
285
|
+
:param request: Request instance for DeletePackageOrder.
|
|
286
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.DeletePackageOrderRequest`
|
|
287
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.DeletePackageOrderResponse`
|
|
288
|
+
|
|
289
|
+
"""
|
|
290
|
+
try:
|
|
291
|
+
params = request._serialize()
|
|
292
|
+
headers = request.headers
|
|
293
|
+
body = self.call("DeletePackageOrder", params, headers=headers)
|
|
294
|
+
response = json.loads(body)
|
|
295
|
+
model = models.DeletePackageOrderResponse()
|
|
296
|
+
model._deserialize(response["Response"])
|
|
297
|
+
return model
|
|
298
|
+
except Exception as e:
|
|
299
|
+
if isinstance(e, TencentCloudSDKException):
|
|
300
|
+
raise
|
|
301
|
+
else:
|
|
302
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
303
|
+
|
|
304
|
+
|
|
282
305
|
def DeleteRecord(self, request):
|
|
283
306
|
r"""This API is used to delete a record.
|
|
284
307
|
|
|
@@ -555,6 +578,29 @@ class DnspodClient(AbstractClient):
|
|
|
555
578
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
556
579
|
|
|
557
580
|
|
|
581
|
+
def DescribeRecordLineCategoryList(self, request):
|
|
582
|
+
r"""This API is used to return a line list by category.
|
|
583
|
+
|
|
584
|
+
:param request: Request instance for DescribeRecordLineCategoryList.
|
|
585
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.DescribeRecordLineCategoryListRequest`
|
|
586
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.DescribeRecordLineCategoryListResponse`
|
|
587
|
+
|
|
588
|
+
"""
|
|
589
|
+
try:
|
|
590
|
+
params = request._serialize()
|
|
591
|
+
headers = request.headers
|
|
592
|
+
body = self.call("DescribeRecordLineCategoryList", params, headers=headers)
|
|
593
|
+
response = json.loads(body)
|
|
594
|
+
model = models.DescribeRecordLineCategoryListResponse()
|
|
595
|
+
model._deserialize(response["Response"])
|
|
596
|
+
return model
|
|
597
|
+
except Exception as e:
|
|
598
|
+
if isinstance(e, TencentCloudSDKException):
|
|
599
|
+
raise
|
|
600
|
+
else:
|
|
601
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
602
|
+
|
|
603
|
+
|
|
558
604
|
def DescribeRecordLineList(self, request):
|
|
559
605
|
r"""This API is used to get the split zones allowed by the domain level.
|
|
560
606
|
|
|
@@ -20,10 +20,13 @@ AUTHFAILURE = 'AuthFailure'
|
|
|
20
20
|
# The operation failed.
|
|
21
21
|
FAILEDOPERATION = 'FailedOperation'
|
|
22
22
|
|
|
23
|
+
# This domain name is on the free plan. closing the plan is not allowed.
|
|
24
|
+
FAILEDOPERATION_CANNOTCLOSEFREEDOMAIN = 'FailedOperation.CanNotCloseFreeDomain'
|
|
25
|
+
|
|
23
26
|
# The domain is already in your list. There is no need to add it again.
|
|
24
27
|
FAILEDOPERATION_DOMAINEXISTS = 'FailedOperation.DomainExists'
|
|
25
28
|
|
|
26
|
-
#
|
|
29
|
+
# The domain belongs to an enterprise email user.
|
|
27
30
|
FAILEDOPERATION_DOMAININENTERPRISEMAILACCOUNT = 'FailedOperation.DomainInEnterpriseMailAccount'
|
|
28
31
|
|
|
29
32
|
# This domain is a key protected resource in DNSPod. To prevent the service from being affected by maloperations, you cannot delete it. If you are sure you need to delete it, please contact your sales rep for technical support.
|
|
@@ -119,7 +122,7 @@ INVALIDPARAMETER_DOMAINALIASIDINVALID = 'InvalidParameter.DomainAliasIdInvalid'
|
|
|
119
122
|
# The domain number is incorrect.
|
|
120
123
|
INVALIDPARAMETER_DOMAINIDINVALID = 'InvalidParameter.DomainIdInvalid'
|
|
121
124
|
|
|
122
|
-
#
|
|
125
|
+
# The domain is on the illegal and non-compliant blacklist, and this operation cannot be performed.
|
|
123
126
|
INVALIDPARAMETER_DOMAININBLACKLIST = 'InvalidParameter.DomainInBlackList'
|
|
124
127
|
|
|
125
128
|
# You cannot perform operations on a domain currently active or invalid.
|
|
@@ -131,7 +134,7 @@ INVALIDPARAMETER_DOMAININVALID = 'InvalidParameter.DomainInvalid'
|
|
|
131
134
|
# This domain is an alias of another domain.
|
|
132
135
|
INVALIDPARAMETER_DOMAINISALIASER = 'InvalidParameter.DomainIsAliaser'
|
|
133
136
|
|
|
134
|
-
#
|
|
137
|
+
# This domain is an alias for itself.
|
|
135
138
|
INVALIDPARAMETER_DOMAINISMYALIAS = 'InvalidParameter.DomainIsMyAlias'
|
|
136
139
|
|
|
137
140
|
# The domain is not locked.
|
|
@@ -221,7 +224,7 @@ INVALIDPARAMETER_PARAMSMISSING = 'InvalidParameter.ParamsMissing'
|
|
|
221
224
|
# The user UIN is invalid.
|
|
222
225
|
INVALIDPARAMETER_QCLOUDUININVALID = 'InvalidParameter.QcloudUinInvalid'
|
|
223
226
|
|
|
224
|
-
#
|
|
227
|
+
# TXT record cannot be matched. Please confirm whether the record value is accurate and verify again.
|
|
225
228
|
INVALIDPARAMETER_QUHUITXTNOTMATCH = 'InvalidParameter.QuhuiTxtNotMatch'
|
|
226
229
|
|
|
227
230
|
# The TXT record was not set or has not taken effect. Try again later.
|