tencentcloud-sdk-python-intl-en 3.0.1122__py2.py3-none-any.whl → 3.0.1123__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1122'
16
+ __version__ = '3.0.1123'
@@ -2761,14 +2761,14 @@ class DeleteDisasterRecoverGroupsRequest(AbstractModel):
2761
2761
 
2762
2762
  def __init__(self):
2763
2763
  r"""
2764
- :param _DisasterRecoverGroupIds: ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to 100 spread placement groups in each request.
2764
+ :param _DisasterRecoverGroupIds: ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to 10 spread placement groups in each request.
2765
2765
  :type DisasterRecoverGroupIds: list of str
2766
2766
  """
2767
2767
  self._DisasterRecoverGroupIds = None
2768
2768
 
2769
2769
  @property
2770
2770
  def DisasterRecoverGroupIds(self):
2771
- """ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to 100 spread placement groups in each request.
2771
+ """ID list of spread placement groups, obtainable via the [DescribeDisasterRecoverGroups](https://intl.cloud.tencent.com/document/api/213/17810?from_cn_redirect=1) API. You can operate up to 10 spread placement groups in each request.
2772
2772
  :rtype: list of str
2773
2773
  """
2774
2774
  return self._DisasterRecoverGroupIds
@@ -3490,7 +3490,7 @@ class DescribeDisasterRecoverGroupsRequest(AbstractModel):
3490
3490
 
3491
3491
  def __init__(self):
3492
3492
  r"""
3493
- :param _DisasterRecoverGroupIds: ID list of spread placement groups. You can operate up to 100 spread placement groups in each request.
3493
+ :param _DisasterRecoverGroupIds: ID list of spread placement groups. You can operate up to 10 spread placement groups in each request.
3494
3494
  :type DisasterRecoverGroupIds: list of str
3495
3495
  :param _Name: Name of a spread placement group. Fuzzy match is supported.
3496
3496
  :type Name: str
@@ -3506,7 +3506,7 @@ class DescribeDisasterRecoverGroupsRequest(AbstractModel):
3506
3506
 
3507
3507
  @property
3508
3508
  def DisasterRecoverGroupIds(self):
3509
- """ID list of spread placement groups. You can operate up to 100 spread placement groups in each request.
3509
+ """ID list of spread placement groups. You can operate up to 10 spread placement groups in each request.
3510
3510
  :rtype: list of str
3511
3511
  """
3512
3512
  return self._DisasterRecoverGroupIds
@@ -291,6 +291,31 @@ class IntlpartnersmgtClient(AbstractClient):
291
291
  raise TencentCloudSDKException(type(e).__name__, str(e))
292
292
 
293
293
 
294
+ def DescribeCustomerBillDownloadUrl(self, request):
295
+ """This API is used to get the URL for downloading the customer bill file by reseller. The download conditions are as follows:
296
+ 1. Detailed bills (billDetail and billDetailPack) can be downloaded starting from June 2022; resource bills (billResource and billResourcePack) can be downloaded starting from November 2023.
297
+ 2. Bill packages (billDetailPack and billResourcePack) can only be downloaded after billing.
298
+
299
+ :param request: Request instance for DescribeCustomerBillDownloadUrl.
300
+ :type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerBillDownloadUrlRequest`
301
+ :rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeCustomerBillDownloadUrlResponse`
302
+
303
+ """
304
+ try:
305
+ params = request._serialize()
306
+ headers = request.headers
307
+ body = self.call("DescribeCustomerBillDownloadUrl", params, headers=headers)
308
+ response = json.loads(body)
309
+ model = models.DescribeCustomerBillDownloadUrlResponse()
310
+ model._deserialize(response["Response"])
311
+ return model
312
+ except Exception as e:
313
+ if isinstance(e, TencentCloudSDKException):
314
+ raise
315
+ else:
316
+ raise TencentCloudSDKException(type(e).__name__, str(e))
317
+
318
+
294
319
  def DescribeCustomerBillSummary(self, request):
295
320
  """This API is used to query the total amount of customer bills.
296
321
 
@@ -2975,6 +2975,160 @@ Note: This field may return null, indicating that no valid values can be obtaine
2975
2975
  self._RequestId = params.get("RequestId")
2976
2976
 
2977
2977
 
2978
+ class DescribeCustomerBillDownloadUrlRequest(AbstractModel):
2979
+ """DescribeCustomerBillDownloadUrl request structure.
2980
+
2981
+ """
2982
+
2983
+ def __init__(self):
2984
+ r"""
2985
+ :param _Month: The month to which the bill belongs, formatted as yyyy-mm; the earliest month available for query is june, 2022. current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month.
2986
+ :type Month: str
2987
+ :param _FileType: Bill type. valid values: [billResource, billDetail, billResourcePack, billDetailPack]. `billResource`: resource bill; `billDetail`: detailed bill; `billResourcePack`: resource bill package; `billDetailPack`: detailed bill package.
2988
+ :type FileType: str
2989
+ :param _CustomerUinType: Customer type. valid values: [Customer, Reseller, ResellerCustomer]. `Customer`: direct customer; `Reseller`: secondary reseller; `ResellerCustomer`: reseller's customers
2990
+ :type CustomerUinType: str
2991
+ :param _FileLanguage: Language. valid values: [zh_cn, en]. default is `en` (english).
2992
+ :type FileLanguage: str
2993
+ :param _CustomerUin: Customer uin. when downloading the bill package (FileType is billResourcePack or billDetailPack), CustomerUin is not passed
2994
+ :type CustomerUin: int
2995
+ """
2996
+ self._Month = None
2997
+ self._FileType = None
2998
+ self._CustomerUinType = None
2999
+ self._FileLanguage = None
3000
+ self._CustomerUin = None
3001
+
3002
+ @property
3003
+ def Month(self):
3004
+ """The month to which the bill belongs, formatted as yyyy-mm; the earliest month available for query is june, 2022. current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month.
3005
+ :rtype: str
3006
+ """
3007
+ return self._Month
3008
+
3009
+ @Month.setter
3010
+ def Month(self, Month):
3011
+ self._Month = Month
3012
+
3013
+ @property
3014
+ def FileType(self):
3015
+ """Bill type. valid values: [billResource, billDetail, billResourcePack, billDetailPack]. `billResource`: resource bill; `billDetail`: detailed bill; `billResourcePack`: resource bill package; `billDetailPack`: detailed bill package.
3016
+ :rtype: str
3017
+ """
3018
+ return self._FileType
3019
+
3020
+ @FileType.setter
3021
+ def FileType(self, FileType):
3022
+ self._FileType = FileType
3023
+
3024
+ @property
3025
+ def CustomerUinType(self):
3026
+ """Customer type. valid values: [Customer, Reseller, ResellerCustomer]. `Customer`: direct customer; `Reseller`: secondary reseller; `ResellerCustomer`: reseller's customers
3027
+ :rtype: str
3028
+ """
3029
+ return self._CustomerUinType
3030
+
3031
+ @CustomerUinType.setter
3032
+ def CustomerUinType(self, CustomerUinType):
3033
+ self._CustomerUinType = CustomerUinType
3034
+
3035
+ @property
3036
+ def FileLanguage(self):
3037
+ """Language. valid values: [zh_cn, en]. default is `en` (english).
3038
+ :rtype: str
3039
+ """
3040
+ return self._FileLanguage
3041
+
3042
+ @FileLanguage.setter
3043
+ def FileLanguage(self, FileLanguage):
3044
+ self._FileLanguage = FileLanguage
3045
+
3046
+ @property
3047
+ def CustomerUin(self):
3048
+ """Customer uin. when downloading the bill package (FileType is billResourcePack or billDetailPack), CustomerUin is not passed
3049
+ :rtype: int
3050
+ """
3051
+ return self._CustomerUin
3052
+
3053
+ @CustomerUin.setter
3054
+ def CustomerUin(self, CustomerUin):
3055
+ self._CustomerUin = CustomerUin
3056
+
3057
+
3058
+ def _deserialize(self, params):
3059
+ self._Month = params.get("Month")
3060
+ self._FileType = params.get("FileType")
3061
+ self._CustomerUinType = params.get("CustomerUinType")
3062
+ self._FileLanguage = params.get("FileLanguage")
3063
+ self._CustomerUin = params.get("CustomerUin")
3064
+ memeber_set = set(params.keys())
3065
+ for name, value in vars(self).items():
3066
+ property_name = name[1:]
3067
+ if property_name in memeber_set:
3068
+ memeber_set.remove(property_name)
3069
+ if len(memeber_set) > 0:
3070
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3071
+
3072
+
3073
+
3074
+ class DescribeCustomerBillDownloadUrlResponse(AbstractModel):
3075
+ """DescribeCustomerBillDownloadUrl response structure.
3076
+
3077
+ """
3078
+
3079
+ def __init__(self):
3080
+ r"""
3081
+ :param _DownloadUrl: File download link, with a file validity period of 1 hour.
3082
+ :type DownloadUrl: str
3083
+ :param _Ready: File generation status. 0: generating; 1: generated.
3084
+ :type Ready: int
3085
+ :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.
3086
+ :type RequestId: str
3087
+ """
3088
+ self._DownloadUrl = None
3089
+ self._Ready = None
3090
+ self._RequestId = None
3091
+
3092
+ @property
3093
+ def DownloadUrl(self):
3094
+ """File download link, with a file validity period of 1 hour.
3095
+ :rtype: str
3096
+ """
3097
+ return self._DownloadUrl
3098
+
3099
+ @DownloadUrl.setter
3100
+ def DownloadUrl(self, DownloadUrl):
3101
+ self._DownloadUrl = DownloadUrl
3102
+
3103
+ @property
3104
+ def Ready(self):
3105
+ """File generation status. 0: generating; 1: generated.
3106
+ :rtype: int
3107
+ """
3108
+ return self._Ready
3109
+
3110
+ @Ready.setter
3111
+ def Ready(self, Ready):
3112
+ self._Ready = Ready
3113
+
3114
+ @property
3115
+ def RequestId(self):
3116
+ """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.
3117
+ :rtype: str
3118
+ """
3119
+ return self._RequestId
3120
+
3121
+ @RequestId.setter
3122
+ def RequestId(self, RequestId):
3123
+ self._RequestId = RequestId
3124
+
3125
+
3126
+ def _deserialize(self, params):
3127
+ self._DownloadUrl = params.get("DownloadUrl")
3128
+ self._Ready = params.get("Ready")
3129
+ self._RequestId = params.get("RequestId")
3130
+
3131
+
2978
3132
  class DescribeCustomerBillSummaryRequest(AbstractModel):
2979
3133
  """DescribeCustomerBillSummary request structure.
2980
3134
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1122
3
+ Version: 3.0.1123
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=hq8JO8_bmRlPo7gzV0JibIlQCmVUawJK6YmqzqqSfgA,630
1
+ tencentcloud/__init__.py,sha256=bZkjiPVOqMomynCxtwyVGeVM-n-0uSUPDeblvxThqRw,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
@@ -176,7 +176,7 @@ tencentcloud/cvm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
176
176
  tencentcloud/cvm/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
177
177
  tencentcloud/cvm/v20170312/cvm_client.py,sha256=I6g0W63L_O3AkgADmtruN_O0uyuP-BRV3_oMF-lxTxI,91118
178
178
  tencentcloud/cvm/v20170312/errorcodes.py,sha256=YOQ62O6pbrK1Mv-0KpagJZmrYD2zxreMJI4_MGajKpI,52320
179
- tencentcloud/cvm/v20170312/models.py,sha256=os0q1yVkN31puXAa_pDo4vgmDM3SnlBHu9UTC5551bo,714441
179
+ tencentcloud/cvm/v20170312/models.py,sha256=tpnWE6PyOIKjsmbkjEpVSoVLbc07ChHmWNANfu9y0RE,714437
180
180
  tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
181
  tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
182
182
  tencentcloud/cwp/v20180228/cwp_client.py,sha256=XlAOIbfCE2PH5kdpATOrUkuE7eZd74lqbvhm2UDECi0,444132
@@ -323,8 +323,8 @@ tencentcloud/ims/v20201229/models.py,sha256=Sfna_x1BytKq04dX2wwI9wbXDh9N4JPyS6WD
323
323
  tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
324
324
  tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
325
325
  tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=eazVeg5nmU-4wX7XlJS_LUI_dGPd2x0ITg4E7BVSQLY,5674
326
- tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=Q-9lRpTLcvZwgXtNp-tXzOSHKy5hIAvcI_OtVBUOzuc,31061
327
- tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=J1rPHsnx2A4a-faeFGOJk_QRRQE7vQu3iqhO273XEGw,197370
326
+ tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=MqM3SdKafpsIOXTQADWbMWVk8uf_ukom01b6oB8CW7Q,32443
327
+ tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=v6nirZ7Wwz-zondDVuPZyQluLWHtTTz1JoI-_FBZKUQ,203354
328
328
  tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
329
  tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
330
330
  tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=ot2acVUWnZ1XbJLkM4K-jT_Gw5TQD53TtZwnfFzJJ9Y,5887
@@ -614,7 +614,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
614
614
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
615
615
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
616
616
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
617
- tencentcloud_sdk_python_intl_en-3.0.1122.dist-info/METADATA,sha256=mRbSyVwUhpzz5Qp1h39ErVqgQG9bxTm8WqWTg2lU4wg,1628
618
- tencentcloud_sdk_python_intl_en-3.0.1122.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
619
- tencentcloud_sdk_python_intl_en-3.0.1122.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
620
- tencentcloud_sdk_python_intl_en-3.0.1122.dist-info/RECORD,,
617
+ tencentcloud_sdk_python_intl_en-3.0.1123.dist-info/METADATA,sha256=vLaXc6HAm71faLtVU4NWglM-0OKBi4q0yN0E-8C0nBo,1628
618
+ tencentcloud_sdk_python_intl_en-3.0.1123.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
619
+ tencentcloud_sdk_python_intl_en-3.0.1123.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
620
+ tencentcloud_sdk_python_intl_en-3.0.1123.dist-info/RECORD,,