Query Available Regions of Services

Last updated: 2020-06-11 11:01:05


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CVM API 3.0 which is standardized and faster.

    1. API Description

    This API (DescribeProductRegionList) is used to get a list of regions where the product is available.

    Domain name for API request: cvm.api.qcloud.com

    • For details about regions, please see Region.
    • In addition to region restrictions, there are also restrictions on purchase quantity of CVM products. For more information, refer to Restrictions on CVM Instance Purchase.

    2. Input Parameters

    The following list only provides request parameters for this API. For other parameters, refer to Common Request Parameters.

    Parameter Required Type Description
    instanceType Yes Int Instance type.
    1: Cloud Virtual Machine
    2: Cloud Database
    3: Cloud Load Balance

    3. Output Parameters

    Parameter Type Description
    code Int Common error code; 0: Succeeded; other values: Failed. For more information, refer to Common Error Codes
    message String Module error message description depending on API. For more information, refer to Module Error Codes
    availableRegion Array Get a list of regions where the product is available. The parameter Region that may be used by other APIs can be obtained here, such as gz for Guangzhou, sh for Shanghai, and hk for Hong Kong.

    4. Example


     &<Common request parameters>


          "message": "",
          "availableRegion ":
              "hk":"Hong Kong"

    Was this page helpful?

    Was this page helpful?

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