tencentcloud-sdk-python-controlcenter 3.0.1459__tar.gz → 3.1.214__tar.gz

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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_controlcenter-3.1.214/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/setup.py +2 -1
  3. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud/__init__.py +1 -1
  4. tencentcloud_sdk_python_controlcenter-3.1.214/tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
  5. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud/controlcenter/v20230110/errorcodes.py +6 -0
  6. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud/controlcenter/v20230110/models.py +4 -4
  7. tencentcloud_sdk_python_controlcenter-3.1.214/tencentcloud_sdk_python_controlcenter.egg-info/PKG-INFO +46 -0
  8. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud_sdk_python_controlcenter.egg-info/SOURCES.txt +1 -0
  9. tencentcloud_sdk_python_controlcenter-3.1.214/tencentcloud_sdk_python_controlcenter.egg-info/requires.txt +1 -0
  10. tencentcloud-sdk-python-controlcenter-3.0.1459/PKG-INFO +0 -45
  11. tencentcloud-sdk-python-controlcenter-3.0.1459/tencentcloud_sdk_python_controlcenter.egg-info/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-controlcenter-3.0.1459/tencentcloud_sdk_python_controlcenter.egg-info/requires.txt +0 -1
  13. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/README.rst +0 -0
  14. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/setup.cfg +0 -0
  15. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud/controlcenter/__init__.py +0 -0
  16. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud/controlcenter/v20230110/__init__.py +0 -0
  17. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud/controlcenter/v20230110/controlcenter_client.py +0 -0
  18. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud_sdk_python_controlcenter.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-controlcenter-3.0.1459 → tencentcloud_sdk_python_controlcenter-3.1.214}/tencentcloud_sdk_python_controlcenter.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-controlcenter
3
+ Version: 3.1.214
4
+ Summary: Tencent Cloud Controlcenter SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Controlcenter SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-controlcenter
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common controlcenter
46
+
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-controlcenter',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1459,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.214,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Controlcenter SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.1.214'
@@ -0,0 +1,116 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.controlcenter.v20230110 import models
20
+ from typing import Dict
21
+
22
+
23
+ class ControlcenterClient(AbstractClient):
24
+ _apiVersion = '2023-01-10'
25
+ _endpoint = 'controlcenter.tencentcloudapi.com'
26
+ _service = 'controlcenter'
27
+
28
+ async def BatchApplyAccountBaselines(
29
+ self,
30
+ request: models.BatchApplyAccountBaselinesRequest,
31
+ opts: Dict = None,
32
+ ) -> models.BatchApplyAccountBaselinesResponse:
33
+ """
34
+ 批量对存量账号应用基线
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "BatchApplyAccountBaselines"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.BatchApplyAccountBaselinesResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def GetAccountFactoryBaseline(
47
+ self,
48
+ request: models.GetAccountFactoryBaselineRequest,
49
+ opts: Dict = None,
50
+ ) -> models.GetAccountFactoryBaselineResponse:
51
+ """
52
+ 获取用户基线配置数据
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "GetAccountFactoryBaseline"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.GetAccountFactoryBaselineResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def ListAccountFactoryBaselineItems(
65
+ self,
66
+ request: models.ListAccountFactoryBaselineItemsRequest,
67
+ opts: Dict = None,
68
+ ) -> models.ListAccountFactoryBaselineItemsResponse:
69
+ """
70
+ 获取账号工厂系统基线项
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "ListAccountFactoryBaselineItems"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.ListAccountFactoryBaselineItemsResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def ListDeployStepTasks(
83
+ self,
84
+ request: models.ListDeployStepTasksRequest,
85
+ opts: Dict = None,
86
+ ) -> models.ListDeployStepTasksResponse:
87
+ """
88
+ 获取某个基线项历史应用信息
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "ListDeployStepTasks"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.ListDeployStepTasksResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def UpdateAccountFactoryBaseline(
101
+ self,
102
+ request: models.UpdateAccountFactoryBaselineRequest,
103
+ opts: Dict = None,
104
+ ) -> models.UpdateAccountFactoryBaselineResponse:
105
+ """
106
+ 更新用户当前基线项配置,基线配置会覆盖更新为当前配置。新增基线项时需要将新增的基线配置加到现有配置,删除基线项时需要将删除的基线配置从现有配置移除,然后保存最新基线配置。
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "UpdateAccountFactoryBaseline"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.UpdateAccountFactoryBaselineResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
@@ -17,6 +17,12 @@
17
17
  # 账号工厂必选基线项未配置
18
18
  FAILEDOPERATION_AFREQUIREDITEMNOTSELECT = 'FailedOperation.AFRequiredItemNotSelect'
19
19
 
20
+ # 联系人邮箱未验证。
21
+ FAILEDOPERATION_ACCOUNTFACTORYCONTACTEMAILNOTVERIFY = 'FailedOperation.AccountFactoryContactEmailNotVerify'
22
+
23
+ # 联系人手机未验证。
24
+ FAILEDOPERATION_ACCOUNTFACTORYCONTACTPHONENOTVERIFY = 'FailedOperation.AccountFactoryContactPhoneNotVerify'
25
+
20
26
  # 账号工厂基线项的依赖项未配置
21
27
  FAILEDOPERATION_ACCOUNTFACTORYDEPENDONITEMNOTCONFIG = 'FailedOperation.AccountFactoryDependOnItemNotConfig'
22
28
 
@@ -774,9 +774,9 @@ class ListAccountFactoryBaselineItemsResponse(AbstractModel):
774
774
 
775
775
  def __init__(self):
776
776
  r"""
