tencent cloud

Feedback

DescribeCkafkaZone

Last updated: 2023-07-05 15:57:44

1. API Description

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

This API is used to view the AZ list of Ckafka.

A maximum of 100 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 Params. The value used for this API: DescribeCkafkaZone.
Version Yes String Common Params. The value used for this API: 2019-08-19.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
CdcId No String Cloud Dedicated Cluster (CDC) business parameter.

3. Output Parameters

Parameter Name Type Description
Result ZoneResponse Returned results for the query
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Viewing the AZ list

Input Example

POST / HTTP/1.1
Host: ckafka.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCkafkaZone
<Common request parameters>

{}

Output Example

{
    "Response": {
        "Result": {
            "ZoneList": [
                {
                    "ZoneId": "300001",
                    "IsInternalApp": 2,
                    "AppId": 1255613487,
                    "Flag": true,
                    "ZoneName": "Hong Kong Zone 1",
                    "ZoneStatus": 4,
                    "Exflag": "1",
                    "SoldOut": "false",
                    "SalesInfo": [
                        {
                            "Platform": "xx",
                            "Flag": true,
                            "Version": "xx",
                            "SoldOut": true
                        }
                    ]
                },
                {
                    "ZoneId": "300002",
                    "IsInternalApp": 2,
                    "AppId": 1255613487,
                    "Flag": false,
                    "ZoneName": "Hong Kong Zone 2",
                    "ZoneStatus": 4,
                    "Exflag": "1",
                    "SoldOut": "false",
                    "SalesInfo": [
                        {
                            "Platform": "xx",
                            "Flag": true,
                            "Version": "xx",
                            "SoldOut": true
                        }
                    ]
                },
                {
                    "ZoneId": "300003",
                    "IsInternalApp": 2,
                    "AppId": 1255613487,
                    "Flag": false,
                    "ZoneName": "Hong Kong Zone 3",
                    "ZoneStatus": 4,
                    "Exflag": "1",
                    "SalesInfo": [
                        {
                            "Platform": "xx",
                            "Flag": true,
                            "Version": "xx",
                            "SoldOut": true
                        }
                    ],
                    "SoldOut": "true"
                }
            ],
            "MaxBuyInstanceNum": 20,
            "MaxBandwidth": 1200,
            "UnitPrice": {
                "RealTotalCost": 2.376,
                "TotalCost": 0
            },
            "MessagePrice": {
                "RealTotalCost": 0.18,
                "TotalCost": 0
            },
            "ClusterInfo": [],
            "Standard": "{}",
            "StandardS2": "{\"InstanceTypeConfigSet\":[{\"Type\":\"sv_ckafka_instance_s2_1\",\"Desc\":\"Small\",\"Bandwidth\":320,\"DiskSize\":500,\"Pid\":15127,\"MaximumInstancePartition\":100,\"MaximumInstanceTopic\":40},{\"Type\":\"sv_ckafka_instance_s2_2\",\"Desc\":\"Standard\",\"Bandwidth\":800,\"DiskSize\":1500,\"Pid\":15128,\"MaximumInstancePartition\":160,\"MaximumInstanceTopic\":80},{\"Type\":\"sv_ckafka_instance_s2_3\",\"Desc\":\"Advanced\",\"Bandwidth\":1200,\"DiskSize\":3000,\"Pid\":15129,\"MaximumInstancePartition\":200,\"MaximumInstanceTopic\":100},{\"Type\":\"sv_ckafka_instance_s2_4\",\"Desc\":\"Large\",\"Bandwidth\":1600,\"DiskSize\":4500,\"Pid\":15130,\"MaximumInstancePartition\":300,\"MaximumInstanceTopic\":150},{\"Type\":\"sv_ckafka_instance_s2_5\",\"Desc\":\"Xlarge 1\",\"Bandwidth\":2400,\"DiskSize\":6000,\"Pid\":15131,\"MaximumInstancePartition\":500,\"MaximumInstanceTopic\":250},{\"Type\":\"sv_ckafka_instance_s2_6\",\"Desc\":\"Xlarge 2\",\"Bandwidth\":3200,\"DiskSize\":8000,\"Pid\":15132,\"MaximumInstancePartition\":600,\"MaximumInstanceTopic\":300},{\"Type\":\"sv_ckafka_instance_s2_7\",\"Desc\":\"Xlarge 3\",\"Bandwidth\":4800,\"DiskSize\":10000,\"Pid\":15133,\"MaximumInstancePartition\":800,\"MaximumInstanceTopic\":400},{\"Type\":\"sv_ckafka_instance_s2_8\",\"Desc\":\"Xlarge 4\",\"Bandwidth\":7200,\"DiskSize\":12000,\"Pid\":15134,\"MaximumInstancePartition\":1000,\"MaximumInstanceTopic\":500}],\"maximumTopicPartition\":1000,\"maximumInstanceConsumerGroup\":0}\n",
            "Profession": "{\"BasicEdition\":{\"Bandwidth\":{\"Maximum\":1200,\"Minimal\":40,\"Step\":20},\"DiskCapacity\":{\"40\":{\"Maximum\":5000,\"Minimal\":500,\"Step\":100},\"120\":{\"Maximum\":10000,\"Minimal\":1000,\"Step\":100},\"320\":{\"Maximum\":30000,\"Minimal\":3000,\"Step\":100},\"620\":{\"Maximum\":54000,\"Minimal\":5400,\"Step\":100},\"920\":{\"Maximum\":75000,\"Minimal\":7500,\"Step\":100}},\"DiskTypes\":[\"SSD\",\"CLOUD_BASIC\"],\"MessageRetention\":{\"Maximum\":2160,\"Minimal\":24,\"Step\":1},\"Partition\":{\"40\":{\"Maximum\":1000,\"Minimal\":500,\"Step\":100},\"60\":{\"Maximum\":1200,\"Minimal\":600,\"Step\":100},\"120\":{\"Maximum\":1600,\"Minimal\":800,\"Step\":100},\"180\":{\"Maximum\":2000,\"Minimal\":1000,\"Step\":100},\"240\":{\"Maximum\":2400,\"Minimal\":1200,\"Step\":100},\"320\":{\"Maximum\":2800,\"Minimal\":1400,\"Step\":100},\"400\":{\"Maximum\":3200,\"Minimal\":1600,\"Step\":100},\"500\":{\"Maximum\":3600,\"Minimal\":1800,\"Step\":100},\"600\":{\"Maximum\":4000,\"Minimal\":2000,\"Step\":100},\"800\":{\"Maximum\":4500,\"Minimal\":2400,\"Step\":100},\"1000\":{\"Maximum\":5000,\"Minimal\":2800,\"Step\":100},\"1200\":{\"Maximum\":5500,\"Minimal\":3200,\"Step\":100}},\"Topic\":{\"40\":{\"Maximum\":100,\"Minimal\":50,\"Step\":1},\"60\":{\"Maximum\":120,\"Minimal\":60,\"Step\":1},\"120\":{\"Maximum\":160,\"Minimal\":80,\"Step\":1},\"180\":{\"Maximum\":200,\"Minimal\":100,\"Step\":1},\"240\":{\"Maximum\":240,\"Minimal\":120,\"Step\":1},\"320\":{\"Maximum\":280,\"Minimal\":160,\"Step\":1},\"400\":{\"Maximum\":320,\"Minimal\":200,\"Step\":1},\"500\":{\"Maximum\":360,\"Minimal\":240,\"Step\":1},\"600\":{\"Maximum\":400,\"Minimal\":280,\"Step\":1},\"800\":{\"Maximum\":450,\"Minimal\":320,\"Step\":1},\"1000\":{\"Maximum\":500,\"Minimal\":360,\"Step\":1},\"1200\":{\"Maximum\":550,\"Minimal\":400,\"Step\":1}}},\"HighPerformanceEdition\":{\"Bandwidth\":{\"Maximum\":3200,\"Minimal\":1600,\"Step\":400},\"DiskCapacity\":{\"1600\":{\"Maximum\":120000,\"Minimal\":12000,\"Step\":100},\"2000\":{\"Maximum\":160000,\"Minimal\":16000,\"Step\":100},\"2400\":{\"Maximum\":200000,\"Minimal\":20000,\"Step\":100},\"2800\":{\"Maximum\":240000,\"Minimal\":24000,\"Step\":100},\"3200\":{\"Maximum\":280000,\"Minimal\":28000,\"Step\":100}},\"DiskTypes\":[\"SSD\",\"CLOUD_BASIC\"],\"MessageRetention\":{\"Maximum\":2160,\"Minimal\":24,\"Step\":1},\"Partition\":{\"1600\":{\"Maximum\":6000,\"Minimal\":4000,\"Step\":100},\"2000\":{\"Maximum\":7000,\"Minimal\":4500,\"Step\":100},\"2400\":{\"Maximum\":8000,\"Minimal\":5000,\"Step\":100},\"2800\":{\"Maximum\":9000,\"Minimal\":5500,\"Step\":100},\"3200\":{\"Maximum\":10000,\"Minimal\":6000,\"Step\":100}},\"Topic\":{\"1600\":{\"Maximum\":600,\"Minimal\":500,\"Step\":1},\"2000\":{\"Maximum\":700,\"Minimal\":600,\"Step\":1},\"2400\":{\"Maximum\":800,\"Minimal\":700,\"Step\":1},\"2800\":{\"Maximum\":900,\"Minimal\":800,\"Step\":1},\"3200\":{\"Maximum\":1000,\"Minimal\":900,\"Step\":1}}}}",
            "Physical": "{}",
            "PublicNetwork": "{}",
            "PublicNetworkLimit": "{}"
        },
        "RequestId": "4831a936-0a03-408e-9ffc-a813a11ad769"
    }
}

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

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 Operation failed.
InternalError Internal error.
InvalidParameter Invalid parameter.
InvalidParameterValue.InstanceNotExist The instance does not exist.
InvalidParameterValue.RepetitionValue The parameter already exists.
InvalidParameterValue.SubnetIdInvalid Invalid subnet ID.
InvalidParameterValue.SubnetNotBelongToZone The subnet is not in the zone.
InvalidParameterValue.VpcIdInvalid Invalid VPC ID.
InvalidParameterValue.WrongAction The value of the Action parameter is incorrect.
InvalidParameterValue.ZoneNotSupport The zone is not supported.
ResourceUnavailable The resource is unavailable.
UnauthorizedOperation Unauthorized operation.
UnsupportedOperation Unsupported operation.
UnsupportedOperation.BatchDelInstanceLimit The batch instance deletion limit is reached.
UnsupportedOperation.OssReject Oss rejected the operation.