tencentcloud-sdk-python 3.0.1209__py2.py3-none-any.whl → 3.0.1211__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/aiart/v20221229/models.py +0 -2
- tencentcloud/billing/v20180709/models.py +155 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/es/v20180416/es_client.py +1 -0
- tencentcloud/es/v20180416/models.py +126 -1
- tencentcloud/ess/v20201111/ess_client.py +30 -0
- tencentcloud/ess/v20201111/models.py +150 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +29 -0
- tencentcloud/essbasic/v20210526/models.py +134 -0
- tencentcloud/faceid/v20180301/models.py +2 -0
- tencentcloud/live/v20180801/models.py +2 -10
- tencentcloud/mongodb/v20180408/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +59 -40
- tencentcloud/ms/v20180408/ms_client.py +69 -23
- tencentcloud/ocr/v20181119/models.py +15 -3
- tencentcloud/organization/v20210331/errorcodes.py +231 -0
- tencentcloud/organization/v20210331/models.py +12119 -4358
- tencentcloud/organization/v20210331/organization_client.py +1104 -0
- tencentcloud/sms/v20210111/models.py +2 -1
- tencentcloud/tat/v20201028/errorcodes.py +9 -0
- tencentcloud/tat/v20201028/models.py +221 -1
- tencentcloud/tat/v20201028/tat_client.py +23 -0
- tencentcloud/trocket/v20230308/models.py +71 -7
- tencentcloud/vclm/v20240523/errorcodes.py +18 -0
- tencentcloud/vpc/v20170312/models.py +39 -0
- {tencentcloud_sdk_python-3.0.1209.dist-info → tencentcloud_sdk_python-3.0.1211.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1209.dist-info → tencentcloud_sdk_python-3.0.1211.dist-info}/RECORD +32 -32
- {tencentcloud_sdk_python-3.0.1209.dist-info → tencentcloud_sdk_python-3.0.1211.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1209.dist-info → tencentcloud_sdk_python-3.0.1211.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1209.dist-info → tencentcloud_sdk_python-3.0.1211.dist-info}/top_level.txt +0 -0
@@ -2721,6 +2721,156 @@ class CreateBatchCancelFlowUrlResponse(AbstractModel):
|
|
2721
2721
|
self._RequestId = params.get("RequestId")
|
2722
2722
|
|
2723
2723
|
|
2724
|
+
class CreateBatchInitOrganizationUrlRequest(AbstractModel):
|
2725
|
+
"""CreateBatchInitOrganizationUrl请求参数结构体
|
2726
|
+
|
2727
|
+
"""
|
2728
|
+
|
2729
|
+
def __init__(self):
|
2730
|
+
r"""
|
2731
|
+
:param _Operator: 执行本接口操作的员工信息。
|
2732
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
2733
|
+
:type Operator: :class:`tencentcloud.ess.v20201111.models.UserInfo`
|
2734
|
+
:param _OperateTypes: 初始化操作类型
|
2735
|
+
<ul><li>CREATE_SEAL : 创建印章</li>
|
2736
|
+
<li>AUTH_JOIN_ORGANIZATION_GROUP : 加入集团企业</li>
|
2737
|
+
<li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
|
2738
|
+
:type OperateTypes: list of str
|
2739
|
+
:param _OrganizationIds: 批量操作的企业Id列表,最大支持50个
|
2740
|
+
:type OrganizationIds: list of str
|
2741
|
+
:param _Agent: 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
2742
|
+
:type Agent: :class:`tencentcloud.ess.v20201111.models.Agent`
|
2743
|
+
"""
|
2744
|
+
self._Operator = None
|
2745
|
+
self._OperateTypes = None
|
2746
|
+
self._OrganizationIds = None
|
2747
|
+
self._Agent = None
|
2748
|
+
|
2749
|
+
@property
|
2750
|
+
def Operator(self):
|
2751
|
+
return self._Operator
|
2752
|
+
|
2753
|
+
@Operator.setter
|
2754
|
+
def Operator(self, Operator):
|
2755
|
+
self._Operator = Operator
|
2756
|
+
|
2757
|
+
@property
|
2758
|
+
def OperateTypes(self):
|
2759
|
+
return self._OperateTypes
|
2760
|
+
|
2761
|
+
@OperateTypes.setter
|
2762
|
+
def OperateTypes(self, OperateTypes):
|
2763
|
+
self._OperateTypes = OperateTypes
|
2764
|
+
|
2765
|
+
@property
|
2766
|
+
def OrganizationIds(self):
|
2767
|
+
return self._OrganizationIds
|
2768
|
+
|
2769
|
+
@OrganizationIds.setter
|
2770
|
+
def OrganizationIds(self, OrganizationIds):
|
2771
|
+
self._OrganizationIds = OrganizationIds
|
2772
|
+
|
2773
|
+
@property
|
2774
|
+
def Agent(self):
|
2775
|
+
return self._Agent
|
2776
|
+
|
2777
|
+
@Agent.setter
|
2778
|
+
def Agent(self, Agent):
|
2779
|
+
self._Agent = Agent
|
2780
|
+
|
2781
|
+
|
2782
|
+
def _deserialize(self, params):
|
2783
|
+
if params.get("Operator") is not None:
|
2784
|
+
self._Operator = UserInfo()
|
2785
|
+
self._Operator._deserialize(params.get("Operator"))
|
2786
|
+
self._OperateTypes = params.get("OperateTypes")
|
2787
|
+
self._OrganizationIds = params.get("OrganizationIds")
|
2788
|
+
if params.get("Agent") is not None:
|
2789
|
+
self._Agent = Agent()
|
2790
|
+
self._Agent._deserialize(params.get("Agent"))
|
2791
|
+
memeber_set = set(params.keys())
|
2792
|
+
for name, value in vars(self).items():
|
2793
|
+
property_name = name[1:]
|
2794
|
+
if property_name in memeber_set:
|
2795
|
+
memeber_set.remove(property_name)
|
2796
|
+
if len(memeber_set) > 0:
|
2797
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2798
|
+
|
2799
|
+
|
2800
|
+
|
2801
|
+
class CreateBatchInitOrganizationUrlResponse(AbstractModel):
|
2802
|
+
"""CreateBatchInitOrganizationUrl返回参数结构体
|
2803
|
+
|
2804
|
+
"""
|
2805
|
+
|
2806
|
+
def __init__(self):
|
2807
|
+
r"""
|
2808
|
+
:param _MiniAppPath: 小程序路径
|
2809
|
+
:type MiniAppPath: str
|
2810
|
+
:param _OperateLongUrl: 操作长链
|
2811
|
+
:type OperateLongUrl: str
|
2812
|
+
:param _OperateShortUrl: 操作短链
|
2813
|
+
:type OperateShortUrl: str
|
2814
|
+
:param _QRCodeUrl: 操作二维码
|
2815
|
+
:type QRCodeUrl: str
|
2816
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2817
|
+
:type RequestId: str
|
2818
|
+
"""
|
2819
|
+
self._MiniAppPath = None
|
2820
|
+
self._OperateLongUrl = None
|
2821
|
+
self._OperateShortUrl = None
|
2822
|
+
self._QRCodeUrl = None
|
2823
|
+
self._RequestId = None
|
2824
|
+
|
2825
|
+
@property
|
2826
|
+
def MiniAppPath(self):
|
2827
|
+
return self._MiniAppPath
|
2828
|
+
|
2829
|
+
@MiniAppPath.setter
|
2830
|
+
def MiniAppPath(self, MiniAppPath):
|
2831
|
+
self._MiniAppPath = MiniAppPath
|
2832
|
+
|
2833
|
+
@property
|
2834
|
+
def OperateLongUrl(self):
|
2835
|
+
return self._OperateLongUrl
|
2836
|
+
|
2837
|
+
@OperateLongUrl.setter
|
2838
|
+
def OperateLongUrl(self, OperateLongUrl):
|
2839
|
+
self._OperateLongUrl = OperateLongUrl
|
2840
|
+
|
2841
|
+
@property
|
2842
|
+
def OperateShortUrl(self):
|
2843
|
+
return self._OperateShortUrl
|
2844
|
+
|
2845
|
+
@OperateShortUrl.setter
|
2846
|
+
def OperateShortUrl(self, OperateShortUrl):
|
2847
|
+
self._OperateShortUrl = OperateShortUrl
|
2848
|
+
|
2849
|
+
@property
|
2850
|
+
def QRCodeUrl(self):
|
2851
|
+
return self._QRCodeUrl
|
2852
|
+
|
2853
|
+
@QRCodeUrl.setter
|
2854
|
+
def QRCodeUrl(self, QRCodeUrl):
|
2855
|
+
self._QRCodeUrl = QRCodeUrl
|
2856
|
+
|
2857
|
+
@property
|
2858
|
+
def RequestId(self):
|
2859
|
+
return self._RequestId
|
2860
|
+
|
2861
|
+
@RequestId.setter
|
2862
|
+
def RequestId(self, RequestId):
|
2863
|
+
self._RequestId = RequestId
|
2864
|
+
|
2865
|
+
|
2866
|
+
def _deserialize(self, params):
|
2867
|
+
self._MiniAppPath = params.get("MiniAppPath")
|
2868
|
+
self._OperateLongUrl = params.get("OperateLongUrl")
|
2869
|
+
self._OperateShortUrl = params.get("OperateShortUrl")
|
2870
|
+
self._QRCodeUrl = params.get("QRCodeUrl")
|
2871
|
+
self._RequestId = params.get("RequestId")
|
2872
|
+
|
2873
|
+
|
2724
2874
|
class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
2725
2875
|
"""CreateBatchOrganizationRegistrationTasks请求参数结构体
|
2726
2876
|
|
@@ -1499,6 +1499,35 @@ class EssbasicClient(AbstractClient):
|
|
1499
1499
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1500
1500
|
|
1501
1501
|
|
1502
|
+
def CreateBatchInitOrganizationUrl(self, request):
|
1503
|
+
"""支持企业进行批量初始化操作:
|
1504
|
+
|
1505
|
+
此接口存在以下限制:
|
1506
|
+
1. 批量操作的企业需要已经完成电子签的认证流程。
|
1507
|
+
2. 通过此接口生成的链接在小程序端进行操作时,操作人需要是<font color="red">所有企业的超管或法人</font>。
|
1508
|
+
3. 批量操作的企业,需要是本方第三方应用下的企业。
|
1509
|
+
4. <font color="red">操作链接过期时间默认为生成链接后7天。</font>
|
1510
|
+
|
1511
|
+
:param request: Request instance for CreateBatchInitOrganizationUrl.
|
1512
|
+
:type request: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchInitOrganizationUrlRequest`
|
1513
|
+
:rtype: :class:`tencentcloud.essbasic.v20210526.models.CreateBatchInitOrganizationUrlResponse`
|
1514
|
+
|
1515
|
+
"""
|
1516
|
+
try:
|
1517
|
+
params = request._serialize()
|
1518
|
+
headers = request.headers
|
1519
|
+
body = self.call("CreateBatchInitOrganizationUrl", params, headers=headers)
|
1520
|
+
response = json.loads(body)
|
1521
|
+
model = models.CreateBatchInitOrganizationUrlResponse()
|
1522
|
+
model._deserialize(response["Response"])
|
1523
|
+
return model
|
1524
|
+
except Exception as e:
|
1525
|
+
if isinstance(e, TencentCloudSDKException):
|
1526
|
+
raise
|
1527
|
+
else:
|
1528
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1529
|
+
|
1530
|
+
|
1502
1531
|
def CreateBatchOrganizationRegistrationTasks(self, request):
|
1503
1532
|
"""该接口用于批量创建企业认证链接, 可以支持PC浏览器,H5和小程序三种途径。
|
1504
1533
|
此接口为异步提交任务接口,需要与[查询子企业批量认证链接](https://qcloudimg.tencent-cloud.cn/raw/1d3737991b2a3be78002bd78a47d6917.png)配合使用,整体流程如下图。
|
@@ -9618,6 +9618,140 @@ class ComponentLimit(AbstractModel):
|
|
9618
9618
|
|
9619
9619
|
|
9620
9620
|
|
9621
|
+
class CreateBatchInitOrganizationUrlRequest(AbstractModel):
|
9622
|
+
"""CreateBatchInitOrganizationUrl请求参数结构体
|
9623
|
+
|
9624
|
+
"""
|
9625
|
+
|
9626
|
+
def __init__(self):
|
9627
|
+
r"""
|
9628
|
+
:param _Agent: 应用相关信息。 此接口Agent.AppId 必填。
|
9629
|
+
:type Agent: :class:`tencentcloud.essbasic.v20210526.models.Agent`
|
9630
|
+
:param _OperateTypes: 初始化操作类型
|
9631
|
+
<ul><li>CREATE_SEAL : 创建印章</li>
|
9632
|
+
<li>OPEN_AUTO_SIGN :开通企业自动签署</li></ul>
|
9633
|
+
:type OperateTypes: list of str
|
9634
|
+
:param _ProxyOrganizationOpenIds: 批量操作的企业列表在第三方平台的企业Id列表,即ProxyOrganizationOpenId列表,最大支持50个
|
9635
|
+
:type ProxyOrganizationOpenIds: list of str
|
9636
|
+
"""
|
9637
|
+
self._Agent = None
|
9638
|
+
self._OperateTypes = None
|
9639
|
+
self._ProxyOrganizationOpenIds = None
|
9640
|
+
|
9641
|
+
@property
|
9642
|
+
def Agent(self):
|
9643
|
+
return self._Agent
|
9644
|
+
|
9645
|
+
@Agent.setter
|
9646
|
+
def Agent(self, Agent):
|
9647
|
+
self._Agent = Agent
|
9648
|
+
|
9649
|
+
@property
|
9650
|
+
def OperateTypes(self):
|
9651
|
+
return self._OperateTypes
|
9652
|
+
|
9653
|
+
@OperateTypes.setter
|
9654
|
+
def OperateTypes(self, OperateTypes):
|
9655
|
+
self._OperateTypes = OperateTypes
|
9656
|
+
|
9657
|
+
@property
|
9658
|
+
def ProxyOrganizationOpenIds(self):
|
9659
|
+
return self._ProxyOrganizationOpenIds
|
9660
|
+
|
9661
|
+
@ProxyOrganizationOpenIds.setter
|
9662
|
+
def ProxyOrganizationOpenIds(self, ProxyOrganizationOpenIds):
|
9663
|
+
self._ProxyOrganizationOpenIds = ProxyOrganizationOpenIds
|
9664
|
+
|
9665
|
+
|
9666
|
+
def _deserialize(self, params):
|
9667
|
+
if params.get("Agent") is not None:
|
9668
|
+
self._Agent = Agent()
|
9669
|
+
self._Agent._deserialize(params.get("Agent"))
|
9670
|
+
self._OperateTypes = params.get("OperateTypes")
|
9671
|
+
self._ProxyOrganizationOpenIds = params.get("ProxyOrganizationOpenIds")
|
9672
|
+
memeber_set = set(params.keys())
|
9673
|
+
for name, value in vars(self).items():
|
9674
|
+
property_name = name[1:]
|
9675
|
+
if property_name in memeber_set:
|
9676
|
+
memeber_set.remove(property_name)
|
9677
|
+
if len(memeber_set) > 0:
|
9678
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9679
|
+
|
9680
|
+
|
9681
|
+
|
9682
|
+
class CreateBatchInitOrganizationUrlResponse(AbstractModel):
|
9683
|
+
"""CreateBatchInitOrganizationUrl返回参数结构体
|
9684
|
+
|
9685
|
+
"""
|
9686
|
+
|
9687
|
+
def __init__(self):
|
9688
|
+
r"""
|
9689
|
+
:param _MiniAppPath: 小程序路径
|
9690
|
+
:type MiniAppPath: str
|
9691
|
+
:param _OperateLongUrl: 操作长链
|
9692
|
+
:type OperateLongUrl: str
|
9693
|
+
:param _OperateShortUrl: 操作短链
|
9694
|
+
:type OperateShortUrl: str
|
9695
|
+
:param _QRCodeUrl: 操作二维码
|
9696
|
+
:type QRCodeUrl: str
|
9697
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9698
|
+
:type RequestId: str
|
9699
|
+
"""
|
9700
|
+
self._MiniAppPath = None
|
9701
|
+
self._OperateLongUrl = None
|
9702
|
+
self._OperateShortUrl = None
|
9703
|
+
self._QRCodeUrl = None
|
9704
|
+
self._RequestId = None
|
9705
|
+
|
9706
|
+
@property
|
9707
|
+
def MiniAppPath(self):
|
9708
|
+
return self._MiniAppPath
|
9709
|
+
|
9710
|
+
@MiniAppPath.setter
|
9711
|
+
def MiniAppPath(self, MiniAppPath):
|
9712
|
+
self._MiniAppPath = MiniAppPath
|
9713
|
+
|
9714
|
+
@property
|
9715
|
+
def OperateLongUrl(self):
|
9716
|
+
return self._OperateLongUrl
|
9717
|
+
|
9718
|
+
@OperateLongUrl.setter
|
9719
|
+
def OperateLongUrl(self, OperateLongUrl):
|
9720
|
+
self._OperateLongUrl = OperateLongUrl
|
9721
|
+
|
9722
|
+
@property
|
9723
|
+
def OperateShortUrl(self):
|
9724
|
+
return self._OperateShortUrl
|
9725
|
+
|
9726
|
+
@OperateShortUrl.setter
|
9727
|
+
def OperateShortUrl(self, OperateShortUrl):
|
9728
|
+
self._OperateShortUrl = OperateShortUrl
|
9729
|
+
|
9730
|
+
@property
|
9731
|
+
def QRCodeUrl(self):
|
9732
|
+
return self._QRCodeUrl
|
9733
|
+
|
9734
|
+
@QRCodeUrl.setter
|
9735
|
+
def QRCodeUrl(self, QRCodeUrl):
|
9736
|
+
self._QRCodeUrl = QRCodeUrl
|
9737
|
+
|
9738
|
+
@property
|
9739
|
+
def RequestId(self):
|
9740
|
+
return self._RequestId
|
9741
|
+
|
9742
|
+
@RequestId.setter
|
9743
|
+
def RequestId(self, RequestId):
|
9744
|
+
self._RequestId = RequestId
|
9745
|
+
|
9746
|
+
|
9747
|
+
def _deserialize(self, params):
|
9748
|
+
self._MiniAppPath = params.get("MiniAppPath")
|
9749
|
+
self._OperateLongUrl = params.get("OperateLongUrl")
|
9750
|
+
self._OperateShortUrl = params.get("OperateShortUrl")
|
9751
|
+
self._QRCodeUrl = params.get("QRCodeUrl")
|
9752
|
+
self._RequestId = params.get("RequestId")
|
9753
|
+
|
9754
|
+
|
9621
9755
|
class CreateBatchOrganizationRegistrationTasksRequest(AbstractModel):
|
9622
9756
|
"""CreateBatchOrganizationRegistrationTasks请求参数结构体
|
9623
9757
|
|
@@ -314,6 +314,7 @@ class BankCard4EVerificationResponse(AbstractModel):
|
|
314
314
|
'-5': '手机号码不合法'
|
315
315
|
'-18': '验证中心服务繁忙'
|
316
316
|
'-19': '验证次数超限,请次日重试'
|
317
|
+
'-20': '该证件号暂不支持核验,当前仅支持二代身份证'
|
317
318
|
:type Result: str
|
318
319
|
:param _Description: 业务结果描述。
|
319
320
|
:type Description: str
|
@@ -468,6 +469,7 @@ class BankCardVerificationResponse(AbstractModel):
|
|
468
469
|
'-4': '银行卡号码有误'
|
469
470
|
'-17': '验证中心服务繁忙'
|
470
471
|
'-18': '验证次数超限,请次日重试'
|
472
|
+
'-19': '该证件号暂不支持核验,当前仅支持二代身份证'
|
471
473
|
:type Result: str
|
472
474
|
:param _Description: 业务结果描述。
|
473
475
|
:type Description: str
|
@@ -11985,17 +11985,9 @@ class DescribeLiveTimeShiftBillInfoListRequest(AbstractModel):
|
|
11985
11985
|
|
11986
11986
|
def __init__(self):
|
11987
11987
|
r"""
|
11988
|
-
:param _StartTime: UTC
|
11989
|
-
|
11990
|
-
使用 UTC 格式时间,
|
11991
|
-
例如:2019-01-08T10:00:00Z。
|
11992
|
-
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
|
11988
|
+
:param _StartTime: UTC开始时间,支持最近三个月的查询,查询时间最长跨度为一天。使用 UTC 格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
|
11993
11989
|
:type StartTime: str
|
11994
|
-
:param _EndTime: UTC
|
11995
|
-
|
11996
|
-
使用 UTC 格式时间,
|
11997
|
-
例如:2019-01-08T10:00:00Z。
|
11998
|
-
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
|
11990
|
+
:param _EndTime: UTC结束时间,支持最近三个月的查询,查询时间最长跨度为一天。使用 UTC 格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
|
11999
11991
|
:type EndTime: str
|
12000
11992
|
:param _PushDomains: 推流域名列表,若不传递此参数,则表示查询总体数据。
|
12001
11993
|
:type PushDomains: list of str
|
@@ -77,7 +77,7 @@ INVALIDPARAMETERVALUE_REGIONERROR = 'InvalidParameterValue.RegionError'
|
|
77
77
|
# 地域尚不支持查询客户端信息。
|
78
78
|
INVALIDPARAMETERVALUE_REGIONNOTSUPPORTQUERYCLIENT = 'InvalidParameterValue.RegionNotSupportQueryClient'
|
79
79
|
|
80
|
-
# slowMS参数取值范围[100,
|
80
|
+
# slowMS参数取值范围[100,65536]。
|
81
81
|
INVALIDPARAMETERVALUE_SLOWMSBELOWLIMIT = 'InvalidParameterValue.SlowMSBelowLimit'
|
82
82
|
|
83
83
|
# 起始时间晚于结束时间。
|
@@ -170,7 +170,7 @@ INVALIDPARAMETERVALUE_SECURITYGROUPID = 'InvalidParameterValue.SecurityGroupId'
|
|
170
170
|
# 设置的磁盘大小不得低于已用磁盘的1.2倍。
|
171
171
|
INVALIDPARAMETERVALUE_SETDISKLESSTHANUSED = 'InvalidParameterValue.SetDiskLessThanUsed'
|
172
172
|
|
173
|
-
# slowMS参数取值范围[100,
|
173
|
+
# slowMS参数取值范围[100,65536]。
|
174
174
|
INVALIDPARAMETERVALUE_SLOWMSBELOWLIMIT = 'InvalidParameterValue.SlowMSBelowLimit'
|
175
175
|
|
176
176
|
# 购买规格错误。
|
@@ -5219,8 +5219,8 @@ class InquirePriceCreateDBInstancesRequest(AbstractModel):
|
|
5219
5219
|
r"""
|
5220
5220
|
:param _Zone: 实例所属区域及可用区信息。格式:ap-guangzhou-2。
|
5221
5221
|
:type Zone: str
|
5222
|
-
:param _NodeNum:
|
5223
|
-
|
5222
|
+
:param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
5223
|
+
- 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
5224
5224
|
:type NodeNum: int
|
5225
5225
|
:param _Memory: 实例内存大小。
|
5226
5226
|
- 单位:GB。
|
@@ -5231,48 +5231,44 @@ class InquirePriceCreateDBInstancesRequest(AbstractModel):
|
|
5231
5231
|
- 取值范围:请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询,其返回的数据结构SpecItems中的参数MinStorage与MaxStorage分别对应其最小磁盘规格与最大磁盘规格。
|
5232
5232
|
:type Volume: int
|
5233
5233
|
:param _MongoVersion: 实例版本信息。具体支持的版本,请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询,其返回的数据结构SpecItems中的参数MongoVersionCode为实例所支持的版本信息。版本信息与版本号对应关系如下:
|
5234
|
-
- MONGO_3_WT:MongoDB 3.2 WiredTiger存储引擎版本。
|
5235
|
-
- MONGO_3_ROCKS:MongoDB 3.2 RocksDB存储引擎版本。
|
5236
5234
|
- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。
|
5237
5235
|
- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。
|
5238
5236
|
- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
5239
5237
|
- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
|
5240
5238
|
- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
|
5239
|
+
- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
|
5241
5240
|
:type MongoVersion: str
|
5242
|
-
:param _MachineCode:
|
5243
|
-
- HIO
|
5244
|
-
-
|
5241
|
+
:param _MachineCode: 产品规格类型。
|
5242
|
+
- HIO10G:通用高HIO万兆型。
|
5243
|
+
- HCD:云盘版。
|
5245
5244
|
:type MachineCode: str
|
5246
5245
|
:param _GoodsNum: 实例数量,取值范围为[1,10]。
|
5247
5246
|
:type GoodsNum: int
|
5248
5247
|
:param _ClusterType: 实例类型。
|
5249
5248
|
- REPLSET:副本集。
|
5250
5249
|
- SHARD:分片集群。
|
5251
|
-
- STANDALONE:单节点。
|
5252
5250
|
:type ClusterType: str
|
5253
|
-
:param _ReplicateSetNum:
|
5254
|
-
-
|
5255
|
-
- 创建分片集群时,指分片数量,请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
|
5256
|
-
- 若为单节点实例,该参数固定设置为0。
|
5251
|
+
:param _ReplicateSetNum: - 创建副本集实例,指副本集数量,该参数只能为1。
|
5252
|
+
- 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
|
5257
5253
|
:type ReplicateSetNum: int
|
5258
|
-
:param _Period: - 选择包年包月计费模式,即 <b>InstanceChargeType </b>设定为<b>PREPAID</b
|
5254
|
+
:param _Period: - 选择包年包月计费模式,即 <b>InstanceChargeType </b>设定为<b>PREPAID</b>时,必须设置该参数,指定购买实例的购买时长。取值可选:[1,2,3,4,5,6,7,8,9,10,11,12,24,36];单位:月。
|
5259
5255
|
-选择按量计费,即 <b>InstanceChargeType</b> 设定为 **POSTPAID_BY_HOUR** 时,该参数仅可配置为 1。
|
5260
5256
|
:type Period: int
|
5261
5257
|
:param _InstanceChargeType: 实例付费方式。
|
5262
5258
|
- PREPAID:包年包月计费。
|
5263
5259
|
- POSTPAID_BY_HOUR:按量计费。
|
5264
5260
|
:type InstanceChargeType: str
|
5265
|
-
:param _MongosCpu:
|
5261
|
+
:param _MongosCpu: Mongos CPU 核数,支持1、2、4、8、16。购买分片集群时,必须填写。注意为空时取默认取值为2C。
|
5266
5262
|
:type MongosCpu: int
|
5267
|
-
:param _MongosMemory:
|
5263
|
+
:param _MongosMemory: Mongos 内存大小。- 购买分片集群时,必须填写。- 单位:GB,支持1核2GB、2核4GB、4核8GB、8核16GB、16核32GB。注意为空时取默认取值为4G。
|
5268
5264
|
:type MongosMemory: int
|
5269
|
-
:param _MongosNum:
|
5265
|
+
:param _MongosNum: 指 Mongos 个数,取值范围为[3,32]。若为分片集群实例询价,则该参数必须设置。注意为空时取默认取值为3个节点。
|
5270
5266
|
:type MongosNum: int
|
5271
|
-
:param _ConfigServerCpu:
|
5267
|
+
:param _ConfigServerCpu: 指 ConfigServer CPU核数,取值为1,单位:GB。若为分片集群实例询价,该参数必须设置。
|
5272
5268
|
:type ConfigServerCpu: int
|
5273
|
-
:param _ConfigServerMemory:
|
5269
|
+
:param _ConfigServerMemory: 指 ConfigServer 内存大小,取值为2,单位:GB。若为分片集群实例询价,则该参数必须设置。
|
5274
5270
|
:type ConfigServerMemory: int
|
5275
|
-
:param _ConfigServerVolume:
|
5271
|
+
:param _ConfigServerVolume: 指 ConfigServer 磁盘大小,取值为 20,单位:GB。若为分片集群实例询价,则该参数必须设置。
|
5276
5272
|
:type ConfigServerVolume: int
|
5277
5273
|
"""
|
5278
5274
|
self._Zone = None
|
@@ -9478,47 +9474,70 @@ class SpecItem(AbstractModel):
|
|
9478
9474
|
|
9479
9475
|
def __init__(self):
|
9480
9476
|
r"""
|
9481
|
-
:param _SpecCode:
|
9477
|
+
:param _SpecCode: 规格信息标识。格式如:mongo.HIO10G.128g。由节点类型、规格类型、内存规格三部分组成。
|
9478
|
+
- 节点类型,如下所示。
|
9479
|
+
- mongo:Mongod 节点。
|
9480
|
+
- mongos:Mongos 节点。
|
9481
|
+
- cfgstr:Configserver 节点。
|
9482
|
+
- 规格类型,如下所示。
|
9483
|
+
- HIO10G:通用高HIO万兆型。
|
9484
|
+
- HCD:云盘版类型。
|
9485
|
+
- 内存规格,如下所示:
|
9486
|
+
- 支持4、8、16、32、64、128、240、512。
|
9487
|
+
- 单位g:表示GB。128g则表示128GB。
|
9482
9488
|
:type SpecCode: str
|
9483
|
-
:param _Status:
|
9489
|
+
:param _Status: 售卖规格有效标志,取值范围如下:
|
9490
|
+
- 0:停止售卖,
|
9491
|
+
- 1:开放售卖。
|
9484
9492
|
:type Status: int
|
9485
|
-
:param _Cpu:
|
9493
|
+
:param _Cpu: 计算资源规格,CPU核数。
|
9486
9494
|
:type Cpu: int
|
9487
|
-
:param _Memory:
|
9495
|
+
:param _Memory: 内存规格,单位为:MB。
|
9488
9496
|
:type Memory: int
|
9489
|
-
:param _DefaultStorage:
|
9497
|
+
:param _DefaultStorage: 默认磁盘规格,单位为:MB。
|
9490
9498
|
:type DefaultStorage: int
|
9491
|
-
:param _MaxStorage:
|
9499
|
+
:param _MaxStorage: 最大磁盘规格,单位为:MB。
|
9492
9500
|
:type MaxStorage: int
|
9493
|
-
:param _MinStorage:
|
9501
|
+
:param _MinStorage: 最小磁盘规格,单位为:MB。
|
9494
9502
|
:type MinStorage: int
|
9495
|
-
:param _Qps:
|
9503
|
+
:param _Qps: 指每秒最大请求次数,单位为:次/秒。
|
9496
9504
|
:type Qps: int
|
9497
|
-
:param _Conns:
|
9505
|
+
:param _Conns: 规格所支持的最大连接数限制。
|
9498
9506
|
:type Conns: int
|
9499
|
-
:param _MongoVersionCode:
|
9507
|
+
:param _MongoVersionCode: 实例存储引擎版本信息。
|
9508
|
+
- MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本。
|
9509
|
+
- MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本。
|
9510
|
+
- MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
|
9511
|
+
- MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
|
9512
|
+
- MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
|
9513
|
+
- MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
|
9500
9514
|
:type MongoVersionCode: str
|
9501
|
-
:param _MongoVersionValue:
|
9515
|
+
:param _MongoVersionValue: 实例版本对应的数字版本。
|
9502
9516
|
:type MongoVersionValue: int
|
9503
|
-
:param _Version:
|
9517
|
+
:param _Version: 实例版本信息。支持:3.6、4.2、4.4、5.0、6.0。
|
9518
|
+
|
9504
9519
|
:type Version: str
|
9505
|
-
:param _EngineName:
|
9520
|
+
:param _EngineName: 存储引擎。
|
9506
9521
|
:type EngineName: str
|
9507
|
-
:param _ClusterType:
|
9522
|
+
:param _ClusterType: 集群类型,取值如下:
|
9523
|
+
- 1:分片集群。
|
9524
|
+
- 0:副本集集群。
|
9508
9525
|
:type ClusterType: int
|
9509
|
-
:param _MinNodeNum:
|
9526
|
+
:param _MinNodeNum: 每个副本集最小节点数。
|
9510
9527
|
:type MinNodeNum: int
|
9511
|
-
:param _MaxNodeNum:
|
9528
|
+
:param _MaxNodeNum: 每个副本集最大节点数。
|
9512
9529
|
:type MaxNodeNum: int
|
9513
|
-
:param _MinReplicateSetNum:
|
9530
|
+
:param _MinReplicateSetNum: 最小分片数。
|
9514
9531
|
:type MinReplicateSetNum: int
|
9515
|
-
:param _MaxReplicateSetNum:
|
9532
|
+
:param _MaxReplicateSetNum: 最大分片数。
|
9516
9533
|
:type MaxReplicateSetNum: int
|
9517
|
-
:param _MinReplicateSetNodeNum:
|
9534
|
+
:param _MinReplicateSetNodeNum: 每个分片最小节点数。
|
9518
9535
|
:type MinReplicateSetNodeNum: int
|
9519
|
-
:param _MaxReplicateSetNodeNum:
|
9536
|
+
:param _MaxReplicateSetNodeNum: 每个分片最大节点数。
|
9520
9537
|
:type MaxReplicateSetNodeNum: int
|
9521
|
-
:param _MachineType:
|
9538
|
+
:param _MachineType: 集群的规格类型,取值范围如下:
|
9539
|
+
- HIO10G:通用高HIO万兆型。
|
9540
|
+
- HCD:云盘版类型。
|
9522
9541
|
:type MachineType: str
|
9523
9542
|
"""
|
9524
9543
|
self._SpecCode = None
|