tencentcloud-sdk-python 3.1.71__py2.py3-none-any.whl → 3.1.72__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/ccc/v20200210/models.py +90 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +18 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +196 -50
- tencentcloud/dlc/v20210125/models.py +37 -22
- tencentcloud/emr/v20190103/models.py +375 -564
- tencentcloud/ess/v20201111/models.py +10 -14
- tencentcloud/faceid/v20180301/models.py +8 -8
- tencentcloud/live/v20180801/models.py +31 -26
- tencentcloud/monitor/v20230616/models.py +125 -16
- tencentcloud/mps/v20190612/errorcodes.py +36 -0
- tencentcloud/mps/v20190612/models.py +14060 -5728
- tencentcloud/mps/v20190612/mps_client.py +920 -0
- tencentcloud/mps/v20190612/mps_client_async.py +720 -0
- tencentcloud/redis/v20180412/models.py +225 -160
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/redis/v20180412/redis_client_async.py +18 -0
- tencentcloud/tcb/v20180608/models.py +0 -173
- tencentcloud/tcb/v20180608/tcb_client.py +0 -46
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -36
- tencentcloud/tcss/v20201101/models.py +297 -144
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +1126 -269
- tencentcloud/tke/v20180525/tke_client.py +46 -0
- tencentcloud/tke/v20180525/tke_client_async.py +36 -0
- tencentcloud/vod/v20180717/models.py +8 -8
- {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.72.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.72.dist-info}/RECORD +33 -33
- {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.72.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.72.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.71.dist-info → tencentcloud_sdk_python-3.1.72.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -5675,6 +5675,12 @@ class CreateOwnNumberApplyRequest(AbstractModel):
|
|
|
5675
5675
|
:type MobileNddPrefix: str
|
|
5676
5676
|
:param _LocalNumberTrimAC: 同市固话去掉区号
|
|
5677
5677
|
:type LocalNumberTrimAC: bool
|
|
5678
|
+
:param _CalleeFormatPassthrough: 被叫格式透传 (完成透传用户输入,不做处理)
|
|
5679
|
+
:type CalleeFormatPassthrough: bool
|
|
5680
|
+
:param _CallerFormatPassthrough: 主叫格式透传 (完成透传用户输入,不做处理)
|
|
5681
|
+
:type CallerFormatPassthrough: bool
|
|
5682
|
+
:param _InternationalNumberPrefix: 国际长途前缀码
|
|
5683
|
+
:type InternationalNumberPrefix: str
|
|
5678
5684
|
"""
|
|
5679
5685
|
self._SdkAppId = None
|
|
5680
5686
|
self._SipTrunkId = None
|
|
@@ -5682,6 +5688,9 @@ class CreateOwnNumberApplyRequest(AbstractModel):
|
|
|
5682
5688
|
self._Prefix = None
|
|
5683
5689
|
self._MobileNddPrefix = None
|
|
5684
5690
|
self._LocalNumberTrimAC = None
|
|
5691
|
+
self._CalleeFormatPassthrough = None
|
|
5692
|
+
self._CallerFormatPassthrough = None
|
|
5693
|
+
self._InternationalNumberPrefix = None
|
|
5685
5694
|
|
|
5686
5695
|
@property
|
|
5687
5696
|
def SdkAppId(self):
|
|
@@ -5749,6 +5758,39 @@ class CreateOwnNumberApplyRequest(AbstractModel):
|
|
|
5749
5758
|
def LocalNumberTrimAC(self, LocalNumberTrimAC):
|
|
5750
5759
|
self._LocalNumberTrimAC = LocalNumberTrimAC
|
|
5751
5760
|
|
|
5761
|
+
@property
|
|
5762
|
+
def CalleeFormatPassthrough(self):
|
|
5763
|
+
r"""被叫格式透传 (完成透传用户输入,不做处理)
|
|
5764
|
+
:rtype: bool
|
|
5765
|
+
"""
|
|
5766
|
+
return self._CalleeFormatPassthrough
|
|
5767
|
+
|
|
5768
|
+
@CalleeFormatPassthrough.setter
|
|
5769
|
+
def CalleeFormatPassthrough(self, CalleeFormatPassthrough):
|
|
5770
|
+
self._CalleeFormatPassthrough = CalleeFormatPassthrough
|
|
5771
|
+
|
|
5772
|
+
@property
|
|
5773
|
+
def CallerFormatPassthrough(self):
|
|
5774
|
+
r"""主叫格式透传 (完成透传用户输入,不做处理)
|
|
5775
|
+
:rtype: bool
|
|
5776
|
+
"""
|
|
5777
|
+
return self._CallerFormatPassthrough
|
|
5778
|
+
|
|
5779
|
+
@CallerFormatPassthrough.setter
|
|
5780
|
+
def CallerFormatPassthrough(self, CallerFormatPassthrough):
|
|
5781
|
+
self._CallerFormatPassthrough = CallerFormatPassthrough
|
|
5782
|
+
|
|
5783
|
+
@property
|
|
5784
|
+
def InternationalNumberPrefix(self):
|
|
5785
|
+
r"""国际长途前缀码
|
|
5786
|
+
:rtype: str
|
|
5787
|
+
"""
|
|
5788
|
+
return self._InternationalNumberPrefix
|
|
5789
|
+
|
|
5790
|
+
@InternationalNumberPrefix.setter
|
|
5791
|
+
def InternationalNumberPrefix(self, InternationalNumberPrefix):
|
|
5792
|
+
self._InternationalNumberPrefix = InternationalNumberPrefix
|
|
5793
|
+
|
|
5752
5794
|
|
|
5753
5795
|
def _deserialize(self, params):
|
|
5754
5796
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -5762,6 +5804,9 @@ class CreateOwnNumberApplyRequest(AbstractModel):
|
|
|
5762
5804
|
self._Prefix = params.get("Prefix")
|
|
5763
5805
|
self._MobileNddPrefix = params.get("MobileNddPrefix")
|
|
5764
5806
|
self._LocalNumberTrimAC = params.get("LocalNumberTrimAC")
|
|
5807
|
+
self._CalleeFormatPassthrough = params.get("CalleeFormatPassthrough")
|
|
5808
|
+
self._CallerFormatPassthrough = params.get("CallerFormatPassthrough")
|
|
5809
|
+
self._InternationalNumberPrefix = params.get("InternationalNumberPrefix")
|
|
5765
5810
|
memeber_set = set(params.keys())
|
|
5766
5811
|
for name, value in vars(self).items():
|
|
5767
5812
|
property_name = name[1:]
|
|
@@ -14755,6 +14800,12 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
|
|
|
14755
14800
|
:type MobileNddPrefix: str
|
|
14756
14801
|
:param _LocalNumberTrimAC: 同市固话去掉区号
|
|
14757
14802
|
:type LocalNumberTrimAC: bool
|
|
14803
|
+
:param _CalleeFormatPassthrough: 被叫格式透传 (完成透传用户输入,不做处理)
|
|
14804
|
+
:type CalleeFormatPassthrough: bool
|
|
14805
|
+
:param _CallerFormatPassthrough: 主叫格式透传 (完成透传用户输入,不做处理)
|
|
14806
|
+
:type CallerFormatPassthrough: bool
|
|
14807
|
+
:param _InternationalNumberPrefix: 国际长途前缀码
|
|
14808
|
+
:type InternationalNumberPrefix: str
|
|
14758
14809
|
"""
|
|
14759
14810
|
self._SdkAppId = None
|
|
14760
14811
|
self._DetailList = None
|
|
@@ -14762,6 +14813,9 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
|
|
|
14762
14813
|
self._Prefix = None
|
|
14763
14814
|
self._MobileNddPrefix = None
|
|
14764
14815
|
self._LocalNumberTrimAC = None
|
|
14816
|
+
self._CalleeFormatPassthrough = None
|
|
14817
|
+
self._CallerFormatPassthrough = None
|
|
14818
|
+
self._InternationalNumberPrefix = None
|
|
14765
14819
|
|
|
14766
14820
|
@property
|
|
14767
14821
|
def SdkAppId(self):
|
|
@@ -14829,6 +14883,39 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
|
|
|
14829
14883
|
def LocalNumberTrimAC(self, LocalNumberTrimAC):
|
|
14830
14884
|
self._LocalNumberTrimAC = LocalNumberTrimAC
|
|
14831
14885
|
|
|
14886
|
+
@property
|
|
14887
|
+
def CalleeFormatPassthrough(self):
|
|
14888
|
+
r"""被叫格式透传 (完成透传用户输入,不做处理)
|
|
14889
|
+
:rtype: bool
|
|
14890
|
+
"""
|
|
14891
|
+
return self._CalleeFormatPassthrough
|
|
14892
|
+
|
|
14893
|
+
@CalleeFormatPassthrough.setter
|
|
14894
|
+
def CalleeFormatPassthrough(self, CalleeFormatPassthrough):
|
|
14895
|
+
self._CalleeFormatPassthrough = CalleeFormatPassthrough
|
|
14896
|
+
|
|
14897
|
+
@property
|
|
14898
|
+
def CallerFormatPassthrough(self):
|
|
14899
|
+
r"""主叫格式透传 (完成透传用户输入,不做处理)
|
|
14900
|
+
:rtype: bool
|
|
14901
|
+
"""
|
|
14902
|
+
return self._CallerFormatPassthrough
|
|
14903
|
+
|
|
14904
|
+
@CallerFormatPassthrough.setter
|
|
14905
|
+
def CallerFormatPassthrough(self, CallerFormatPassthrough):
|
|
14906
|
+
self._CallerFormatPassthrough = CallerFormatPassthrough
|
|
14907
|
+
|
|
14908
|
+
@property
|
|
14909
|
+
def InternationalNumberPrefix(self):
|
|
14910
|
+
r"""国际长途前缀码
|
|
14911
|
+
:rtype: str
|
|
14912
|
+
"""
|
|
14913
|
+
return self._InternationalNumberPrefix
|
|
14914
|
+
|
|
14915
|
+
@InternationalNumberPrefix.setter
|
|
14916
|
+
def InternationalNumberPrefix(self, InternationalNumberPrefix):
|
|
14917
|
+
self._InternationalNumberPrefix = InternationalNumberPrefix
|
|
14918
|
+
|
|
14832
14919
|
|
|
14833
14920
|
def _deserialize(self, params):
|
|
14834
14921
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -14842,6 +14929,9 @@ class ModifyOwnNumberApplyRequest(AbstractModel):
|
|
|
14842
14929
|
self._Prefix = params.get("Prefix")
|
|
14843
14930
|
self._MobileNddPrefix = params.get("MobileNddPrefix")
|
|
14844
14931
|
self._LocalNumberTrimAC = params.get("LocalNumberTrimAC")
|
|
14932
|
+
self._CalleeFormatPassthrough = params.get("CalleeFormatPassthrough")
|
|
14933
|
+
self._CallerFormatPassthrough = params.get("CallerFormatPassthrough")
|
|
14934
|
+
self._InternationalNumberPrefix = params.get("InternationalNumberPrefix")
|
|
14845
14935
|
memeber_set = set(params.keys())
|
|
14846
14936
|
for name, value in vars(self).items():
|
|
14847
14937
|
property_name = name[1:]
|
|
@@ -1981,6 +1981,29 @@ class CynosdbClient(AbstractClient):
|
|
|
1981
1981
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1982
1982
|
|
|
1983
1983
|
|
|
1984
|
+
def DescribeInstanceSpecsByOperationType(self, request):
|
|
1985
|
+
r"""根据操作类型查询实例规格
|
|
1986
|
+
|
|
1987
|
+
:param request: Request instance for DescribeInstanceSpecsByOperationType.
|
|
1988
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceSpecsByOperationTypeRequest`
|
|
1989
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceSpecsByOperationTypeResponse`
|
|
1990
|
+
|
|
1991
|
+
"""
|
|
1992
|
+
try:
|
|
1993
|
+
params = request._serialize()
|
|
1994
|
+
headers = request.headers
|
|
1995
|
+
body = self.call("DescribeInstanceSpecsByOperationType", params, headers=headers)
|
|
1996
|
+
response = json.loads(body)
|
|
1997
|
+
model = models.DescribeInstanceSpecsByOperationTypeResponse()
|
|
1998
|
+
model._deserialize(response["Response"])
|
|
1999
|
+
return model
|
|
2000
|
+
except Exception as e:
|
|
2001
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2002
|
+
raise
|
|
2003
|
+
else:
|
|
2004
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2005
|
+
|
|
2006
|
+
|
|
1984
2007
|
def DescribeInstances(self, request):
|
|
1985
2008
|
r"""本接口(DescribeInstances)用于查询实例列表。
|
|
1986
2009
|
|
|
@@ -1555,6 +1555,24 @@ class CynosdbClient(AbstractClient):
|
|
|
1555
1555
|
|
|
1556
1556
|
return await self.call_and_deserialize(**kwargs)
|
|
1557
1557
|
|
|
1558
|
+
async def DescribeInstanceSpecsByOperationType(
|
|
1559
|
+
self,
|
|
1560
|
+
request: models.DescribeInstanceSpecsByOperationTypeRequest,
|
|
1561
|
+
opts: Dict = None,
|
|
1562
|
+
) -> models.DescribeInstanceSpecsByOperationTypeResponse:
|
|
1563
|
+
"""
|
|
1564
|
+
根据操作类型查询实例规格
|
|
1565
|
+
"""
|
|
1566
|
+
|
|
1567
|
+
kwargs = {}
|
|
1568
|
+
kwargs["action"] = "DescribeInstanceSpecsByOperationType"
|
|
1569
|
+
kwargs["params"] = request._serialize()
|
|
1570
|
+
kwargs["resp_cls"] = models.DescribeInstanceSpecsByOperationTypeResponse
|
|
1571
|
+
kwargs["headers"] = request.headers
|
|
1572
|
+
kwargs["opts"] = opts or {}
|
|
1573
|
+
|
|
1574
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1575
|
+
|
|
1558
1576
|
async def DescribeInstances(
|
|
1559
1577
|
self,
|
|
1560
1578
|
request: models.DescribeInstancesRequest,
|
|
@@ -302,6 +302,9 @@ OPERATIONDENIED_CLUSTERTASKCONFLICTERROR = 'OperationDenied.ClusterTaskConflictE
|
|
|
302
302
|
# 创建任务失败。{{1}}
|
|
303
303
|
OPERATIONDENIED_CREATETASKANDFLOWERROR = 'OperationDenied.CreateTaskAndFlowError'
|
|
304
304
|
|
|
305
|
+
# 实例内核版本不支持{{1}}
|
|
306
|
+
OPERATIONDENIED_CYNOSDBVERSIONNOTSUPPORTERROR = 'OperationDenied.CynosdbVersionNotSupportError'
|
|
307
|
+
|
|
305
308
|
# 新存储架构多可用区部署功能暂未开放
|
|
306
309
|
OPERATIONDENIED_DISABLENEWSTORAGEMULTIZONEDEPLOYMENTERROR = 'OperationDenied.DisableNewStorageMultiZoneDeploymentError'
|
|
307
310
|
|
|
@@ -796,44 +796,41 @@ class AddInstancesRequest(AbstractModel):
|
|
|
796
796
|
|
|
797
797
|
def __init__(self):
|
|
798
798
|
r"""
|
|
799
|
-
:param _ClusterId:
|
|
799
|
+
:param _ClusterId: <p>集群ID</p>
|
|
800
800
|
:type ClusterId: str
|
|
801
|
-
:param _Cpu: Cpu
|
|
801
|
+
:param _Cpu: <p>Cpu核数</p>
|
|
802
802
|
:type Cpu: int
|
|
803
|
-
:param _Memory:
|
|
803
|
+
:param _Memory: <p>内存,单位为GB</p>
|
|
804
804
|
:type Memory: int
|
|
805
|
-
:param _ReadOnlyCount:
|
|
805
|
+
:param _ReadOnlyCount: <p>新增只读实例数,取值范围为(0,15]</p>
|
|
806
806
|
:type ReadOnlyCount: int
|
|
807
|
-
:param _DeviceType:
|
|
808
|
-
- common:表示通用型
|
|
809
|
-
- exclusive:表示独享型
|
|
807
|
+
:param _DeviceType: <p>实例机器类型,支持值如下:</p><ul><li>common:表示通用型</li><li>exclusive:表示独享型</li></ul>
|
|
810
808
|
:type DeviceType: str
|
|
811
|
-
:param _InstanceGrpId:
|
|
809
|
+
:param _InstanceGrpId: <p>实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。</p>
|
|
812
810
|
:type InstanceGrpId: str
|
|
813
|
-
:param _VpcId:
|
|
811
|
+
:param _VpcId: <p>所属VPC网络ID。</p>
|
|
814
812
|
:type VpcId: str
|
|
815
|
-
:param _SubnetId:
|
|
813
|
+
:param _SubnetId: <p>所属子网ID,如果设置了VpcId,则SubnetId必填。</p>
|
|
816
814
|
:type SubnetId: str
|
|
817
|
-
:param _Port:
|
|
815
|
+
:param _Port: <p>新增RO组时使用的Port,取值范围为[0,65535)</p>
|
|
818
816
|
:type Port: int
|
|
819
|
-
:param _InstanceName:
|
|
817
|
+
:param _InstanceName: <p>实例名称,字符串长度范围为[0,64),取值范围为大小写字母,0-9数字,'_','-','.'</p>
|
|
820
818
|
:type InstanceName: str
|
|
821
|
-
:param _AutoVoucher:
|
|
819
|
+
:param _AutoVoucher: <p>是否自动选择代金券 1是 0否 默认为0</p>
|
|
822
820
|
:type AutoVoucher: int
|
|
823
|
-
:param _DbType:
|
|
824
|
-
<li> MYSQL </li>
|
|
821
|
+
:param _DbType: <p>数据库类型,取值范围: </p><li> MYSQL </li>
|
|
825
822
|
:type DbType: str
|
|
826
|
-
:param _OrderSource:
|
|
823
|
+
:param _OrderSource: <p>订单来源,字符串长度范围为[0,64)</p>
|
|
827
824
|
:type OrderSource: str
|
|
828
|
-
:param _DealMode:
|
|
825
|
+
:param _DealMode: <p>交易模式 0-下单并支付 1-下单</p>
|
|
829
826
|
:type DealMode: int
|
|
830
|
-
:param _ParamTemplateId:
|
|
827
|
+
:param _ParamTemplateId: <p>参数模板ID</p>
|
|
831
828
|
:type ParamTemplateId: int
|
|
832
|
-
:param _InstanceParams:
|
|
829
|
+
:param _InstanceParams: <p>参数列表,ParamTemplateId 传入时InstanceParams才有效</p>
|
|
833
830
|
:type InstanceParams: list of ModifyParamItem
|
|
834
|
-
:param _SecurityGroupIds:
|
|
831
|
+
:param _SecurityGroupIds: <p>安全组ID,新建只读实例时可以指定安全组。</p>
|
|
835
832
|
:type SecurityGroupIds: list of str
|
|
836
|
-
:param _UpgradeProxy: proxy
|
|
833
|
+
:param _UpgradeProxy: <p>proxy同步升级</p>
|
|
837
834
|
:type UpgradeProxy: :class:`tencentcloud.cynosdb.v20190107.models.UpgradeProxy`
|
|
838
835
|
"""
|
|
839
836
|
self._ClusterId = None
|
|
@@ -857,7 +854,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
857
854
|
|
|
858
855
|
@property
|
|
859
856
|
def ClusterId(self):
|
|
860
|
-
r"""
|
|
857
|
+
r"""<p>集群ID</p>
|
|
861
858
|
:rtype: str
|
|
862
859
|
"""
|
|
863
860
|
return self._ClusterId
|
|
@@ -868,7 +865,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
868
865
|
|
|
869
866
|
@property
|
|
870
867
|
def Cpu(self):
|
|
871
|
-
r"""Cpu
|
|
868
|
+
r"""<p>Cpu核数</p>
|
|
872
869
|
:rtype: int
|
|
873
870
|
"""
|
|
874
871
|
return self._Cpu
|
|
@@ -879,7 +876,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
879
876
|
|
|
880
877
|
@property
|
|
881
878
|
def Memory(self):
|
|
882
|
-
r"""
|
|
879
|
+
r"""<p>内存,单位为GB</p>
|
|
883
880
|
:rtype: int
|
|
884
881
|
"""
|
|
885
882
|
return self._Memory
|
|
@@ -890,7 +887,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
890
887
|
|
|
891
888
|
@property
|
|
892
889
|
def ReadOnlyCount(self):
|
|
893
|
-
r"""
|
|
890
|
+
r"""<p>新增只读实例数,取值范围为(0,15]</p>
|
|
894
891
|
:rtype: int
|
|
895
892
|
"""
|
|
896
893
|
return self._ReadOnlyCount
|
|
@@ -901,9 +898,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
901
898
|
|
|
902
899
|
@property
|
|
903
900
|
def DeviceType(self):
|
|
904
|
-
r"""
|
|
905
|
-
- common:表示通用型
|
|
906
|
-
- exclusive:表示独享型
|
|
901
|
+
r"""<p>实例机器类型,支持值如下:</p><ul><li>common:表示通用型</li><li>exclusive:表示独享型</li></ul>
|
|
907
902
|
:rtype: str
|
|
908
903
|
"""
|
|
909
904
|
return self._DeviceType
|
|
@@ -916,7 +911,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
916
911
|
def InstanceGrpId(self):
|
|
917
912
|
warnings.warn("parameter `InstanceGrpId` is deprecated", DeprecationWarning)
|
|
918
913
|
|
|
919
|
-
r"""
|
|
914
|
+
r"""<p>实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。</p>
|
|
920
915
|
:rtype: str
|
|
921
916
|
"""
|
|
922
917
|
return self._InstanceGrpId
|
|
@@ -929,7 +924,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
929
924
|
|
|
930
925
|
@property
|
|
931
926
|
def VpcId(self):
|
|
932
|
-
r"""
|
|
927
|
+
r"""<p>所属VPC网络ID。</p>
|
|
933
928
|
:rtype: str
|
|
934
929
|
"""
|
|
935
930
|
return self._VpcId
|
|
@@ -940,7 +935,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
940
935
|
|
|
941
936
|
@property
|
|
942
937
|
def SubnetId(self):
|
|
943
|
-
r"""
|
|
938
|
+
r"""<p>所属子网ID,如果设置了VpcId,则SubnetId必填。</p>
|
|
944
939
|
:rtype: str
|
|
945
940
|
"""
|
|
946
941
|
return self._SubnetId
|
|
@@ -951,7 +946,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
951
946
|
|
|
952
947
|
@property
|
|
953
948
|
def Port(self):
|
|
954
|
-
r"""
|
|
949
|
+
r"""<p>新增RO组时使用的Port,取值范围为[0,65535)</p>
|
|
955
950
|
:rtype: int
|
|
956
951
|
"""
|
|
957
952
|
return self._Port
|
|
@@ -962,7 +957,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
962
957
|
|
|
963
958
|
@property
|
|
964
959
|
def InstanceName(self):
|
|
965
|
-
r"""
|
|
960
|
+
r"""<p>实例名称,字符串长度范围为[0,64),取值范围为大小写字母,0-9数字,'_','-','.'</p>
|
|
966
961
|
:rtype: str
|
|
967
962
|
"""
|
|
968
963
|
return self._InstanceName
|
|
@@ -973,7 +968,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
973
968
|
|
|
974
969
|
@property
|
|
975
970
|
def AutoVoucher(self):
|
|
976
|
-
r"""
|
|
971
|
+
r"""<p>是否自动选择代金券 1是 0否 默认为0</p>
|
|
977
972
|
:rtype: int
|
|
978
973
|
"""
|
|
979
974
|
return self._AutoVoucher
|
|
@@ -984,8 +979,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
984
979
|
|
|
985
980
|
@property
|
|
986
981
|
def DbType(self):
|
|
987
|
-
r"""
|
|
988
|
-
<li> MYSQL </li>
|
|
982
|
+
r"""<p>数据库类型,取值范围: </p><li> MYSQL </li>
|
|
989
983
|
:rtype: str
|
|
990
984
|
"""
|
|
991
985
|
return self._DbType
|
|
@@ -996,7 +990,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
996
990
|
|
|
997
991
|
@property
|
|
998
992
|
def OrderSource(self):
|
|
999
|
-
r"""
|
|
993
|
+
r"""<p>订单来源,字符串长度范围为[0,64)</p>
|
|
1000
994
|
:rtype: str
|
|
1001
995
|
"""
|
|
1002
996
|
return self._OrderSource
|
|
@@ -1007,7 +1001,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
1007
1001
|
|
|
1008
1002
|
@property
|
|
1009
1003
|
def DealMode(self):
|
|
1010
|
-
r"""
|
|
1004
|
+
r"""<p>交易模式 0-下单并支付 1-下单</p>
|
|
1011
1005
|
:rtype: int
|
|
1012
1006
|
"""
|
|
1013
1007
|
return self._DealMode
|
|
@@ -1018,7 +1012,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
1018
1012
|
|
|
1019
1013
|
@property
|
|
1020
1014
|
def ParamTemplateId(self):
|
|
1021
|
-
r"""
|
|
1015
|
+
r"""<p>参数模板ID</p>
|
|
1022
1016
|
:rtype: int
|
|
1023
1017
|
"""
|
|
1024
1018
|
return self._ParamTemplateId
|
|
@@ -1029,7 +1023,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
1029
1023
|
|
|
1030
1024
|
@property
|
|
1031
1025
|
def InstanceParams(self):
|
|
1032
|
-
r"""
|
|
1026
|
+
r"""<p>参数列表,ParamTemplateId 传入时InstanceParams才有效</p>
|
|
1033
1027
|
:rtype: list of ModifyParamItem
|
|
1034
1028
|
"""
|
|
1035
1029
|
return self._InstanceParams
|
|
@@ -1040,7 +1034,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
1040
1034
|
|
|
1041
1035
|
@property
|
|
1042
1036
|
def SecurityGroupIds(self):
|
|
1043
|
-
r"""
|
|
1037
|
+
r"""<p>安全组ID,新建只读实例时可以指定安全组。</p>
|
|
1044
1038
|
:rtype: list of str
|
|
1045
1039
|
"""
|
|
1046
1040
|
return self._SecurityGroupIds
|
|
@@ -1051,7 +1045,7 @@ class AddInstancesRequest(AbstractModel):
|
|
|
1051
1045
|
|
|
1052
1046
|
@property
|
|
1053
1047
|
def UpgradeProxy(self):
|
|
1054
|
-
r"""proxy
|
|
1048
|
+
r"""<p>proxy同步升级</p>
|
|
1055
1049
|
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.UpgradeProxy`
|
|
1056
1050
|
"""
|
|
1057
1051
|
return self._UpgradeProxy
|
|
@@ -1104,13 +1098,13 @@ class AddInstancesResponse(AbstractModel):
|
|
|
1104
1098
|
|
|
1105
1099
|
def __init__(self):
|
|
1106
1100
|
r"""
|
|
1107
|
-
:param _TranId:
|
|
1101
|
+
:param _TranId: <p>冻结流水,一次开通一个冻结流水。</p>
|
|
1108
1102
|
:type TranId: str
|
|
1109
|
-
:param _DealNames:
|
|
1103
|
+
:param _DealNames: <p>付费的订单号。说明:建议您使用 <a href="https://cloud.tencent.com/document/product/1003/52131">DescribeResourcesByDealName</a> 接口查询订单关联实例。</p>
|
|
1110
1104
|
:type DealNames: list of str
|
|
1111
|
-
:param _ResourceIds:
|
|
1105
|
+
:param _ResourceIds: <p>发货资源id列表。</p>
|
|
1112
1106
|
:type ResourceIds: list of str
|
|
1113
|
-
:param _BigDealIds:
|
|
1107
|
+
:param _BigDealIds: <p>大订单号</p>
|
|
1114
1108
|
:type BigDealIds: list of str
|
|
1115
1109
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1116
1110
|
:type RequestId: str
|
|
@@ -1123,7 +1117,7 @@ class AddInstancesResponse(AbstractModel):
|
|
|
1123
1117
|
|
|
1124
1118
|
@property
|
|
1125
1119
|
def TranId(self):
|
|
1126
|
-
r"""
|
|
1120
|
+
r"""<p>冻结流水,一次开通一个冻结流水。</p>
|
|
1127
1121
|
:rtype: str
|
|
1128
1122
|
"""
|
|
1129
1123
|
return self._TranId
|
|
@@ -1134,7 +1128,7 @@ class AddInstancesResponse(AbstractModel):
|
|
|
1134
1128
|
|
|
1135
1129
|
@property
|
|
1136
1130
|
def DealNames(self):
|
|
1137
|
-
r"""
|
|
1131
|
+
r"""<p>付费的订单号。说明:建议您使用 <a href="https://cloud.tencent.com/document/product/1003/52131">DescribeResourcesByDealName</a> 接口查询订单关联实例。</p>
|
|
1138
1132
|
:rtype: list of str
|
|
1139
1133
|
"""
|
|
1140
1134
|
return self._DealNames
|
|
@@ -1145,18 +1139,22 @@ class AddInstancesResponse(AbstractModel):
|
|
|
1145
1139
|
|
|
1146
1140
|
@property
|
|
1147
1141
|
def ResourceIds(self):
|
|
1148
|
-
|
|
1142
|
+
warnings.warn("parameter `ResourceIds` is deprecated", DeprecationWarning)
|
|
1143
|
+
|
|
1144
|
+
r"""<p>发货资源id列表。</p>
|
|
1149
1145
|
:rtype: list of str
|
|
1150
1146
|
"""
|
|
1151
1147
|
return self._ResourceIds
|
|
1152
1148
|
|
|
1153
1149
|
@ResourceIds.setter
|
|
1154
1150
|
def ResourceIds(self, ResourceIds):
|
|
1151
|
+
warnings.warn("parameter `ResourceIds` is deprecated", DeprecationWarning)
|
|
1152
|
+
|
|
1155
1153
|
self._ResourceIds = ResourceIds
|
|
1156
1154
|
|
|
1157
1155
|
@property
|
|
1158
1156
|
def BigDealIds(self):
|
|
1159
|
-
r"""
|
|
1157
|
+
r"""<p>大订单号</p>
|
|
1160
1158
|
:rtype: list of str
|
|
1161
1159
|
"""
|
|
1162
1160
|
return self._BigDealIds
|
|
@@ -22667,6 +22665,139 @@ class DescribeInstanceSlowQueriesResponse(AbstractModel):
|
|
|
22667
22665
|
self._RequestId = params.get("RequestId")
|
|
22668
22666
|
|
|
22669
22667
|
|
|
22668
|
+
class DescribeInstanceSpecsByOperationTypeRequest(AbstractModel):
|
|
22669
|
+
r"""DescribeInstanceSpecsByOperationType请求参数结构体
|
|
22670
|
+
|
|
22671
|
+
"""
|
|
22672
|
+
|
|
22673
|
+
def __init__(self):
|
|
22674
|
+
r"""
|
|
22675
|
+
:param _ClusterId: 集群ID
|
|
22676
|
+
:type ClusterId: str
|
|
22677
|
+
:param _OperationType: 操作类型
|
|
22678
|
+
addROInstance:新增RO实例
|
|
22679
|
+
modifyInstance:变配
|
|
22680
|
+
:type OperationType: str
|
|
22681
|
+
:param _InstanceId: 实例ID,查询变配规格时必传
|
|
22682
|
+
:type InstanceId: str
|
|
22683
|
+
:param _DeviceType: 实例机器类型
|
|
22684
|
+
:type DeviceType: str
|
|
22685
|
+
"""
|
|
22686
|
+
self._ClusterId = None
|
|
22687
|
+
self._OperationType = None
|
|
22688
|
+
self._InstanceId = None
|
|
22689
|
+
self._DeviceType = None
|
|
22690
|
+
|
|
22691
|
+
@property
|
|
22692
|
+
def ClusterId(self):
|
|
22693
|
+
r"""集群ID
|
|
22694
|
+
:rtype: str
|
|
22695
|
+
"""
|
|
22696
|
+
return self._ClusterId
|
|
22697
|
+
|
|
22698
|
+
@ClusterId.setter
|
|
22699
|
+
def ClusterId(self, ClusterId):
|
|
22700
|
+
self._ClusterId = ClusterId
|
|
22701
|
+
|
|
22702
|
+
@property
|
|
22703
|
+
def OperationType(self):
|
|
22704
|
+
r"""操作类型
|
|
22705
|
+
addROInstance:新增RO实例
|
|
22706
|
+
modifyInstance:变配
|
|
22707
|
+
:rtype: str
|
|
22708
|
+
"""
|
|
22709
|
+
return self._OperationType
|
|
22710
|
+
|
|
22711
|
+
@OperationType.setter
|
|
22712
|
+
def OperationType(self, OperationType):
|
|
22713
|
+
self._OperationType = OperationType
|
|
22714
|
+
|
|
22715
|
+
@property
|
|
22716
|
+
def InstanceId(self):
|
|
22717
|
+
r"""实例ID,查询变配规格时必传
|
|
22718
|
+
:rtype: str
|
|
22719
|
+
"""
|
|
22720
|
+
return self._InstanceId
|
|
22721
|
+
|
|
22722
|
+
@InstanceId.setter
|
|
22723
|
+
def InstanceId(self, InstanceId):
|
|
22724
|
+
self._InstanceId = InstanceId
|
|
22725
|
+
|
|
22726
|
+
@property
|
|
22727
|
+
def DeviceType(self):
|
|
22728
|
+
r"""实例机器类型
|
|
22729
|
+
:rtype: str
|
|
22730
|
+
"""
|
|
22731
|
+
return self._DeviceType
|
|
22732
|
+
|
|
22733
|
+
@DeviceType.setter
|
|
22734
|
+
def DeviceType(self, DeviceType):
|
|
22735
|
+
self._DeviceType = DeviceType
|
|
22736
|
+
|
|
22737
|
+
|
|
22738
|
+
def _deserialize(self, params):
|
|
22739
|
+
self._ClusterId = params.get("ClusterId")
|
|
22740
|
+
self._OperationType = params.get("OperationType")
|
|
22741
|
+
self._InstanceId = params.get("InstanceId")
|
|
22742
|
+
self._DeviceType = params.get("DeviceType")
|
|
22743
|
+
memeber_set = set(params.keys())
|
|
22744
|
+
for name, value in vars(self).items():
|
|
22745
|
+
property_name = name[1:]
|
|
22746
|
+
if property_name in memeber_set:
|
|
22747
|
+
memeber_set.remove(property_name)
|
|
22748
|
+
if len(memeber_set) > 0:
|
|
22749
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22750
|
+
|
|
22751
|
+
|
|
22752
|
+
|
|
22753
|
+
class DescribeInstanceSpecsByOperationTypeResponse(AbstractModel):
|
|
22754
|
+
r"""DescribeInstanceSpecsByOperationType返回参数结构体
|
|
22755
|
+
|
|
22756
|
+
"""
|
|
22757
|
+
|
|
22758
|
+
def __init__(self):
|
|
22759
|
+
r"""
|
|
22760
|
+
:param _InstanceSpecSet: 实例规格信息
|
|
22761
|
+
:type InstanceSpecSet: list of InstanceSpec
|
|
22762
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22763
|
+
:type RequestId: str
|
|
22764
|
+
"""
|
|
22765
|
+
self._InstanceSpecSet = None
|
|
22766
|
+
self._RequestId = None
|
|
22767
|
+
|
|
22768
|
+
@property
|
|
22769
|
+
def InstanceSpecSet(self):
|
|
22770
|
+
r"""实例规格信息
|
|
22771
|
+
:rtype: list of InstanceSpec
|
|
22772
|
+
"""
|
|
22773
|
+
return self._InstanceSpecSet
|
|
22774
|
+
|
|
22775
|
+
@InstanceSpecSet.setter
|
|
22776
|
+
def InstanceSpecSet(self, InstanceSpecSet):
|
|
22777
|
+
self._InstanceSpecSet = InstanceSpecSet
|
|
22778
|
+
|
|
22779
|
+
@property
|
|
22780
|
+
def RequestId(self):
|
|
22781
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22782
|
+
:rtype: str
|
|
22783
|
+
"""
|
|
22784
|
+
return self._RequestId
|
|
22785
|
+
|
|
22786
|
+
@RequestId.setter
|
|
22787
|
+
def RequestId(self, RequestId):
|
|
22788
|
+
self._RequestId = RequestId
|
|
22789
|
+
|
|
22790
|
+
|
|
22791
|
+
def _deserialize(self, params):
|
|
22792
|
+
if params.get("InstanceSpecSet") is not None:
|
|
22793
|
+
self._InstanceSpecSet = []
|
|
22794
|
+
for item in params.get("InstanceSpecSet"):
|
|
22795
|
+
obj = InstanceSpec()
|
|
22796
|
+
obj._deserialize(item)
|
|
22797
|
+
self._InstanceSpecSet.append(obj)
|
|
22798
|
+
self._RequestId = params.get("RequestId")
|
|
22799
|
+
|
|
22800
|
+
|
|
22670
22801
|
class DescribeInstanceSpecsRequest(AbstractModel):
|
|
22671
22802
|
r"""DescribeInstanceSpecs请求参数结构体
|
|
22672
22803
|
|
|
@@ -28665,9 +28796,12 @@ class DescribeSlaveZonesRequest(AbstractModel):
|
|
|
28665
28796
|
:type Zone: str
|
|
28666
28797
|
:param _OssClusterId: 云架集群ID
|
|
28667
28798
|
:type OssClusterId: int
|
|
28799
|
+
:param _StorageVersion: 存储架构类型。枚举值:1.0/2.0 默认值:1.0
|
|
28800
|
+
:type StorageVersion: str
|
|
28668
28801
|
"""
|
|
28669
28802
|
self._Zone = None
|
|
28670
28803
|
self._OssClusterId = None
|
|
28804
|
+
self._StorageVersion = None
|
|
28671
28805
|
|
|
28672
28806
|
@property
|
|
28673
28807
|
def Zone(self):
|
|
@@ -28691,10 +28825,22 @@ class DescribeSlaveZonesRequest(AbstractModel):
|
|
|
28691
28825
|
def OssClusterId(self, OssClusterId):
|
|
28692
28826
|
self._OssClusterId = OssClusterId
|
|
28693
28827
|
|
|
28828
|
+
@property
|
|
28829
|
+
def StorageVersion(self):
|
|
28830
|
+
r"""存储架构类型。枚举值:1.0/2.0 默认值:1.0
|
|
28831
|
+
:rtype: str
|
|
28832
|
+
"""
|
|
28833
|
+
return self._StorageVersion
|
|
28834
|
+
|
|
28835
|
+
@StorageVersion.setter
|
|
28836
|
+
def StorageVersion(self, StorageVersion):
|
|
28837
|
+
self._StorageVersion = StorageVersion
|
|
28838
|
+
|
|
28694
28839
|
|
|
28695
28840
|
def _deserialize(self, params):
|
|
28696
28841
|
self._Zone = params.get("Zone")
|
|
28697
28842
|
self._OssClusterId = params.get("OssClusterId")
|
|
28843
|
+
self._StorageVersion = params.get("StorageVersion")
|
|
28698
28844
|
memeber_set = set(params.keys())
|
|
28699
28845
|
for name, value in vars(self).items():
|
|
28700
28846
|
property_name = name[1:]
|