Compartilhar via


ConnectionMonitorHttpConfiguration Class

Describes the HTTP configuration.

Inheritance
azure.mgmt.network._serialization.Model
ConnectionMonitorHttpConfiguration

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.

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.

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.