Class UptimeCheckConfigArgs
Inherited Members
Namespace: Pulumi.Gcp.Monitoring
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class UptimeCheckConfigArgs : ResourceArgs
Constructors
View SourceUptimeCheckConfigArgs()
Declaration
public UptimeCheckConfigArgs()
Properties
View SourceContentMatchers
The expected content on the page the check is run against. Currently, only the first entry in the list is supported, and other entries will be ignored. The server will look for an exact match of the string in the page response's content. This field is optional and should only be specified if a content match is required. Structure is documented below.
Declaration
public InputList<UptimeCheckConfigContentMatcherArgs> ContentMatchers { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<UptimeCheckConfigContentMatcherArgs> |
DisplayName
A human-friendly name for the uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HttpCheck
Contains information needed to make an HTTP or HTTPS check. Structure is documented below.
Declaration
public Input<UptimeCheckConfigHttpCheckArgs> HttpCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<UptimeCheckConfigHttpCheckArgs> |
MonitoredResource
The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks: uptime_url gce_instance gae_app aws_ec2_instance aws_elb_load_balancer Structure is documented below.
Declaration
public Input<UptimeCheckConfigMonitoredResourceArgs> MonitoredResource { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<UptimeCheckConfigMonitoredResourceArgs> |
Period
How often, in seconds, the uptime check is performed. Currently, the only supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and 900s (15 minutes). Optional, defaults to 300s.
Declaration
public Input<string> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroup
The group resource associated with the configuration. Structure is documented below.
Declaration
public Input<UptimeCheckConfigResourceGroupArgs> ResourceGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<UptimeCheckConfigResourceGroupArgs> |
SelectedRegions
The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions to include a minimum of 3 locations must be provided, or an error message is returned. Not specifying this field will result in uptime checks running from all regions.
Declaration
public InputList<string> SelectedRegions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
TcpCheck
Contains information needed to make a TCP check. Structure is documented below.
Declaration
public Input<UptimeCheckConfigTcpCheckArgs> TcpCheck { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<UptimeCheckConfigTcpCheckArgs> |
Timeout
The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Accepted formats https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration
Declaration
public Input<string> Timeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |