Share via


ConnectionMonitorHttpConfiguration Class

Describes the HTTP configuration.

Constructor

ConnectionMonitorHttpConfiguration(*, port: int | None = None, method: str | _models.HTTPConfigurationMethod | None = None, path: str | None = None, request_headers: List[_models.HTTPHeader] | None = None, valid_status_code_ranges: List[str] | None = None, prefer_https: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
port
int

The port to connect to.

Default value: None
method

The HTTP method to use. Known values are: "Get" and "Post".

Default value: None
path
str

The path component of the URI. For instance, "/dir1/dir2".

Default value: None
request_headers

The HTTP headers to transmit with the request.

Default value: None
valid_status_code_ranges

HTTP status codes to consider successful. For instance, "2xx,301-304,418".

Default value: None
prefer_https

Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

Default value: None

Variables

Name Description
port
int

The port to connect to.

method

The HTTP method to use. Known values are: "Get" and "Post".

path
str

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.