777
- :param _BaselineItems: 账号工厂基线列表。
777
+ :param _BaselineItems: <p>账号工厂基线列表。<br><strong>1. TCC-AF_ACCOUNT_CONTACT 账号联系人</strong><br>该基线项用于在成员账号下创建消息接收人(联系人)。<br>字段 类型 必填 默认值 取值范围与说明<br>AccountContacts 对象数组 是 无 联系人列表,最多 50 个,不能为空<br>AccountContacts[].Name 字符串 是 无 联系人名称,需为账号中已存在的名称;同一列表内不可重复;无固定格式限制<br>AccountContacts[].CountryCode 字符串 是 无 手机号区号,如 86;无固定枚举<br>AccountContacts[].PhoneNum 字符串 是 无 手机号,需完成验证后方可应用该基线项;格式由验证流程判定,无本地格式限制<br>AccountContacts[].Email 字符串 是 无 邮箱,需完成验证后方可应用该基线项;格式由验证流程判定,无本地格式限制<br>AccountContacts[].Remark 字符串 否 无 备注,无长度限制说明<br><pre><code>{ &quot;AccountContacts&quot;: [ { &quot;Name&quot;: &quot;ops-admin&quot;, &quot;CountryCode&quot;: &quot;86&quot;, &quot;PhoneNum&quot;: &quot;13800***000&quot;, &quot;Email&quot;: &quot;ops@ex***le.com&quot;, &quot;Remark&quot;: &quot;运维联系人&quot; } ]}</code></pre><strong>2. TCC-AF_ACCOUNT_NOTIFICATION 消息接收人</strong><br>国内站:<br>字段 类型 必填 默认值 取值范围与说明<br>Subscriptions 对象数组 是 无 订阅关系列表,建议不超过 50 条;超过时分批处理,不会因条数被拒绝<br>Subscriptions[].Name 字符串 是 无 单个子用户名;请填写已存在的子用户名,否则该条订阅不生效<br>Subscriptions[].ProductId 整数 是 无 产品 ID,无固定枚举,通过 DescribeProductIds 查询<br>Subscriptions[].MsgType 整数 是 无 消息类型 ID,无固定枚举,通过 DescribeFirstSiteMsgType、DescribeSecondMsgType 查询<br>Subscriptions[].Channel 整数 是 无 消息发送通道,位掩码,取值见下表<br>Subscriptions[].Status 字符串 是 无 仅 Open、Close;只有 Open 会建立订阅,Close 或其他值均不生效</p><p>Channel 位掩码:<br>通道 值<br>站内信1<br>邮件 2<br>短信 4<br>微信 8(国际站暂无)<br>语音 16<br>企业微信 32(国际站暂无)</p><p>渠道组合 值<br>站内信+邮件 3<br>站内信+短信 5<br>邮件+短信 6<br>站内信+邮件+短信 7</p><p>国际站字段:<br>字段 类型 必填 默认值 取值范围与说明<br>Subscriptions 对象数组 是 无 订阅关系列表,建议不超过 50 条;超过时分批处理,不会因条数被拒绝<br>Subscriptions[].Name 字符串数组 是 无 子用户名列表;请填写已存在的子用户名,名称会去重<br>Subscriptions[].MsgType 整数 是 无 消息类型 ID,无固定枚举,通过 DescribeFirstSiteMsgType、DescribeSecondMsgType 查询<br>Subscriptions[].Channel 整数 是 无 消息发送通道,位掩码,取值同上表</p><p>国内站示例:<br><pre><code>{ &quot;Subscriptions&quot;: [ { &quot;Name&quot;: &quot;ops-admin&quot;, &quot;ProductId&quot;: 1001, &quot;MsgType&quot;: 2001, &quot;Channel&quot;: 3, &quot;Status&quot;: &quot;Open&quot; } ]}</code></pre>国际站示例:<br><pre><code>{ &quot;Subscriptions&quot;: [ { &quot;Name&quot;: [&quot;ops-admin&quot;, &quot;audit&quot;], &quot;MsgType&quot;: 2001, &quot;Channel&quot;: 6 } ]}</code></pre><strong>3. TCC-AF_CAM_USER_PASSWORD_POLICY CAM 密码策略</strong><br>字段 类型 必填 默认值 取值范围与说明<br>MinimumLength 整数 是 无 密码最小长度,无固定枚举和上下限说明,取值是否有效由 CAM 密码策略判定<br>MustContain 字符串 是 无 密码必须包含的字符,无固定枚举和合法字符集说明,取值是否有效由 CAM 密码策略判定<br>ForcePasswordChange 整数 是 无 强制修改密码周期,无固定枚举和单位说明,取值是否有效由 CAM 密码策略判定<br>ReusePasswordLimit 整数 是 无 密码重复使用限制,无固定枚举和上下限说明,取值是否有效由 CAM 密码策略判定<br>RetryPasswordLimit 整数 是 无 密码重试次数限制,无固定枚举和上下限说明,取值是否有效由 CAM 密码策略判定<br>OnlyAdminCanResetPassword 整数 是 无 是否只允许管理员重置密码,无固定枚举说明,取值是否有效由 CAM 密码策略判定<br><pre><code>{ &quot;MinimumLength&quot;: 19, &quot;MustContain&quot;: &quot;A&quot;, &quot;ForcePasswordChange&quot;: 0, &quot;ReusePasswordLimit&quot;: 2, &quot;RetryPasswordLimit&quot;: 1, &quot;OnlyAdminCanResetPassword&quot;: 0}</code></pre><strong>4. TCC-AF_CAM_USER_SECURITY CAM 用户安全设置</strong><br>字段 类型 必填 默认值 取值范围与说明<br>DefaultMFASettings 对象 是 无 登录与操作保护设置<br>DefaultMFASettings.LoginStrategy 整数 是 无 1 强制所有用户校验;2 依赖用户单独设置项<br>DefaultMFASettings.ActionStrategy 整数 是 无 1 强制所有用户校验;2 依赖用户单独设置项;本基线项必须填写 2<br>DefaultMFASettings.LoginDetail 字符串数组 是 无 可选项:Stoken、Phone、Wechat、U2FToken、Mail;必须包含 Stoken<br>LoginStatusSettings 对象 是 无 会话时长设置<br>LoginStatusSettings.SessionTimeout 整数 否 无 会话超时时间,单位秒;无固定上下限说明,取值是否有效由 CAM 判定<br>LoginStatusSettings.IdleSessionTimeout 整数 否 无 空闲会话超时时间,单位秒;无固定上下限说明,取值是否有效由 CAM 判定<br><pre><code>{ &quot;DefaultMFASettings&quot;: { &quot;LoginStrategy&quot;: 1, &quot;ActionStrategy&quot;: 2, &quot;LoginDetail&quot;: [&quot;Stoken&quot;, &quot;Phone&quot;] }, &quot;LoginStatusSettings&quot;: { &quot;SessionTimeout&quot;: 7200, &quot;IdleSessionTimeout&quot;: 900 }}</code></pre><strong>5. TCC-AF_VPC_SUBNET VPC 与子网</strong><br>字段 类型 必填 默认值 取值范围与说明<br>VpcName 字符串 是 无 VPC 名称,最大 60 字节<br>CidrBlock 字符串 是 无 VPC 网段,仅支持 10.0.0.0/12、172.16.0.0/12、192.168.0.0/16 三个内网网段内的地址<br>RegionName 字符串 是 无 地域,按「地域、可用区与动态取值怎么填」填写;本基线项的地域由此字段指定<br>Subnets 对象数组 否 无 子网列表;不填或为空时只创建 VPC,不创建子网<br>Subnets[].CidrBlock 字符串 是 无 子网网段,须在 CidrBlock 范围内,且同一 VPC 内各子网网段不能重叠<br>Subnets[].SubnetName 字符串 是 无 子网名称,最大 60 字节<br>Subnets[].Zone 字符串 是 无 可用区,形如 ap-guangzhou-2;无固定枚举,通过 DescribeZones 查询<br><pre><code>{ &quot;VpcName&quot;: &quot;af-vpc&quot;, &quot;CidrBlock&quot;: &quot;10.0.0.0/16&quot;, &quot;RegionName&quot;: &quot;ap-guangzhou&quot;, &quot;Subnets&quot;: [ { &quot;CidrBlock&quot;: &quot;10.0.1.0/24&quot;, &quot;SubnetName&quot;: &quot;af-subnet-1&quot;, &quot;Zone&quot;: &quot;ap-guangzhou-2&quot; } ]}</code></pre><strong>6. TCC-AF_SECURITY_GROUP 安全组</strong><br>字段 类型 必填 默认值 取值范围与说明<br>GroupName 字符串 是 无 安全组名称,不超过 60 个字符<br>GroupDescription 字符串 否 无 安全组描述,最多 100 个字符<br>Region 字符串 是 无 地域,按「地域、可用区与动态取值怎么填」填写<br>SecurityGroupPolicySet 对象 是 无 安全组规则集<br>SecurityGroupPolicySet.Ingress 对象数组 否 无 入站规则列表<br>SecurityGroupPolicySet.Egress 对象数组 否 无 出站规则列表<br>Ingress[].Protocol、Egress[].Protocol 字符串 是 无 TCP、UDP、ICMP、ICMPv6、ALL<br>Ingress[].Port、Egress[].Port 字符串 是 无 all、单个端口或端口范围(如 80、80-90);Protocol 为 ALL 时必须填 all<br>Ingress[].Action、Egress[].Action 字符串 是 无 ACCEPT 允许流量;DROP 丢弃流量<br>Ingress[].CidrBlock、Egress[].CidrBlock 字符串 否 无 IPv4 网段或 IP,如 10.0.0.0/16、0.0.0.0/0;与 Ipv6CidrBlock 互斥<br>Ingress[].Ipv6CidrBlock、Egress[].Ipv6CidrBlock 字符串 否 无 暂不支持,请勿填写<br>Ingress[].SecurityGroupId、Egress[].SecurityGroupId 字符串 否 无 引用的安全组 ID,形如 sg-ohuuioma;无固定枚举,由资源列表查询<br>Ingress[].AddressTemplate.AddressId 字符串 否 无 IP 地址模板 ID,形如 ipm-2uw6ujo6;使用地址模板时与 AddressGroupId 需同时填写<br>Ingress[].AddressTemplate.AddressGroupId 字符串 否 无 IP 地址组 ID,形如 ipmg-2uw6ujo6;使用地址模板时与 AddressId 需同时填写<br>Ingress[].PolicyDescription、Egress[].PolicyDescription 字符串 否 无 规则描述,无长度限制说明,取值是否有效由云产品判定<br><pre><code>{ &quot;GroupName&quot;: &quot;af-sg&quot;, &quot;GroupDescription&quot;: &quot;account factory baseline&quot;, &quot;Region&quot;: &quot;ap-guangzhou&quot;, &quot;SecurityGroupPolicySet&quot;: { &quot;Ingress&quot;: [ { &quot;Protocol&quot;: &quot;TCP&quot;, &quot;Port&quot;: &quot;22&quot;, &quot;CidrBlock&quot;: &quot;10.0.0.0/16&quot;, &quot;Action&quot;: &quot;ACCEPT&quot;, &quot;PolicyDescription&quot;: &quot;ssh&quot; }, { &quot;Protocol&quot;: &quot;TCP&quot;, &quot;Port&quot;: &quot;443&quot;, &quot;AddressTemplate&quot;: { &quot;AddressId&quot;: &quot;ipm-2uw6ujo6&quot;, &quot;AddressGroupId&quot;: &quot;ipmg-2uw6ujo6&quot; }, &quot;Action&quot;: &quot;ACCEPT&quot; } ], &quot;Egress&quot;: [ { &quot;Protocol&quot;: &quot;ALL&quot;, &quot;Port&quot;: &quot;all&quot;, &quot;CidrBlock&quot;: &quot;0.0.0.0/0&quot;, &quot;Action&quot;: &quot;ACCEPT&quot;, &quot;PolicyDescription&quot;: &quot;allow all&quot; } ] }}</code></pre><strong>7. TCC-AF_PRESET_TAG 预设标签</strong><br>字段 类型 必填 默认值 取值范围与说明<br>TagValuePairs 对象数组 是 无 标签键值对列表<br>TagValuePairs[].Key 字符串 是 无 标签键,无固定长度和字符限制说明,取值是否有效由标签服务判定<br>TagValuePairs[].Values 字符串数组 是 无 该键对应的标签值列表;无固定长度和字符限制说明,取值是否有效由标签服务判定<br>约束:数组总数不得超过 30 个<br><pre><code>{ &quot;TagValuePairs&quot;: [ { &quot;Key&quot;: &quot;env&quot;, &quot;Values&quot;: [&quot;prod&quot;, &quot;dev&quot;] }, { &quot;Key&quot;: &quot;owner&quot;, &quot;Values&quot;: [&quot;ops&quot;] } ]}</code></pre><strong>8. TCC-AF_SHARE_IMAGE 共享镜像</strong><br>字段 类型 必填 默认值 取值范围与说明<br>Images 对象数组 是 无 待共享的镜像列表,无数量上限说明<br>Images[].Region 字符串 是 无 镜像所在地域,按「地域、可用区与动态取值怎么填」填写<br>Images[].ImageId 字符串 是 无 镜像 ID,形如 img-gvbnzy6f;无固定枚举,通过 DescribeImages 或控制台查询,镜像需处于可用状态<br><pre><code>{ &quot;Images&quot;: [ { &quot;Region&quot;: &quot;ap-guangzhou&quot;, &quot;ImageId&quot;: &quot;img-gvbnzy6f&quot; } ]}</code></pre></p>
778
778
  :type BaselineItems: list of AccountFactoryItem
779
- :param _Total: 总数。
779
+ :param _Total: <p>总数。</p>
780
780
  :type Total: int
781
781
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
782
782
  :type RequestId: str
@@ -787,7 +787,7 @@ class ListAccountFactoryBaselineItemsResponse(AbstractModel):
787
787
 
788
788
  @property
789
789
  def BaselineItems(self):
790
- r"""账号工厂基线列表。
790
+ r"""<p>账号工厂基线列表。<br><strong>1. TCC-AF_ACCOUNT_CONTACT 账号联系人</strong><br>该基线项用于在成员账号下创建消息接收人(联系人)。<br>字段 类型 必填 默认值 取值范围与说明<br>AccountContacts 对象数组 是 无 联系人列表,最多 50 个,不能为空<br>AccountContacts[].Name 字符串 是 无 联系人名称,需为账号中已存在的名称;同一列表内不可重复;无固定格式限制<br>AccountContacts[].CountryCode 字符串 是 无 手机号区号,如 86;无固定枚举<br>AccountContacts[].PhoneNum 字符串 是 无 手机号,需完成验证后方可应用该基线项;格式由验证流程判定,无本地格式限制<br>AccountContacts[].Email 字符串 是 无 邮箱,需完成验证后方可应用该基线项;格式由验证流程判定,无本地格式限制<br>AccountContacts[].Remark 字符串 否 无 备注,无长度限制说明<br><pre><code>{ &quot;AccountContacts&quot;: [ { &quot;Name&quot;: &quot;ops-admin&quot;, &quot;CountryCode&quot;: &quot;86&quot;, &quot;PhoneNum&quot;: &quot;13800***000&quot;, &quot;Email&quot;: &quot;ops@ex***le.com&quot;, &quot;Remark&quot;: &quot;运维联系人&quot; } ]}</code></pre><strong>2. TCC-AF_ACCOUNT_NOTIFICATION 消息接收人</strong><br>国内站:<br>字段 类型 必填 默认值 取值范围与说明<br>Subscriptions 对象数组 是 无 订阅关系列表,建议不超过 50 条;超过时分批处理,不会因条数被拒绝<br>Subscriptions[].Name 字符串 是 无 单个子用户名;请填写已存在的子用户名,否则该条订阅不生效<br>Subscriptions[].ProductId 整数 是 无 产品 ID,无固定枚举,通过 DescribeProductIds 查询<br>Subscriptions[].MsgType 整数 是 无 消息类型 ID,无固定枚举,通过 DescribeFirstSiteMsgType、DescribeSecondMsgType 查询<br>Subscriptions[].Channel 整数 是 无 消息发送通道,位掩码,取值见下表<br>Subscriptions[].Status 字符串 是 无 仅 Open、Close;只有 Open 会建立订阅,Close 或其他值均不生效</p><p>Channel 位掩码:<br>通道 值<br>站内信1<br>邮件 2<br>短信 4<br>微信 8(国际站暂无)<br>语音 16<br>企业微信 32(国际站暂无)</p><p>渠道组合 值<br>站内信+邮件 3<br>站内信+短信 5<br>邮件+短信 6<br>站内信+邮件+短信 7</p><p>国际站字段:<br>字段 类型 必填 默认值 取值范围与说明<br>Subscriptions 对象数组 是 无 订阅关系列表,建议不超过 50 条;超过时分批处理,不会因条数被拒绝<br>Subscriptions[].Name 字符串数组 是 无 子用户名列表;请填写已存在的子用户名,名称会去重<br>Subscriptions[].MsgType 整数 是 无 消息类型 ID,无固定枚举,通过 DescribeFirstSiteMsgType、DescribeSecondMsgType 查询<br>Subscriptions[].Channel 整数 是 无 消息发送通道,位掩码,取值同上表</p><p>国内站示例:<br><pre><code>{ &quot;Subscriptions&quot;: [ { &quot;Name&quot;: &quot;ops-admin&quot;, &quot;ProductId&quot;: 1001, &quot;MsgType&quot;: 2001, &quot;Channel&quot;: 3, &quot;Status&quot;: &quot;Open&quot; } ]}</code></pre>国际站示例:<br><pre><code>{ &quot;Subscriptions&quot;: [ { &quot;Name&quot;: [&quot;ops-admin&quot;, &quot;audit&quot;], &quot;MsgType&quot;: 2001, &quot;Channel&quot;: 6 } ]}</code></pre><strong>3. TCC-AF_CAM_USER_PASSWORD_POLICY CAM 密码策略</strong><br>字段 类型 必填 默认值 取值范围与说明<br>MinimumLength 整数 是 无 密码最小长度,无固定枚举和上下限说明,取值是否有效由 CAM 密码策略判定<br>MustContain 字符串 是 无 密码必须包含的字符,无固定枚举和合法字符集说明,取值是否有效由 CAM 密码策略判定<br>ForcePasswordChange 整数 是 无 强制修改密码周期,无固定枚举和单位说明,取值是否有效由 CAM 密码策略判定<br>ReusePasswordLimit 整数 是 无 密码重复使用限制,无固定枚举和上下限说明,取值是否有效由 CAM 密码策略判定<br>RetryPasswordLimit 整数 是 无 密码重试次数限制,无固定枚举和上下限说明,取值是否有效由 CAM 密码策略判定<br>OnlyAdminCanResetPassword 整数 是 无 是否只允许管理员重置密码,无固定枚举说明,取值是否有效由 CAM 密码策略判定<br><pre><code>{ &quot;MinimumLength&quot;: 19, &quot;MustContain&quot;: &quot;A&quot;, &quot;ForcePasswordChange&quot;: 0, &quot;ReusePasswordLimit&quot;: 2, &quot;RetryPasswordLimit&quot;: 1, &quot;OnlyAdminCanResetPassword&quot;: 0}</code></pre><strong>4. TCC-AF_CAM_USER_SECURITY CAM 用户安全设置</strong><br>字段 类型 必填 默认值 取值范围与说明<br>DefaultMFASettings 对象 是 无 登录与操作保护设置<br>DefaultMFASettings.LoginStrategy 整数 是 无 1 强制所有用户校验;2 依赖用户单独设置项<br>DefaultMFASettings.ActionStrategy 整数 是 无 1 强制所有用户校验;2 依赖用户单独设置项;本基线项必须填写 2<br>DefaultMFASettings.LoginDetail 字符串数组 是 无 可选项:Stoken、Phone、Wechat、U2FToken、Mail;必须包含 Stoken<br>LoginStatusSettings 对象 是 无 会话时长设置<br>LoginStatusSettings.SessionTimeout 整数 否 无 会话超时时间,单位秒;无固定上下限说明,取值是否有效由 CAM 判定<br>LoginStatusSettings.IdleSessionTimeout 整数 否 无 空闲会话超时时间,单位秒;无固定上下限说明,取值是否有效由 CAM 判定<br><pre><code>{ &quot;DefaultMFASettings&quot;: { &quot;LoginStrategy&quot;: 1, &quot;ActionStrategy&quot;: 2, &quot;LoginDetail&quot;: [&quot;Stoken&quot;, &quot;Phone&quot;] }, &quot;LoginStatusSettings&quot;: { &quot;SessionTimeout&quot;: 7200, &quot;IdleSessionTimeout&quot;: 900 }}</code></pre><strong>5. TCC-AF_VPC_SUBNET VPC 与子网</strong><br>字段 类型 必填 默认值 取值范围与说明<br>VpcName 字符串 是 无 VPC 名称,最大 60 字节<br>CidrBlock 字符串 是 无 VPC 网段,仅支持 10.0.0.0/12、172.16.0.0/12、192.168.0.0/16 三个内网网段内的地址<br>RegionName 字符串 是 无 地域,按「地域、可用区与动态取值怎么填」填写;本基线项的地域由此字段指定<br>Subnets 对象数组 否 无 子网列表;不填或为空时只创建 VPC,不创建子网<br>Subnets[].CidrBlock 字符串 是 无 子网网段,须在 CidrBlock 范围内,且同一 VPC 内各子网网段不能重叠<br>Subnets[].SubnetName 字符串 是 无 子网名称,最大 60 字节<br>Subnets[].Zone 字符串 是 无 可用区,形如 ap-guangzhou-2;无固定枚举,通过 DescribeZones 查询<br><pre><code>{ &quot;VpcName&quot;: &quot;af-vpc&quot;, &quot;CidrBlock&quot;: &quot;10.0.0.0/16&quot;, &quot;RegionName&quot;: &quot;ap-guangzhou&quot;, &quot;Subnets&quot;: [ { &quot;CidrBlock&quot;: &quot;10.0.1.0/24&quot;, &quot;SubnetName&quot;: &quot;af-subnet-1&quot;, &quot;Zone&quot;: &quot;ap-guangzhou-2&quot; } ]}</code></pre><strong>6. TCC-AF_SECURITY_GROUP 安全组</strong><br>字段 类型 必填 默认值 取值范围与说明<br>GroupName 字符串 是 无 安全组名称,不超过 60 个字符<br>GroupDescription 字符串 否 无 安全组描述,最多 100 个字符<br>Region 字符串 是 无 地域,按「地域、可用区与动态取值怎么填」填写<br>SecurityGroupPolicySet 对象 是 无 安全组规则集<br>SecurityGroupPolicySet.Ingress 对象数组 否 无 入站规则列表<br>SecurityGroupPolicySet.Egress 对象数组 否 无 出站规则列表<br>Ingress[].Protocol、Egress[].Protocol 字符串 是 无 TCP、UDP、ICMP、ICMPv6、ALL<br>Ingress[].Port、Egress[].Port 字符串 是 无 all、单个端口或端口范围(如 80、80-90);Protocol 为 ALL 时必须填 all<br>Ingress[].Action、Egress[].Action 字符串 是 无 ACCEPT 允许流量;DROP 丢弃流量<br>Ingress[].CidrBlock、Egress[].CidrBlock 字符串 否 无 IPv4 网段或 IP,如 10.0.0.0/16、0.0.0.0/0;与 Ipv6CidrBlock 互斥<br>Ingress[].Ipv6CidrBlock、Egress[].Ipv6CidrBlock 字符串 否 无 暂不支持,请勿填写<br>Ingress[].SecurityGroupId、Egress[].SecurityGroupId 字符串 否 无 引用的安全组 ID,形如 sg-ohuuioma;无固定枚举,由资源列表查询<br>Ingress[].AddressTemplate.AddressId 字符串 否 无 IP 地址模板 ID,形如 ipm-2uw6ujo6;使用地址模板时与 AddressGroupId 需同时填写<br>Ingress[].AddressTemplate.AddressGroupId 字符串 否 无 IP 地址组 ID,形如 ipmg-2uw6ujo6;使用地址模板时与 AddressId 需同时填写<br>Ingress[].PolicyDescription、Egress[].PolicyDescription 字符串 否 无 规则描述,无长度限制说明,取值是否有效由云产品判定<br><pre><code>{ &quot;GroupName&quot;: &quot;af-sg&quot;, &quot;GroupDescription&quot;: &quot;account factory baseline&quot;, &quot;Region&quot;: &quot;ap-guangzhou&quot;, &quot;SecurityGroupPolicySet&quot;: { &quot;Ingress&quot;: [ { &quot;Protocol&quot;: &quot;TCP&quot;, &quot;Port&quot;: &quot;22&quot;, &quot;CidrBlock&quot;: &quot;10.0.0.0/16&quot;, &quot;Action&quot;: &quot;ACCEPT&quot;, &quot;PolicyDescription&quot;: &quot;ssh&quot; }, { &quot;Protocol&quot;: &quot;TCP&quot;, &quot;Port&quot;: &quot;443&quot;, &quot;AddressTemplate&quot;: { &quot;AddressId&quot;: &quot;ipm-2uw6ujo6&quot;, &quot;AddressGroupId&quot;: &quot;ipmg-2uw6ujo6&quot; }, &quot;Action&quot;: &quot;ACCEPT&quot; } ], &quot;Egress&quot;: [ { &quot;Protocol&quot;: &quot;ALL&quot;, &quot;Port&quot;: &quot;all&quot;, &quot;CidrBlock&quot;: &quot;0.0.0.0/0&quot;, &quot;Action&quot;: &quot;ACCEPT&quot;, &quot;PolicyDescription&quot;: &quot;allow all&quot; } ] }}</code></pre><strong>7. TCC-AF_PRESET_TAG 预设标签</strong><br>字段 类型 必填 默认值 取值范围与说明<br>TagValuePairs 对象数组 是 无 标签键值对列表<br>TagValuePairs[].Key 字符串 是 无 标签键,无固定长度和字符限制说明,取值是否有效由标签服务判定<br>TagValuePairs[].Values 字符串数组 是 无 该键对应的标签值列表;无固定长度和字符限制说明,取值是否有效由标签服务判定<br>约束:数组总数不得超过 30 个<br><pre><code>{ &quot;TagValuePairs&quot;: [ { &quot;Key&quot;: &quot;env&quot;, &quot;Values&quot;: [&quot;prod&quot;, &quot;dev&quot;] }, { &quot;Key&quot;: &quot;owner&quot;, &quot;Values&quot;: [&quot;ops&quot;] } ]}</code></pre><strong>8. TCC-AF_SHARE_IMAGE 共享镜像</strong><br>字段 类型 必填 默认值 取值范围与说明<br>Images 对象数组 是 无 待共享的镜像列表,无数量上限说明<br>Images[].Region 字符串 是 无 镜像所在地域,按「地域、可用区与动态取值怎么填」填写<br>Images[].ImageId 字符串 是 无 镜像 ID,形如 img-gvbnzy6f;无固定枚举,通过 DescribeImages 或控制台查询,镜像需处于可用状态<br><pre><code>{ &quot;Images&quot;: [ { &quot;Region&quot;: &quot;ap-guangzhou&quot;, &quot;ImageId&quot;: &quot;img-gvbnzy6f&quot; } ]}</code></pre></p>
791
791
  :rtype: list of AccountFactoryItem
792
792
  """
793
793
  return self._BaselineItems
@@ -798,7 +798,7 @@ class ListAccountFactoryBaselineItemsResponse(AbstractModel):
798
798
 
799
799
  @property
800
800
  def Total(self):
801
- r"""总数。
801
+ r"""<p>总数。</p>
802
802
  :rtype: int
803
803
  """
804
804
  return self._Total
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-controlcenter
3
+ Version: 3.1.214
4
+ Summary: Tencent Cloud Controlcenter SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.214
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Controlcenter SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-controlcenter
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common controlcenter
46
+
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
5
5
  tencentcloud/controlcenter/__init__.py
6
6
  tencentcloud/controlcenter/v20230110/__init__.py
7
7
  tencentcloud/controlcenter/v20230110/controlcenter_client.py
8
+ tencentcloud/controlcenter/v20230110/controlcenter_client_async.py
8
9
  tencentcloud/controlcenter/v20230110/errorcodes.py
9
10
  tencentcloud/controlcenter/v20230110/models.py
10
11
  tencentcloud_sdk_python_controlcenter.egg-info/PKG-INFO
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.214
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-controlcenter
3
- Version: 3.0.1459
4
- Summary: Tencent Cloud Controlcenter SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Controlcenter SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-controlcenter
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common controlcenter
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-controlcenter
3
- Version: 3.0.1459
4
- Summary: Tencent Cloud Controlcenter SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Controlcenter SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-controlcenter
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common controlcenter
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1459