Last updated: 2020-12-17 17:00:42
This document is currently invalid. Please refer to the documentation page of the product.

1. API Description

Domain name for API request:

This API is used to get the list of resource configuration items and display resource configuration changes in chronological order.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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 parameter. The value used for this API: GetConfigurationItems.
Version Yes String Common parameter. The value used for this API: 2019-03-19.
Region Yes String Common parameter. For more information, please see the list of regions supported by the product.
ResourceId Yes String Resource ID
ChronologicalOrder No String Chronological order. Valid values: Reverse, Forward (default).
StartTime No Timestamp Start time
Offset No Integer Offset. Default value: 0.
DiffMode No Boolean Whether to enable DiffMode. Valid values: true, false (default).
Limit No Integer Returned number. default: 10, maximum: 100.
EndTime No Timestamp End time

3. Output Parameters

Parameter Name Type Description
ConfigurationItems Array of ConfigurationItems Resource configuration item list
Note: this field may return null, indicating that no valid values can be obtained.
TotalCount Integer Total number
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Getting the resource configuration item list

Input Example
&StartTime=2014-08-03 12:00:00
&EndTime=2014-08-03 12:00:00
&<Common request parameters>

Output Example

  "Response": {
    "ConfigurationItems": [
        "ConfigurationStateId": "c6d39f90a4e308e38c0ea8e56e444487",
        "Version": "1.0",
        "ResourceId": "clb/lb-elcmnqgz",
        "ResourceAlias": "lb-9e7cf",
        "ResourceType": "TCS::CLB::Instance",
        "ResourceRegion": "ap-guangzhou",
        "ResourceCreateTime": "2019-10-12 17:38:59",
        "ConfigurationItemStatus": "OK",
        "Relationships": "[{\"resourceType\":\"TCS::VPC::Vpc\",\"resourceId\":\"vpc/vpc-8jrf965y\"},{\"resourceType\":\"TCS::VPC::Subnet\",\"resourceId\":\"subnet/subnet-3osq5emo\"}]",
        "Configuration": "{\"LoadBalancerVips\":[\"\"],\"TargetRegionInfo\":{\"Region\":\"ap-guangzhou\",\"VpcId\":\"vpc-8jrf965r\"},\"Log\":\"\",\"ExtraInfo\":null,\"BackupZoneSet\":null,\"NetworkAttributes\":null,\"Forward\":1,\"AnycastZone\":\"\",\"StatusTime\":\"2019-10-12 17:39:01\",\"Snat\":false,\"Status\":3,\"MasterZone\":null,\"VpcId\":\"vpc-8jrf965r\",\"IsolatedTime\":null,\"Tags\":[],\"NumericalVpcId\":1036916,