Show / Hide Table of Contents

Class UptimeCheckConfigState

Inheritance
System.Object
InputArgs
ResourceArgs
UptimeCheckConfigState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Monitoring
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class UptimeCheckConfigState : ResourceArgs

Constructors

View Source

UptimeCheckConfigState()

Declaration
public UptimeCheckConfigState()

Properties

View Source

ContentMatchers

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<UptimeCheckConfigContentMatcherGetArgs> ContentMatchers { get; set; }
Property Value
Type Description
InputList<UptimeCheckConfigContentMatcherGetArgs>
View Source

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>
View Source

HttpCheck

Contains information needed to make an HTTP or HTTPS check. Structure is documented below.

Declaration
public Input<UptimeCheckConfigHttpCheckGetArgs> HttpCheck { get; set; }
Property Value
Type Description
Input<UptimeCheckConfigHttpCheckGetArgs>
View Source

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<UptimeCheckConfigMonitoredResourceGetArgs> MonitoredResource { get; set; }
Property Value
Type Description
Input<UptimeCheckConfigMonitoredResourceGetArgs>
View Source

Name

A unique resource name for this UptimeCheckConfig. The format is projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

ResourceGroup

The group resource associated with the configuration. Structure is documented below.

Declaration
public Input<UptimeCheckConfigResourceGroupGetArgs> ResourceGroup { get; set; }
Property Value
Type Description
Input<UptimeCheckConfigResourceGroupGetArgs>
View Source

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>
View Source

TcpCheck

Contains information needed to make a TCP check. Structure is documented below.

Declaration
public Input<UptimeCheckConfigTcpCheckGetArgs> TcpCheck { get; set; }
Property Value
Type Description
Input<UptimeCheckConfigTcpCheckGetArgs>
View Source

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>
View Source

UptimeCheckId

The id of the uptime check

Declaration
public Input<string> UptimeCheckId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.