ConnectionMonitorHttpConfiguration Class
Describes the HTTP configuration.
Constructor
ConnectionMonitorHttpConfiguration(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
port
|
The port to connect to. |
|
method
|
The HTTP method to use. Known values are: "Get" and "Post". |
|
path
|
The path component of the URI. For instance, "/dir1/dir2". |
|
request_headers
|
The HTTP headers to transmit with the request. |
|
valid_status_code_ranges
|
HTTP status codes to consider successful. For instance, "2xx,301-304,418". |
|
prefer_https
|
Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit. |
Attributes
method
"Get" and "Post".
method: str | _models.HTTPConfigurationMethod | None
path
The path component of the URI. For instance, "/dir1/dir2".
path: str | None
port
The port to connect to.
port: int | None
prefer_https
Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.
prefer_https: bool | None
request_headers
The HTTP headers to transmit with the request.
request_headers: list['_models.HTTPHeader'] | None
valid_status_code_ranges
HTTP status codes to consider successful. For instance, "2xx,301-304,418".
valid_status_code_ranges: list[str] | None