curl --request PATCH \
--url https://api.gcore.com/cloud/v2/lbpools/{project_id}/{region_id}/{pool_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"ca_secret_id": "<string>",
"crl_secret_id": "<string>",
"healthmonitor": {
"delay": 10,
"expected_codes": "200,301,302",
"http_method": "CONNECT",
"max_retries": 2,
"max_retries_down": 2,
"timeout": 5,
"type": "HTTP",
"url_path": "/"
},
"lb_algorithm": "ROUND_ROBIN",
"members": [
{
"address": "192.168.40.33",
"id": "a7e7e8d6-0bf7-4ac9-8170-831b47ee2ba9",
"operating_status": "NO_MONITOR",
"protocol_port": 80,
"subnet_id": "32283b0b-b560-4690-810c-f672cbb2e28d",
"weight": 1
}
],
"name": "new_pool_name",
"protocol": "HTTP",
"secret_id": "<string>",
"session_persistence": {
"cookie_name": "cookie_name",
"persistence_granularity": "<string>",
"persistence_timeout": 123,
"type": "APP_COOKIE"
},
"timeout_client_data": 50000,
"timeout_member_connect": 50000,
"timeout_member_data": 0
}'