1.1

1.1

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

Create LB Health Check

State ACTIVE (DEPRECATED)

VersionSupported Until
1.120260331

Parameters

NameTypeDescriptionExample
vpc_id
required
stringVPC ID8acceeb6920c4fc494490d864f67f0b5
subnet_id
required
stringService Subnet ID60fba45cb6c811efba41ba92e4fe7200
protocol
required
stringLB Health Check ProtocolTCP
name
required
stringLB Health Check nameServerGroup01
description
optional
stringDescriptionthis is an lb server group
health_check_count
optional
integerLB Health Check count3
health_check_interval
optional
integerLB Health Check interval5
health_check_port
optional
integerLB Health Check port80
health_check_timeout
optional
integerLB Health Check timeout5
health_check_url
optional
stringLB Health Check URL/test
http_method
optional
****LB Health Check HTTP MethodGET
request_data
optional
stringLB Health Check Request datausername=admin&password=1234
response_code
optional
stringLB Health Check Response code200
tags
optional
arrayTag List'{"key": "", "value": ""}'

Responses

NameDescriptionExample
idLB Health Check ID46c681018e33453085ca7c8db54e0076
account_idAccount IDe3cd678b11784734bc366148aa37580e
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionDescriptionthis is an lb server group
health_check_countLB Health Check count3
health_check_intervalLB Health Check interval5
health_check_portLB Health Check port80
health_check_timeoutLB Health Check timeout5
health_check_typeLB Health Check typeDEFAULT
health_check_urlLB Health Check URL/test
http_methodLB Health Check HTTP MethodGET
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameLB Health Check nameTest-LbMonitor-01
protocolLB Health Check ProtocolTCP
request_dataLB Health Check Request datausername=admin&password=1234
response_codeLB Health Check Response code200
stateLB Health Check stateACTIVE
subnet_idService Subnet ID60fba45cb6c811efba41ba92e4fe7200
vpc_idVPC ID8acceeb6920c4fc494490d864f67f0b5