ncloud_create_target_group
Create a target group for a load balancer by specifying VPC, protocol, and target type. Configure health checks, ports, and algorithm for traffic distribution.
Instructions
Create a new target group for a load balancer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number | |
| targetNoList | No | List of target numbers to bind to the target group at creation | |
| targetTypeCode | Yes | Target type code (VSVR) | |
| healthCheckPort | No | Health check port | |
| targetGroupName | No | Target group name (max 30 characters) | |
| targetGroupPort | No | Target group port number | |
| healthCheckCycle | No | Health check cycle in seconds (5-300, default: 30) | |
| algorithmTypeCode | No | Load balancing algorithm (RR, LC, SIPHS, MH) | |
| healthCheckUrlPath | No | Health check URL path (for HTTP/HTTPS) | |
| healthCheckUpThreshold | No | Healthy threshold count (2-10, default: 2) | |
| targetGroupDescription | No | Target group description | |
| healthCheckDownThreshold | No | Unhealthy threshold count (2-10, default: 2) | |
| healthCheckProtocolTypeCode | No | Health check protocol (HTTP, HTTPS, TCP) | |
| targetGroupProtocolTypeCode | Yes | Target group protocol type (HTTP, HTTPS, TCP, PROXY_TCP) | |
| healthCheckHttpMethodTypeCode | No | HTTP method type for health check (HEAD, GET). Required if healthCheckProtocolTypeCode is HTTP or HTTPS |