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

ContainerAppProbeHttpGet Class

HTTPGet specifies the http request to perform.

Constructor

ContainerAppProbeHttpGet(*args: Any, **kwargs: Any)

Variables

Name Description
host
str

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

http_headers

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

path
str

Path to access on the HTTP server.

port
int

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. Required.

scheme
str or Scheme

Scheme to use for connecting to the host. Defaults to HTTP. Known values are: "HTTP" and "HTTPS".

Attributes

host

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

host: str | None

http_headers

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

http_headers: list['_models.ContainerAppProbeHttpGetHttpHeadersItem'] | None

path

Path to access on the HTTP server.

path: str | None

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. Required.

port: int

scheme

"HTTP" and "HTTPS".

scheme: str | _models.Scheme | None