tencentcloud-sdk-python-intl-en 3.0.1205__py2.py3-none-any.whl → 3.0.1206__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/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/models.py +214 -0
- {tencentcloud_sdk_python_intl_en-3.0.1205.dist-info → tencentcloud_sdk_python_intl_en-3.0.1206.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1205.dist-info → tencentcloud_sdk_python_intl_en-3.0.1206.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_intl_en-3.0.1205.dist-info → tencentcloud_sdk_python_intl_en-3.0.1206.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1205.dist-info → tencentcloud_sdk_python_intl_en-3.0.1206.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -95,6 +95,29 @@ class BillingClient(AbstractClient):
|
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
96
|
|
|
97
97
|
|
|
98
|
+
def DescribeAllocationUnitDetail(self, request):
|
|
99
|
+
"""Query the details of a cost allocation unit.
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for DescribeAllocationUnitDetail.
|
|
102
|
+
:type request: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationUnitDetailRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.billing.v20180709.models.DescribeAllocationUnitDetailResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("DescribeAllocationUnitDetail", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.DescribeAllocationUnitDetailResponse()
|
|
112
|
+
model._deserialize(response["Response"])
|
|
113
|
+
return model
|
|
114
|
+
except Exception as e:
|
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
|
116
|
+
raise
|
|
117
|
+
else:
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
+
|
|
120
|
+
|
|
98
121
|
def DescribeBillAdjustInfo(self, request):
|
|
99
122
|
"""This API is used to check whether the current UIN has any adjustment, enabling customers to proactively obtain the adjustment status faster.
|
|
100
123
|
|
|
@@ -7647,6 +7647,220 @@ class DescribeAccountBalanceResponse(AbstractModel):
|
|
|
7647
7647
|
self._RequestId = params.get("RequestId")
|
|
7648
7648
|
|
|
7649
7649
|
|
|
7650
|
+
class DescribeAllocationUnitDetailRequest(AbstractModel):
|
|
7651
|
+
"""DescribeAllocationUnitDetail request structure.
|
|
7652
|
+
|
|
7653
|
+
"""
|
|
7654
|
+
|
|
7655
|
+
def __init__(self):
|
|
7656
|
+
r"""
|
|
7657
|
+
:param _Id: ID of the queried cost allocation unit.
|
|
7658
|
+
:type Id: int
|
|
7659
|
+
:param _Month: Month, the current month by default if not provided.
|
|
7660
|
+
:type Month: str
|
|
7661
|
+
"""
|
|
7662
|
+
self._Id = None
|
|
7663
|
+
self._Month = None
|
|
7664
|
+
|
|
7665
|
+
@property
|
|
7666
|
+
def Id(self):
|
|
7667
|
+
"""ID of the queried cost allocation unit.
|
|
7668
|
+
:rtype: int
|
|
7669
|
+
"""
|
|
7670
|
+
return self._Id
|
|
7671
|
+
|
|
7672
|
+
@Id.setter
|
|
7673
|
+
def Id(self, Id):
|
|
7674
|
+
self._Id = Id
|
|
7675
|
+
|
|
7676
|
+
@property
|
|
7677
|
+
def Month(self):
|
|
7678
|
+
"""Month, the current month by default if not provided.
|
|
7679
|
+
:rtype: str
|
|
7680
|
+
"""
|
|
7681
|
+
return self._Month
|
|
7682
|
+
|
|
7683
|
+
@Month.setter
|
|
7684
|
+
def Month(self, Month):
|
|
7685
|
+
self._Month = Month
|
|
7686
|
+
|
|
7687
|
+
|
|
7688
|
+
def _deserialize(self, params):
|
|
7689
|
+
self._Id = params.get("Id")
|
|
7690
|
+
self._Month = params.get("Month")
|
|
7691
|
+
memeber_set = set(params.keys())
|
|
7692
|
+
for name, value in vars(self).items():
|
|
7693
|
+
property_name = name[1:]
|
|
7694
|
+
if property_name in memeber_set:
|
|
7695
|
+
memeber_set.remove(property_name)
|
|
7696
|
+
if len(memeber_set) > 0:
|
|
7697
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7698
|
+
|
|
7699
|
+
|
|
7700
|
+
|
|
7701
|
+
class DescribeAllocationUnitDetailResponse(AbstractModel):
|
|
7702
|
+
"""DescribeAllocationUnitDetail response structure.
|
|
7703
|
+
|
|
7704
|
+
"""
|
|
7705
|
+
|
|
7706
|
+
def __init__(self):
|
|
7707
|
+
r"""
|
|
7708
|
+
:param _Id: ID of a cost allocation unit.
|
|
7709
|
+
:type Id: int
|
|
7710
|
+
:param _Uin: Associated UIN of the cost allocation unit.
|
|
7711
|
+
:type Uin: str
|
|
7712
|
+
:param _Name: Specifies the name of a cost allocation unit.
|
|
7713
|
+
:type Name: str
|
|
7714
|
+
:param _ParentId: Cost allocation unit parent node ID.
|
|
7715
|
+
:type ParentId: int
|
|
7716
|
+
:param _SourceName: Source organization name.
|
|
7717
|
+
:type SourceName: str
|
|
7718
|
+
:param _SourceId: Source organization ID.
|
|
7719
|
+
:type SourceId: str
|
|
7720
|
+
:param _Remark: Specifies remark description.
|
|
7721
|
+
:type Remark: str
|
|
7722
|
+
:param _TreeNodeUniqKey: Cost allocation unit identifier.
|
|
7723
|
+
:type TreeNodeUniqKey: str
|
|
7724
|
+
:param _RuleId: If a cost allocation unit is set with an collection rule, return the collection rule ID. if no collection rule is set, do not return.
|
|
7725
|
+
:type RuleId: int
|
|
7726
|
+
: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.
|
|
7727
|
+
:type RequestId: str
|
|
7728
|
+
"""
|
|
7729
|
+
self._Id = None
|
|
7730
|
+
self._Uin = None
|
|
7731
|
+
self._Name = None
|
|
7732
|
+
self._ParentId = None
|
|
7733
|
+
self._SourceName = None
|
|
7734
|
+
self._SourceId = None
|
|
7735
|
+
self._Remark = None
|
|
7736
|
+
self._TreeNodeUniqKey = None
|
|
7737
|
+
self._RuleId = None
|
|
7738
|
+
self._RequestId = None
|
|
7739
|
+
|
|
7740
|
+
@property
|
|
7741
|
+
def Id(self):
|
|
7742
|
+
"""ID of a cost allocation unit.
|
|
7743
|
+
:rtype: int
|
|
7744
|
+
"""
|
|
7745
|
+
return self._Id
|
|
7746
|
+
|
|
7747
|
+
@Id.setter
|
|
7748
|
+
def Id(self, Id):
|
|
7749
|
+
self._Id = Id
|
|
7750
|
+
|
|
7751
|
+
@property
|
|
7752
|
+
def Uin(self):
|
|
7753
|
+
"""Associated UIN of the cost allocation unit.
|
|
7754
|
+
:rtype: str
|
|
7755
|
+
"""
|
|
7756
|
+
return self._Uin
|
|
7757
|
+
|
|
7758
|
+
@Uin.setter
|
|
7759
|
+
def Uin(self, Uin):
|
|
7760
|
+
self._Uin = Uin
|
|
7761
|
+
|
|
7762
|
+
@property
|
|
7763
|
+
def Name(self):
|
|
7764
|
+
"""Specifies the name of a cost allocation unit.
|
|
7765
|
+
:rtype: str
|
|
7766
|
+
"""
|
|
7767
|
+
return self._Name
|
|
7768
|
+
|
|
7769
|
+
@Name.setter
|
|
7770
|
+
def Name(self, Name):
|
|
7771
|
+
self._Name = Name
|
|
7772
|
+
|
|
7773
|
+
@property
|
|
7774
|
+
def ParentId(self):
|
|
7775
|
+
"""Cost allocation unit parent node ID.
|
|
7776
|
+
:rtype: int
|
|
7777
|
+
"""
|
|
7778
|
+
return self._ParentId
|
|
7779
|
+
|
|
7780
|
+
@ParentId.setter
|
|
7781
|
+
def ParentId(self, ParentId):
|
|
7782
|
+
self._ParentId = ParentId
|
|
7783
|
+
|
|
7784
|
+
@property
|
|
7785
|
+
def SourceName(self):
|
|
7786
|
+
"""Source organization name.
|
|
7787
|
+
:rtype: str
|
|
7788
|
+
"""
|
|
7789
|
+
return self._SourceName
|
|
7790
|
+
|
|
7791
|
+
@SourceName.setter
|
|
7792
|
+
def SourceName(self, SourceName):
|
|
7793
|
+
self._SourceName = SourceName
|
|
7794
|
+
|
|
7795
|
+
@property
|
|
7796
|
+
def SourceId(self):
|
|
7797
|
+
"""Source organization ID.
|
|
7798
|
+
:rtype: str
|
|
7799
|
+
"""
|
|
7800
|
+
return self._SourceId
|
|
7801
|
+
|
|
7802
|
+
@SourceId.setter
|
|
7803
|
+
def SourceId(self, SourceId):
|
|
7804
|
+
self._SourceId = SourceId
|
|
7805
|
+
|
|
7806
|
+
@property
|
|
7807
|
+
def Remark(self):
|
|
7808
|
+
"""Specifies remark description.
|
|
7809
|
+
:rtype: str
|
|
7810
|
+
"""
|
|
7811
|
+
return self._Remark
|
|
7812
|
+
|
|
7813
|
+
@Remark.setter
|
|
7814
|
+
def Remark(self, Remark):
|
|
7815
|
+
self._Remark = Remark
|
|
7816
|
+
|
|
7817
|
+
@property
|
|
7818
|
+
def TreeNodeUniqKey(self):
|
|
7819
|
+
"""Cost allocation unit identifier.
|
|
7820
|
+
:rtype: str
|
|
7821
|
+
"""
|
|
7822
|
+
return self._TreeNodeUniqKey
|
|
7823
|
+
|
|
7824
|
+
@TreeNodeUniqKey.setter
|
|
7825
|
+
def TreeNodeUniqKey(self, TreeNodeUniqKey):
|
|
7826
|
+
self._TreeNodeUniqKey = TreeNodeUniqKey
|
|
7827
|
+
|
|
7828
|
+
@property
|
|
7829
|
+
def RuleId(self):
|
|
7830
|
+
"""If a cost allocation unit is set with an collection rule, return the collection rule ID. if no collection rule is set, do not return.
|
|
7831
|
+
:rtype: int
|
|
7832
|
+
"""
|
|
7833
|
+
return self._RuleId
|
|
7834
|
+
|
|
7835
|
+
@RuleId.setter
|
|
7836
|
+
def RuleId(self, RuleId):
|
|
7837
|
+
self._RuleId = RuleId
|
|
7838
|
+
|
|
7839
|
+
@property
|
|
7840
|
+
def RequestId(self):
|
|
7841
|
+
"""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.
|
|
7842
|
+
:rtype: str
|
|
7843
|
+
"""
|
|
7844
|
+
return self._RequestId
|
|
7845
|
+
|
|
7846
|
+
@RequestId.setter
|
|
7847
|
+
def RequestId(self, RequestId):
|
|
7848
|
+
self._RequestId = RequestId
|
|
7849
|
+
|
|
7850
|
+
|
|
7851
|
+
def _deserialize(self, params):
|
|
7852
|
+
self._Id = params.get("Id")
|
|
7853
|
+
self._Uin = params.get("Uin")
|
|
7854
|
+
self._Name = params.get("Name")
|
|
7855
|
+
self._ParentId = params.get("ParentId")
|
|
7856
|
+
self._SourceName = params.get("SourceName")
|
|
7857
|
+
self._SourceId = params.get("SourceId")
|
|
7858
|
+
self._Remark = params.get("Remark")
|
|
7859
|
+
self._TreeNodeUniqKey = params.get("TreeNodeUniqKey")
|
|
7860
|
+
self._RuleId = params.get("RuleId")
|
|
7861
|
+
self._RequestId = params.get("RequestId")
|
|
7862
|
+
|
|
7863
|
+
|
|
7650
7864
|
class DescribeBillAdjustInfoRequest(AbstractModel):
|
|
7651
7865
|
"""DescribeBillAdjustInfo request structure.
|
|
7652
7866
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=G4QbInFUTXvkMxaWjDAIdInkbL_d0zNAYcxhGmeR5Ps,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=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
|
|
@@ -46,9 +46,9 @@ tencentcloud/batch/v20170312/errorcodes.py,sha256=KCF4SIj8Haj6XBUSTVDyNQSPyjWVRy
|
|
|
46
46
|
tencentcloud/batch/v20170312/models.py,sha256=VBOuhs4yPE8IMmY4tzA3AjQHyFga4WjK7p-0PEyg0TI,335284
|
|
47
47
|
tencentcloud/billing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
48
|
tencentcloud/billing/v20180709/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
-
tencentcloud/billing/v20180709/billing_client.py,sha256=
|
|
49
|
+
tencentcloud/billing/v20180709/billing_client.py,sha256=zP9TTloKyGsSKBj8Av4uvbFiuiN3cwXQLMjq_3744Nk,28947
|
|
50
50
|
tencentcloud/billing/v20180709/errorcodes.py,sha256=0_fBUU6QDv7eHN-XbnlzTAjC4fungnaoiOpd6IV_Ml4,2102
|
|
51
|
-
tencentcloud/billing/v20180709/models.py,sha256=
|
|
51
|
+
tencentcloud/billing/v20180709/models.py,sha256=tCwIxvLxE4S5aV9BcTS8Bn2o02VIP6fAeGJmsjf71Sg,519972
|
|
52
52
|
tencentcloud/cam/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
53
53
|
tencentcloud/cam/v20190116/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
54
|
tencentcloud/cam/v20190116/cam_client.py,sha256=cQFaz-s6EzqeCpWmIX0Kd_F2xZByDcObmj5c6eoMGAI,75169
|
|
@@ -654,7 +654,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
654
654
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
655
655
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
656
656
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
|
|
657
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
658
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
659
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
660
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
657
|
+
tencentcloud_sdk_python_intl_en-3.0.1206.dist-info/METADATA,sha256=iOfGkZSucaJIJQT8v3e-ayqgHKxcQL3122Au5fmHglU,1628
|
|
658
|
+
tencentcloud_sdk_python_intl_en-3.0.1206.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
659
|
+
tencentcloud_sdk_python_intl_en-3.0.1206.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
660
|
+
tencentcloud_sdk_python_intl_en-3.0.1206.dist-info/RECORD,,
|
|
File without changes
|