1.2
1.2
scpcli loadbalancer lb-health-check create
--vpc_id <value>
--subnet_id <value>
--protocol <value>
--name <value>
[--description <value>]
[--health_check_count <value>]
[--health_check_interval <value>]
[--health_check_port <value>]
[--health_check_timeout <value>]
[--health_check_url <value>]
[--http_method <value>]
[--request_data <value>]
[--response_code <value>]
[--tags <value>]
Description
LB 헬스 체크를 생성한다
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.2 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| vpc_id required | string | VPC ID | 8acceeb6920c4fc494490d864f67f0b5 |
| subnet_id required | string | Service Subnet ID | 60fba45cb6c811efba41ba92e4fe7200 |
| protocol required | string | 프로토콜 | TCP |
| name required | string | LB 헬스 체크명 | ServerGroup01 |
| description optional | string | 설명 | this is an lb server group |
| health_check_count optional | integer | 탐지 횟수 | 3 |
| health_check_interval optional | integer | 헬스 체크 주기가 유효하지 않습니다. 입력 조건을 확인하세요. | 5 |
| health_check_port optional | integer | 헬스 체크 포트 | 80 |
| health_check_timeout optional | integer | 대기 시간 | 5 |
| health_check_url optional | string | URL 모니터 | /test |
| http_method optional | **** | LB 헬스 체크 HTTP 방식 | GET |
| request_data optional | string | 요청 문자열 | username=admin&password=1234 |
| response_code optional | string | 응답 코드 | 200 |
| tags optional | array | Tag List | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|---|---|
| id | LB 헬스 체크 ID | 46c681018e33453085ca7c8db54e0076 |
| account_id | Account ID | e3cd678b11784734bc366148aa37580e |
| created_at | 생성 시간 | 2024-05-17T00:23:17Z |
| created_by | 생성자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | 설명 | this is an lb server group |
| health_check_count | 탐지 횟수 | 3 |
| health_check_interval | 헬스 체크 주기가 유효하지 않습니다. 입력 조건을 확인하세요. | 5 |
| health_check_port | 헬스 체크 포트 | 80 |
| health_check_timeout | 대기 시간 | 5 |
| health_check_type | LB 헬스 체크 유형 | DEFAULT |
| health_check_url | URL 모니터 | /test |
| http_method | LB 헬스 체크 HTTP 방식 | GET |
| modified_at | 수정 시간 | 2024-05-17T00:23:17Z |
| modified_by | 수정자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| name | LB 헬스 체크명 | Test-LbMonitor-01 |
| protocol | 프로토콜 | TCP |
| request_data | 요청 문자열 | username=admin&password=1234 |
| response_code | 응답 코드 | 200 |
| state | LB Health Check state | ACTIVE |
| subnet_id | Service Subnet ID | 60fba45cb6c811efba41ba92e4fe7200 |
| vpc_id | VPC ID | 8acceeb6920c4fc494490d864f67f0b5 |