ContainerAppProbeHttpGet Class

HTTPGet specifies the http request to perform.

Constructor

ContainerAppProbeHttpGet()

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
list[<xref:"ContainerAppProbeHttpGetHttpHeadersItem">]

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
Union[str, <xref:"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

httpHeaders

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

httpHeaders: list['ContainerAppProbeHttpGetHttpHeadersItem']

path

Path to access on the HTTP server.

path: str

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: Required[int]

scheme

"HTTP" and "HTTPS".

scheme: str | Scheme