UptimeCheckConfigArgs constructor

const UptimeCheckConfigArgs({
  1. Input<String?>? checkerType,
  2. Input<List<UptimeCheckConfigContentMatcher>?>? contentMatchers,
  3. Input<String?>? deletionPolicy,
  4. required Input<String> displayName,
  5. Input<UptimeCheckConfigHttpCheck?>? httpCheck,
  6. Input<bool?>? logCheckFailures,
  7. Input<UptimeCheckConfigMonitoredResource?>? monitoredResource,
  8. Input<String?>? period,
  9. Input<String?>? project,
  10. Input<UptimeCheckConfigResourceGroup?>? resourceGroup,
  11. Input<List<String>?>? selectedRegions,
  12. Input<UptimeCheckConfigSyntheticMonitor?>? syntheticMonitor,
  13. Input<UptimeCheckConfigTcpCheck?>? tcpCheck,
  14. required Input<String> timeout,
  15. Input<Map<String, String>?>? userLabels,
})

Creates a new UptimeCheckConfigArgs. checkerType The checker type to use for the check. If the monitored resource type is servicedirectoryService, checkerType must be set to VPC_CHECKERS. 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. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. 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. httpCheck Contains information needed to make an HTTP or HTTPS check. logCheckFailures Specifies whether to log the results of failed probes to Cloud Logging. monitoredResource The monitored resource associated with the 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. project The ID of the project in which the resource belongs. resourceGroup The group resource associated with the configuration. 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. syntheticMonitor A Synthetic Monitor deployed to a Cloud Functions V2 instance. tcpCheck Contains information needed to make a TCP check. timeout The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). See the accepted formats userLabels User-supplied key/value data to be used for organizing and identifying the UptimeCheckConfig objects. The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.

Implementation

const UptimeCheckConfigArgs({
  this.checkerType,
  this.contentMatchers,
  this.deletionPolicy,
  required this.displayName,
  this.httpCheck,
  this.logCheckFailures,
  this.monitoredResource,
  this.period,
  this.project,
  this.resourceGroup,
  this.selectedRegions,
  this.syntheticMonitor,
  this.tcpCheck,
  required this.timeout,
  this.userLabels,
});