Update health monitor
bycloud load-balancers health-monitors update --health_monitor_id <health_monitor_id> [flags]Update a health monitor
Options
--health_monitor_id
stringrequiredHealth Monitor ID
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
--admin_state_up
booleanoptional--delay
integeroptional--expected_codes
stringoptional--http_method
stringoptionalValues: "GET", "HEAD", "POST", "PUT", "DELETE", "TRACE", "OPTIONS", "CONNECT", "PATCH"
--max_retries
integeroptional--max_retries_down
integeroptional--name
stringoptional--tags
arrayoptional--timeout
integeroptional--url_path
stringoptionalCommand
bycloud load-balancers health-monitors update \--health_monitor_id "abc-123"
Output
ID 550e8400-e29b-41d4-a716-446655440000CRN crn:spo1:loadbalancer:health-monitor:550e8400-e29b-41d4-a716-446655440000NAME http-monitorPROVISIONING_STATUS ACTIVEOPERATING_STATUS ONLINEADMIN_STATE_UP trueTYPE HTTPDELAY 5TIMEOUT 3MAX_RETRIES 3MAX_RETRIES_DOWN 3HTTP_METHOD GETURL_PATH /healthEXPECTED_CODES 200POOL_ID 550e8400-e29b-41d4-a716-446655440000TAGS web, frontendPROJECT_ID 550e8400-e29b-41d4-a716-446655440000CREATED_AT 2024-01-15T10:30:00ZUPDATED_AT 2024-01-15T10:30:00Z