ListSupportResourceTypes

Last updated: 2020-12-17 17:00:41

1. API Description

Domain name for API request: cloudaudit.tencentcloudapi.com.

This API is used to query the list of all CFA supported resource types.

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: ListSupportResourceTypes.
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.

3. Output Parameters

Parameter Name Type Description
ResourceTypes Array of SupportResourceType List of supported resource types
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Querying the list of all CFA supported resource types

Input Example

https://cloudaudit.tencentcloudapi.com/?Action=ListSupportResourceTypes
&<Common request parameters>

Output Example

{
  "Response": {
    "ResourceTypes": [
      {
        "ResourceType": "TCS::CAM::User",
        "ResourceTypeName": "CAM - Sub-user",
        "Service": "cam",
        "ServiceName":"CAM",
        "PolicyName": "QcloudCamReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::CAM::Role",
        "ResourceTypeName": "CAM - Role",
        "Service": "cam",
        "ServiceName":"CAM",
        "PolicyName": "QcloudCamReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::CloudAudit::Audit",
        "ResourceTypeName": "CloudAudit - Tracking set",
        "Service": "cloudaudit",
        "ServiceName": "CloudAudit",
        "PolicyName": "QcloudAuditReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::CAM::Group",
        "ResourceTypeName": "CAM - User group",
        "Service": "cam",
        "ServiceName":"CAM",
        "PolicyName": "QcloudCamReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::CVM::Instance",
        "ResourceTypeName": "Tencent Cloud services - Instance",
        service = "cvm"
        "ServiceName": "CVM",
        "PolicyName": "QcloudCVMReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::AS::AutoScalingGroup",
        "ResourceTypeName": "AS - Scaling group",
        "Service": "as",
        "ServiceName": "AS",
        "PolicyName": "QcloudASReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::AS::LaunchConfiguration",
        "ResourceTypeName": "AS - Launch configuration",
        "Service": "as",
        "ServiceName": "AS",
        "PolicyName": "QcloudASReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::CDB::DBInstance",
        "ResourceTypeName": "TencentDB for MySQL - Instance",
        "Service": "cdb",
        "ServiceName": "TencentDB for MySQL",
        "PolicyName": "QcloudCDBInnerReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::CLB::Instance",
        "ResourceTypeName": "CLB - Instance",
        "Service": "clb",
        "ServiceName": "CLB",
        "PolicyName": "QcloudCLBReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::VPC::Vpc",
        "ResourceTypeName": "VPC - VPC",
        "Service": "vpc",
        "ServiceName": "VPC",
        "PolicyName": "QcloudVPCReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::VPC::Subnet",
        "ResourceTypeName": "VPC - Subnet",
        "Service": "vpc",
        "ServiceName": "VPC",
        "PolicyName": "QcloudVPCReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::VPC::SecurityGroup",
        "ResourceTypeName": "VPC - Security group",
        "Service": "vpc",
        "ServiceName": "VPC",
        "PolicyName": "QcloudVPCReadOnlyAccess"
      },
      {
        "ResourceType": "TCS::CAM::Policy",
        "ResourceTypeName": "CAM - Policy",
        "Service": "cam",
        "ServiceName":"CAM",
        "PolicyName": "QcloudCamReadOnlyAccess"
      }
    ],
    "RequestId": "C563943B-3BEA-FE92-29FE-591EAEB7871F"
  }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help