Class UptimeCheckConfigHttpCheck
Inheritance
Inherited Members
Namespace: Pulumi.Gcp.Monitoring.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class UptimeCheckConfigHttpCheck
Fields
View SourceAuthInfo
The authentication information. Optional when creating an HTTP check; defaults to empty. Structure is documented below.
Declaration
public readonly UptimeCheckConfigHttpCheckAuthInfo AuthInfo
Field Value
| Type | Description |
|---|---|
| UptimeCheckConfigHttpCheckAuthInfo |
Headers
The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
Declaration
public readonly ImmutableDictionary<string, string> Headers
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableDictionary<System.String, System.String> |
MaskHeaders
Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if mask_headers is set to True then the headers will be obscured with ******.
Declaration
public readonly bool? MaskHeaders
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Path
The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. Optional (defaults to "/").
Declaration
public readonly string Path
Field Value
| Type | Description |
|---|---|
| System.String |
Port
The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) to construct the full URL.
Declaration
public readonly int? Port
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
UseSsl
If true, use HTTPS instead of HTTP to run the check.
Declaration
public readonly bool? UseSsl
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ValidateSsl
Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitoredResource is set to uptime_url. If useSsl is false, setting validateSsl to true has no effect.
Declaration
public readonly bool? ValidateSsl
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |