Class UptimeCheckConfigHttpCheckArgs
Inherited Members
Namespace: Pulumi.Gcp.Monitoring.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class UptimeCheckConfigHttpCheckArgs : ResourceArgs
Constructors
View SourceUptimeCheckConfigHttpCheckArgs()
Declaration
public UptimeCheckConfigHttpCheckArgs()
Properties
View SourceAuthInfo
The authentication information. Optional when creating an HTTP check; defaults to empty. Structure is documented below.
Declaration
public Input<UptimeCheckConfigHttpCheckAuthInfoArgs> AuthInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<UptimeCheckConfigHttpCheckAuthInfoArgs> |
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 InputMap<string> Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<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 Input<bool> MaskHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> Path { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> Port { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
UseSsl
If true, use HTTPS instead of HTTP to run the check.
Declaration
public Input<bool> UseSsl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<bool> ValidateSsl { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |