一、描述
CKafka 路由,产品介绍
二、示例
variable "vpc_id" { default = "vpc-nnk6bcjt"}variable "subnet_id" { default = "subnet-ha2x63qo"}resource "tencentcloud_ckafka_route" "example" { availability_zone = "ap-guangzhou-6" instance_id = tencentcloud_ckafka_instance.kafka_instance_postpaid.id vip_type = 3 vpc_id = var.vpc_id subnet_id = var.subnet_id access_type = 0 public_network = 3}
三、参数说明
| 类型 | 名称 | 数据类型 | 说明 |
| 必填 | region | string | 地域,如:ap-guangzhou,默认使用 provider 中定义的 region 也可以在 resource 中指定地域,覆盖默认设置 |
| 必填 | instance_id | string | CKafka 实例 ID |
| 必填 | vip_type | int | 路由网络类型3:vpc路由7:内部支撑路由 |
| 可选 | availability_zone | string | 可用区 |
| 可选 | count | int | 资源数量,默认为 1 如果为 0 则不创建资源 |
| 可选 | activity_id | int | 计费活动 ID,保留字段 |
| 可选 | access_type | int | 访问类型:0:plaintext1:sasl_plaintext2:ssl3:sasl_ssl |
| 可选 | auth_flag | int | 是否需要权限管理 |
| 可选 | caller_appid | int | 调用方 appId |
| 可选 | ip | string | VIP 地址 |
| 可选 | public_network | int | 公网带宽 |
| 可选 | subnet_id | string | 子网 ID |
| 可选 | vpc_id | string | VPC ID |
| 生成 | id | string | 资源实例 ID |
| 生成 | create_time | string | 资源创建时间 |