Domain name for API request: controlcenter.intl.tencentcloudapi.com.
This API is used to obtain Account Factory system baseline items.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ListAccountFactoryBaselineItems. |
| Version | Yes | String | Common Params. The value used for this API: 2023-01-10. |
| Region | No | String | Common Params. This parameter is not required. |
| Limit | Yes | Integer | Maximum number of returned records. Value range: 0-200. |
| Offset | Yes | Integer | Offset. Value range: greater than or equal to 0. |
| Parameter Name | Type | Description |
|---|---|---|
| BaselineItems | Array of AccountFactoryItem | Account Factory baseline list. 2. TCC-AF_ACCOUNT_NOTIFICATION Message recipientChina site: Field Type Required Default value Valid values and description Subscriptions Object array Yes None Subscription list, recommended not to exceed 50 entries; if exceeded, process in batches, will not be rejected due to the number of entries Subscriptions[].Name String Yes None Single sub-user name; enter an existing sub-user name, otherwise the subscription does not take effect Subscriptions[].ProductId Integer Yes None Product ID, no fixed enumeration, query through DescribeProductIds Subscriptions[].MsgType Integer Yes None Message type ID, no fixed enumeration, query through DescribeFirstSiteMsgType and DescribeSecondMsgType Subscriptions[].Channel Integer Yes None Message delivery channel, bitmask, see the table below for values Subscriptions[].Status String Yes None Only Open or Close; only Open creates a subscription, Close or other values do not take effect Channel bitmask: Channel combination Value International site fields: China site example: International site example:3. TCC-AF_CAM_USER_PASSWORD_POLICY CAM password policyField Type Required Default value Valid values and description MinimumLength Integer Yes None Minimum password length, no fixed enumeration or upper/lower limit specified; whether the value is valid is determined by the CAM password policy MustContain String Yes None Characters that the password must contain, no fixed enumeration or valid character set specified; whether the value is valid is determined by the CAM password policy ForcePasswordChange Integer Yes None Forced password change period, no fixed enumeration or unit specified; whether the value is valid is determined by the CAM password policy ReusePasswordLimit Integer Yes None Password reuse limit, no fixed enumeration or upper/lower limit specified; whether the value is valid is determined by the CAM password policy RetryPasswordLimit Integer Yes None Password retry limit, no fixed enumeration or upper/lower limit specified; whether the value is valid is determined by the CAM password policy OnlyAdminCanResetPassword Integer Yes None Whether only administrators can reset passwords, no fixed enumeration specified; whether the value is valid is determined by the CAM password policy 4. TCC-AF_CAM_USER_SECURITY CAM user security settingsField Type Required Default value Valid values and description DefaultMFASettings Object Yes None Login and operation protection settings DefaultMFASettings.LoginStrategy Integer Yes None 1: enforce verification for all users; 2: depend on individual user settings DefaultMFASettings.ActionStrategy Integer Yes None 1: enforce verification for all users; 2: depend on individual user settings; this baseline item must be set to 2 DefaultMFASettings.LoginDetail String array Yes None Valid options: Stoken, Phone, Wechat, U2FToken, Mail; must include Stoken LoginStatusSettings Object Yes None Session duration settings LoginStatusSettings.SessionTimeout Integer No None Session timeout in seconds; no fixed upper/lower limit specified; whether the value is valid is determined by CAM LoginStatusSettings.IdleSessionTimeout Integer No None Idle session timeout in seconds; no fixed upper/lower limit specified; whether the value is valid is determined by CAM 5. TCC-AF_VPC_SUBNET VPC and subnetField Type Required Default value Valid values and description VpcName String Yes None VPC name, up to 60 bytes CidrBlock String Yes None VPC CIDR block, only addresses within the three private network segments 10.0.0.0/12, 172.16.0.0/12, and 192.168.0.0/16 are supported RegionName String Yes None Region, fill in according to "How to fill in regions, AZs, and dynamic values"; the region of this baseline item is specified by this field Subnets Object array No None Subnet list; if not specified or empty, only the VPC is created, and no subnets are created Subnets[].CidrBlock String Yes None Subnet CIDR block, must be within the range of CidrBlock, and subnet CIDR blocks within the same VPC cannot overlap Subnets[].SubnetName String Yes None Subnet name, up to 60 bytes Subnets[].Zone String Yes None AZ, in the format of ap-guangzhou-2; no fixed enumeration, query through DescribeZones 6. TCC-AF_SECURITY_GROUP Security groupField Type Required Default value Valid values and description GroupName String Yes None Security group name, up to 60 characters GroupDescription String No None Security group description, up to 100 characters Region String Yes None Region, fill in according to "How to fill in regions, AZs, and dynamic values" SecurityGroupPolicySet Object Yes None Security group rule set SecurityGroupPolicySet.Ingress Object array No None Inbound rule list SecurityGroupPolicySet.Egress Object array No None Outbound rule list Ingress[].Protocol, Egress[].Protocol String Yes None TCP, UDP, ICMP, ICMPv6, ALL Ingress[].Port, Egress[].Port String Yes None all, a single port, or a port range (such as 80 or 80-90); must be set to all when Protocol is ALL Ingress[].Action, Egress[].Action String Yes None ACCEPT: allow traffic; DROP: drop traffic Ingress[].CidrBlock, Egress[].CidrBlock String No None IPv4 CIDR block or IP, such as 10.0.0.0/16 or 0.0.0.0/0; mutually exclusive with Ipv6CidrBlock Ingress[].Ipv6CidrBlock, Egress[].Ipv6CidrBlock String No None Not supported yet, do not fill in Ingress[].SecurityGroupId, Egress[].SecurityGroupId String No None Referenced security group ID, in the format of sg-ohuuioma; no fixed enumeration, query through the resource list Ingress[].AddressTemplate.AddressId String No None IP address template ID, in the format of ipm-2uw6ujo6; when using an address template, this field and AddressGroupId must be filled in together Ingress[].AddressTemplate.AddressGroupId String No None IP address group ID, in the format of ipmg-2uw6ujo6; when using an address template, this field and AddressId must be filled in together Ingress[].PolicyDescription, Egress[].PolicyDescription String No None Rule description, no length limit specified; whether the value is valid is determined by the cloud product 7. TCC-AF_PRESET_TAG Preset tagField Type Required Default value Valid values and description TagValuePairs Object array Yes None Tag key-value pair list TagValuePairs[].Key String Yes None Tag key, no fixed length or character restrictions specified; whether the value is valid is determined by the tag service TagValuePairs[].Values String array Yes None List of tag values corresponding to the key; no fixed length or character restrictions specified; whether the value is valid is determined by the tag service Constraint: the total number of entries in the array cannot exceed 30 8. TCC-AF_SHARE_IMAGE Shared imageField Type Required Default value Valid values and description Images Object array Yes None List of images to be shared, no upper limit specified Images[].Region String Yes None Region where the image resides, fill in according to "How to fill in regions, AZs, and dynamic values" Images[].ImageId String Yes None Image ID, in the format of img-gvbnzy6f; no fixed enumeration, query through DescribeImages or the console, the image must be in the available state |
| Total | Integer | Total number. |
| RequestId | String | 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. |
This example shows you how to obtain the account baseline list in the console.
POST / HTTP/1.1
Host: controlcenter.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListAccountFactoryBaselineItems
<Common request parameters>
{
"Limit": 10,
"Offset": 0
}
{
"Response": {
"BaselineItems": [
{
"Classify": "Message",
"ClassifyEn": "Message",
"DependsOn": [
{
"Identifier": "TCC-AF_ACCOUNT_CONTACT",
"Type": "AccountFactorySetUp"
}
],
"Description": "You can set recipients for each message category. For important messages such as account, product, and fault messages, we recommend that you set recipients to avoid missing messages and causing losses.",
"DescriptionEn": "Specify recipients for the notifications of different products. To avoid unexpected losses, we recommend you subscribe to important messages related to accounts, products, and errors.",
"Identifier": "TCC-AF_ACCOUNT_NOTIFICATION",
"Name": "Message Subscription",
"NameEn": "Message subscriptions",
"Required": 0,
"Weight": 8
}
],
"RequestId": "885a87d0-af7d-414a-b128-fd13653387b7",
"Total": 1
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation.ControlCenterNotOpen | Control Center service is not enabled. |
| FailedOperation.DBOperationError | Database operation exception. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan