Querying CloudAudit-Enabled CMQ AZs

Last updated: 2020-05-14 16:17:19

    1. API Description

    API domain name: cloudaudit.tencentcloudapi.com.

    This API is used to query CloudAudit-enabled CMQ AZs.

    Default API request rate limit: 20 requests/sec.

    2. Input Parameters

    The list below contains only the API request parameters and certain common parameters. For the complete common parameter list, please see Common Request Parameters.

    Parameter Name Required Type Description
    Action Yes String Common parameter. The value used for this API: ListCmqEnableRegion.
    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.
    WebsiteType No String Website type. zh: Mainland China (default); en: outside Mainland China.

    3. Output Parameters

    Parameter Name Type Description
    EnableRegions Array of CmqRegionInfo CloudAudit-enabled CMQ AZs
    RequestId String Unique ID of request. Each request returns a unique ID. The RequestId is required to troubleshoot issues.

    4. Samples

    Sample 1. Querying CloudAudit-enabled CMQ AZs

    This example shows you how to query CloudAudit-enabled CMQ AZs.

    Input sample code

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

    Output sample code

    {
      "Response": {
        "RequestId": "b69a7b60-e58f-4d27-a2b7-722fe01109c1",
        "EnableRegions": [
          {
            "CmqRegion": "sh",
            "CmqRegionName": "Shanghai"
          },
          {
            "CmqRegion": "hk",
            "CmqRegionName": "Hong Kong (China)"
          }
        ]
      }
    }

    5. Developer Resources

    API Explorer

    This tool allows online call, signature authentication, SDK code generation, and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

    SDK

    TencentCloud API 3.0 comes with SDKs that support multiple programming languages and make it easier to call the APIs.

    TCCLI

    6. Error Codes

    The following only lists the error codes related to this API. For other error codes, please see Common Error Codes.

    Error Code Description
    InternalError.ListCmqEnableRegionError Internal error. Please submit a ticket.

    Was this page helpful?

    Was this page helpful?

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