你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerAppProbeHttpGet interface

HTTPGet specifies the http request to perform.

Properties

host

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

httpHeaders

Custom headers to set in the request. HTTP allows repeated headers.

path

Path to access on the HTTP server.

port

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

scheme

Scheme to use for connecting to the host. Defaults to HTTP.

Property Details

host

Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.

host?: string

Property Value

string

httpHeaders

Custom headers to set in the request. HTTP allows repeated headers.

httpHeaders?: ContainerAppProbeHttpGetHttpHeadersItem[]

Property Value

path

Path to access on the HTTP server.

path?: string

Property Value

string

port

Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.

port: number

Property Value

number

scheme

Scheme to use for connecting to the host. Defaults to HTTP.

scheme?: string

Property Value

string