v2

增加应用探针

add probe

post/v2/tenants/{tenant_name}/services/{service_alias}/probe

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

tenant_namestring required
service_aliasstring required

Request body

cmdstring

运行命令 in: body

failure_thresholdinteger

标志为失败的检测次数 in: body

http_headerstring

http请求头,key=value,key2=value2 in: body

initial_delay_secondinteger

初始化等候时间, 默认为1 in: body

is_usedinteger

是否启用 in: body

modestring

mode in: body

pathstring

path in: body

period_secondinteger

检测间隔时间, 默认为3 in: body

portinteger

端口, 默认为80 in: body

probe_idstring required

探针id in: body

schemestring

mode in: body

success_thresholdinteger

标志为成功的检测次数 in: body

timeout_secondinteger

检测超时时间, 默认为30 in: body

Response

统一返回格式

CommandResponse required(unresolved $ref)

Changes

No recorded changes to this operation across all 3 revisions of this API.