MonitoringUptimeCheckConfigHttpCheck class

http_check block (max=1). Mutually exclusive with tcpCheck and syntheticMonitor on the parent resource — the Terraform provider enforces the exactly_one_of contract at apply time.

Constructors

MonitoringUptimeCheckConfigHttpCheck({MonitoringUptimeCheckHttpMethod? requestMethod, MonitoringUptimeCheckContentType? contentType, TfArg<String>? customContentType, TfArg<int>? port, TfArg<String>? path, TfArg<bool>? useSsl, TfArg<bool>? validateSsl, TfArg<bool>? maskHeaders, Map<String, String>? headers, TfArg<String>? body, MonitoringUptimeCheckConfigHttpAuthInfo? authInfo, MonitoringUptimeCheckConfigServiceAgentAuthentication? serviceAgentAuthentication, List<MonitoringUptimeCheckConfigAcceptedResponseStatus>? acceptedResponseStatusCodes, MonitoringUptimeCheckConfigPingConfig? pingConfig})
const

Properties

acceptedResponseStatusCodes List<MonitoringUptimeCheckConfigAcceptedResponseStatus>?
Custom set of HTTP status codes to treat as healthy. When unset, the API accepts 200-299.
final
authInfo MonitoringUptimeCheckConfigHttpAuthInfo?
Basic auth credentials. Mutually exclusive with serviceAgentAuthentication.
final
body → TfArg<String>?
Request body. Base64-encoded over the wire — pass the raw bytes here; the codegen layer handles encoding. Required to be empty when requestMethod is MonitoringUptimeCheckHttpMethod.get.
final
contentType MonitoringUptimeCheckContentType?
Content-Type header strategy.
final
customContentType → TfArg<String>?
Literal Content-Type header value. Required when contentType is MonitoringUptimeCheckContentType.userProvided; must be left unset when contentType is MonitoringUptimeCheckContentType.urlEncoded.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
Extra request headers (max 100 entries). Duplicate keys are rejected by the API — comma-join duplicates as a single value.
final
maskHeaders → TfArg<bool>?
Encrypt header values in stored configs; on Get/List the server returns '******' for masked headers.
final
path → TfArg<String>?
Request path. Defaults to '/'. A leading / is auto-prepended when missing.
final
pingConfig MonitoringUptimeCheckConfigPingConfig?
Optional companion ICMP ping configuration.
final
port → TfArg<int>?
TCP port. Defaults to 80 when useSsl is false, 443 when true.
final
requestMethod MonitoringUptimeCheckHttpMethod?
HTTP method to issue. Defaults to MonitoringUptimeCheckHttpMethod.get when unset.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceAgentAuthentication MonitoringUptimeCheckConfigServiceAgentAuthentication?
Service Agent OIDC authentication. Mutually exclusive with authInfo. Requires useSsl = true.
final
useSsl → TfArg<bool>?
true switches the probe to HTTPS.
final
validateSsl → TfArg<bool>?
Validate the SSL certificate chain (only meaningful when useSsl is true and monitoredResource type is 'uptime_url').
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited