Creates a new Uptime check configuration.
Create UptimeCheckConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def UptimeCheckConfig(resource_name: str,
args: Optional[UptimeCheckConfigArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def UptimeCheckConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
checker_type: Optional[UptimeCheckConfigCheckerType] = None,
content_matchers: Optional[Sequence[ContentMatcherArgs]] = None,
display_name: Optional[str] = None,
http_check: Optional[HttpCheckArgs] = None,
internal_checkers: Optional[Sequence[InternalCheckerArgs]] = None,
is_internal: Optional[bool] = None,
monitored_resource: Optional[MonitoredResourceArgs] = None,
name: Optional[str] = None,
period: Optional[str] = None,
project: Optional[str] = None,
resource_group: Optional[ResourceGroupArgs] = None,
selected_regions: Optional[Sequence[UptimeCheckConfigSelectedRegionsItem]] = None,
synthetic_monitor: Optional[SyntheticMonitorTargetArgs] = None,
tcp_check: Optional[TcpCheckArgs] = None,
timeout: Optional[str] = None,
user_labels: Optional[Mapping[str, str]] = None)
type: google-native:monitoring/v3:UptimeCheckConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_monitoring_v3_uptime_check_config" "name" {
# resource properties
}
Parameters
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
UptimeCheckConfigArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
UptimeCheckConfigArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var uptimeCheckConfigResource = new GoogleNative.Monitoring.V3.UptimeCheckConfig("uptimeCheckConfigResource", new()
{
CheckerType = GoogleNative.Monitoring.V3.UptimeCheckConfigCheckerType.CheckerTypeUnspecified,
ContentMatchers = new[]
{
new GoogleNative.Monitoring.V3.Inputs.ContentMatcherArgs
{
Content = "string",
JsonPathMatcher = new GoogleNative.Monitoring.V3.Inputs.JsonPathMatcherArgs
{
JsonMatcher = GoogleNative.Monitoring.V3.JsonPathMatcherJsonMatcher.JsonPathMatcherOptionUnspecified,
JsonPath = "string",
},
Matcher = GoogleNative.Monitoring.V3.ContentMatcherMatcher.ContentMatcherOptionUnspecified,
},
},
DisplayName = "string",
HttpCheck = new GoogleNative.Monitoring.V3.Inputs.HttpCheckArgs
{
AcceptedResponseStatusCodes = new[]
{
new GoogleNative.Monitoring.V3.Inputs.ResponseStatusCodeArgs
{
StatusClass = GoogleNative.Monitoring.V3.ResponseStatusCodeStatusClass.StatusClassUnspecified,
StatusValue = 0,
},
},
AuthInfo = new GoogleNative.Monitoring.V3.Inputs.BasicAuthenticationArgs
{
Password = "string",
Username = "string",
},
Body = "string",
ContentType = GoogleNative.Monitoring.V3.HttpCheckContentType.TypeUnspecified,
CustomContentType = "string",
Headers =
{
{ "string", "string" },
},
MaskHeaders = false,
Path = "string",
PingConfig = new GoogleNative.Monitoring.V3.Inputs.PingConfigArgs
{
PingsCount = 0,
},
Port = 0,
RequestMethod = GoogleNative.Monitoring.V3.HttpCheckRequestMethod.MethodUnspecified,
UseSsl = false,
ValidateSsl = false,
},
InternalCheckers = new[]
{
new GoogleNative.Monitoring.V3.Inputs.InternalCheckerArgs
{
DisplayName = "string",
GcpZone = "string",
Name = "string",
Network = "string",
PeerProjectId = "string",
State = GoogleNative.Monitoring.V3.InternalCheckerState.Unspecified,
},
},
IsInternal = false,
MonitoredResource = new GoogleNative.Monitoring.V3.Inputs.MonitoredResourceArgs
{
Labels =
{
{ "string", "string" },
},
Type = "string",
},
Name = "string",
Period = "string",
Project = "string",
ResourceGroup = new GoogleNative.Monitoring.V3.Inputs.ResourceGroupArgs
{
GroupId = "string",
ResourceType = GoogleNative.Monitoring.V3.ResourceGroupResourceType.ResourceTypeUnspecified,
},
SelectedRegions = new[]
{
GoogleNative.Monitoring.V3.UptimeCheckConfigSelectedRegionsItem.RegionUnspecified,
},
SyntheticMonitor = new GoogleNative.Monitoring.V3.Inputs.SyntheticMonitorTargetArgs
{
CloudFunctionV2 = new GoogleNative.Monitoring.V3.Inputs.CloudFunctionV2TargetArgs
{
Name = "string",
},
},
TcpCheck = new GoogleNative.Monitoring.V3.Inputs.TcpCheckArgs
{
PingConfig = new GoogleNative.Monitoring.V3.Inputs.PingConfigArgs
{
PingsCount = 0,
},
Port = 0,
},
Timeout = "string",
UserLabels =
{
{ "string", "string" },
},
});
example, err := monitoringv3.NewUptimeCheckConfig(ctx, "uptimeCheckConfigResource", &monitoringv3.UptimeCheckConfigArgs{
CheckerType: monitoringv3.UptimeCheckConfigCheckerTypeCheckerTypeUnspecified,
ContentMatchers: monitoring.ContentMatcherArray{
&monitoring.ContentMatcherArgs{
Content: pulumi.String("string"),
JsonPathMatcher: &monitoring.JsonPathMatcherArgs{
JsonMatcher: monitoringv3.JsonPathMatcherJsonMatcherJsonPathMatcherOptionUnspecified,
JsonPath: pulumi.String("string"),
},
Matcher: monitoringv3.ContentMatcherMatcherContentMatcherOptionUnspecified,
},
},
DisplayName: pulumi.String("string"),
HttpCheck: &monitoring.HttpCheckArgs{
AcceptedResponseStatusCodes: monitoring.ResponseStatusCodeArray{
&monitoring.ResponseStatusCodeArgs{
StatusClass: monitoringv3.ResponseStatusCodeStatusClassStatusClassUnspecified,
StatusValue: pulumi.Int(0),
},
},
AuthInfo: &monitoring.BasicAuthenticationArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
Body: pulumi.String("string"),
ContentType: monitoringv3.HttpCheckContentTypeTypeUnspecified,
CustomContentType: pulumi.String("string"),
Headers: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaskHeaders: pulumi.Bool(false),
Path: pulumi.String("string"),
PingConfig: &monitoring.PingConfigArgs{
PingsCount: pulumi.Int(0),
},
Port: pulumi.Int(0),
RequestMethod: monitoringv3.HttpCheckRequestMethodMethodUnspecified,
UseSsl: pulumi.Bool(false),
ValidateSsl: pulumi.Bool(false),
},
InternalCheckers: monitoring.InternalCheckerArray{
&monitoring.InternalCheckerArgs{
DisplayName: pulumi.String("string"),
GcpZone: pulumi.String("string"),
Name: pulumi.String("string"),
Network: pulumi.String("string"),
PeerProjectId: pulumi.String("string"),
State: monitoringv3.InternalCheckerStateUnspecified,
},
},
IsInternal: pulumi.Bool(false),
MonitoredResource: &monitoring.MonitoredResourceArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Type: pulumi.String("string"),
},
Name: pulumi.String("string"),
Period: pulumi.String("string"),
Project: pulumi.String("string"),
ResourceGroup: &monitoring.ResourceGroupArgs{
GroupId: pulumi.String("string"),
ResourceType: monitoringv3.ResourceGroupResourceTypeResourceTypeUnspecified,
},
SelectedRegions: monitoring.UptimeCheckConfigSelectedRegionsItemArray{
monitoringv3.UptimeCheckConfigSelectedRegionsItemRegionUnspecified,
},
SyntheticMonitor: &monitoring.SyntheticMonitorTargetArgs{
CloudFunctionV2: &monitoring.CloudFunctionV2TargetArgs{
Name: pulumi.String("string"),
},
},
TcpCheck: &monitoring.TcpCheckArgs{
PingConfig: &monitoring.PingConfigArgs{
PingsCount: pulumi.Int(0),
},
Port: pulumi.Int(0),
},
Timeout: pulumi.String("string"),
UserLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "google-native_monitoring_v3_uptime_check_config" "uptimeCheckConfigResource" {
lifecycle {
create_before_destroy = true
}
checker_type = "CHECKER_TYPE_UNSPECIFIED"
content_matchers {
content = "string"
json_path_matcher = {
json_matcher = "JSON_PATH_MATCHER_OPTION_UNSPECIFIED"
json_path = "string"
}
matcher = "CONTENT_MATCHER_OPTION_UNSPECIFIED"
}
display_name = "string"
http_check = {
accepted_response_status_codes = [{
status_class = "STATUS_CLASS_UNSPECIFIED"
status_value = 0
}]
auth_info = {
password = "string"
username = "string"
}
body = "string"
content_type = "TYPE_UNSPECIFIED"
custom_content_type = "string"
headers = {
"string" = "string"
}
mask_headers = false
path = "string"
ping_config = {
pings_count = 0
}
port = 0
request_method = "METHOD_UNSPECIFIED"
use_ssl = false
validate_ssl = false
}
internal_checkers {
display_name = "string"
gcp_zone = "string"
name = "string"
network = "string"
peer_project_id = "string"
state = "UNSPECIFIED"
}
is_internal = false
monitored_resource = {
labels = {
"string" = "string"
}
type = "string"
}
name = "string"
period = "string"
project = "string"
resource_group = {
group_id = "string"
resource_type = "RESOURCE_TYPE_UNSPECIFIED"
}
selected_regions = ["REGION_UNSPECIFIED"]
synthetic_monitor = {
cloud_function_v2 = {
name = "string"
}
}
tcp_check = {
ping_config = {
pings_count = 0
}
port = 0
}
timeout = "string"
user_labels = {
"string" = "string"
}
}
var uptimeCheckConfigResource = new UptimeCheckConfig("uptimeCheckConfigResource", UptimeCheckConfigArgs.builder()
.checkerType(com.pulumi.googlenative.monitoring_v3.enums.UptimeCheckConfigCheckerType.CheckerTypeUnspecified)
.contentMatchers(ContentMatcherArgs.builder()
.content("string")
.jsonPathMatcher(JsonPathMatcherArgs.builder()
.jsonMatcher(com.pulumi.googlenative.monitoring_v3.enums.JsonPathMatcherJsonMatcher.JsonPathMatcherOptionUnspecified)
.jsonPath("string")
.build())
.matcher(com.pulumi.googlenative.monitoring_v3.enums.ContentMatcherMatcher.ContentMatcherOptionUnspecified)
.build())
.displayName("string")
.httpCheck(HttpCheckArgs.builder()
.acceptedResponseStatusCodes(ResponseStatusCodeArgs.builder()
.statusClass(com.pulumi.googlenative.monitoring_v3.enums.ResponseStatusCodeStatusClass.StatusClassUnspecified)
.statusValue(0)
.build())
.authInfo(BasicAuthenticationArgs.builder()
.password("string")
.username("string")
.build())
.body("string")
.contentType(com.pulumi.googlenative.monitoring_v3.enums.HttpCheckContentType.TypeUnspecified)
.customContentType("string")
.headers(Map.of("string", "string"))
.maskHeaders(false)
.path("string")
.pingConfig(PingConfigArgs.builder()
.pingsCount(0)
.build())
.port(0)
.requestMethod(com.pulumi.googlenative.monitoring_v3.enums.HttpCheckRequestMethod.MethodUnspecified)
.useSsl(false)
.validateSsl(false)
.build())
.internalCheckers(InternalCheckerArgs.builder()
.displayName("string")
.gcpZone("string")
.name("string")
.network("string")
.peerProjectId("string")
.state(com.pulumi.googlenative.monitoring_v3.enums.InternalCheckerState.Unspecified)
.build())
.isInternal(false)
.monitoredResource(com.pulumi.googlenative.monitoring_v3.inputs.MonitoredResourceArgs.builder()
.labels(Map.of("string", "string"))
.type("string")
.build())
.name("string")
.period("string")
.project("string")
.resourceGroup(ResourceGroupArgs.builder()
.groupId("string")
.resourceType(com.pulumi.googlenative.monitoring_v3.enums.ResourceGroupResourceType.ResourceTypeUnspecified)
.build())
.selectedRegions("REGION_UNSPECIFIED")
.syntheticMonitor(SyntheticMonitorTargetArgs.builder()
.cloudFunctionV2(CloudFunctionV2TargetArgs.builder()
.name("string")
.build())
.build())
.tcpCheck(TcpCheckArgs.builder()
.pingConfig(PingConfigArgs.builder()
.pingsCount(0)
.build())
.port(0)
.build())
.timeout("string")
.userLabels(Map.of("string", "string"))
.build());
uptime_check_config_resource = google_native.monitoring.v3.UptimeCheckConfig("uptimeCheckConfigResource",
checker_type=google_native.monitoring.v3.UptimeCheckConfigCheckerType.CHECKER_TYPE_UNSPECIFIED,
content_matchers=[{
"content": "string",
"json_path_matcher": {
"json_matcher": google_native.monitoring.v3.JsonPathMatcherJsonMatcher.JSON_PATH_MATCHER_OPTION_UNSPECIFIED,
"json_path": "string",
},
"matcher": google_native.monitoring.v3.ContentMatcherMatcher.CONTENT_MATCHER_OPTION_UNSPECIFIED,
}],
display_name="string",
http_check={
"accepted_response_status_codes": [{
"status_class": google_native.monitoring.v3.ResponseStatusCodeStatusClass.STATUS_CLASS_UNSPECIFIED,
"status_value": 0,
}],
"auth_info": {
"password": "string",
"username": "string",
},
"body": "string",
"content_type": google_native.monitoring.v3.HttpCheckContentType.TYPE_UNSPECIFIED,
"custom_content_type": "string",
"headers": {
"string": "string",
},
"mask_headers": False,
"path": "string",
"ping_config": {
"pings_count": 0,
},
"port": 0,
"request_method": google_native.monitoring.v3.HttpCheckRequestMethod.METHOD_UNSPECIFIED,
"use_ssl": False,
"validate_ssl": False,
},
internal_checkers=[{
"display_name": "string",
"gcp_zone": "string",
"name": "string",
"network": "string",
"peer_project_id": "string",
"state": google_native.monitoring.v3.InternalCheckerState.UNSPECIFIED,
}],
is_internal=False,
monitored_resource={
"labels": {
"string": "string",
},
"type": "string",
},
name="string",
period="string",
project="string",
resource_group={
"group_id": "string",
"resource_type": google_native.monitoring.v3.ResourceGroupResourceType.RESOURCE_TYPE_UNSPECIFIED,
},
selected_regions=[google_native.monitoring.v3.UptimeCheckConfigSelectedRegionsItem.REGION_UNSPECIFIED],
synthetic_monitor={
"cloud_function_v2": {
"name": "string",
},
},
tcp_check={
"ping_config": {
"pings_count": 0,
},
"port": 0,
},
timeout="string",
user_labels={
"string": "string",
})
const uptimeCheckConfigResource = new google_native.monitoring.v3.UptimeCheckConfig("uptimeCheckConfigResource", {
checkerType: google_native.monitoring.v3.UptimeCheckConfigCheckerType.CheckerTypeUnspecified,
contentMatchers: [{
content: "string",
jsonPathMatcher: {
jsonMatcher: google_native.monitoring.v3.JsonPathMatcherJsonMatcher.JsonPathMatcherOptionUnspecified,
jsonPath: "string",
},
matcher: google_native.monitoring.v3.ContentMatcherMatcher.ContentMatcherOptionUnspecified,
}],
displayName: "string",
httpCheck: {
acceptedResponseStatusCodes: [{
statusClass: google_native.monitoring.v3.ResponseStatusCodeStatusClass.StatusClassUnspecified,
statusValue: 0,
}],
authInfo: {
password: "string",
username: "string",
},
body: "string",
contentType: google_native.monitoring.v3.HttpCheckContentType.TypeUnspecified,
customContentType: "string",
headers: {
string: "string",
},
maskHeaders: false,
path: "string",
pingConfig: {
pingsCount: 0,
},
port: 0,
requestMethod: google_native.monitoring.v3.HttpCheckRequestMethod.MethodUnspecified,
useSsl: false,
validateSsl: false,
},
internalCheckers: [{
displayName: "string",
gcpZone: "string",
name: "string",
network: "string",
peerProjectId: "string",
state: google_native.monitoring.v3.InternalCheckerState.Unspecified,
}],
isInternal: false,
monitoredResource: {
labels: {
string: "string",
},
type: "string",
},
name: "string",
period: "string",
project: "string",
resourceGroup: {
groupId: "string",
resourceType: google_native.monitoring.v3.ResourceGroupResourceType.ResourceTypeUnspecified,
},
selectedRegions: [google_native.monitoring.v3.UptimeCheckConfigSelectedRegionsItem.RegionUnspecified],
syntheticMonitor: {
cloudFunctionV2: {
name: "string",
},
},
tcpCheck: {
pingConfig: {
pingsCount: 0,
},
port: 0,
},
timeout: "string",
userLabels: {
string: "string",
},
});
type: google-native:monitoring/v3:UptimeCheckConfig
properties:
checkerType: CHECKER_TYPE_UNSPECIFIED
contentMatchers:
- content: string
jsonPathMatcher:
jsonMatcher: JSON_PATH_MATCHER_OPTION_UNSPECIFIED
jsonPath: string
matcher: CONTENT_MATCHER_OPTION_UNSPECIFIED
displayName: string
httpCheck:
acceptedResponseStatusCodes:
- statusClass: STATUS_CLASS_UNSPECIFIED
statusValue: 0
authInfo:
password: string
username: string
body: string
contentType: TYPE_UNSPECIFIED
customContentType: string
headers:
string: string
maskHeaders: false
path: string
pingConfig:
pingsCount: 0
port: 0
requestMethod: METHOD_UNSPECIFIED
useSsl: false
validateSsl: false
internalCheckers:
- displayName: string
gcpZone: string
name: string
network: string
peerProjectId: string
state: UNSPECIFIED
isInternal: false
monitoredResource:
labels:
string: string
type: string
name: string
period: string
project: string
resourceGroup:
groupId: string
resourceType: RESOURCE_TYPE_UNSPECIFIED
selectedRegions:
- REGION_UNSPECIFIED
syntheticMonitor:
cloudFunctionV2:
name: string
tcpCheck:
pingConfig:
pingsCount: 0
port: 0
timeout: string
userLabels:
string: string
UptimeCheckConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The UptimeCheckConfig resource accepts the following input properties:
- CheckerType
Pulumi.GoogleNative.Monitoring.V3.UptimeCheckConfigCheckerType
- The type of checkers to use to execute the Uptime check.
- ContentMatchers
List<Pulumi.GoogleNative.Monitoring.V3.Inputs.ContentMatcher>
- The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
- DisplayName
string
- A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
- HttpCheck
Pulumi.GoogleNative.Monitoring.V3.Inputs.HttpCheck
- Contains information needed to make an HTTP or HTTPS check.
- InternalCheckers
List<Pulumi.GoogleNative.Monitoring.V3.Inputs.InternalChecker>
- The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this UptimeCheckConfig.
- IsInternal
bool
- If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
- MonitoredResource
Pulumi.GoogleNative.Monitoring.V3.Inputs.MonitoredResource
- The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service servicedirectory_service cloud_run_revision
- Name
string
- Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
- Period
string
- 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 60s.
- Project
string
- ResourceGroup
Pulumi.GoogleNative.Monitoring.V3.Inputs.ResourceGroup
- The group resource associated with the configuration.
- SelectedRegions
List<Pulumi.GoogleNative.Monitoring.V3.UptimeCheckConfigSelectedRegionsItem>
- 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 must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
- SyntheticMonitor
Pulumi.GoogleNative.Monitoring.V3.Inputs.SyntheticMonitorTarget
- Specifies a Synthetic Monitor to invoke.
- TcpCheck
Pulumi.GoogleNative.Monitoring.V3.Inputs.TcpCheck
- Contains information needed to make a TCP check.
- Timeout
string
- The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
- UserLabels
Dictionary<string, string>
- 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.
- CheckerType
UptimeCheckConfigCheckerType
- The type of checkers to use to execute the Uptime check.
- ContentMatchers
[]ContentMatcherArgs
- The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
- DisplayName
string
- A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
- HttpCheck
HttpCheckArgs
- Contains information needed to make an HTTP or HTTPS check.
- InternalCheckers
[]InternalCheckerArgs
- The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this UptimeCheckConfig.
- IsInternal
bool
- If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
- MonitoredResource
MonitoredResourceArgs
- The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service servicedirectory_service cloud_run_revision
- Name
string
- Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
- Period
string
- 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 60s.
- Project
string
- ResourceGroup
ResourceGroupArgs
- The group resource associated with the configuration.
- SelectedRegions
[]UptimeCheckConfigSelectedRegionsItem
- 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 must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
- SyntheticMonitor
SyntheticMonitorTargetArgs
- Specifies a Synthetic Monitor to invoke.
- TcpCheck
TcpCheckArgs
- Contains information needed to make a TCP check.
- Timeout
string
- The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
- UserLabels
map[string]string
- 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.
- checker_type
"CHECKER_TYPE_UNSPECIFIED" | "STATIC_IP_CHECKERS" | "VPC_CHECKERS"
- The type of checkers to use to execute the Uptime check.
- content_matchers
list(object)
- The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
- display_name
string
- A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
- http_check
object
- Contains information needed to make an HTTP or HTTPS check.
- internal_checkers
list(object)
- The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this UptimeCheckConfig.
- is_internal
bool
- If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
- monitored_resource
object
- The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service servicedirectory_service cloud_run_revision
- name
string
- Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
- period
string
- 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 60s.
- project
string
- resource_group
object
- The group resource associated with the configuration.
- selected_regions
list("REGION_UNSPECIFIED" | "USA" | "EUROPE" | "SOUTH_AMERICA" | "ASIA_PACIFIC" | "USA_OREGON" | "USA_IOWA" | "USA_VIRGINIA")
- 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 must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
- synthetic_monitor
object
- Specifies a Synthetic Monitor to invoke.
- tcp_check
object
- Contains information needed to make a TCP check.
- timeout
string
- The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
- user_labels
map(string)
- 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.
- checkerType
UptimeCheckConfigCheckerType
- The type of checkers to use to execute the Uptime check.
- contentMatchers
List<ContentMatcher>
- The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
- displayName
String
- A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
- httpCheck
HttpCheck
- Contains information needed to make an HTTP or HTTPS check.
- internalCheckers
List<InternalChecker>
- The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this UptimeCheckConfig.
- isInternal
Boolean
- If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
- monitoredResource
MonitoredResource
- The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service servicedirectory_service cloud_run_revision
- name
String
- Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
- period
String
- 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 60s.
- project
String
- resourceGroup
ResourceGroup
- The group resource associated with the configuration.
- selectedRegions
List<UptimeCheckConfigSelectedRegionsItem>
- 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 must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
- syntheticMonitor
SyntheticMonitorTarget
- Specifies a Synthetic Monitor to invoke.
- tcpCheck
TcpCheck
- Contains information needed to make a TCP check.
- timeout
String
- The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
- userLabels
Map<String,String>
- 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.
- checkerType
UptimeCheckConfigCheckerType
- The type of checkers to use to execute the Uptime check.
- contentMatchers
ContentMatcher[]
- The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
- displayName
string
- A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
- httpCheck
HttpCheck
- Contains information needed to make an HTTP or HTTPS check.
- internalCheckers
InternalChecker[]
- The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this UptimeCheckConfig.
- isInternal
boolean
- If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
- monitoredResource
MonitoredResource
- The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service servicedirectory_service cloud_run_revision
- name
string
- Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
- period
string
- 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 60s.
- project
string
- resourceGroup
ResourceGroup
- The group resource associated with the configuration.
- selectedRegions
UptimeCheckConfigSelectedRegionsItem[]
- 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 must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
- syntheticMonitor
SyntheticMonitorTarget
- Specifies a Synthetic Monitor to invoke.
- tcpCheck
TcpCheck
- Contains information needed to make a TCP check.
- timeout
string
- The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
- userLabels
{[key: string]: string}
- 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.
- checker_type
UptimeCheckConfigCheckerType
- The type of checkers to use to execute the Uptime check.
- content_matchers
Sequence[ContentMatcherArgs]
- The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
- display_name
str
- A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
- http_check
HttpCheckArgs
- Contains information needed to make an HTTP or HTTPS check.
- internal_checkers
Sequence[InternalCheckerArgs]
- The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this UptimeCheckConfig.
- is_internal
bool
- If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
- monitored_resource
MonitoredResourceArgs
- The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service servicedirectory_service cloud_run_revision
- name
str
- Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
- period
str
- 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 60s.
- project
str
- resource_group
ResourceGroupArgs
- The group resource associated with the configuration.
- selected_regions
Sequence[UptimeCheckConfigSelectedRegionsItem]
- 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 must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
- synthetic_monitor
SyntheticMonitorTargetArgs
- Specifies a Synthetic Monitor to invoke.
- tcp_check
TcpCheckArgs
- Contains information needed to make a TCP check.
- timeout
str
- The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
- user_labels
Mapping[str, str]
- 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.
- checkerType
"CHECKER_TYPE_UNSPECIFIED" | "STATIC_IP_CHECKERS" | "VPC_CHECKERS"
- The type of checkers to use to execute the Uptime check.
- contentMatchers
List<Property Map>
- The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
- displayName
String
- A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
- httpCheck
Property Map
- Contains information needed to make an HTTP or HTTPS check.
- internalCheckers
List<Property Map>
- The internal checkers that this check will egress from. If is_internal is true and this list is empty, the check will egress from all the InternalCheckers configured for the project that owns this UptimeCheckConfig.
- isInternal
Boolean
- If this is true, then checks are made only from the 'internal_checkers'. If it is false, then checks are made only from the 'selected_regions'. It is an error to provide 'selected_regions' when is_internal is true, or to provide 'internal_checkers' when is_internal is false.
- monitoredResource
Property Map
- The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are valid for this field: uptime_url, gce_instance, gae_app, aws_ec2_instance, aws_elb_load_balancer k8s_service servicedirectory_service cloud_run_revision
- name
String
- Identifier. A unique resource name for this Uptime check configuration. The format is: projects/[PROJECT_ID_OR_NUMBER]/uptimeCheckConfigs/[UPTIME_CHECK_ID] [PROJECT_ID_OR_NUMBER] is the Workspace host project associated with the Uptime check.This field should be omitted when creating the Uptime check configuration; on create, the resource name is assigned by the server and included in the response.
- period
String
- 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 60s.
- project
String
- resourceGroup
Property Map
- The group resource associated with the configuration.
- selectedRegions
List<"REGION_UNSPECIFIED" | "USA" | "EUROPE" | "SOUTH_AMERICA" | "ASIA_PACIFIC" | "USA_OREGON" | "USA_IOWA" | "USA_VIRGINIA">
- 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 must be provided to include a minimum of 3 locations. Not specifying this field will result in Uptime checks running from all available regions.
- syntheticMonitor
Property Map
- Specifies a Synthetic Monitor to invoke.
- tcpCheck
Property Map
- Contains information needed to make a TCP check.
- timeout
String
- The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Required.
- userLabels
Map<String>
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the UptimeCheckConfig resource produces the following output properties:
- Id
string
- The provider-assigned unique ID for this managed resource.
- Id
string
- The provider-assigned unique ID for this managed resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- id
String
- The provider-assigned unique ID for this managed resource.
- id
string
- The provider-assigned unique ID for this managed resource.
- id
str
- The provider-assigned unique ID for this managed resource.
- id
String
- The provider-assigned unique ID for this managed resource.
Look up Existing UptimeCheckConfig Resource
Get an existing UptimeCheckConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
func GetUptimeCheckConfig(ctx *Context, name string, id IDInput, state *UptimeCheckConfigState, opts ...ResourceOption) (*UptimeCheckConfig, error)
public static UptimeCheckConfig get(String name, Output<String> id, CustomResourceOptions options)
resources: existingUptimeCheckConfig: type: google-native:monitoring/v3:UptimeCheckConfig get: id: ${id}
import {
to = google-native_monitoring_v3_uptime_check_config.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
UptimeCheckConfigState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
BasicAuthentication, BasicAuthenticationArgs
The authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only Basic HTTP authentication (https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
- Password
string
- The password to use when authenticating with the HTTP server.
- Username
string
- The username to use when authenticating with the HTTP server.
- Password
string
- The password to use when authenticating with the HTTP server.
- Username
string
- The username to use when authenticating with the HTTP server.
- password
string
- The password to use when authenticating with the HTTP server.
- username
string
- The username to use when authenticating with the HTTP server.
- password
String
- The password to use when authenticating with the HTTP server.
- username
String
- The username to use when authenticating with the HTTP server.
- password
string
- The password to use when authenticating with the HTTP server.
- username
string
- The username to use when authenticating with the HTTP server.
- password
str
- The password to use when authenticating with the HTTP server.
- username
str
- The username to use when authenticating with the HTTP server.
- password
String
- The password to use when authenticating with the HTTP server.
- username
String
- The username to use when authenticating with the HTTP server.
BasicAuthenticationResponse
The authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only Basic HTTP authentication (https://tools.ietf.org/html/rfc7617) is supported in Uptime checks.
- Password
string
- The password to use when authenticating with the HTTP server.
- Username
string
- The username to use when authenticating with the HTTP server.
- Password
string
- The password to use when authenticating with the HTTP server.
- Username
string
- The username to use when authenticating with the HTTP server.
- password
string
- The password to use when authenticating with the HTTP server.
- username
string
- The username to use when authenticating with the HTTP server.
- password
String
- The password to use when authenticating with the HTTP server.
- username
String
- The username to use when authenticating with the HTTP server.
- password
string
- The password to use when authenticating with the HTTP server.
- username
string
- The username to use when authenticating with the HTTP server.
- password
str
- The password to use when authenticating with the HTTP server.
- username
str
- The username to use when authenticating with the HTTP server.
- password
String
- The password to use when authenticating with the HTTP server.
- username
String
- The username to use when authenticating with the HTTP server.
CloudFunctionV2Target, CloudFunctionV2TargetArgs
A Synthetic Monitor deployed to a Cloud Functions V2 instance.
- Name
string
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- Name
string
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- name
string
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- name
String
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- name
string
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- name
str
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- name
String
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
CloudFunctionV2TargetResponse
A Synthetic Monitor deployed to a Cloud Functions V2 instance.
- CloudRunRevision
MonitoredResourceResponse
- The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.
- Name
string
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- cloud_run_revision
object
- The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.
- name
string
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- cloudRunRevision
MonitoredResourceResponse
- The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.
- name
String
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- cloudRunRevision
MonitoredResourceResponse
- The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.
- name
string
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- cloud_run_revision
MonitoredResourceResponse
- The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.
- name
str
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
- cloudRunRevision
Property Map
- The cloud_run_revision Monitored Resource associated with the GCFv2. The Synthetic Monitor execution results (metrics, logs, and spans) are reported against this Monitored Resource. This field is output only.
- name
String
- Fully qualified GCFv2 resource name i.e. projects/{project}/locations/{location}/functions/{function} Required.
ContentMatcher, ContentMatcherArgs
Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4 MB of an HTTP or HTTPS check's response (and the first 1 MB of a TCP check's response) are examined for purposes of content matching.
- Content
string
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- JsonPathMatcher
JsonPathMatcher
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- Matcher
ContentMatcherMatcher
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
String
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- jsonPathMatcher
JsonPathMatcher
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
ContentMatcherMatcher
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
string
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- jsonPathMatcher
JsonPathMatcher
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
ContentMatcherMatcher
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
str
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- json_path_matcher
JsonPathMatcher
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
ContentMatcherMatcher
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
ContentMatcherMatcher
The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
| Name | Value | Description |
|---|
| ContentMatcherOptionUnspecified | CONTENT_MATCHER_OPTION_UNSPECIFIED | No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING. |
| ContainsString | CONTAINS_STRING | Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED. |
| NotContainsString | NOT_CONTAINS_STRING | Selects negation of substring matching. The match succeeds if the output does NOT contain the content string. |
| MatchesRegex | MATCHES_REGEX | Selects regular-expression matching. The match succeeds if the output matches the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| NotMatchesRegex | NOT_MATCHES_REGEX | Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| MatchesJsonPath | MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. JSONPath matching is only supported for HTTP/HTTPS checks. |
| NotMatchesJsonPath | NOT_MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. Succeeds when output does NOT match as specified. JSONPath is only supported for HTTP/HTTPS checks. |
| Name | Value | Description |
|---|
| ContentMatcherMatcherContentMatcherOptionUnspecified | CONTENT_MATCHER_OPTION_UNSPECIFIED | No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING. |
| ContentMatcherMatcherContainsString | CONTAINS_STRING | Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED. |
| ContentMatcherMatcherNotContainsString | NOT_CONTAINS_STRING | Selects negation of substring matching. The match succeeds if the output does NOT contain the content string. |
| ContentMatcherMatcherMatchesRegex | MATCHES_REGEX | Selects regular-expression matching. The match succeeds if the output matches the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| ContentMatcherMatcherNotMatchesRegex | NOT_MATCHES_REGEX | Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| ContentMatcherMatcherMatchesJsonPath | MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. JSONPath matching is only supported for HTTP/HTTPS checks. |
| ContentMatcherMatcherNotMatchesJsonPath | NOT_MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. Succeeds when output does NOT match as specified. JSONPath is only supported for HTTP/HTTPS checks. |
| Value | Description |
|---|
CONTENT_MATCHER_OPTION_UNSPECIFIED | No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING. |
CONTAINS_STRING | Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED. |
NOT_CONTAINS_STRING | Selects negation of substring matching. The match succeeds if the output does NOT contain the content string. |
MATCHES_REGEX | Selects regular-expression matching. The match succeeds if the output matches the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
NOT_MATCHES_REGEX | Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. JSONPath matching is only supported for HTTP/HTTPS checks. |
NOT_MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. Succeeds when output does NOT match as specified. JSONPath is only supported for HTTP/HTTPS checks. |
| Name | Value | Description |
|---|
| ContentMatcherOptionUnspecified | CONTENT_MATCHER_OPTION_UNSPECIFIED | No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING. |
| ContainsString | CONTAINS_STRING | Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED. |
| NotContainsString | NOT_CONTAINS_STRING | Selects negation of substring matching. The match succeeds if the output does NOT contain the content string. |
| MatchesRegex | MATCHES_REGEX | Selects regular-expression matching. The match succeeds if the output matches the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| NotMatchesRegex | NOT_MATCHES_REGEX | Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| MatchesJsonPath | MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. JSONPath matching is only supported for HTTP/HTTPS checks. |
| NotMatchesJsonPath | NOT_MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. Succeeds when output does NOT match as specified. JSONPath is only supported for HTTP/HTTPS checks. |
| Name | Value | Description |
|---|
| ContentMatcherOptionUnspecified | CONTENT_MATCHER_OPTION_UNSPECIFIED | No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING. |
| ContainsString | CONTAINS_STRING | Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED. |
| NotContainsString | NOT_CONTAINS_STRING | Selects negation of substring matching. The match succeeds if the output does NOT contain the content string. |
| MatchesRegex | MATCHES_REGEX | Selects regular-expression matching. The match succeeds if the output matches the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| NotMatchesRegex | NOT_MATCHES_REGEX | Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| MatchesJsonPath | MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. JSONPath matching is only supported for HTTP/HTTPS checks. |
| NotMatchesJsonPath | NOT_MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. Succeeds when output does NOT match as specified. JSONPath is only supported for HTTP/HTTPS checks. |
| Name | Value | Description |
|---|
| CONTENT_MATCHER_OPTION_UNSPECIFIED | CONTENT_MATCHER_OPTION_UNSPECIFIED | No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING. |
| CONTAINS_STRING | CONTAINS_STRING | Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED. |
| NOT_CONTAINS_STRING | NOT_CONTAINS_STRING | Selects negation of substring matching. The match succeeds if the output does NOT contain the content string. |
| MATCHES_REGEX | MATCHES_REGEX | Selects regular-expression matching. The match succeeds if the output matches the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| NOT_MATCHES_REGEX | NOT_MATCHES_REGEX | Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
| MATCHES_JSON_PATH | MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. JSONPath matching is only supported for HTTP/HTTPS checks. |
| NOT_MATCHES_JSON_PATH | NOT_MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. Succeeds when output does NOT match as specified. JSONPath is only supported for HTTP/HTTPS checks. |
| Value | Description |
|---|
CONTENT_MATCHER_OPTION_UNSPECIFIED | No content matcher type specified (maintained for backward compatibility, but deprecated for future use). Treated as CONTAINS_STRING. |
CONTAINS_STRING | Selects substring matching. The match succeeds if the output contains the content string. This is the default value for checks without a matcher option, or where the value of matcher is CONTENT_MATCHER_OPTION_UNSPECIFIED. |
NOT_CONTAINS_STRING | Selects negation of substring matching. The match succeeds if the output does NOT contain the content string. |
MATCHES_REGEX | Selects regular-expression matching. The match succeeds if the output matches the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
NOT_MATCHES_REGEX | Selects negation of regular-expression matching. The match succeeds if the output does NOT match the regular expression specified in the content string. Regex matching is only supported for HTTP/HTTPS checks. |
MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. JSONPath matching is only supported for HTTP/HTTPS checks. |
NOT_MATCHES_JSON_PATH | Selects JSONPath matching. See JsonPathMatcher for details on when the match succeeds. Succeeds when output does NOT match as specified. JSONPath is only supported for HTTP/HTTPS checks. |
ContentMatcherResponse
Optional. Used to perform content matching. This allows matching based on substrings and regular expressions, together with their negations. Only the first 4 MB of an HTTP or HTTPS check's response (and the first 1 MB of a TCP check's response) are examined for purposes of content matching.
- Content
string
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- JsonPathMatcher
JsonPathMatcherResponse
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- Matcher
string
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
string
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- json_path_matcher
object
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
string
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
String
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- jsonPathMatcher
JsonPathMatcherResponse
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
String
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
string
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- jsonPathMatcher
JsonPathMatcherResponse
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
string
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
str
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- json_path_matcher
JsonPathMatcherResponse
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
str
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
- content
String
- String, regex or JSON content to match. Maximum 1024 bytes. An empty content string indicates no content matching is to be performed.
- jsonPathMatcher
Property Map
- Matcher information for MATCHES_JSON_PATH and NOT_MATCHES_JSON_PATH
- matcher
String
- The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
HttpCheck, HttpCheckArgs
Information involved in an HTTP/HTTPS Uptime check request.
- AcceptedResponseStatusCodes
List<Pulumi.GoogleNative.Monitoring.V3.Inputs.ResponseStatusCode>
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- AuthInfo
Pulumi.GoogleNative.Monitoring.V3.Inputs.BasicAuthentication
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- Body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- ContentType
Pulumi.GoogleNative.Monitoring.V3.HttpCheckContentType
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- CustomContentType
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Dictionary<string, string>
- 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.
-
bool
- 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 ******.
- Path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- PingConfig
Pulumi.GoogleNative.Monitoring.V3.Inputs.PingConfig
- Contains information needed to add pings to an HTTP check.
- Port
int
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- RequestMethod
Pulumi.GoogleNative.Monitoring.V3.HttpCheckRequestMethod
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- UseSsl
bool
- If true, use HTTPS instead of HTTP to run the check.
- ValidateSsl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- AcceptedResponseStatusCodes
[]ResponseStatusCode
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- AuthInfo
BasicAuthentication
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- Body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- ContentType
HttpCheckContentType
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- CustomContentType
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
map[string]string
- 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.
-
bool
- 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 ******.
- Path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- PingConfig
PingConfig
- Contains information needed to add pings to an HTTP check.
- Port
int
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- RequestMethod
HttpCheckRequestMethod
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- UseSsl
bool
- If true, use HTTPS instead of HTTP to run the check.
- ValidateSsl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- accepted_response_status_codes
list(object)
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- auth_info
object
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- content_type
"TYPE_UNSPECIFIED" | "URL_ENCODED" | "USER_PROVIDED"
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- custom_content_type
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
map(string)
- 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.
-
bool
- 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 ******.
- path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- ping_config
object
- Contains information needed to add pings to an HTTP check.
- port
number
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- request_method
"METHOD_UNSPECIFIED" | "GET" | "POST"
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- use_ssl
bool
- If true, use HTTPS instead of HTTP to run the check.
- validate_ssl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- acceptedResponseStatusCodes
List<ResponseStatusCode>
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- authInfo
BasicAuthentication
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
String
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- contentType
HttpCheckContentType
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- customContentType
String
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Map<String,String>
- 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.
-
Boolean
- 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 ******.
- path
String
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- pingConfig
PingConfig
- Contains information needed to add pings to an HTTP check.
- port
Integer
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- requestMethod
HttpCheckRequestMethod
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- useSsl
Boolean
- If true, use HTTPS instead of HTTP to run the check.
- validateSsl
Boolean
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- acceptedResponseStatusCodes
ResponseStatusCode[]
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- authInfo
BasicAuthentication
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- contentType
HttpCheckContentType
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- customContentType
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
{[key: string]: string}
- 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.
-
boolean
- 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 ******.
- path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- pingConfig
PingConfig
- Contains information needed to add pings to an HTTP check.
- port
number
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- requestMethod
HttpCheckRequestMethod
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- useSsl
boolean
- If true, use HTTPS instead of HTTP to run the check.
- validateSsl
boolean
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- accepted_response_status_codes
Sequence[ResponseStatusCode]
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- auth_info
BasicAuthentication
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
str
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- content_type
HttpCheckContentType
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- custom_content_type
str
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Mapping[str, str]
- 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.
-
bool
- 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 ******.
- path
str
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- ping_config
PingConfig
- Contains information needed to add pings to an HTTP check.
- port
int
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- request_method
HttpCheckRequestMethod
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- use_ssl
bool
- If true, use HTTPS instead of HTTP to run the check.
- validate_ssl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- acceptedResponseStatusCodes
List<Property Map>
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- authInfo
Property Map
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
String
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- contentType
"TYPE_UNSPECIFIED" | "URL_ENCODED" | "USER_PROVIDED"
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- customContentType
String
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Map<String>
- 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.
-
Boolean
- 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 ******.
- path
String
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- pingConfig
Property Map
- Contains information needed to add pings to an HTTP check.
- port
Number
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- requestMethod
"METHOD_UNSPECIFIED" | "GET" | "POST"
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- useSsl
Boolean
- If true, use HTTPS instead of HTTP to run the check.
- validateSsl
Boolean
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
HttpCheckContentType
The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
| Name | Value | Description |
|---|
| TypeUnspecified | TYPE_UNSPECIFIED | No content type specified. |
| UrlEncoded | URL_ENCODED | body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request. |
| UserProvided | USER_PROVIDED | body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request. |
| Name | Value | Description |
|---|
| HttpCheckContentTypeTypeUnspecified | TYPE_UNSPECIFIED | No content type specified. |
| HttpCheckContentTypeUrlEncoded | URL_ENCODED | body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request. |
| HttpCheckContentTypeUserProvided | USER_PROVIDED | body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request. |
| Value | Description |
|---|
TYPE_UNSPECIFIED | No content type specified. |
URL_ENCODED | body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request. |
USER_PROVIDED | body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request. |
| Name | Value | Description |
|---|
| TypeUnspecified | TYPE_UNSPECIFIED | No content type specified. |
| UrlEncoded | URL_ENCODED | body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request. |
| UserProvided | USER_PROVIDED | body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request. |
| Name | Value | Description |
|---|
| TypeUnspecified | TYPE_UNSPECIFIED | No content type specified. |
| UrlEncoded | URL_ENCODED | body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request. |
| UserProvided | USER_PROVIDED | body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request. |
| Name | Value | Description |
|---|
| TYPE_UNSPECIFIED | TYPE_UNSPECIFIED | No content type specified. |
| URL_ENCODED | URL_ENCODED | body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request. |
| USER_PROVIDED | USER_PROVIDED | body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request. |
| Value | Description |
|---|
TYPE_UNSPECIFIED | No content type specified. |
URL_ENCODED | body is in URL-encoded form. Equivalent to setting the Content-Type to application/x-www-form-urlencoded in the HTTP request. |
USER_PROVIDED | body is in custom_content_type form. Equivalent to setting the Content-Type to the contents of custom_content_type in the HTTP request. |
HttpCheckRequestMethod
The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
| Name | Value | Description |
|---|
| MethodUnspecified | METHOD_UNSPECIFIED | No request method specified. |
| Get | GET | GET request. |
| Post | POST | POST request. |
| Name | Value | Description |
|---|
| HttpCheckRequestMethodMethodUnspecified | METHOD_UNSPECIFIED | No request method specified. |
| HttpCheckRequestMethodGet | GET | GET request. |
| HttpCheckRequestMethodPost | POST | POST request. |
| Value | Description |
|---|
METHOD_UNSPECIFIED | No request method specified. |
GET | GET request. |
POST | POST request. |
| Name | Value | Description |
|---|
| MethodUnspecified | METHOD_UNSPECIFIED | No request method specified. |
| Get | GET | GET request. |
| Post | POST | POST request. |
| Name | Value | Description |
|---|
| MethodUnspecified | METHOD_UNSPECIFIED | No request method specified. |
| Get | GET | GET request. |
| Post | POST | POST request. |
| Name | Value | Description |
|---|
| METHOD_UNSPECIFIED | METHOD_UNSPECIFIED | No request method specified. |
| GET | GET | GET request. |
| POST | POST | POST request. |
| Value | Description |
|---|
METHOD_UNSPECIFIED | No request method specified. |
GET | GET request. |
POST | POST request. |
HttpCheckResponse
Information involved in an HTTP/HTTPS Uptime check request.
- AcceptedResponseStatusCodes
List<Pulumi.GoogleNative.Monitoring.V3.Inputs.ResponseStatusCodeResponse>
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- AuthInfo
Pulumi.GoogleNative.Monitoring.V3.Inputs.BasicAuthenticationResponse
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- Body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- ContentType
string
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- CustomContentType
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Dictionary<string, string>
- 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.
-
bool
- 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 ******.
- Path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- PingConfig
Pulumi.GoogleNative.Monitoring.V3.Inputs.PingConfigResponse
- Contains information needed to add pings to an HTTP check.
- Port
int
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- RequestMethod
string
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- UseSsl
bool
- If true, use HTTPS instead of HTTP to run the check.
- ValidateSsl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- AcceptedResponseStatusCodes
[]ResponseStatusCodeResponse
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- AuthInfo
BasicAuthenticationResponse
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- Body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- ContentType
string
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- CustomContentType
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
map[string]string
- 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.
-
bool
- 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 ******.
- Path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- PingConfig
PingConfigResponse
- Contains information needed to add pings to an HTTP check.
- Port
int
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- RequestMethod
string
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- UseSsl
bool
- If true, use HTTPS instead of HTTP to run the check.
- ValidateSsl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- accepted_response_status_codes
list(object)
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- auth_info
object
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- content_type
string
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- custom_content_type
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
map(string)
- 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.
-
bool
- 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 ******.
- path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- ping_config
object
- Contains information needed to add pings to an HTTP check.
- port
number
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- request_method
string
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- use_ssl
bool
- If true, use HTTPS instead of HTTP to run the check.
- validate_ssl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- acceptedResponseStatusCodes
List<ResponseStatusCodeResponse>
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- authInfo
BasicAuthenticationResponse
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
String
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- contentType
String
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- customContentType
String
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Map<String,String>
- 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.
-
Boolean
- 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 ******.
- path
String
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- pingConfig
PingConfigResponse
- Contains information needed to add pings to an HTTP check.
- port
Integer
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- requestMethod
String
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- useSsl
Boolean
- If true, use HTTPS instead of HTTP to run the check.
- validateSsl
Boolean
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- acceptedResponseStatusCodes
ResponseStatusCodeResponse[]
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- authInfo
BasicAuthenticationResponse
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
string
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- contentType
string
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- customContentType
string
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
{[key: string]: string}
- 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.
-
boolean
- 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 ******.
- path
string
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- pingConfig
PingConfigResponse
- Contains information needed to add pings to an HTTP check.
- port
number
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- requestMethod
string
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- useSsl
boolean
- If true, use HTTPS instead of HTTP to run the check.
- validateSsl
boolean
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- accepted_response_status_codes
Sequence[ResponseStatusCodeResponse]
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- auth_info
BasicAuthenticationResponse
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
str
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- content_type
str
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- custom_content_type
str
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Mapping[str, str]
- 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.
-
bool
- 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 ******.
- path
str
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- ping_config
PingConfigResponse
- Contains information needed to add pings to an HTTP check.
- port
int
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- request_method
str
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- use_ssl
bool
- If true, use HTTPS instead of HTTP to run the check.
- validate_ssl
bool
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
- acceptedResponseStatusCodes
List<Property Map>
- If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
- authInfo
Property Map
- The authentication information. Optional when creating an HTTP check; defaults to empty.
- body
String
- The request body associated with the HTTP POST request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the request_method is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte.Note: If client libraries aren't used (which performs the conversion automatically) base64 encode your body data since the field is of bytes type.
- contentType
String
- The content type header to use for the check. The following configurations result in errors: 1. Content type is specified in both the headers field and the content_type field. 2. Request method is GET and content_type is not TYPE_UNSPECIFIED 3. Request method is POST and content_type is TYPE_UNSPECIFIED. 4. Request method is POST and a "Content-Type" header is provided via headers field. The content_type field should be used instead.
- customContentType
String
- A user provided content type header to use for the check. The invalid configurations outlined in the content_type field apply to custom_content_type, as well as the following: 1. content_type is URL_ENCODED and custom_content_type is set. 2. content_type is USER_PROVIDED and custom_content_type is not set.
-
Map<String>
- 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.
-
Boolean
- 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 ******.
- path
String
- Optional (defaults to "/"). The path to the page against which to run the check. Will be combined with the host (specified within the monitored_resource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically.
- pingConfig
Property Map
- Contains information needed to add pings to an HTTP check.
- port
Number
- Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.
- requestMethod
String
- The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then request_method defaults to GET.
- useSsl
Boolean
- If true, use HTTPS instead of HTTP to run the check.
- validateSsl
Boolean
- Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitored_resource is set to uptime_url. If use_ssl is false, setting validate_ssl to true has no effect.
InternalChecker, InternalCheckerArgs
An internal checker allows Uptime checks to run on private/internal GCP resources.
- DisplayName
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- GcpZone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- Name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- Network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- PeerProjectId
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- State
Pulumi.GoogleNative.Monitoring.V3.InternalCheckerState
- The current operational state of the internal checker.
- DisplayName
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- GcpZone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- Name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- Network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- PeerProjectId
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- State
InternalCheckerState
- The current operational state of the internal checker.
- display_name
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcp_zone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peer_project_id
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
"UNSPECIFIED" | "CREATING" | "RUNNING"
- The current operational state of the internal checker.
- displayName
String
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcpZone
String
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
String
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
String
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peerProjectId
String
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
InternalCheckerState
- The current operational state of the internal checker.
- displayName
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcpZone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peerProjectId
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
InternalCheckerState
- The current operational state of the internal checker.
- display_name
str
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcp_zone
str
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
str
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
str
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peer_project_id
str
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
InternalCheckerState
- The current operational state of the internal checker.
- displayName
String
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcpZone
String
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
String
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
String
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peerProjectId
String
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
"UNSPECIFIED" | "CREATING" | "RUNNING"
- The current operational state of the internal checker.
InternalCheckerResponse
An internal checker allows Uptime checks to run on private/internal GCP resources.
- DisplayName
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- GcpZone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- Name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- Network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- PeerProjectId
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- State
string
- The current operational state of the internal checker.
- DisplayName
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- GcpZone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- Name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- Network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- PeerProjectId
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- State
string
- The current operational state of the internal checker.
- display_name
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcp_zone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peer_project_id
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
string
- The current operational state of the internal checker.
- displayName
String
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcpZone
String
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
String
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
String
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peerProjectId
String
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
String
- The current operational state of the internal checker.
- displayName
string
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcpZone
string
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
string
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
string
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peerProjectId
string
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
string
- The current operational state of the internal checker.
- display_name
str
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcp_zone
str
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
str
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
str
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peer_project_id
str
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
str
- The current operational state of the internal checker.
- displayName
String
- The checker's human-readable name. The display name should be unique within a Cloud Monitoring Metrics Scope in order to make it easier to identify; however, uniqueness is not enforced.
- gcpZone
String
- The GCP zone the Uptime check should egress from. Only respected for internal Uptime checks, where internal_network is specified.
- name
String
- A unique resource name for this InternalChecker. The format is: projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] [PROJECT_ID_OR_NUMBER] is the Cloud Monitoring Metrics Scope project for the Uptime check config associated with the internal checker.
- network
String
- The GCP VPC network (https://cloud.google.com/vpc/docs/vpc) where the internal resource lives (ex: "default").
- peerProjectId
String
- The GCP project ID where the internal checker lives. Not necessary the same as the Metrics Scope project.
- state
String
- The current operational state of the internal checker.
InternalCheckerState
The current operational state of the internal checker.
| Name | Value | Description |
|---|
| Unspecified | UNSPECIFIED | An internal checker should never be in the unspecified state. |
| Creating | CREATING | The checker is being created, provisioned, and configured. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker, as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. |
| Running | RUNNING | The checker is running and available for use. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state. |
| Name | Value | Description |
|---|
| InternalCheckerStateUnspecified | UNSPECIFIED | An internal checker should never be in the unspecified state. |
| InternalCheckerStateCreating | CREATING | The checker is being created, provisioned, and configured. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker, as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. |
| InternalCheckerStateRunning | RUNNING | The checker is running and available for use. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state. |
| Value | Description |
|---|
UNSPECIFIED | An internal checker should never be in the unspecified state. |
CREATING | The checker is being created, provisioned, and configured. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker, as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. |
RUNNING | The checker is running and available for use. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state. |
| Name | Value | Description |
|---|
| Unspecified | UNSPECIFIED | An internal checker should never be in the unspecified state. |
| Creating | CREATING | The checker is being created, provisioned, and configured. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker, as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. |
| Running | RUNNING | The checker is running and available for use. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state. |
| Name | Value | Description |
|---|
| Unspecified | UNSPECIFIED | An internal checker should never be in the unspecified state. |
| Creating | CREATING | The checker is being created, provisioned, and configured. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker, as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. |
| Running | RUNNING | The checker is running and available for use. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state. |
| Name | Value | Description |
|---|
| UNSPECIFIED | UNSPECIFIED | An internal checker should never be in the unspecified state. |
| CREATING | CREATING | The checker is being created, provisioned, and configured. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker, as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. |
| RUNNING | RUNNING | The checker is running and available for use. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state. |
| Value | Description |
|---|
UNSPECIFIED | An internal checker should never be in the unspecified state. |
CREATING | The checker is being created, provisioned, and configured. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker, as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. |
RUNNING | The checker is running and available for use. A checker in this state can be returned by ListInternalCheckers or GetInternalChecker as well as by examining the long running Operation (https://cloud.google.com/apis/design/design_patterns#long_running_operations) that created it. If a checker is being torn down, it is neither visible nor usable, so there is no "deleting" or "down" state. |
JsonPathMatcher, JsonPathMatcherArgs
Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH.
- JsonMatcher
JsonPathMatcherJsonMatcher
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- JsonPath
string
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- jsonMatcher
JsonPathMatcherJsonMatcher
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- jsonPath
String
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- jsonMatcher
JsonPathMatcherJsonMatcher
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- jsonPath
string
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- json_matcher
JsonPathMatcherJsonMatcher
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- json_path
str
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
JsonPathMatcherJsonMatcher
The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
| Name | Value | Description |
|---|
| JsonPathMatcherOptionUnspecified | JSON_PATH_MATCHER_OPTION_UNSPECIFIED | No JSONPath matcher type specified (not valid). |
| ExactMatch | EXACT_MATCH | Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string. |
| RegexMatch | REGEX_MATCH | Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string. |
| Name | Value | Description |
|---|
| JsonPathMatcherJsonMatcherJsonPathMatcherOptionUnspecified | JSON_PATH_MATCHER_OPTION_UNSPECIFIED | No JSONPath matcher type specified (not valid). |
| JsonPathMatcherJsonMatcherExactMatch | EXACT_MATCH | Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string. |
| JsonPathMatcherJsonMatcherRegexMatch | REGEX_MATCH | Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string. |
| Value | Description |
|---|
JSON_PATH_MATCHER_OPTION_UNSPECIFIED | No JSONPath matcher type specified (not valid). |
EXACT_MATCH | Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string. |
REGEX_MATCH | Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string. |
| Name | Value | Description |
|---|
| JsonPathMatcherOptionUnspecified | JSON_PATH_MATCHER_OPTION_UNSPECIFIED | No JSONPath matcher type specified (not valid). |
| ExactMatch | EXACT_MATCH | Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string. |
| RegexMatch | REGEX_MATCH | Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string. |
| Name | Value | Description |
|---|
| JsonPathMatcherOptionUnspecified | JSON_PATH_MATCHER_OPTION_UNSPECIFIED | No JSONPath matcher type specified (not valid). |
| ExactMatch | EXACT_MATCH | Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string. |
| RegexMatch | REGEX_MATCH | Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string. |
| Name | Value | Description |
|---|
| JSON_PATH_MATCHER_OPTION_UNSPECIFIED | JSON_PATH_MATCHER_OPTION_UNSPECIFIED | No JSONPath matcher type specified (not valid). |
| EXACT_MATCH | EXACT_MATCH | Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string. |
| REGEX_MATCH | REGEX_MATCH | Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string. |
| Value | Description |
|---|
JSON_PATH_MATCHER_OPTION_UNSPECIFIED | No JSONPath matcher type specified (not valid). |
EXACT_MATCH | Selects 'exact string' matching. The match succeeds if the content at the json_path within the output is exactly the same as the content string. |
REGEX_MATCH | Selects regular-expression matching. The match succeeds if the content at the json_path within the output matches the regular expression specified in the content string. |
JsonPathMatcherResponse
Information needed to perform a JSONPath content match. Used for ContentMatcherOption::MATCHES_JSON_PATH and ContentMatcherOption::NOT_MATCHES_JSON_PATH.
- JsonMatcher
string
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- JsonPath
string
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- JsonMatcher
string
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- JsonPath
string
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- json_matcher
string
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- json_path
string
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- jsonMatcher
String
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- jsonPath
String
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- jsonMatcher
string
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- jsonPath
string
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- json_matcher
str
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- json_path
str
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
- jsonMatcher
String
- The type of JSONPath match that will be applied to the JSON output (ContentMatcher.content)
- jsonPath
String
- JSONPath within the response output pointing to the expected ContentMatcher::content to match against.
MonitoredResource, MonitoredResourceArgs
An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "instance_id" and "zone": { "type": "gce_instance", "labels": { "project_id": "my-project", "instance_id": "12345678901234", "zone": "us-central1-a" }}
- Labels
Dictionary<string, string>
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- Type
string
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
- Labels
map[string]string
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- Type
string
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
- labels
Map<String,String>
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- type
String
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
- labels
{[key: string]: string}
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- type
string
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
MonitoredResourceResponse
An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "instance_id" and "zone": { "type": "gce_instance", "labels": { "project_id": "my-project", "instance_id": "12345678901234", "zone": "us-central1-a" }}
- Labels
Dictionary<string, string>
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- Type
string
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
- Labels
map[string]string
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- Type
string
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
- labels
Map<String,String>
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- type
String
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
- labels
{[key: string]: string}
- Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone".
- type
string
- The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
PingConfig, PingConfigArgs
Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain.
- PingsCount
int
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- PingsCount
int
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pings_count
number
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pingsCount
Integer
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pingsCount
number
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pings_count
int
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pingsCount
Number
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
PingConfigResponse
Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain.
- PingsCount
int
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- PingsCount
int
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pings_count
number
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pingsCount
Integer
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pingsCount
number
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pings_count
int
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
- pingsCount
Number
- Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
ResourceGroup, ResourceGroupArgs
The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored.
- GroupId
string
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- ResourceType
ResourceGroupResourceType
- The resource type of the group members.
- groupId
String
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resourceType
ResourceGroupResourceType
- The resource type of the group members.
- groupId
string
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resourceType
ResourceGroupResourceType
- The resource type of the group members.
- group_id
str
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resource_type
ResourceGroupResourceType
- The resource type of the group members.
ResourceGroupResourceType
The resource type of the group members.
| Name | Value | Description |
|---|
| ResourceTypeUnspecified | RESOURCE_TYPE_UNSPECIFIED | Default value (not valid). |
| Instance | INSTANCE | A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS). |
| AwsElbLoadBalancer | AWS_ELB_LOAD_BALANCER | A group of Amazon ELB load balancers. |
| Name | Value | Description |
|---|
| ResourceGroupResourceTypeResourceTypeUnspecified | RESOURCE_TYPE_UNSPECIFIED | Default value (not valid). |
| ResourceGroupResourceTypeInstance | INSTANCE | A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS). |
| ResourceGroupResourceTypeAwsElbLoadBalancer | AWS_ELB_LOAD_BALANCER | A group of Amazon ELB load balancers. |
| Value | Description |
|---|
RESOURCE_TYPE_UNSPECIFIED | Default value (not valid). |
INSTANCE | A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS). |
AWS_ELB_LOAD_BALANCER | A group of Amazon ELB load balancers. |
| Name | Value | Description |
|---|
| ResourceTypeUnspecified | RESOURCE_TYPE_UNSPECIFIED | Default value (not valid). |
| Instance | INSTANCE | A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS). |
| AwsElbLoadBalancer | AWS_ELB_LOAD_BALANCER | A group of Amazon ELB load balancers. |
| Name | Value | Description |
|---|
| ResourceTypeUnspecified | RESOURCE_TYPE_UNSPECIFIED | Default value (not valid). |
| Instance | INSTANCE | A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS). |
| AwsElbLoadBalancer | AWS_ELB_LOAD_BALANCER | A group of Amazon ELB load balancers. |
| Name | Value | Description |
|---|
| RESOURCE_TYPE_UNSPECIFIED | RESOURCE_TYPE_UNSPECIFIED | Default value (not valid). |
| INSTANCE | INSTANCE | A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS). |
| AWS_ELB_LOAD_BALANCER | AWS_ELB_LOAD_BALANCER | A group of Amazon ELB load balancers. |
| Value | Description |
|---|
RESOURCE_TYPE_UNSPECIFIED | Default value (not valid). |
INSTANCE | A group of instances from Google Cloud Platform (GCP) or Amazon Web Services (AWS). |
AWS_ELB_LOAD_BALANCER | A group of Amazon ELB load balancers. |
ResourceGroupResponse
The resource submessage for group checks. It can be used instead of a monitored resource, when multiple resources are being monitored.
- GroupId
string
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- ResourceType
string
- The resource type of the group members.
- GroupId
string
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- ResourceType
string
- The resource type of the group members.
- group_id
string
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resource_type
string
- The resource type of the group members.
- groupId
String
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resourceType
String
- The resource type of the group members.
- groupId
string
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resourceType
string
- The resource type of the group members.
- group_id
str
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resource_type
str
- The resource type of the group members.
- groupId
String
- The group of resources being monitored. Should be only the [GROUP_ID], and not the full-path projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID].
- resourceType
String
- The resource type of the group members.
ResponseStatusCode, ResponseStatusCodeArgs
A status to accept. Either a status code class like "2xx", or an integer status code like "200".
ResponseStatusCodeResponse
A status to accept. Either a status code class like "2xx", or an integer status code like "200".
ResponseStatusCodeStatusClass
A class of status codes to accept.
| Name | Value | Description |
|---|
| StatusClassUnspecified | STATUS_CLASS_UNSPECIFIED | Default value that matches no status codes. |
| StatusClass1xx | STATUS_CLASS_1XX | The class of status codes between 100 and 199. |
| StatusClass2xx | STATUS_CLASS_2XX | The class of status codes between 200 and 299. |
| StatusClass3xx | STATUS_CLASS_3XX | The class of status codes between 300 and 399. |
| StatusClass4xx | STATUS_CLASS_4XX | The class of status codes between 400 and 499. |
| StatusClass5xx | STATUS_CLASS_5XX | The class of status codes between 500 and 599. |
| StatusClassAny | STATUS_CLASS_ANY | The class of all status codes. |
| Name | Value | Description |
|---|
| ResponseStatusCodeStatusClassStatusClassUnspecified | STATUS_CLASS_UNSPECIFIED | Default value that matches no status codes. |
| ResponseStatusCodeStatusClassStatusClass1xx | STATUS_CLASS_1XX | The class of status codes between 100 and 199. |
| ResponseStatusCodeStatusClassStatusClass2xx | STATUS_CLASS_2XX | The class of status codes between 200 and 299. |
| ResponseStatusCodeStatusClassStatusClass3xx | STATUS_CLASS_3XX | The class of status codes between 300 and 399. |
| ResponseStatusCodeStatusClassStatusClass4xx | STATUS_CLASS_4XX | The class of status codes between 400 and 499. |
| ResponseStatusCodeStatusClassStatusClass5xx | STATUS_CLASS_5XX | The class of status codes between 500 and 599. |
| ResponseStatusCodeStatusClassStatusClassAny | STATUS_CLASS_ANY | The class of all status codes. |
| Value | Description |
|---|
STATUS_CLASS_UNSPECIFIED | Default value that matches no status codes. |
STATUS_CLASS_1XX | The class of status codes between 100 and 199. |
STATUS_CLASS_2XX | The class of status codes between 200 and 299. |
STATUS_CLASS_3XX | The class of status codes between 300 and 399. |
STATUS_CLASS_4XX | The class of status codes between 400 and 499. |
STATUS_CLASS_5XX | The class of status codes between 500 and 599. |
STATUS_CLASS_ANY | The class of all status codes. |
| Name | Value | Description |
|---|
| StatusClassUnspecified | STATUS_CLASS_UNSPECIFIED | Default value that matches no status codes. |
| StatusClass1xx | STATUS_CLASS_1XX | The class of status codes between 100 and 199. |
| StatusClass2xx | STATUS_CLASS_2XX | The class of status codes between 200 and 299. |
| StatusClass3xx | STATUS_CLASS_3XX | The class of status codes between 300 and 399. |
| StatusClass4xx | STATUS_CLASS_4XX | The class of status codes between 400 and 499. |
| StatusClass5xx | STATUS_CLASS_5XX | The class of status codes between 500 and 599. |
| StatusClassAny | STATUS_CLASS_ANY | The class of all status codes. |
| Name | Value | Description |
|---|
| StatusClassUnspecified | STATUS_CLASS_UNSPECIFIED | Default value that matches no status codes. |
| StatusClass1xx | STATUS_CLASS_1XX | The class of status codes between 100 and 199. |
| StatusClass2xx | STATUS_CLASS_2XX | The class of status codes between 200 and 299. |
| StatusClass3xx | STATUS_CLASS_3XX | The class of status codes between 300 and 399. |
| StatusClass4xx | STATUS_CLASS_4XX | The class of status codes between 400 and 499. |
| StatusClass5xx | STATUS_CLASS_5XX | The class of status codes between 500 and 599. |
| StatusClassAny | STATUS_CLASS_ANY | The class of all status codes. |
| Name | Value | Description |
|---|
| STATUS_CLASS_UNSPECIFIED | STATUS_CLASS_UNSPECIFIED | Default value that matches no status codes. |
| STATUS_CLASS1XX | STATUS_CLASS_1XX | The class of status codes between 100 and 199. |
| STATUS_CLASS2XX | STATUS_CLASS_2XX | The class of status codes between 200 and 299. |
| STATUS_CLASS3XX | STATUS_CLASS_3XX | The class of status codes between 300 and 399. |
| STATUS_CLASS4XX | STATUS_CLASS_4XX | The class of status codes between 400 and 499. |
| STATUS_CLASS5XX | STATUS_CLASS_5XX | The class of status codes between 500 and 599. |
| STATUS_CLASS_ANY | STATUS_CLASS_ANY | The class of all status codes. |
| Value | Description |
|---|
STATUS_CLASS_UNSPECIFIED | Default value that matches no status codes. |
STATUS_CLASS_1XX | The class of status codes between 100 and 199. |
STATUS_CLASS_2XX | The class of status codes between 200 and 299. |
STATUS_CLASS_3XX | The class of status codes between 300 and 399. |
STATUS_CLASS_4XX | The class of status codes between 400 and 499. |
STATUS_CLASS_5XX | The class of status codes between 500 and 599. |
STATUS_CLASS_ANY | The class of all status codes. |
SyntheticMonitorTarget, SyntheticMonitorTargetArgs
Describes a Synthetic Monitor to be invoked by Uptime.
SyntheticMonitorTargetResponse
Describes a Synthetic Monitor to be invoked by Uptime.
TcpCheck, TcpCheckArgs
Information required for a TCP Uptime check request.
- PingConfig
PingConfig
- Contains information needed to add pings to a TCP check.
- Port
int
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- ping_config
object
- Contains information needed to add pings to a TCP check.
- port
number
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- pingConfig
PingConfig
- Contains information needed to add pings to a TCP check.
- port
Integer
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- pingConfig
PingConfig
- Contains information needed to add pings to a TCP check.
- port
number
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- ping_config
PingConfig
- Contains information needed to add pings to a TCP check.
- port
int
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- pingConfig
Property Map
- Contains information needed to add pings to a TCP check.
- port
Number
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
TcpCheckResponse
Information required for a TCP Uptime check request.
- PingConfig
PingConfigResponse
- Contains information needed to add pings to a TCP check.
- Port
int
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- ping_config
object
- Contains information needed to add pings to a TCP check.
- port
number
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- pingConfig
PingConfigResponse
- Contains information needed to add pings to a TCP check.
- port
Integer
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- pingConfig
PingConfigResponse
- Contains information needed to add pings to a TCP check.
- port
number
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- ping_config
PingConfigResponse
- Contains information needed to add pings to a TCP check.
- port
int
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
- pingConfig
Property Map
- Contains information needed to add pings to a TCP check.
- port
Number
- The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required.
UptimeCheckConfigCheckerType
The type of checkers to use to execute the Uptime check.
| Name | Value | Description |
|---|
| CheckerTypeUnspecified | CHECKER_TYPE_UNSPECIFIED | The default checker type. Currently converted to STATIC_IP_CHECKERS on creation, the default conversion behavior may change in the future. |
| StaticIpCheckers | STATIC_IP_CHECKERS | STATIC_IP_CHECKERS are used for uptime checks that perform egress across the public internet. STATIC_IP_CHECKERS use the static IP addresses returned by ListUptimeCheckIps. |
| VpcCheckers | VPC_CHECKERS | VPC_CHECKERS are used for uptime checks that perform egress using Service Directory and private network access. When using VPC_CHECKERS, the monitored resource type must be servicedirectory_service. |
| Name | Value | Description |
|---|
| UptimeCheckConfigCheckerTypeCheckerTypeUnspecified | CHECKER_TYPE_UNSPECIFIED | The default checker type. Currently converted to STATIC_IP_CHECKERS on creation, the default conversion behavior may change in the future. |
| UptimeCheckConfigCheckerTypeStaticIpCheckers | STATIC_IP_CHECKERS | STATIC_IP_CHECKERS are used for uptime checks that perform egress across the public internet. STATIC_IP_CHECKERS use the static IP addresses returned by ListUptimeCheckIps. |
| UptimeCheckConfigCheckerTypeVpcCheckers | VPC_CHECKERS | VPC_CHECKERS are used for uptime checks that perform egress using Service Directory and private network access. When using VPC_CHECKERS, the monitored resource type must be servicedirectory_service. |
| Value | Description |
|---|
CHECKER_TYPE_UNSPECIFIED | The default checker type. Currently converted to STATIC_IP_CHECKERS on creation, the default conversion behavior may change in the future. |
STATIC_IP_CHECKERS | STATIC_IP_CHECKERS are used for uptime checks that perform egress across the public internet. STATIC_IP_CHECKERS use the static IP addresses returned by ListUptimeCheckIps. |
VPC_CHECKERS | VPC_CHECKERS are used for uptime checks that perform egress using Service Directory and private network access. When using VPC_CHECKERS, the monitored resource type must be servicedirectory_service. |
| Name | Value | Description |
|---|
| CheckerTypeUnspecified | CHECKER_TYPE_UNSPECIFIED | The default checker type. Currently converted to STATIC_IP_CHECKERS on creation, the default conversion behavior may change in the future. |
| StaticIpCheckers | STATIC_IP_CHECKERS | STATIC_IP_CHECKERS are used for uptime checks that perform egress across the public internet. STATIC_IP_CHECKERS use the static IP addresses returned by ListUptimeCheckIps. |
| VpcCheckers | VPC_CHECKERS | VPC_CHECKERS are used for uptime checks that perform egress using Service Directory and private network access. When using VPC_CHECKERS, the monitored resource type must be servicedirectory_service. |
| Name | Value | Description |
|---|
| CheckerTypeUnspecified | CHECKER_TYPE_UNSPECIFIED | The default checker type. Currently converted to STATIC_IP_CHECKERS on creation, the default conversion behavior may change in the future. |
| StaticIpCheckers | STATIC_IP_CHECKERS | STATIC_IP_CHECKERS are used for uptime checks that perform egress across the public internet. STATIC_IP_CHECKERS use the static IP addresses returned by ListUptimeCheckIps. |
| VpcCheckers | VPC_CHECKERS | VPC_CHECKERS are used for uptime checks that perform egress using Service Directory and private network access. When using VPC_CHECKERS, the monitored resource type must be servicedirectory_service. |
| Name | Value | Description |
|---|
| CHECKER_TYPE_UNSPECIFIED | CHECKER_TYPE_UNSPECIFIED | The default checker type. Currently converted to STATIC_IP_CHECKERS on creation, the default conversion behavior may change in the future. |
| STATIC_IP_CHECKERS | STATIC_IP_CHECKERS | STATIC_IP_CHECKERS are used for uptime checks that perform egress across the public internet. STATIC_IP_CHECKERS use the static IP addresses returned by ListUptimeCheckIps. |
| VPC_CHECKERS | VPC_CHECKERS | VPC_CHECKERS are used for uptime checks that perform egress using Service Directory and private network access. When using VPC_CHECKERS, the monitored resource type must be servicedirectory_service. |
| Value | Description |
|---|
CHECKER_TYPE_UNSPECIFIED | The default checker type. Currently converted to STATIC_IP_CHECKERS on creation, the default conversion behavior may change in the future. |
STATIC_IP_CHECKERS | STATIC_IP_CHECKERS are used for uptime checks that perform egress across the public internet. STATIC_IP_CHECKERS use the static IP addresses returned by ListUptimeCheckIps. |
VPC_CHECKERS | VPC_CHECKERS are used for uptime checks that perform egress using Service Directory and private network access. When using VPC_CHECKERS, the monitored resource type must be servicedirectory_service. |
UptimeCheckConfigSelectedRegionsItem
| Name | Value | Description |
|---|
| RegionUnspecified | REGION_UNSPECIFIED | Default value if no region is specified. Will result in Uptime checks running from all regions. |
| Usa | USA | Allows checks to run from locations within the United States of America. |
| Europe | EUROPE | Allows checks to run from locations within the continent of Europe. |
| SouthAmerica | SOUTH_AMERICA | Allows checks to run from locations within the continent of South America. |
| AsiaPacific | ASIA_PACIFIC | Allows checks to run from locations within the Asia Pacific area (ex: Singapore). |
| UsaOregon | USA_OREGON | Allows checks to run from locations within the western United States of America |
| UsaIowa | USA_IOWA | Allows checks to run from locations within the central United States of America |
| UsaVirginia | USA_VIRGINIA | Allows checks to run from locations within the eastern United States of America |
| Name | Value | Description |
|---|
| UptimeCheckConfigSelectedRegionsItemRegionUnspecified | REGION_UNSPECIFIED | Default value if no region is specified. Will result in Uptime checks running from all regions. |
| UptimeCheckConfigSelectedRegionsItemUsa | USA | Allows checks to run from locations within the United States of America. |
| UptimeCheckConfigSelectedRegionsItemEurope | EUROPE | Allows checks to run from locations within the continent of Europe. |
| UptimeCheckConfigSelectedRegionsItemSouthAmerica | SOUTH_AMERICA | Allows checks to run from locations within the continent of South America. |
| UptimeCheckConfigSelectedRegionsItemAsiaPacific | ASIA_PACIFIC | Allows checks to run from locations within the Asia Pacific area (ex: Singapore). |
| UptimeCheckConfigSelectedRegionsItemUsaOregon | USA_OREGON | Allows checks to run from locations within the western United States of America |
| UptimeCheckConfigSelectedRegionsItemUsaIowa | USA_IOWA | Allows checks to run from locations within the central United States of America |
| UptimeCheckConfigSelectedRegionsItemUsaVirginia | USA_VIRGINIA | Allows checks to run from locations within the eastern United States of America |
| Value | Description |
|---|
REGION_UNSPECIFIED | Default value if no region is specified. Will result in Uptime checks running from all regions. |
USA | Allows checks to run from locations within the United States of America. |
EUROPE | Allows checks to run from locations within the continent of Europe. |
SOUTH_AMERICA | Allows checks to run from locations within the continent of South America. |
ASIA_PACIFIC | Allows checks to run from locations within the Asia Pacific area (ex: Singapore). |
USA_OREGON | Allows checks to run from locations within the western United States of America |
USA_IOWA | Allows checks to run from locations within the central United States of America |
USA_VIRGINIA | Allows checks to run from locations within the eastern United States of America |
| Name | Value | Description |
|---|
| RegionUnspecified | REGION_UNSPECIFIED | Default value if no region is specified. Will result in Uptime checks running from all regions. |
| Usa | USA | Allows checks to run from locations within the United States of America. |
| Europe | EUROPE | Allows checks to run from locations within the continent of Europe. |
| SouthAmerica | SOUTH_AMERICA | Allows checks to run from locations within the continent of South America. |
| AsiaPacific | ASIA_PACIFIC | Allows checks to run from locations within the Asia Pacific area (ex: Singapore). |
| UsaOregon | USA_OREGON | Allows checks to run from locations within the western United States of America |
| UsaIowa | USA_IOWA | Allows checks to run from locations within the central United States of America |
| UsaVirginia | USA_VIRGINIA | Allows checks to run from locations within the eastern United States of America |
| Name | Value | Description |
|---|
| RegionUnspecified | REGION_UNSPECIFIED | Default value if no region is specified. Will result in Uptime checks running from all regions. |
| Usa | USA | Allows checks to run from locations within the United States of America. |
| Europe | EUROPE | Allows checks to run from locations within the continent of Europe. |
| SouthAmerica | SOUTH_AMERICA | Allows checks to run from locations within the continent of South America. |
| AsiaPacific | ASIA_PACIFIC | Allows checks to run from locations within the Asia Pacific area (ex: Singapore). |
| UsaOregon | USA_OREGON | Allows checks to run from locations within the western United States of America |
| UsaIowa | USA_IOWA | Allows checks to run from locations within the central United States of America |
| UsaVirginia | USA_VIRGINIA | Allows checks to run from locations within the eastern United States of America |
| Name | Value | Description |
|---|
| REGION_UNSPECIFIED | REGION_UNSPECIFIED | Default value if no region is specified. Will result in Uptime checks running from all regions. |
| USA | USA | Allows checks to run from locations within the United States of America. |
| EUROPE | EUROPE | Allows checks to run from locations within the continent of Europe. |
| SOUTH_AMERICA | SOUTH_AMERICA | Allows checks to run from locations within the continent of South America. |
| ASIA_PACIFIC | ASIA_PACIFIC | Allows checks to run from locations within the Asia Pacific area (ex: Singapore). |
| USA_OREGON | USA_OREGON | Allows checks to run from locations within the western United States of America |
| USA_IOWA | USA_IOWA | Allows checks to run from locations within the central United States of America |
| USA_VIRGINIA | USA_VIRGINIA | Allows checks to run from locations within the eastern United States of America |
| Value | Description |
|---|
REGION_UNSPECIFIED | Default value if no region is specified. Will result in Uptime checks running from all regions. |
USA | Allows checks to run from locations within the United States of America. |
EUROPE | Allows checks to run from locations within the continent of Europe. |
SOUTH_AMERICA | Allows checks to run from locations within the continent of South America. |
ASIA_PACIFIC | Allows checks to run from locations within the Asia Pacific area (ex: Singapore). |
USA_OREGON | Allows checks to run from locations within the western United States of America |
USA_IOWA | Allows checks to run from locations within the central United States of America |
USA_VIRGINIA | Allows checks to run from locations within the eastern United States of America |
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0