Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.ApmSynthetics.Config
Explore with Pulumi AI
This resource provides the Monitor resource in Oracle Cloud Infrastructure Apm Synthetics service.
Creates a new monitor.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMonitor = new Oci.ApmSynthetics.Config("testMonitor", new()
{
ApmDomainId = oci_apm_synthetics_apm_domain.Test_apm_domain.Id,
DisplayName = @var.Monitor_display_name,
MonitorType = @var.Monitor_monitor_type,
RepeatIntervalInSeconds = @var.Monitor_repeat_interval_in_seconds,
VantagePoints = @var.Vantage_points,
AvailabilityConfiguration = new Oci.ApmSynthetics.Inputs.ConfigAvailabilityConfigurationArgs
{
MaxAllowedFailuresPerInterval = @var.Monitor_availability_configuration_max_allowed_failures_per_interval,
MinAllowedRunsPerInterval = @var.Monitor_availability_configuration_min_allowed_runs_per_interval,
},
BatchIntervalInSeconds = @var.Monitor_batch_interval_in_seconds,
Configuration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationArgs
{
ConfigType = @var.Monitor_configuration_config_type,
DnsConfiguration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDnsConfigurationArgs
{
IsOverrideDns = @var.Monitor_configuration_dns_configuration_is_override_dns,
OverrideDnsIp = @var.Monitor_configuration_dns_configuration_override_dns_ip,
},
IsCertificateValidationEnabled = @var.Monitor_configuration_is_certificate_validation_enabled,
IsFailureRetried = @var.Monitor_configuration_is_failure_retried,
IsRedirectionEnabled = @var.Monitor_configuration_is_redirection_enabled,
NetworkConfiguration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationNetworkConfigurationArgs
{
NumberOfHops = @var.Monitor_configuration_network_configuration_number_of_hops,
ProbeMode = @var.Monitor_configuration_network_configuration_probe_mode,
ProbePerHop = @var.Monitor_configuration_network_configuration_probe_per_hop,
Protocol = @var.Monitor_configuration_network_configuration_protocol,
TransmissionRate = @var.Monitor_configuration_network_configuration_transmission_rate,
},
ReqAuthenticationDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationReqAuthenticationDetailsArgs
{
AuthHeaders = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs
{
HeaderName = @var.Monitor_configuration_req_authentication_details_auth_headers_header_name,
HeaderValue = @var.Monitor_configuration_req_authentication_details_auth_headers_header_value,
},
},
AuthRequestMethod = @var.Monitor_configuration_req_authentication_details_auth_request_method,
AuthRequestPostBody = @var.Monitor_configuration_req_authentication_details_auth_request_post_body,
AuthToken = @var.Monitor_configuration_req_authentication_details_auth_token,
AuthUrl = @var.Monitor_configuration_req_authentication_details_auth_url,
AuthUserName = oci_identity_user.Test_user.Name,
AuthUserPassword = @var.Monitor_configuration_req_authentication_details_auth_user_password,
OauthScheme = @var.Monitor_configuration_req_authentication_details_oauth_scheme,
},
ReqAuthenticationScheme = @var.Monitor_configuration_req_authentication_scheme,
RequestHeaders = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationRequestHeaderArgs
{
HeaderName = @var.Monitor_configuration_request_headers_header_name,
HeaderValue = @var.Monitor_configuration_request_headers_header_value,
},
},
RequestMethod = @var.Monitor_configuration_request_method,
RequestPostBody = @var.Monitor_configuration_request_post_body,
RequestQueryParams = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationRequestQueryParamArgs
{
ParamName = @var.Monitor_configuration_request_query_params_param_name,
ParamValue = @var.Monitor_configuration_request_query_params_param_value,
},
},
VerifyResponseCodes = @var.Monitor_configuration_verify_response_codes,
VerifyResponseContent = @var.Monitor_configuration_verify_response_content,
VerifyTexts = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationVerifyTextArgs
{
Text = @var.Monitor_configuration_verify_texts_text,
},
},
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
IsRunNow = @var.Monitor_is_run_now,
IsRunOnce = @var.Monitor_is_run_once,
MaintenanceWindowSchedule = new Oci.ApmSynthetics.Inputs.ConfigMaintenanceWindowScheduleArgs
{
TimeEnded = @var.Monitor_maintenance_window_schedule_time_ended,
TimeStarted = @var.Monitor_maintenance_window_schedule_time_started,
},
SchedulingPolicy = @var.Monitor_scheduling_policy,
ScriptId = oci_apm_synthetics_script.Test_script.Id,
ScriptParameters = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigScriptParameterArgs
{
ParamName = @var.Monitor_script_parameters_param_name,
ParamValue = @var.Monitor_script_parameters_param_value,
},
},
Status = @var.Monitor_status,
Target = @var.Monitor_target,
TimeoutInSeconds = @var.Monitor_timeout_in_seconds,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/ApmSynthetics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ApmSynthetics.NewConfig(ctx, "testMonitor", &ApmSynthetics.ConfigArgs{
ApmDomainId: pulumi.Any(oci_apm_synthetics_apm_domain.Test_apm_domain.Id),
DisplayName: pulumi.Any(_var.Monitor_display_name),
MonitorType: pulumi.Any(_var.Monitor_monitor_type),
RepeatIntervalInSeconds: pulumi.Any(_var.Monitor_repeat_interval_in_seconds),
VantagePoints: pulumi.Any(_var.Vantage_points),
AvailabilityConfiguration: &apmsynthetics.ConfigAvailabilityConfigurationArgs{
MaxAllowedFailuresPerInterval: pulumi.Any(_var.Monitor_availability_configuration_max_allowed_failures_per_interval),
MinAllowedRunsPerInterval: pulumi.Any(_var.Monitor_availability_configuration_min_allowed_runs_per_interval),
},
BatchIntervalInSeconds: pulumi.Any(_var.Monitor_batch_interval_in_seconds),
Configuration: &apmsynthetics.ConfigConfigurationArgs{
ConfigType: pulumi.Any(_var.Monitor_configuration_config_type),
DnsConfiguration: &apmsynthetics.ConfigConfigurationDnsConfigurationArgs{
IsOverrideDns: pulumi.Any(_var.Monitor_configuration_dns_configuration_is_override_dns),
OverrideDnsIp: pulumi.Any(_var.Monitor_configuration_dns_configuration_override_dns_ip),
},
IsCertificateValidationEnabled: pulumi.Any(_var.Monitor_configuration_is_certificate_validation_enabled),
IsFailureRetried: pulumi.Any(_var.Monitor_configuration_is_failure_retried),
IsRedirectionEnabled: pulumi.Any(_var.Monitor_configuration_is_redirection_enabled),
NetworkConfiguration: &apmsynthetics.ConfigConfigurationNetworkConfigurationArgs{
NumberOfHops: pulumi.Any(_var.Monitor_configuration_network_configuration_number_of_hops),
ProbeMode: pulumi.Any(_var.Monitor_configuration_network_configuration_probe_mode),
ProbePerHop: pulumi.Any(_var.Monitor_configuration_network_configuration_probe_per_hop),
Protocol: pulumi.Any(_var.Monitor_configuration_network_configuration_protocol),
TransmissionRate: pulumi.Any(_var.Monitor_configuration_network_configuration_transmission_rate),
},
ReqAuthenticationDetails: &apmsynthetics.ConfigConfigurationReqAuthenticationDetailsArgs{
AuthHeaders: apmsynthetics.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArray{
&apmsynthetics.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs{
HeaderName: pulumi.Any(_var.Monitor_configuration_req_authentication_details_auth_headers_header_name),
HeaderValue: pulumi.Any(_var.Monitor_configuration_req_authentication_details_auth_headers_header_value),
},
},
AuthRequestMethod: pulumi.Any(_var.Monitor_configuration_req_authentication_details_auth_request_method),
AuthRequestPostBody: pulumi.Any(_var.Monitor_configuration_req_authentication_details_auth_request_post_body),
AuthToken: pulumi.Any(_var.Monitor_configuration_req_authentication_details_auth_token),
AuthUrl: pulumi.Any(_var.Monitor_configuration_req_authentication_details_auth_url),
AuthUserName: pulumi.Any(oci_identity_user.Test_user.Name),
AuthUserPassword: pulumi.Any(_var.Monitor_configuration_req_authentication_details_auth_user_password),
OauthScheme: pulumi.Any(_var.Monitor_configuration_req_authentication_details_oauth_scheme),
},
ReqAuthenticationScheme: pulumi.Any(_var.Monitor_configuration_req_authentication_scheme),
RequestHeaders: apmsynthetics.ConfigConfigurationRequestHeaderArray{
&apmsynthetics.ConfigConfigurationRequestHeaderArgs{
HeaderName: pulumi.Any(_var.Monitor_configuration_request_headers_header_name),
HeaderValue: pulumi.Any(_var.Monitor_configuration_request_headers_header_value),
},
},
RequestMethod: pulumi.Any(_var.Monitor_configuration_request_method),
RequestPostBody: pulumi.Any(_var.Monitor_configuration_request_post_body),
RequestQueryParams: apmsynthetics.ConfigConfigurationRequestQueryParamArray{
&apmsynthetics.ConfigConfigurationRequestQueryParamArgs{
ParamName: pulumi.Any(_var.Monitor_configuration_request_query_params_param_name),
ParamValue: pulumi.Any(_var.Monitor_configuration_request_query_params_param_value),
},
},
VerifyResponseCodes: pulumi.Any(_var.Monitor_configuration_verify_response_codes),
VerifyResponseContent: pulumi.Any(_var.Monitor_configuration_verify_response_content),
VerifyTexts: apmsynthetics.ConfigConfigurationVerifyTextArray{
&apmsynthetics.ConfigConfigurationVerifyTextArgs{
Text: pulumi.Any(_var.Monitor_configuration_verify_texts_text),
},
},
},
DefinedTags: pulumi.AnyMap{
"foo-namespace.bar-key": pulumi.Any("value"),
},
FreeformTags: pulumi.AnyMap{
"bar-key": pulumi.Any("value"),
},
IsRunNow: pulumi.Any(_var.Monitor_is_run_now),
IsRunOnce: pulumi.Any(_var.Monitor_is_run_once),
MaintenanceWindowSchedule: &apmsynthetics.ConfigMaintenanceWindowScheduleArgs{
TimeEnded: pulumi.Any(_var.Monitor_maintenance_window_schedule_time_ended),
TimeStarted: pulumi.Any(_var.Monitor_maintenance_window_schedule_time_started),
},
SchedulingPolicy: pulumi.Any(_var.Monitor_scheduling_policy),
ScriptId: pulumi.Any(oci_apm_synthetics_script.Test_script.Id),
ScriptParameters: apmsynthetics.ConfigScriptParameterArray{
&apmsynthetics.ConfigScriptParameterArgs{
ParamName: pulumi.Any(_var.Monitor_script_parameters_param_name),
ParamValue: pulumi.Any(_var.Monitor_script_parameters_param_value),
},
},
Status: pulumi.Any(_var.Monitor_status),
Target: pulumi.Any(_var.Monitor_target),
TimeoutInSeconds: pulumi.Any(_var.Monitor_timeout_in_seconds),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApmSynthetics.Config;
import com.pulumi.oci.ApmSynthetics.ConfigArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigAvailabilityConfigurationArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationDnsConfigurationArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationNetworkConfigurationArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationReqAuthenticationDetailsArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigMaintenanceWindowScheduleArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigScriptParameterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testMonitor = new Config("testMonitor", ConfigArgs.builder()
.apmDomainId(oci_apm_synthetics_apm_domain.test_apm_domain().id())
.displayName(var_.monitor_display_name())
.monitorType(var_.monitor_monitor_type())
.repeatIntervalInSeconds(var_.monitor_repeat_interval_in_seconds())
.vantagePoints(var_.vantage_points())
.availabilityConfiguration(ConfigAvailabilityConfigurationArgs.builder()
.maxAllowedFailuresPerInterval(var_.monitor_availability_configuration_max_allowed_failures_per_interval())
.minAllowedRunsPerInterval(var_.monitor_availability_configuration_min_allowed_runs_per_interval())
.build())
.batchIntervalInSeconds(var_.monitor_batch_interval_in_seconds())
.configuration(ConfigConfigurationArgs.builder()
.configType(var_.monitor_configuration_config_type())
.dnsConfiguration(ConfigConfigurationDnsConfigurationArgs.builder()
.isOverrideDns(var_.monitor_configuration_dns_configuration_is_override_dns())
.overrideDnsIp(var_.monitor_configuration_dns_configuration_override_dns_ip())
.build())
.isCertificateValidationEnabled(var_.monitor_configuration_is_certificate_validation_enabled())
.isFailureRetried(var_.monitor_configuration_is_failure_retried())
.isRedirectionEnabled(var_.monitor_configuration_is_redirection_enabled())
.networkConfiguration(ConfigConfigurationNetworkConfigurationArgs.builder()
.numberOfHops(var_.monitor_configuration_network_configuration_number_of_hops())
.probeMode(var_.monitor_configuration_network_configuration_probe_mode())
.probePerHop(var_.monitor_configuration_network_configuration_probe_per_hop())
.protocol(var_.monitor_configuration_network_configuration_protocol())
.transmissionRate(var_.monitor_configuration_network_configuration_transmission_rate())
.build())
.reqAuthenticationDetails(ConfigConfigurationReqAuthenticationDetailsArgs.builder()
.authHeaders(ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs.builder()
.headerName(var_.monitor_configuration_req_authentication_details_auth_headers_header_name())
.headerValue(var_.monitor_configuration_req_authentication_details_auth_headers_header_value())
.build())
.authRequestMethod(var_.monitor_configuration_req_authentication_details_auth_request_method())
.authRequestPostBody(var_.monitor_configuration_req_authentication_details_auth_request_post_body())
.authToken(var_.monitor_configuration_req_authentication_details_auth_token())
.authUrl(var_.monitor_configuration_req_authentication_details_auth_url())
.authUserName(oci_identity_user.test_user().name())
.authUserPassword(var_.monitor_configuration_req_authentication_details_auth_user_password())
.oauthScheme(var_.monitor_configuration_req_authentication_details_oauth_scheme())
.build())
.reqAuthenticationScheme(var_.monitor_configuration_req_authentication_scheme())
.requestHeaders(ConfigConfigurationRequestHeaderArgs.builder()
.headerName(var_.monitor_configuration_request_headers_header_name())
.headerValue(var_.monitor_configuration_request_headers_header_value())
.build())
.requestMethod(var_.monitor_configuration_request_method())
.requestPostBody(var_.monitor_configuration_request_post_body())
.requestQueryParams(ConfigConfigurationRequestQueryParamArgs.builder()
.paramName(var_.monitor_configuration_request_query_params_param_name())
.paramValue(var_.monitor_configuration_request_query_params_param_value())
.build())
.verifyResponseCodes(var_.monitor_configuration_verify_response_codes())
.verifyResponseContent(var_.monitor_configuration_verify_response_content())
.verifyTexts(ConfigConfigurationVerifyTextArgs.builder()
.text(var_.monitor_configuration_verify_texts_text())
.build())
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.isRunNow(var_.monitor_is_run_now())
.isRunOnce(var_.monitor_is_run_once())
.maintenanceWindowSchedule(ConfigMaintenanceWindowScheduleArgs.builder()
.timeEnded(var_.monitor_maintenance_window_schedule_time_ended())
.timeStarted(var_.monitor_maintenance_window_schedule_time_started())
.build())
.schedulingPolicy(var_.monitor_scheduling_policy())
.scriptId(oci_apm_synthetics_script.test_script().id())
.scriptParameters(ConfigScriptParameterArgs.builder()
.paramName(var_.monitor_script_parameters_param_name())
.paramValue(var_.monitor_script_parameters_param_value())
.build())
.status(var_.monitor_status())
.target(var_.monitor_target())
.timeoutInSeconds(var_.monitor_timeout_in_seconds())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_monitor = oci.apm_synthetics.Config("testMonitor",
apm_domain_id=oci_apm_synthetics_apm_domain["test_apm_domain"]["id"],
display_name=var["monitor_display_name"],
monitor_type=var["monitor_monitor_type"],
repeat_interval_in_seconds=var["monitor_repeat_interval_in_seconds"],
vantage_points=var["vantage_points"],
availability_configuration=oci.apm_synthetics.ConfigAvailabilityConfigurationArgs(
max_allowed_failures_per_interval=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
min_allowed_runs_per_interval=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
batch_interval_in_seconds=var["monitor_batch_interval_in_seconds"],
configuration=oci.apm_synthetics.ConfigConfigurationArgs(
config_type=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
dns_configuration=oci.apm_synthetics.ConfigConfigurationDnsConfigurationArgs(
is_override_dns=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
override_dns_ip=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
is_certificate_validation_enabled=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
is_failure_retried=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
is_redirection_enabled=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
network_configuration=oci.apm_synthetics.ConfigConfigurationNetworkConfigurationArgs(
number_of_hops=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
probe_mode=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
probe_per_hop=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
protocol=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
transmission_rate=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
req_authentication_details=oci.apm_synthetics.ConfigConfigurationReqAuthenticationDetailsArgs(
auth_headers=[oci.apm_synthetics.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs(
header_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
header_value=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
)],
auth_request_method=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
auth_request_post_body=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
auth_token=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
auth_url=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
auth_user_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
auth_user_password=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
oauth_scheme=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
req_authentication_scheme=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
request_headers=[oci.apm_synthetics.ConfigConfigurationRequestHeaderArgs(
header_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
header_value=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
)],
request_method=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
request_post_body=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
request_query_params=[oci.apm_synthetics.ConfigConfigurationRequestQueryParamArgs(
param_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
param_value=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
)],
verify_response_codes=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
verify_response_content=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
verify_texts=[oci.apm_synthetics.ConfigConfigurationVerifyTextArgs(
text=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
)],
),
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
is_run_now=var["monitor_is_run_now"],
is_run_once=var["monitor_is_run_once"],
maintenance_window_schedule=oci.apm_synthetics.ConfigMaintenanceWindowScheduleArgs(
time_ended=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
time_started=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
scheduling_policy=var["monitor_scheduling_policy"],
script_id=oci_apm_synthetics_script["test_script"]["id"],
script_parameters=[oci.apm_synthetics.ConfigScriptParameterArgs(
param_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
param_value=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
)],
status=var["monitor_status"],
target=var["monitor_target"],
timeout_in_seconds=var["monitor_timeout_in_seconds"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitor = new oci.apmsynthetics.Config("testMonitor", {
apmDomainId: oci_apm_synthetics_apm_domain.test_apm_domain.id,
displayName: _var.monitor_display_name,
monitorType: _var.monitor_monitor_type,
repeatIntervalInSeconds: _var.monitor_repeat_interval_in_seconds,
vantagePoints: _var.vantage_points,
availabilityConfiguration: {
maxAllowedFailuresPerInterval: _var.monitor_availability_configuration_max_allowed_failures_per_interval,
minAllowedRunsPerInterval: _var.monitor_availability_configuration_min_allowed_runs_per_interval,
},
batchIntervalInSeconds: _var.monitor_batch_interval_in_seconds,
configuration: {
configType: _var.monitor_configuration_config_type,
dnsConfiguration: {
isOverrideDns: _var.monitor_configuration_dns_configuration_is_override_dns,
overrideDnsIp: _var.monitor_configuration_dns_configuration_override_dns_ip,
},
isCertificateValidationEnabled: _var.monitor_configuration_is_certificate_validation_enabled,
isFailureRetried: _var.monitor_configuration_is_failure_retried,
isRedirectionEnabled: _var.monitor_configuration_is_redirection_enabled,
networkConfiguration: {
numberOfHops: _var.monitor_configuration_network_configuration_number_of_hops,
probeMode: _var.monitor_configuration_network_configuration_probe_mode,
probePerHop: _var.monitor_configuration_network_configuration_probe_per_hop,
protocol: _var.monitor_configuration_network_configuration_protocol,
transmissionRate: _var.monitor_configuration_network_configuration_transmission_rate,
},
reqAuthenticationDetails: {
authHeaders: [{
headerName: _var.monitor_configuration_req_authentication_details_auth_headers_header_name,
headerValue: _var.monitor_configuration_req_authentication_details_auth_headers_header_value,
}],
authRequestMethod: _var.monitor_configuration_req_authentication_details_auth_request_method,
authRequestPostBody: _var.monitor_configuration_req_authentication_details_auth_request_post_body,
authToken: _var.monitor_configuration_req_authentication_details_auth_token,
authUrl: _var.monitor_configuration_req_authentication_details_auth_url,
authUserName: oci_identity_user.test_user.name,
authUserPassword: _var.monitor_configuration_req_authentication_details_auth_user_password,
oauthScheme: _var.monitor_configuration_req_authentication_details_oauth_scheme,
},
reqAuthenticationScheme: _var.monitor_configuration_req_authentication_scheme,
requestHeaders: [{
headerName: _var.monitor_configuration_request_headers_header_name,
headerValue: _var.monitor_configuration_request_headers_header_value,
}],
requestMethod: _var.monitor_configuration_request_method,
requestPostBody: _var.monitor_configuration_request_post_body,
requestQueryParams: [{
paramName: _var.monitor_configuration_request_query_params_param_name,
paramValue: _var.monitor_configuration_request_query_params_param_value,
}],
verifyResponseCodes: _var.monitor_configuration_verify_response_codes,
verifyResponseContent: _var.monitor_configuration_verify_response_content,
verifyTexts: [{
text: _var.monitor_configuration_verify_texts_text,
}],
},
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
isRunNow: _var.monitor_is_run_now,
isRunOnce: _var.monitor_is_run_once,
maintenanceWindowSchedule: {
timeEnded: _var.monitor_maintenance_window_schedule_time_ended,
timeStarted: _var.monitor_maintenance_window_schedule_time_started,
},
schedulingPolicy: _var.monitor_scheduling_policy,
scriptId: oci_apm_synthetics_script.test_script.id,
scriptParameters: [{
paramName: _var.monitor_script_parameters_param_name,
paramValue: _var.monitor_script_parameters_param_value,
}],
status: _var.monitor_status,
target: _var.monitor_target,
timeoutInSeconds: _var.monitor_timeout_in_seconds,
});
resources:
testMonitor:
type: oci:ApmSynthetics:Config
properties:
#Required
apmDomainId: ${oci_apm_synthetics_apm_domain.test_apm_domain.id}
displayName: ${var.monitor_display_name}
monitorType: ${var.monitor_monitor_type}
repeatIntervalInSeconds: ${var.monitor_repeat_interval_in_seconds}
vantagePoints: ${var.vantage_points}
availabilityConfiguration:
maxAllowedFailuresPerInterval: ${var.monitor_availability_configuration_max_allowed_failures_per_interval}
minAllowedRunsPerInterval: ${var.monitor_availability_configuration_min_allowed_runs_per_interval}
batchIntervalInSeconds: ${var.monitor_batch_interval_in_seconds}
configuration:
configType: ${var.monitor_configuration_config_type}
dnsConfiguration:
isOverrideDns: ${var.monitor_configuration_dns_configuration_is_override_dns}
overrideDnsIp: ${var.monitor_configuration_dns_configuration_override_dns_ip}
isCertificateValidationEnabled: ${var.monitor_configuration_is_certificate_validation_enabled}
isFailureRetried: ${var.monitor_configuration_is_failure_retried}
isRedirectionEnabled: ${var.monitor_configuration_is_redirection_enabled}
networkConfiguration:
numberOfHops: ${var.monitor_configuration_network_configuration_number_of_hops}
probeMode: ${var.monitor_configuration_network_configuration_probe_mode}
probePerHop: ${var.monitor_configuration_network_configuration_probe_per_hop}
protocol: ${var.monitor_configuration_network_configuration_protocol}
transmissionRate: ${var.monitor_configuration_network_configuration_transmission_rate}
reqAuthenticationDetails:
authHeaders:
- headerName: ${var.monitor_configuration_req_authentication_details_auth_headers_header_name}
headerValue: ${var.monitor_configuration_req_authentication_details_auth_headers_header_value}
authRequestMethod: ${var.monitor_configuration_req_authentication_details_auth_request_method}
authRequestPostBody: ${var.monitor_configuration_req_authentication_details_auth_request_post_body}
authToken: ${var.monitor_configuration_req_authentication_details_auth_token}
authUrl: ${var.monitor_configuration_req_authentication_details_auth_url}
authUserName: ${oci_identity_user.test_user.name}
authUserPassword: ${var.monitor_configuration_req_authentication_details_auth_user_password}
oauthScheme: ${var.monitor_configuration_req_authentication_details_oauth_scheme}
reqAuthenticationScheme: ${var.monitor_configuration_req_authentication_scheme}
requestHeaders:
- headerName: ${var.monitor_configuration_request_headers_header_name}
headerValue: ${var.monitor_configuration_request_headers_header_value}
requestMethod: ${var.monitor_configuration_request_method}
requestPostBody: ${var.monitor_configuration_request_post_body}
requestQueryParams:
- paramName: ${var.monitor_configuration_request_query_params_param_name}
paramValue: ${var.monitor_configuration_request_query_params_param_value}
verifyResponseCodes: ${var.monitor_configuration_verify_response_codes}
verifyResponseContent: ${var.monitor_configuration_verify_response_content}
verifyTexts:
- text: ${var.monitor_configuration_verify_texts_text}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
isRunNow: ${var.monitor_is_run_now}
isRunOnce: ${var.monitor_is_run_once}
maintenanceWindowSchedule:
timeEnded: ${var.monitor_maintenance_window_schedule_time_ended}
timeStarted: ${var.monitor_maintenance_window_schedule_time_started}
schedulingPolicy: ${var.monitor_scheduling_policy}
scriptId: ${oci_apm_synthetics_script.test_script.id}
scriptParameters:
- paramName: ${var.monitor_script_parameters_param_name}
paramValue: ${var.monitor_script_parameters_param_value}
status: ${var.monitor_status}
target: ${var.monitor_target}
timeoutInSeconds: ${var.monitor_timeout_in_seconds}
Create Config Resource
new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
@overload
def Config(resource_name: str,
opts: Optional[ResourceOptions] = None,
apm_domain_id: Optional[str] = None,
availability_configuration: Optional[_apmsynthetics.ConfigAvailabilityConfigurationArgs] = None,
batch_interval_in_seconds: Optional[int] = None,
configuration: Optional[_apmsynthetics.ConfigConfigurationArgs] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_run_now: Optional[bool] = None,
is_run_once: Optional[bool] = None,
maintenance_window_schedule: Optional[_apmsynthetics.ConfigMaintenanceWindowScheduleArgs] = None,
monitor_type: Optional[str] = None,
repeat_interval_in_seconds: Optional[int] = None,
scheduling_policy: Optional[str] = None,
script_id: Optional[str] = None,
script_name: Optional[str] = None,
script_parameters: Optional[Sequence[_apmsynthetics.ConfigScriptParameterArgs]] = None,
status: Optional[str] = None,
target: Optional[str] = None,
timeout_in_seconds: Optional[int] = None,
vantage_points: Optional[Sequence[str]] = None)
@overload
def Config(resource_name: str,
args: ConfigArgs,
opts: Optional[ResourceOptions] = None)
func NewConfig(ctx *Context, name string, args ConfigArgs, opts ...ResourceOption) (*Config, error)
public Config(string name, ConfigArgs args, CustomResourceOptions? opts = null)
public Config(String name, ConfigArgs args)
public Config(String name, ConfigArgs args, CustomResourceOptions options)
type: oci:ApmSynthetics:Config
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConfigArgs
- The arguments to resource properties.
- 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 resource.
- args ConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Config Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Config resource accepts the following input properties:
- Apm
Domain stringId (Updatable) The APM domain ID the request is intended for.
- Display
Name string (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- Monitor
Type string Type of monitor.
- Repeat
Interval intIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- Vantage
Points List<string> (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- Batch
Interval intIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- Configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Run boolNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- Is
Run boolOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- Scheduling
Policy string (Updatable) Scheduling policy on Vantage points.
- Script
Id string (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- Script
Name string Name of the script.
- Script
Parameters List<ConfigScript Parameter Args> (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- Status string
(Updatable) Enables or disables the monitor.
- Target string
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- Timeout
In intSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- Apm
Domain stringId (Updatable) The APM domain ID the request is intended for.
- Display
Name string (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- Monitor
Type string Type of monitor.
- Repeat
Interval intIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- Vantage
Points []string (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- Batch
Interval intIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- Configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Run boolNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- Is
Run boolOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- Scheduling
Policy string (Updatable) Scheduling policy on Vantage points.
- Script
Id string (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- Script
Name string Name of the script.
- Script
Parameters []ConfigScript Parameter Args (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- Status string
(Updatable) Enables or disables the monitor.
- Target string
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- Timeout
In intSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- apm
Domain StringId (Updatable) The APM domain ID the request is intended for.
- display
Name String (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- monitor
Type String Type of monitor.
- repeat
Interval IntegerIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- vantage
Points List<String> (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- batch
Interval IntegerIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run BooleanNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is
Run BooleanOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- scheduling
Policy String (Updatable) Scheduling policy on Vantage points.
- script
Id String (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script
Name String Name of the script.
- script
Parameters List<ConfigScript Parameter Args> (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status String
(Updatable) Enables or disables the monitor.
- target String
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- timeout
In IntegerSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- apm
Domain stringId (Updatable) The APM domain ID the request is intended for.
- display
Name string (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- monitor
Type string Type of monitor.
- repeat
Interval numberIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- vantage
Points string[] (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- batch
Interval numberIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run booleanNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is
Run booleanOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- scheduling
Policy string (Updatable) Scheduling policy on Vantage points.
- script
Id string (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script
Name string Name of the script.
- script
Parameters ConfigScript Parameter Args[] (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status string
(Updatable) Enables or disables the monitor.
- target string
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- timeout
In numberSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- apm_
domain_ strid (Updatable) The APM domain ID the request is intended for.
- display_
name str (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- monitor_
type str Type of monitor.
- repeat_
interval_ intin_ seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- vantage_
points Sequence[str] (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- availability_
configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- batch_
interval_ intin_ seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
run_ boolnow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is_
run_ boolonce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance_
window_ Configschedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- scheduling_
policy str (Updatable) Scheduling policy on Vantage points.
- script_
id str (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script_
name str Name of the script.
- script_
parameters ConfigScript Parameter Args] (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status str
(Updatable) Enables or disables the monitor.
- target str
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- timeout_
in_ intseconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- apm
Domain StringId (Updatable) The APM domain ID the request is intended for.
- display
Name String (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- monitor
Type String Type of monitor.
- repeat
Interval NumberIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- vantage
Points List<String> (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- availability
Configuration Property Map (Updatable) Monitor availability configuration details.
- batch
Interval NumberIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration Property Map
(Updatable) Details of monitor configuration.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run BooleanNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is
Run BooleanOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window Property MapSchedule (Updatable) Details used to schedule maintenance window.
- scheduling
Policy String (Updatable) Scheduling policy on Vantage points.
- script
Id String (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script
Name String Name of the script.
- script
Parameters List<Property Map> (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status String
(Updatable) Enables or disables the monitor.
- target String
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- timeout
In NumberSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
Outputs
All input properties are implicitly available as output properties. Additionally, the Config resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Time
Created string The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Vantage
Point intCount Number of vantage points where monitor is running.
- Id string
The provider-assigned unique ID for this managed resource.
- Time
Created string The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Vantage
Point intCount Number of vantage points where monitor is running.
- id String
The provider-assigned unique ID for this managed resource.
- time
Created String The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- vantage
Point IntegerCount Number of vantage points where monitor is running.
- id string
The provider-assigned unique ID for this managed resource.
- time
Created string The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated string The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- vantage
Point numberCount Number of vantage points where monitor is running.
- id str
The provider-assigned unique ID for this managed resource.
- time_
created str The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time_
updated str The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- vantage_
point_ intcount Number of vantage points where monitor is running.
- id String
The provider-assigned unique ID for this managed resource.
- time
Created String The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- vantage
Point NumberCount Number of vantage points where monitor is running.
Look up Existing Config Resource
Get an existing Config resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ConfigState, opts?: CustomResourceOptions): Config
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apm_domain_id: Optional[str] = None,
availability_configuration: Optional[_apmsynthetics.ConfigAvailabilityConfigurationArgs] = None,
batch_interval_in_seconds: Optional[int] = None,
configuration: Optional[_apmsynthetics.ConfigConfigurationArgs] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_run_now: Optional[bool] = None,
is_run_once: Optional[bool] = None,
maintenance_window_schedule: Optional[_apmsynthetics.ConfigMaintenanceWindowScheduleArgs] = None,
monitor_type: Optional[str] = None,
repeat_interval_in_seconds: Optional[int] = None,
scheduling_policy: Optional[str] = None,
script_id: Optional[str] = None,
script_name: Optional[str] = None,
script_parameters: Optional[Sequence[_apmsynthetics.ConfigScriptParameterArgs]] = None,
status: Optional[str] = None,
target: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
timeout_in_seconds: Optional[int] = None,
vantage_point_count: Optional[int] = None,
vantage_points: Optional[Sequence[str]] = None) -> Config
func GetConfig(ctx *Context, name string, id IDInput, state *ConfigState, opts ...ResourceOption) (*Config, error)
public static Config Get(string name, Input<string> id, ConfigState? state, CustomResourceOptions? opts = null)
public static Config get(String name, Output<String> id, ConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Apm
Domain stringId (Updatable) The APM domain ID the request is intended for.
- Availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- Batch
Interval intIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- Configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Run boolNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- Is
Run boolOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- Monitor
Type string Type of monitor.
- Repeat
Interval intIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- Scheduling
Policy string (Updatable) Scheduling policy on Vantage points.
- Script
Id string (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- Script
Name string Name of the script.
- Script
Parameters List<ConfigScript Parameter Args> (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- Status string
(Updatable) Enables or disables the monitor.
- Target string
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- Time
Created string The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Timeout
In intSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- Vantage
Point intCount Number of vantage points where monitor is running.
- Vantage
Points List<string> (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Apm
Domain stringId (Updatable) The APM domain ID the request is intended for.
- Availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- Batch
Interval intIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- Configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Run boolNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- Is
Run boolOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- Monitor
Type string Type of monitor.
- Repeat
Interval intIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- Scheduling
Policy string (Updatable) Scheduling policy on Vantage points.
- Script
Id string (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- Script
Name string Name of the script.
- Script
Parameters []ConfigScript Parameter Args (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- Status string
(Updatable) Enables or disables the monitor.
- Target string
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- Time
Created string The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Timeout
In intSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- Vantage
Point intCount Number of vantage points where monitor is running.
- Vantage
Points []string (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- apm
Domain StringId (Updatable) The APM domain ID the request is intended for.
- availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- batch
Interval IntegerIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run BooleanNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is
Run BooleanOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- monitor
Type String Type of monitor.
- repeat
Interval IntegerIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- scheduling
Policy String (Updatable) Scheduling policy on Vantage points.
- script
Id String (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script
Name String Name of the script.
- script
Parameters List<ConfigScript Parameter Args> (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status String
(Updatable) Enables or disables the monitor.
- target String
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- time
Created String The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- timeout
In IntegerSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- vantage
Point IntegerCount Number of vantage points where monitor is running.
- vantage
Points List<String> (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- apm
Domain stringId (Updatable) The APM domain ID the request is intended for.
- availability
Configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- batch
Interval numberIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run booleanNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is
Run booleanOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window ConfigSchedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- monitor
Type string Type of monitor.
- repeat
Interval numberIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- scheduling
Policy string (Updatable) Scheduling policy on Vantage points.
- script
Id string (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script
Name string Name of the script.
- script
Parameters ConfigScript Parameter Args[] (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status string
(Updatable) Enables or disables the monitor.
- target string
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- time
Created string The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated string The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- timeout
In numberSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- vantage
Point numberCount Number of vantage points where monitor is running.
- vantage
Points string[] (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- apm_
domain_ strid (Updatable) The APM domain ID the request is intended for.
- availability_
configuration ConfigAvailability Configuration Args (Updatable) Monitor availability configuration details.
- batch_
interval_ intin_ seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration
Config
Configuration Args (Updatable) Details of monitor configuration.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
run_ boolnow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is_
run_ boolonce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance_
window_ Configschedule Maintenance Window Schedule Args (Updatable) Details used to schedule maintenance window.
- monitor_
type str Type of monitor.
- repeat_
interval_ intin_ seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- scheduling_
policy str (Updatable) Scheduling policy on Vantage points.
- script_
id str (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script_
name str Name of the script.
- script_
parameters ConfigScript Parameter Args] (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status str
(Updatable) Enables or disables the monitor.
- target str
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- time_
created str The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time_
updated str The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- timeout_
in_ intseconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- vantage_
point_ intcount Number of vantage points where monitor is running.
- vantage_
points Sequence[str] (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- apm
Domain StringId (Updatable) The APM domain ID the request is intended for.
- availability
Configuration Property Map (Updatable) Monitor availability configuration details.
- batch
Interval NumberIn Seconds (Updatable) Time interval between 2 runs in round robin batch mode (*SchedulingPolicy - BATCHED_ROUND_ROBIN).
- configuration Property Map
(Updatable) Details of monitor configuration.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) Unique name that can be edited. The name should not contain any confidential information.
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Run BooleanNow (Updatable) If isRunNow is enabled, then the monitor will run now.
- is
Run BooleanOnce (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window Property MapSchedule (Updatable) Details used to schedule maintenance window.
- monitor
Type String Type of monitor.
- repeat
Interval NumberIn Seconds (Updatable) Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor.
- scheduling
Policy String (Updatable) Scheduling policy on Vantage points.
- script
Id String (Updatable) The OCID of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null.
- script
Name String Name of the script.
- script
Parameters List<Property Map> (Updatable) List of script parameters in the monitor. This is valid only for SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. Example:
[{"paramName": "userid", "paramValue":"testuser"}]
- status String
(Updatable) Enables or disables the monitor.
- target String
(Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
- time
Created String The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- timeout
In NumberSeconds (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that.
- vantage
Point NumberCount Number of vantage points where monitor is running.
- vantage
Points List<String> (Updatable) A list of public and dedicated vantage points from which to execute the monitor. Use /publicVantagePoints to fetch public vantage points, and /dedicatedVantagePoints to fetch dedicated vantage points.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
ConfigAvailabilityConfiguration
- Max
Allowed intFailures Per Interval (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE.
- Min
Allowed intRuns Per Interval (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations.
- Max
Allowed intFailures Per Interval (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE.
- Min
Allowed intRuns Per Interval (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations.
- max
Allowed IntegerFailures Per Interval (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE.
- min
Allowed IntegerRuns Per Interval (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations.
- max
Allowed numberFailures Per Interval (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE.
- min
Allowed numberRuns Per Interval (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations.
- max_
allowed_ intfailures_ per_ interval (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE.
- min_
allowed_ intruns_ per_ interval (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations.
- max
Allowed NumberFailures Per Interval (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE.
- min
Allowed NumberRuns Per Interval (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations.
ConfigConfiguration
- Config
Type string (Updatable) Type of configuration.
- Dns
Configuration ConfigConfiguration Dns Configuration (Updatable) Dns settings.
- Is
Certificate boolValidation Enabled (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- Is
Failure boolRetried (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- Is
Redirection boolEnabled (Updatable) If redirection enabled, then redirects will be allowed while accessing target URL.
- Network
Configuration ConfigConfiguration Network Configuration (Updatable) Details of the network configuration.
- Req
Authentication ConfigDetails Configuration Req Authentication Details (Updatable) Details for request HTTP authentication.
- Req
Authentication stringScheme (Updatable) Request http authentication scheme.
- Request
Headers List<ConfigConfiguration Request Header> (Updatable) List of request headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- Request
Method string (Updatable) Request HTTP method.
- Request
Post stringBody (Updatable) Request post body content.
- Request
Query List<ConfigParams Configuration Request Query Param> (Updatable) List of request query params. Example:
[{"paramName": "sortOrder", "paramValue": "asc"}]
- Verify
Response List<string>Codes (Updatable) Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
- Verify
Response stringContent (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
- Verify
Texts List<ConfigConfiguration Verify Text> (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure.
- Config
Type string (Updatable) Type of configuration.
- Dns
Configuration ConfigConfiguration Dns Configuration (Updatable) Dns settings.
- Is
Certificate boolValidation Enabled (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- Is
Failure boolRetried (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- Is
Redirection boolEnabled (Updatable) If redirection enabled, then redirects will be allowed while accessing target URL.
- Network
Configuration ConfigConfiguration Network Configuration (Updatable) Details of the network configuration.
- Req
Authentication ConfigDetails Configuration Req Authentication Details (Updatable) Details for request HTTP authentication.
- Req
Authentication stringScheme (Updatable) Request http authentication scheme.
- Request
Headers []ConfigConfiguration Request Header (Updatable) List of request headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- Request
Method string (Updatable) Request HTTP method.
- Request
Post stringBody (Updatable) Request post body content.
- Request
Query []ConfigParams Configuration Request Query Param (Updatable) List of request query params. Example:
[{"paramName": "sortOrder", "paramValue": "asc"}]
- Verify
Response []stringCodes (Updatable) Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
- Verify
Response stringContent (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
- Verify
Texts []ConfigConfiguration Verify Text (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure.
- config
Type String (Updatable) Type of configuration.
- dns
Configuration ConfigConfiguration Dns Configuration (Updatable) Dns settings.
- is
Certificate BooleanValidation Enabled (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is
Failure BooleanRetried (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is
Redirection BooleanEnabled (Updatable) If redirection enabled, then redirects will be allowed while accessing target URL.
- network
Configuration ConfigConfiguration Network Configuration (Updatable) Details of the network configuration.
- req
Authentication ConfigDetails Configuration Req Authentication Details (Updatable) Details for request HTTP authentication.
- req
Authentication StringScheme (Updatable) Request http authentication scheme.
- request
Headers List<ConfigConfiguration Request Header> (Updatable) List of request headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- request
Method String (Updatable) Request HTTP method.
- request
Post StringBody (Updatable) Request post body content.
- request
Query List<ConfigParams Configuration Request Query Param> (Updatable) List of request query params. Example:
[{"paramName": "sortOrder", "paramValue": "asc"}]
- verify
Response List<String>Codes (Updatable) Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
- verify
Response StringContent (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
- verify
Texts List<ConfigConfiguration Verify Text> (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure.
- config
Type string (Updatable) Type of configuration.
- dns
Configuration ConfigConfiguration Dns Configuration (Updatable) Dns settings.
- is
Certificate booleanValidation Enabled (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is
Failure booleanRetried (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is
Redirection booleanEnabled (Updatable) If redirection enabled, then redirects will be allowed while accessing target URL.
- network
Configuration ConfigConfiguration Network Configuration (Updatable) Details of the network configuration.
- req
Authentication ConfigDetails Configuration Req Authentication Details (Updatable) Details for request HTTP authentication.
- req
Authentication stringScheme (Updatable) Request http authentication scheme.
- request
Headers ConfigConfiguration Request Header[] (Updatable) List of request headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- request
Method string (Updatable) Request HTTP method.
- request
Post stringBody (Updatable) Request post body content.
- request
Query ConfigParams Configuration Request Query Param[] (Updatable) List of request query params. Example:
[{"paramName": "sortOrder", "paramValue": "asc"}]
- verify
Response string[]Codes (Updatable) Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
- verify
Response stringContent (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
- verify
Texts ConfigConfiguration Verify Text[] (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure.
- config_
type str (Updatable) Type of configuration.
- dns_
configuration ConfigConfiguration Dns Configuration (Updatable) Dns settings.
- is_
certificate_ boolvalidation_ enabled (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is_
failure_ boolretried (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is_
redirection_ boolenabled (Updatable) If redirection enabled, then redirects will be allowed while accessing target URL.
- network_
configuration ConfigConfiguration Network Configuration (Updatable) Details of the network configuration.
- req_
authentication_ Configdetails Configuration Req Authentication Details (Updatable) Details for request HTTP authentication.
- req_
authentication_ strscheme (Updatable) Request http authentication scheme.
- request_
headers ConfigConfiguration Request Header] (Updatable) List of request headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- request_
method str (Updatable) Request HTTP method.
- request_
post_ strbody (Updatable) Request post body content.
- request_
query_ Configparams Configuration Request Query Param] (Updatable) List of request query params. Example:
[{"paramName": "sortOrder", "paramValue": "asc"}]
- verify_
response_ Sequence[str]codes (Updatable) Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
- verify_
response_ strcontent (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
- verify_
texts ConfigConfiguration Verify Text] (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure.
- config
Type String (Updatable) Type of configuration.
- dns
Configuration Property Map (Updatable) Dns settings.
- is
Certificate BooleanValidation Enabled (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is
Failure BooleanRetried (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is
Redirection BooleanEnabled (Updatable) If redirection enabled, then redirects will be allowed while accessing target URL.
- network
Configuration Property Map (Updatable) Details of the network configuration.
- req
Authentication Property MapDetails (Updatable) Details for request HTTP authentication.
- req
Authentication StringScheme (Updatable) Request http authentication scheme.
- request
Headers List<Property Map> (Updatable) List of request headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- request
Method String (Updatable) Request HTTP method.
- request
Post StringBody (Updatable) Request post body content.
- request
Query List<Property Map>Params (Updatable) List of request query params. Example:
[{"paramName": "sortOrder", "paramValue": "asc"}]
- verify
Response List<String>Codes (Updatable) Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
- verify
Response StringContent (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
- verify
Texts List<Property Map> (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure.
ConfigConfigurationDnsConfiguration
- Is
Override boolDns (Updatable) If isOverrideDns is true, then dns will be overridden.
- Override
Dns stringIp (Updatable) Override dns ip value. This value will be honored only if *ref-isOverrideDns is set to true.
- Is
Override boolDns (Updatable) If isOverrideDns is true, then dns will be overridden.
- Override
Dns stringIp (Updatable) Override dns ip value. This value will be honored only if *ref-isOverrideDns is set to true.
- is
Override BooleanDns (Updatable) If isOverrideDns is true, then dns will be overridden.
- override
Dns StringIp (Updatable) Override dns ip value. This value will be honored only if *ref-isOverrideDns is set to true.
- is
Override booleanDns (Updatable) If isOverrideDns is true, then dns will be overridden.
- override
Dns stringIp (Updatable) Override dns ip value. This value will be honored only if *ref-isOverrideDns is set to true.
- is_
override_ booldns (Updatable) If isOverrideDns is true, then dns will be overridden.
- override_
dns_ strip (Updatable) Override dns ip value. This value will be honored only if *ref-isOverrideDns is set to true.
- is
Override BooleanDns (Updatable) If isOverrideDns is true, then dns will be overridden.
- override
Dns StringIp (Updatable) Override dns ip value. This value will be honored only if *ref-isOverrideDns is set to true.
ConfigConfigurationNetworkConfiguration
- Number
Of intHops (Updatable) Number of hops.
- Probe
Mode string (Updatable) Type of probe mode when TCP protocol is selected.
- Probe
Per intHop (Updatable) Number of probes per hop.
- Protocol string
(Updatable) Type of protocol.
- Transmission
Rate int (Updatable) Number of probe packets sent out simultaneously.
- Number
Of intHops (Updatable) Number of hops.
- Probe
Mode string (Updatable) Type of probe mode when TCP protocol is selected.
- Probe
Per intHop (Updatable) Number of probes per hop.
- Protocol string
(Updatable) Type of protocol.
- Transmission
Rate int (Updatable) Number of probe packets sent out simultaneously.
- number
Of IntegerHops (Updatable) Number of hops.
- probe
Mode String (Updatable) Type of probe mode when TCP protocol is selected.
- probe
Per IntegerHop (Updatable) Number of probes per hop.
- protocol String
(Updatable) Type of protocol.
- transmission
Rate Integer (Updatable) Number of probe packets sent out simultaneously.
- number
Of numberHops (Updatable) Number of hops.
- probe
Mode string (Updatable) Type of probe mode when TCP protocol is selected.
- probe
Per numberHop (Updatable) Number of probes per hop.
- protocol string
(Updatable) Type of protocol.
- transmission
Rate number (Updatable) Number of probe packets sent out simultaneously.
- number_
of_ inthops (Updatable) Number of hops.
- probe_
mode str (Updatable) Type of probe mode when TCP protocol is selected.
- probe_
per_ inthop (Updatable) Number of probes per hop.
- protocol str
(Updatable) Type of protocol.
- transmission_
rate int (Updatable) Number of probe packets sent out simultaneously.
- number
Of NumberHops (Updatable) Number of hops.
- probe
Mode String (Updatable) Type of probe mode when TCP protocol is selected.
- probe
Per NumberHop (Updatable) Number of probes per hop.
- protocol String
(Updatable) Type of protocol.
- transmission
Rate Number (Updatable) Number of probe packets sent out simultaneously.
ConfigConfigurationReqAuthenticationDetails
- Auth
Headers List<ConfigConfiguration Req Authentication Details Auth Header> (Updatable) List of authentication headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- Auth
Request stringMethod (Updatable) Request method.
- Auth
Request stringPost Body (Updatable) Request post body.
- Auth
Token string (Updatable) Authentication token.
- Auth
Url string (Updatable) URL to get authetication token.
- Auth
User stringName (Updatable) Username for authentication.
- Auth
User stringPassword (Updatable) User password for authentication.
- Oauth
Scheme string (Updatable) Request http oauth scheme.
- Auth
Headers []ConfigConfiguration Req Authentication Details Auth Header (Updatable) List of authentication headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- Auth
Request stringMethod (Updatable) Request method.
- Auth
Request stringPost Body (Updatable) Request post body.
- Auth
Token string (Updatable) Authentication token.
- Auth
Url string (Updatable) URL to get authetication token.
- Auth
User stringName (Updatable) Username for authentication.
- Auth
User stringPassword (Updatable) User password for authentication.
- Oauth
Scheme string (Updatable) Request http oauth scheme.
- auth
Headers List<ConfigConfiguration Req Authentication Details Auth Header> (Updatable) List of authentication headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- auth
Request StringMethod (Updatable) Request method.
- auth
Request StringPost Body (Updatable) Request post body.
- auth
Token String (Updatable) Authentication token.
- auth
Url String (Updatable) URL to get authetication token.
- auth
User StringName (Updatable) Username for authentication.
- auth
User StringPassword (Updatable) User password for authentication.
- oauth
Scheme String (Updatable) Request http oauth scheme.
- auth
Headers ConfigConfiguration Req Authentication Details Auth Header[] (Updatable) List of authentication headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- auth
Request stringMethod (Updatable) Request method.
- auth
Request stringPost Body (Updatable) Request post body.
- auth
Token string (Updatable) Authentication token.
- auth
Url string (Updatable) URL to get authetication token.
- auth
User stringName (Updatable) Username for authentication.
- auth
User stringPassword (Updatable) User password for authentication.
- oauth
Scheme string (Updatable) Request http oauth scheme.
- auth_
headers ConfigConfiguration Req Authentication Details Auth Header] (Updatable) List of authentication headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- auth_
request_ strmethod (Updatable) Request method.
- auth_
request_ strpost_ body (Updatable) Request post body.
- auth_
token str (Updatable) Authentication token.
- auth_
url str (Updatable) URL to get authetication token.
- auth_
user_ strname (Updatable) Username for authentication.
- auth_
user_ strpassword (Updatable) User password for authentication.
- oauth_
scheme str (Updatable) Request http oauth scheme.
- auth
Headers List<Property Map> (Updatable) List of authentication headers. Example:
[{"headerName": "content-type", "headerValue":"json"}]
- auth
Request StringMethod (Updatable) Request method.
- auth
Request StringPost Body (Updatable) Request post body.
- auth
Token String (Updatable) Authentication token.
- auth
Url String (Updatable) URL to get authetication token.
- auth
User StringName (Updatable) Username for authentication.
- auth
User StringPassword (Updatable) User password for authentication.
- oauth
Scheme String (Updatable) Request http oauth scheme.
ConfigConfigurationReqAuthenticationDetailsAuthHeader
- Header
Name string (Updatable) Name of the header.
- Header
Value string (Updatable) Value of the header.
- Header
Name string (Updatable) Name of the header.
- Header
Value string (Updatable) Value of the header.
- header
Name String (Updatable) Name of the header.
- header
Value String (Updatable) Value of the header.
- header
Name string (Updatable) Name of the header.
- header
Value string (Updatable) Value of the header.
- header_
name str (Updatable) Name of the header.
- header_
value str (Updatable) Value of the header.
- header
Name String (Updatable) Name of the header.
- header
Value String (Updatable) Value of the header.
ConfigConfigurationRequestHeader
- Header
Name string (Updatable) Name of the header.
- Header
Value string (Updatable) Value of the header.
- Header
Name string (Updatable) Name of the header.
- Header
Value string (Updatable) Value of the header.
- header
Name String (Updatable) Name of the header.
- header
Value String (Updatable) Value of the header.
- header
Name string (Updatable) Name of the header.
- header
Value string (Updatable) Value of the header.
- header_
name str (Updatable) Name of the header.
- header_
value str (Updatable) Value of the header.
- header
Name String (Updatable) Name of the header.
- header
Value String (Updatable) Value of the header.
ConfigConfigurationRequestQueryParam
- Param
Name string (Updatable) Name of the parameter.
- Param
Value string (Updatable) Value of the parameter.
- Param
Name string (Updatable) Name of the parameter.
- Param
Value string (Updatable) Value of the parameter.
- param
Name String (Updatable) Name of the parameter.
- param
Value String (Updatable) Value of the parameter.
- param
Name string (Updatable) Name of the parameter.
- param
Value string (Updatable) Value of the parameter.
- param_
name str (Updatable) Name of the parameter.
- param_
value str (Updatable) Value of the parameter.
- param
Name String (Updatable) Name of the parameter.
- param
Value String (Updatable) Value of the parameter.
ConfigConfigurationVerifyText
- Text string
(Updatable) Verification text in the response.
- Text string
(Updatable) Verification text in the response.
- text String
(Updatable) Verification text in the response.
- text string
(Updatable) Verification text in the response.
- text str
(Updatable) Verification text in the response.
- text String
(Updatable) Verification text in the response.
ConfigMaintenanceWindowSchedule
- Time
Ended string (Updatable) End time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Started string (Updatable) Start time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Ended string (Updatable) End time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Started string (Updatable) Start time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Ended String (Updatable) End time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Started String (Updatable) Start time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Ended string (Updatable) End time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Started string (Updatable) Start time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time_
ended str (Updatable) End time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time_
started str (Updatable) Start time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Ended String (Updatable) End time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Started String (Updatable) Start time for the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
ConfigScriptParameter
- Param
Name string (Updatable) Name of the parameter.
- Param
Value string (Updatable) Value of the parameter.
- Is
Overwritten bool If parameter value is default or overwritten.
- Is
Secret bool Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API.
- Monitor
Script List<ConfigParameters Script Parameter Monitor Script Parameter> Details of the script parameter that can be used to overwrite the parameter present in the script.
- Param
Name string (Updatable) Name of the parameter.
- Param
Value string (Updatable) Value of the parameter.
- Is
Overwritten bool If parameter value is default or overwritten.
- Is
Secret bool Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API.
- Monitor
Script []ConfigParameters Script Parameter Monitor Script Parameter Details of the script parameter that can be used to overwrite the parameter present in the script.
- param
Name String (Updatable) Name of the parameter.
- param
Value String (Updatable) Value of the parameter.
- is
Overwritten Boolean If parameter value is default or overwritten.
- is
Secret Boolean Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API.
- monitor
Script List<ConfigParameters Script Parameter Monitor Script Parameter> Details of the script parameter that can be used to overwrite the parameter present in the script.
- param
Name string (Updatable) Name of the parameter.
- param
Value string (Updatable) Value of the parameter.
- is
Overwritten boolean If parameter value is default or overwritten.
- is
Secret boolean Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API.
- monitor
Script ConfigParameters Script Parameter Monitor Script Parameter[] Details of the script parameter that can be used to overwrite the parameter present in the script.
- param_
name str (Updatable) Name of the parameter.
- param_
value str (Updatable) Value of the parameter.
- is_
overwritten bool If parameter value is default or overwritten.
- is_
secret bool Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API.
- monitor_
script_ Configparameters Script Parameter Monitor Script Parameter] Details of the script parameter that can be used to overwrite the parameter present in the script.
- param
Name String (Updatable) Name of the parameter.
- param
Value String (Updatable) Value of the parameter.
- is
Overwritten Boolean If parameter value is default or overwritten.
- is
Secret Boolean Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API.
- monitor
Script List<Property Map>Parameters Details of the script parameter that can be used to overwrite the parameter present in the script.
ConfigScriptParameterMonitorScriptParameter
- Param
Name string (Updatable) Name of the parameter.
- Param
Value string (Updatable) Value of the parameter.
- Param
Name string (Updatable) Name of the parameter.
- Param
Value string (Updatable) Value of the parameter.
- param
Name String (Updatable) Name of the parameter.
- param
Value String (Updatable) Value of the parameter.
- param
Name string (Updatable) Name of the parameter.
- param
Value string (Updatable) Value of the parameter.
- param_
name str (Updatable) Name of the parameter.
- param_
value str (Updatable) Value of the parameter.
- param
Name String (Updatable) Name of the parameter.
- param
Value String (Updatable) Value of the parameter.
Import
Monitors can be imported using the id
, e.g.
$ pulumi import oci:ApmSynthetics/config:Config test_monitor "monitors/{monitorId}/apmDomainId/{apmDomainId}"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.