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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitor = new oci.apmsynthetics.Config("test_monitor", {
apmDomainId: testApmDomain.id,
displayName: monitorDisplayName,
monitorType: monitorMonitorType,
repeatIntervalInSeconds: monitorRepeatIntervalInSeconds,
vantagePoints: [{
name: monitorVantagePointsName,
displayName: monitorVantagePointsParamDisplayName,
}],
availabilityConfiguration: {
maxAllowedFailuresPerInterval: monitorAvailabilityConfigurationMaxAllowedFailuresPerInterval,
minAllowedRunsPerInterval: monitorAvailabilityConfigurationMinAllowedRunsPerInterval,
},
batchIntervalInSeconds: monitorBatchIntervalInSeconds,
configuration: {
clientCertificateDetails: {
clientCertificate: {
content: monitorConfigurationClientCertificateDetailsClientCertificateContent,
fileName: monitorConfigurationClientCertificateDetailsClientCertificateFileName,
},
privateKey: {
content: monitorConfigurationClientCertificateDetailsPrivateKeyContent,
fileName: monitorConfigurationClientCertificateDetailsPrivateKeyFileName,
},
},
configType: monitorConfigurationConfigType,
connectionString: monitorConfigurationConnectionString,
databaseAuthenticationDetails: {
password: {
password: monitorConfigurationDatabaseAuthenticationDetailsPasswordPassword,
passwordType: monitorConfigurationDatabaseAuthenticationDetailsPasswordPasswordType,
vaultSecretId: testSecret.id,
},
username: monitorConfigurationDatabaseAuthenticationDetailsUsername,
},
databaseConnectionType: monitorConfigurationDatabaseConnectionType,
databaseRole: monitorConfigurationDatabaseRole,
databaseType: monitorConfigurationDatabaseType,
databaseWalletDetails: {
databaseWallet: monitorConfigurationDatabaseWalletDetailsDatabaseWallet,
serviceName: testService.name,
},
dnsConfiguration: {
isOverrideDns: monitorConfigurationDnsConfigurationIsOverrideDns,
overrideDnsIp: monitorConfigurationDnsConfigurationOverrideDnsIp,
},
downloadSizeLimitInBytes: monitorConfigurationDownloadSizeLimitInBytes,
ftpBasicAuthenticationDetails: {
password: {
password: monitorConfigurationFtpBasicAuthenticationDetailsPasswordPassword,
passwordType: monitorConfigurationFtpBasicAuthenticationDetailsPasswordPasswordType,
vaultSecretId: testSecret.id,
},
username: monitorConfigurationFtpBasicAuthenticationDetailsUsername,
},
ftpProtocol: monitorConfigurationFtpProtocol,
ftpRequestType: monitorConfigurationFtpRequestType,
isActiveMode: monitorConfigurationIsActiveMode,
isCertificateValidationEnabled: monitorConfigurationIsCertificateValidationEnabled,
isDefaultSnapshotEnabled: monitorConfigurationIsDefaultSnapshotEnabled,
isFailureRetried: monitorConfigurationIsFailureRetried,
isQueryRecursive: monitorConfigurationIsQueryRecursive,
isRedirectionEnabled: monitorConfigurationIsRedirectionEnabled,
nameServer: monitorConfigurationNameServer,
networkConfiguration: {
numberOfHops: monitorConfigurationNetworkConfigurationNumberOfHops,
probeMode: monitorConfigurationNetworkConfigurationProbeMode,
probePerHop: monitorConfigurationNetworkConfigurationProbePerHop,
protocol: monitorConfigurationNetworkConfigurationProtocol,
transmissionRate: monitorConfigurationNetworkConfigurationTransmissionRate,
},
protocol: monitorConfigurationProtocol,
query: monitorConfigurationQuery,
recordType: monitorConfigurationRecordType,
reqAuthenticationDetails: {
authHeaders: [{
headerName: monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderName,
headerValue: monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderValue,
}],
authRequestMethod: monitorConfigurationReqAuthenticationDetailsAuthRequestMethod,
authRequestPostBody: monitorConfigurationReqAuthenticationDetailsAuthRequestPostBody,
authToken: monitorConfigurationReqAuthenticationDetailsAuthToken,
authUrl: monitorConfigurationReqAuthenticationDetailsAuthUrl,
authUserName: testUser.name,
authUserPassword: monitorConfigurationReqAuthenticationDetailsAuthUserPassword,
oauthScheme: monitorConfigurationReqAuthenticationDetailsOauthScheme,
},
reqAuthenticationScheme: monitorConfigurationReqAuthenticationScheme,
requestHeaders: [{
headerName: monitorConfigurationRequestHeadersHeaderName,
headerValue: monitorConfigurationRequestHeadersHeaderValue,
}],
requestMethod: monitorConfigurationRequestMethod,
requestPostBody: monitorConfigurationRequestPostBody,
requestQueryParams: [{
paramName: monitorConfigurationRequestQueryParamsParamName,
paramValue: monitorConfigurationRequestQueryParamsParamValue,
}],
uploadFileSizeInBytes: monitorConfigurationUploadFileSizeInBytes,
verifyResponseCodes: monitorConfigurationVerifyResponseCodes,
verifyResponseContent: monitorConfigurationVerifyResponseContent,
verifyTexts: [{
text: monitorConfigurationVerifyTextsText,
}],
},
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
isIpv6: monitorIsIpv6,
isRunNow: monitorIsRunNow,
isRunOnce: monitorIsRunOnce,
maintenanceWindowSchedule: {
timeEnded: monitorMaintenanceWindowScheduleTimeEnded,
timeStarted: monitorMaintenanceWindowScheduleTimeStarted,
},
schedulingPolicy: monitorSchedulingPolicy,
scriptId: testScript.id,
scriptParameters: [{
paramName: monitorScriptParametersParamName,
paramValue: monitorScriptParametersParamValue,
}],
status: monitorStatus,
target: monitorTarget,
timeoutInSeconds: monitorTimeoutInSeconds,
});
import pulumi
import pulumi_oci as oci
test_monitor = oci.apm_synthetics.Config("test_monitor",
apm_domain_id=test_apm_domain["id"],
display_name=monitor_display_name,
monitor_type=monitor_monitor_type,
repeat_interval_in_seconds=monitor_repeat_interval_in_seconds,
vantage_points=[{
"name": monitor_vantage_points_name,
"display_name": monitor_vantage_points_param_display_name,
}],
availability_configuration={
"max_allowed_failures_per_interval": monitor_availability_configuration_max_allowed_failures_per_interval,
"min_allowed_runs_per_interval": monitor_availability_configuration_min_allowed_runs_per_interval,
},
batch_interval_in_seconds=monitor_batch_interval_in_seconds,
configuration={
"client_certificate_details": {
"client_certificate": {
"content": monitor_configuration_client_certificate_details_client_certificate_content,
"file_name": monitor_configuration_client_certificate_details_client_certificate_file_name,
},
"private_key": {
"content": monitor_configuration_client_certificate_details_private_key_content,
"file_name": monitor_configuration_client_certificate_details_private_key_file_name,
},
},
"config_type": monitor_configuration_config_type,
"connection_string": monitor_configuration_connection_string,
"database_authentication_details": {
"password": {
"password": monitor_configuration_database_authentication_details_password_password,
"password_type": monitor_configuration_database_authentication_details_password_password_type,
"vault_secret_id": test_secret["id"],
},
"username": monitor_configuration_database_authentication_details_username,
},
"database_connection_type": monitor_configuration_database_connection_type,
"database_role": monitor_configuration_database_role,
"database_type": monitor_configuration_database_type,
"database_wallet_details": {
"database_wallet": monitor_configuration_database_wallet_details_database_wallet,
"service_name": test_service["name"],
},
"dns_configuration": {
"is_override_dns": monitor_configuration_dns_configuration_is_override_dns,
"override_dns_ip": monitor_configuration_dns_configuration_override_dns_ip,
},
"download_size_limit_in_bytes": monitor_configuration_download_size_limit_in_bytes,
"ftp_basic_authentication_details": {
"password": {
"password": monitor_configuration_ftp_basic_authentication_details_password_password,
"password_type": monitor_configuration_ftp_basic_authentication_details_password_password_type,
"vault_secret_id": test_secret["id"],
},
"username": monitor_configuration_ftp_basic_authentication_details_username,
},
"ftp_protocol": monitor_configuration_ftp_protocol,
"ftp_request_type": monitor_configuration_ftp_request_type,
"is_active_mode": monitor_configuration_is_active_mode,
"is_certificate_validation_enabled": monitor_configuration_is_certificate_validation_enabled,
"is_default_snapshot_enabled": monitor_configuration_is_default_snapshot_enabled,
"is_failure_retried": monitor_configuration_is_failure_retried,
"is_query_recursive": monitor_configuration_is_query_recursive,
"is_redirection_enabled": monitor_configuration_is_redirection_enabled,
"name_server": monitor_configuration_name_server,
"network_configuration": {
"number_of_hops": monitor_configuration_network_configuration_number_of_hops,
"probe_mode": monitor_configuration_network_configuration_probe_mode,
"probe_per_hop": monitor_configuration_network_configuration_probe_per_hop,
"protocol": monitor_configuration_network_configuration_protocol,
"transmission_rate": monitor_configuration_network_configuration_transmission_rate,
},
"protocol": monitor_configuration_protocol,
"query": monitor_configuration_query,
"record_type": monitor_configuration_record_type,
"req_authentication_details": {
"auth_headers": [{
"header_name": monitor_configuration_req_authentication_details_auth_headers_header_name,
"header_value": monitor_configuration_req_authentication_details_auth_headers_header_value,
}],
"auth_request_method": monitor_configuration_req_authentication_details_auth_request_method,
"auth_request_post_body": monitor_configuration_req_authentication_details_auth_request_post_body,
"auth_token": monitor_configuration_req_authentication_details_auth_token,
"auth_url": monitor_configuration_req_authentication_details_auth_url,
"auth_user_name": test_user["name"],
"auth_user_password": monitor_configuration_req_authentication_details_auth_user_password,
"oauth_scheme": monitor_configuration_req_authentication_details_oauth_scheme,
},
"req_authentication_scheme": monitor_configuration_req_authentication_scheme,
"request_headers": [{
"header_name": monitor_configuration_request_headers_header_name,
"header_value": monitor_configuration_request_headers_header_value,
}],
"request_method": monitor_configuration_request_method,
"request_post_body": monitor_configuration_request_post_body,
"request_query_params": [{
"param_name": monitor_configuration_request_query_params_param_name,
"param_value": monitor_configuration_request_query_params_param_value,
}],
"upload_file_size_in_bytes": monitor_configuration_upload_file_size_in_bytes,
"verify_response_codes": monitor_configuration_verify_response_codes,
"verify_response_content": monitor_configuration_verify_response_content,
"verify_texts": [{
"text": monitor_configuration_verify_texts_text,
}],
},
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
is_ipv6=monitor_is_ipv6,
is_run_now=monitor_is_run_now,
is_run_once=monitor_is_run_once,
maintenance_window_schedule={
"time_ended": monitor_maintenance_window_schedule_time_ended,
"time_started": monitor_maintenance_window_schedule_time_started,
},
scheduling_policy=monitor_scheduling_policy,
script_id=test_script["id"],
script_parameters=[{
"param_name": monitor_script_parameters_param_name,
"param_value": monitor_script_parameters_param_value,
}],
status=monitor_status,
target=monitor_target,
timeout_in_seconds=monitor_timeout_in_seconds)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ApmSynthetics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ApmSynthetics.NewConfig(ctx, "test_monitor", &ApmSynthetics.ConfigArgs{
ApmDomainId: pulumi.Any(testApmDomain.Id),
DisplayName: pulumi.Any(monitorDisplayName),
MonitorType: pulumi.Any(monitorMonitorType),
RepeatIntervalInSeconds: pulumi.Any(monitorRepeatIntervalInSeconds),
VantagePoints: apmsynthetics.ConfigVantagePointArray{
&apmsynthetics.ConfigVantagePointArgs{
Name: pulumi.Any(monitorVantagePointsName),
DisplayName: pulumi.Any(monitorVantagePointsParamDisplayName),
},
},
AvailabilityConfiguration: &apmsynthetics.ConfigAvailabilityConfigurationArgs{
MaxAllowedFailuresPerInterval: pulumi.Any(monitorAvailabilityConfigurationMaxAllowedFailuresPerInterval),
MinAllowedRunsPerInterval: pulumi.Any(monitorAvailabilityConfigurationMinAllowedRunsPerInterval),
},
BatchIntervalInSeconds: pulumi.Any(monitorBatchIntervalInSeconds),
Configuration: &apmsynthetics.ConfigConfigurationArgs{
ClientCertificateDetails: &apmsynthetics.ConfigConfigurationClientCertificateDetailsArgs{
ClientCertificate: &apmsynthetics.ConfigConfigurationClientCertificateDetailsClientCertificateArgs{
Content: pulumi.Any(monitorConfigurationClientCertificateDetailsClientCertificateContent),
FileName: pulumi.Any(monitorConfigurationClientCertificateDetailsClientCertificateFileName),
},
PrivateKey: &apmsynthetics.ConfigConfigurationClientCertificateDetailsPrivateKeyArgs{
Content: pulumi.Any(monitorConfigurationClientCertificateDetailsPrivateKeyContent),
FileName: pulumi.Any(monitorConfigurationClientCertificateDetailsPrivateKeyFileName),
},
},
ConfigType: pulumi.Any(monitorConfigurationConfigType),
ConnectionString: pulumi.Any(monitorConfigurationConnectionString),
DatabaseAuthenticationDetails: &apmsynthetics.ConfigConfigurationDatabaseAuthenticationDetailsArgs{
Password: &apmsynthetics.ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs{
Password: pulumi.Any(monitorConfigurationDatabaseAuthenticationDetailsPasswordPassword),
PasswordType: pulumi.Any(monitorConfigurationDatabaseAuthenticationDetailsPasswordPasswordType),
VaultSecretId: pulumi.Any(testSecret.Id),
},
Username: pulumi.Any(monitorConfigurationDatabaseAuthenticationDetailsUsername),
},
DatabaseConnectionType: pulumi.Any(monitorConfigurationDatabaseConnectionType),
DatabaseRole: pulumi.Any(monitorConfigurationDatabaseRole),
DatabaseType: pulumi.Any(monitorConfigurationDatabaseType),
DatabaseWalletDetails: &apmsynthetics.ConfigConfigurationDatabaseWalletDetailsArgs{
DatabaseWallet: pulumi.Any(monitorConfigurationDatabaseWalletDetailsDatabaseWallet),
ServiceName: pulumi.Any(testService.Name),
},
DnsConfiguration: &apmsynthetics.ConfigConfigurationDnsConfigurationArgs{
IsOverrideDns: pulumi.Any(monitorConfigurationDnsConfigurationIsOverrideDns),
OverrideDnsIp: pulumi.Any(monitorConfigurationDnsConfigurationOverrideDnsIp),
},
DownloadSizeLimitInBytes: pulumi.Any(monitorConfigurationDownloadSizeLimitInBytes),
FtpBasicAuthenticationDetails: &apmsynthetics.ConfigConfigurationFtpBasicAuthenticationDetailsArgs{
Password: &apmsynthetics.ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs{
Password: pulumi.Any(monitorConfigurationFtpBasicAuthenticationDetailsPasswordPassword),
PasswordType: pulumi.Any(monitorConfigurationFtpBasicAuthenticationDetailsPasswordPasswordType),
VaultSecretId: pulumi.Any(testSecret.Id),
},
Username: pulumi.Any(monitorConfigurationFtpBasicAuthenticationDetailsUsername),
},
FtpProtocol: pulumi.Any(monitorConfigurationFtpProtocol),
FtpRequestType: pulumi.Any(monitorConfigurationFtpRequestType),
IsActiveMode: pulumi.Any(monitorConfigurationIsActiveMode),
IsCertificateValidationEnabled: pulumi.Any(monitorConfigurationIsCertificateValidationEnabled),
IsDefaultSnapshotEnabled: pulumi.Any(monitorConfigurationIsDefaultSnapshotEnabled),
IsFailureRetried: pulumi.Any(monitorConfigurationIsFailureRetried),
IsQueryRecursive: pulumi.Any(monitorConfigurationIsQueryRecursive),
IsRedirectionEnabled: pulumi.Any(monitorConfigurationIsRedirectionEnabled),
NameServer: pulumi.Any(monitorConfigurationNameServer),
NetworkConfiguration: &apmsynthetics.ConfigConfigurationNetworkConfigurationArgs{
NumberOfHops: pulumi.Any(monitorConfigurationNetworkConfigurationNumberOfHops),
ProbeMode: pulumi.Any(monitorConfigurationNetworkConfigurationProbeMode),
ProbePerHop: pulumi.Any(monitorConfigurationNetworkConfigurationProbePerHop),
Protocol: pulumi.Any(monitorConfigurationNetworkConfigurationProtocol),
TransmissionRate: pulumi.Any(monitorConfigurationNetworkConfigurationTransmissionRate),
},
Protocol: pulumi.Any(monitorConfigurationProtocol),
Query: pulumi.Any(monitorConfigurationQuery),
RecordType: pulumi.Any(monitorConfigurationRecordType),
ReqAuthenticationDetails: &apmsynthetics.ConfigConfigurationReqAuthenticationDetailsArgs{
AuthHeaders: apmsynthetics.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArray{
&apmsynthetics.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs{
HeaderName: pulumi.Any(monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderName),
HeaderValue: pulumi.Any(monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderValue),
},
},
AuthRequestMethod: pulumi.Any(monitorConfigurationReqAuthenticationDetailsAuthRequestMethod),
AuthRequestPostBody: pulumi.Any(monitorConfigurationReqAuthenticationDetailsAuthRequestPostBody),
AuthToken: pulumi.Any(monitorConfigurationReqAuthenticationDetailsAuthToken),
AuthUrl: pulumi.Any(monitorConfigurationReqAuthenticationDetailsAuthUrl),
AuthUserName: pulumi.Any(testUser.Name),
AuthUserPassword: pulumi.Any(monitorConfigurationReqAuthenticationDetailsAuthUserPassword),
OauthScheme: pulumi.Any(monitorConfigurationReqAuthenticationDetailsOauthScheme),
},
ReqAuthenticationScheme: pulumi.Any(monitorConfigurationReqAuthenticationScheme),
RequestHeaders: apmsynthetics.ConfigConfigurationRequestHeaderArray{
&apmsynthetics.ConfigConfigurationRequestHeaderArgs{
HeaderName: pulumi.Any(monitorConfigurationRequestHeadersHeaderName),
HeaderValue: pulumi.Any(monitorConfigurationRequestHeadersHeaderValue),
},
},
RequestMethod: pulumi.Any(monitorConfigurationRequestMethod),
RequestPostBody: pulumi.Any(monitorConfigurationRequestPostBody),
RequestQueryParams: apmsynthetics.ConfigConfigurationRequestQueryParamArray{
&apmsynthetics.ConfigConfigurationRequestQueryParamArgs{
ParamName: pulumi.Any(monitorConfigurationRequestQueryParamsParamName),
ParamValue: pulumi.Any(monitorConfigurationRequestQueryParamsParamValue),
},
},
UploadFileSizeInBytes: pulumi.Any(monitorConfigurationUploadFileSizeInBytes),
VerifyResponseCodes: pulumi.Any(monitorConfigurationVerifyResponseCodes),
VerifyResponseContent: pulumi.Any(monitorConfigurationVerifyResponseContent),
VerifyTexts: apmsynthetics.ConfigConfigurationVerifyTextArray{
&apmsynthetics.ConfigConfigurationVerifyTextArgs{
Text: pulumi.Any(monitorConfigurationVerifyTextsText),
},
},
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
IsIpv6: pulumi.Any(monitorIsIpv6),
IsRunNow: pulumi.Any(monitorIsRunNow),
IsRunOnce: pulumi.Any(monitorIsRunOnce),
MaintenanceWindowSchedule: &apmsynthetics.ConfigMaintenanceWindowScheduleArgs{
TimeEnded: pulumi.Any(monitorMaintenanceWindowScheduleTimeEnded),
TimeStarted: pulumi.Any(monitorMaintenanceWindowScheduleTimeStarted),
},
SchedulingPolicy: pulumi.Any(monitorSchedulingPolicy),
ScriptId: pulumi.Any(testScript.Id),
ScriptParameters: apmsynthetics.ConfigScriptParameterArray{
&apmsynthetics.ConfigScriptParameterArgs{
ParamName: pulumi.Any(monitorScriptParametersParamName),
ParamValue: pulumi.Any(monitorScriptParametersParamValue),
},
},
Status: pulumi.Any(monitorStatus),
Target: pulumi.Any(monitorTarget),
TimeoutInSeconds: pulumi.Any(monitorTimeoutInSeconds),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMonitor = new Oci.ApmSynthetics.Config("test_monitor", new()
{
ApmDomainId = testApmDomain.Id,
DisplayName = monitorDisplayName,
MonitorType = monitorMonitorType,
RepeatIntervalInSeconds = monitorRepeatIntervalInSeconds,
VantagePoints = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigVantagePointArgs
{
Name = monitorVantagePointsName,
DisplayName = monitorVantagePointsParamDisplayName,
},
},
AvailabilityConfiguration = new Oci.ApmSynthetics.Inputs.ConfigAvailabilityConfigurationArgs
{
MaxAllowedFailuresPerInterval = monitorAvailabilityConfigurationMaxAllowedFailuresPerInterval,
MinAllowedRunsPerInterval = monitorAvailabilityConfigurationMinAllowedRunsPerInterval,
},
BatchIntervalInSeconds = monitorBatchIntervalInSeconds,
Configuration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationArgs
{
ClientCertificateDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationClientCertificateDetailsArgs
{
ClientCertificate = new Oci.ApmSynthetics.Inputs.ConfigConfigurationClientCertificateDetailsClientCertificateArgs
{
Content = monitorConfigurationClientCertificateDetailsClientCertificateContent,
FileName = monitorConfigurationClientCertificateDetailsClientCertificateFileName,
},
PrivateKey = new Oci.ApmSynthetics.Inputs.ConfigConfigurationClientCertificateDetailsPrivateKeyArgs
{
Content = monitorConfigurationClientCertificateDetailsPrivateKeyContent,
FileName = monitorConfigurationClientCertificateDetailsPrivateKeyFileName,
},
},
ConfigType = monitorConfigurationConfigType,
ConnectionString = monitorConfigurationConnectionString,
DatabaseAuthenticationDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDatabaseAuthenticationDetailsArgs
{
Password = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs
{
Password = monitorConfigurationDatabaseAuthenticationDetailsPasswordPassword,
PasswordType = monitorConfigurationDatabaseAuthenticationDetailsPasswordPasswordType,
VaultSecretId = testSecret.Id,
},
Username = monitorConfigurationDatabaseAuthenticationDetailsUsername,
},
DatabaseConnectionType = monitorConfigurationDatabaseConnectionType,
DatabaseRole = monitorConfigurationDatabaseRole,
DatabaseType = monitorConfigurationDatabaseType,
DatabaseWalletDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDatabaseWalletDetailsArgs
{
DatabaseWallet = monitorConfigurationDatabaseWalletDetailsDatabaseWallet,
ServiceName = testService.Name,
},
DnsConfiguration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDnsConfigurationArgs
{
IsOverrideDns = monitorConfigurationDnsConfigurationIsOverrideDns,
OverrideDnsIp = monitorConfigurationDnsConfigurationOverrideDnsIp,
},
DownloadSizeLimitInBytes = monitorConfigurationDownloadSizeLimitInBytes,
FtpBasicAuthenticationDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationFtpBasicAuthenticationDetailsArgs
{
Password = new Oci.ApmSynthetics.Inputs.ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs
{
Password = monitorConfigurationFtpBasicAuthenticationDetailsPasswordPassword,
PasswordType = monitorConfigurationFtpBasicAuthenticationDetailsPasswordPasswordType,
VaultSecretId = testSecret.Id,
},
Username = monitorConfigurationFtpBasicAuthenticationDetailsUsername,
},
FtpProtocol = monitorConfigurationFtpProtocol,
FtpRequestType = monitorConfigurationFtpRequestType,
IsActiveMode = monitorConfigurationIsActiveMode,
IsCertificateValidationEnabled = monitorConfigurationIsCertificateValidationEnabled,
IsDefaultSnapshotEnabled = monitorConfigurationIsDefaultSnapshotEnabled,
IsFailureRetried = monitorConfigurationIsFailureRetried,
IsQueryRecursive = monitorConfigurationIsQueryRecursive,
IsRedirectionEnabled = monitorConfigurationIsRedirectionEnabled,
NameServer = monitorConfigurationNameServer,
NetworkConfiguration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationNetworkConfigurationArgs
{
NumberOfHops = monitorConfigurationNetworkConfigurationNumberOfHops,
ProbeMode = monitorConfigurationNetworkConfigurationProbeMode,
ProbePerHop = monitorConfigurationNetworkConfigurationProbePerHop,
Protocol = monitorConfigurationNetworkConfigurationProtocol,
TransmissionRate = monitorConfigurationNetworkConfigurationTransmissionRate,
},
Protocol = monitorConfigurationProtocol,
Query = monitorConfigurationQuery,
RecordType = monitorConfigurationRecordType,
ReqAuthenticationDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationReqAuthenticationDetailsArgs
{
AuthHeaders = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs
{
HeaderName = monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderName,
HeaderValue = monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderValue,
},
},
AuthRequestMethod = monitorConfigurationReqAuthenticationDetailsAuthRequestMethod,
AuthRequestPostBody = monitorConfigurationReqAuthenticationDetailsAuthRequestPostBody,
AuthToken = monitorConfigurationReqAuthenticationDetailsAuthToken,
AuthUrl = monitorConfigurationReqAuthenticationDetailsAuthUrl,
AuthUserName = testUser.Name,
AuthUserPassword = monitorConfigurationReqAuthenticationDetailsAuthUserPassword,
OauthScheme = monitorConfigurationReqAuthenticationDetailsOauthScheme,
},
ReqAuthenticationScheme = monitorConfigurationReqAuthenticationScheme,
RequestHeaders = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationRequestHeaderArgs
{
HeaderName = monitorConfigurationRequestHeadersHeaderName,
HeaderValue = monitorConfigurationRequestHeadersHeaderValue,
},
},
RequestMethod = monitorConfigurationRequestMethod,
RequestPostBody = monitorConfigurationRequestPostBody,
RequestQueryParams = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationRequestQueryParamArgs
{
ParamName = monitorConfigurationRequestQueryParamsParamName,
ParamValue = monitorConfigurationRequestQueryParamsParamValue,
},
},
UploadFileSizeInBytes = monitorConfigurationUploadFileSizeInBytes,
VerifyResponseCodes = monitorConfigurationVerifyResponseCodes,
VerifyResponseContent = monitorConfigurationVerifyResponseContent,
VerifyTexts = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationVerifyTextArgs
{
Text = monitorConfigurationVerifyTextsText,
},
},
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
IsIpv6 = monitorIsIpv6,
IsRunNow = monitorIsRunNow,
IsRunOnce = monitorIsRunOnce,
MaintenanceWindowSchedule = new Oci.ApmSynthetics.Inputs.ConfigMaintenanceWindowScheduleArgs
{
TimeEnded = monitorMaintenanceWindowScheduleTimeEnded,
TimeStarted = monitorMaintenanceWindowScheduleTimeStarted,
},
SchedulingPolicy = monitorSchedulingPolicy,
ScriptId = testScript.Id,
ScriptParameters = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigScriptParameterArgs
{
ParamName = monitorScriptParametersParamName,
ParamValue = monitorScriptParametersParamValue,
},
},
Status = monitorStatus,
Target = monitorTarget,
TimeoutInSeconds = monitorTimeoutInSeconds,
});
});
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.ConfigVantagePointArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigAvailabilityConfigurationArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationClientCertificateDetailsArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationClientCertificateDetailsClientCertificateArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationClientCertificateDetailsPrivateKeyArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationDatabaseAuthenticationDetailsArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationDatabaseWalletDetailsArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationDnsConfigurationArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationFtpBasicAuthenticationDetailsArgs;
import com.pulumi.oci.ApmSynthetics.inputs.ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs;
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(testApmDomain.id())
.displayName(monitorDisplayName)
.monitorType(monitorMonitorType)
.repeatIntervalInSeconds(monitorRepeatIntervalInSeconds)
.vantagePoints(ConfigVantagePointArgs.builder()
.name(monitorVantagePointsName)
.displayName(monitorVantagePointsParamDisplayName)
.build())
.availabilityConfiguration(ConfigAvailabilityConfigurationArgs.builder()
.maxAllowedFailuresPerInterval(monitorAvailabilityConfigurationMaxAllowedFailuresPerInterval)
.minAllowedRunsPerInterval(monitorAvailabilityConfigurationMinAllowedRunsPerInterval)
.build())
.batchIntervalInSeconds(monitorBatchIntervalInSeconds)
.configuration(ConfigConfigurationArgs.builder()
.clientCertificateDetails(ConfigConfigurationClientCertificateDetailsArgs.builder()
.clientCertificate(ConfigConfigurationClientCertificateDetailsClientCertificateArgs.builder()
.content(monitorConfigurationClientCertificateDetailsClientCertificateContent)
.fileName(monitorConfigurationClientCertificateDetailsClientCertificateFileName)
.build())
.privateKey(ConfigConfigurationClientCertificateDetailsPrivateKeyArgs.builder()
.content(monitorConfigurationClientCertificateDetailsPrivateKeyContent)
.fileName(monitorConfigurationClientCertificateDetailsPrivateKeyFileName)
.build())
.build())
.configType(monitorConfigurationConfigType)
.connectionString(monitorConfigurationConnectionString)
.databaseAuthenticationDetails(ConfigConfigurationDatabaseAuthenticationDetailsArgs.builder()
.password(ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs.builder()
.password(monitorConfigurationDatabaseAuthenticationDetailsPasswordPassword)
.passwordType(monitorConfigurationDatabaseAuthenticationDetailsPasswordPasswordType)
.vaultSecretId(testSecret.id())
.build())
.username(monitorConfigurationDatabaseAuthenticationDetailsUsername)
.build())
.databaseConnectionType(monitorConfigurationDatabaseConnectionType)
.databaseRole(monitorConfigurationDatabaseRole)
.databaseType(monitorConfigurationDatabaseType)
.databaseWalletDetails(ConfigConfigurationDatabaseWalletDetailsArgs.builder()
.databaseWallet(monitorConfigurationDatabaseWalletDetailsDatabaseWallet)
.serviceName(testService.name())
.build())
.dnsConfiguration(ConfigConfigurationDnsConfigurationArgs.builder()
.isOverrideDns(monitorConfigurationDnsConfigurationIsOverrideDns)
.overrideDnsIp(monitorConfigurationDnsConfigurationOverrideDnsIp)
.build())
.downloadSizeLimitInBytes(monitorConfigurationDownloadSizeLimitInBytes)
.ftpBasicAuthenticationDetails(ConfigConfigurationFtpBasicAuthenticationDetailsArgs.builder()
.password(ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs.builder()
.password(monitorConfigurationFtpBasicAuthenticationDetailsPasswordPassword)
.passwordType(monitorConfigurationFtpBasicAuthenticationDetailsPasswordPasswordType)
.vaultSecretId(testSecret.id())
.build())
.username(monitorConfigurationFtpBasicAuthenticationDetailsUsername)
.build())
.ftpProtocol(monitorConfigurationFtpProtocol)
.ftpRequestType(monitorConfigurationFtpRequestType)
.isActiveMode(monitorConfigurationIsActiveMode)
.isCertificateValidationEnabled(monitorConfigurationIsCertificateValidationEnabled)
.isDefaultSnapshotEnabled(monitorConfigurationIsDefaultSnapshotEnabled)
.isFailureRetried(monitorConfigurationIsFailureRetried)
.isQueryRecursive(monitorConfigurationIsQueryRecursive)
.isRedirectionEnabled(monitorConfigurationIsRedirectionEnabled)
.nameServer(monitorConfigurationNameServer)
.networkConfiguration(ConfigConfigurationNetworkConfigurationArgs.builder()
.numberOfHops(monitorConfigurationNetworkConfigurationNumberOfHops)
.probeMode(monitorConfigurationNetworkConfigurationProbeMode)
.probePerHop(monitorConfigurationNetworkConfigurationProbePerHop)
.protocol(monitorConfigurationNetworkConfigurationProtocol)
.transmissionRate(monitorConfigurationNetworkConfigurationTransmissionRate)
.build())
.protocol(monitorConfigurationProtocol)
.query(monitorConfigurationQuery)
.recordType(monitorConfigurationRecordType)
.reqAuthenticationDetails(ConfigConfigurationReqAuthenticationDetailsArgs.builder()
.authHeaders(ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs.builder()
.headerName(monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderName)
.headerValue(monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderValue)
.build())
.authRequestMethod(monitorConfigurationReqAuthenticationDetailsAuthRequestMethod)
.authRequestPostBody(monitorConfigurationReqAuthenticationDetailsAuthRequestPostBody)
.authToken(monitorConfigurationReqAuthenticationDetailsAuthToken)
.authUrl(monitorConfigurationReqAuthenticationDetailsAuthUrl)
.authUserName(testUser.name())
.authUserPassword(monitorConfigurationReqAuthenticationDetailsAuthUserPassword)
.oauthScheme(monitorConfigurationReqAuthenticationDetailsOauthScheme)
.build())
.reqAuthenticationScheme(monitorConfigurationReqAuthenticationScheme)
.requestHeaders(ConfigConfigurationRequestHeaderArgs.builder()
.headerName(monitorConfigurationRequestHeadersHeaderName)
.headerValue(monitorConfigurationRequestHeadersHeaderValue)
.build())
.requestMethod(monitorConfigurationRequestMethod)
.requestPostBody(monitorConfigurationRequestPostBody)
.requestQueryParams(ConfigConfigurationRequestQueryParamArgs.builder()
.paramName(monitorConfigurationRequestQueryParamsParamName)
.paramValue(monitorConfigurationRequestQueryParamsParamValue)
.build())
.uploadFileSizeInBytes(monitorConfigurationUploadFileSizeInBytes)
.verifyResponseCodes(monitorConfigurationVerifyResponseCodes)
.verifyResponseContent(monitorConfigurationVerifyResponseContent)
.verifyTexts(ConfigConfigurationVerifyTextArgs.builder()
.text(monitorConfigurationVerifyTextsText)
.build())
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.isIpv6(monitorIsIpv6)
.isRunNow(monitorIsRunNow)
.isRunOnce(monitorIsRunOnce)
.maintenanceWindowSchedule(ConfigMaintenanceWindowScheduleArgs.builder()
.timeEnded(monitorMaintenanceWindowScheduleTimeEnded)
.timeStarted(monitorMaintenanceWindowScheduleTimeStarted)
.build())
.schedulingPolicy(monitorSchedulingPolicy)
.scriptId(testScript.id())
.scriptParameters(ConfigScriptParameterArgs.builder()
.paramName(monitorScriptParametersParamName)
.paramValue(monitorScriptParametersParamValue)
.build())
.status(monitorStatus)
.target(monitorTarget)
.timeoutInSeconds(monitorTimeoutInSeconds)
.build());
}
}
resources:
testMonitor:
type: oci:ApmSynthetics:Config
name: test_monitor
properties:
apmDomainId: ${testApmDomain.id}
displayName: ${monitorDisplayName}
monitorType: ${monitorMonitorType}
repeatIntervalInSeconds: ${monitorRepeatIntervalInSeconds}
vantagePoints:
- name: ${monitorVantagePointsName}
displayName: ${monitorVantagePointsParamDisplayName}
availabilityConfiguration:
maxAllowedFailuresPerInterval: ${monitorAvailabilityConfigurationMaxAllowedFailuresPerInterval}
minAllowedRunsPerInterval: ${monitorAvailabilityConfigurationMinAllowedRunsPerInterval}
batchIntervalInSeconds: ${monitorBatchIntervalInSeconds}
configuration:
clientCertificateDetails:
clientCertificate:
content: ${monitorConfigurationClientCertificateDetailsClientCertificateContent}
fileName: ${monitorConfigurationClientCertificateDetailsClientCertificateFileName}
privateKey:
content: ${monitorConfigurationClientCertificateDetailsPrivateKeyContent}
fileName: ${monitorConfigurationClientCertificateDetailsPrivateKeyFileName}
configType: ${monitorConfigurationConfigType}
connectionString: ${monitorConfigurationConnectionString}
databaseAuthenticationDetails:
password:
password: ${monitorConfigurationDatabaseAuthenticationDetailsPasswordPassword}
passwordType: ${monitorConfigurationDatabaseAuthenticationDetailsPasswordPasswordType}
vaultSecretId: ${testSecret.id}
username: ${monitorConfigurationDatabaseAuthenticationDetailsUsername}
databaseConnectionType: ${monitorConfigurationDatabaseConnectionType}
databaseRole: ${monitorConfigurationDatabaseRole}
databaseType: ${monitorConfigurationDatabaseType}
databaseWalletDetails:
databaseWallet: ${monitorConfigurationDatabaseWalletDetailsDatabaseWallet}
serviceName: ${testService.name}
dnsConfiguration:
isOverrideDns: ${monitorConfigurationDnsConfigurationIsOverrideDns}
overrideDnsIp: ${monitorConfigurationDnsConfigurationOverrideDnsIp}
downloadSizeLimitInBytes: ${monitorConfigurationDownloadSizeLimitInBytes}
ftpBasicAuthenticationDetails:
password:
password: ${monitorConfigurationFtpBasicAuthenticationDetailsPasswordPassword}
passwordType: ${monitorConfigurationFtpBasicAuthenticationDetailsPasswordPasswordType}
vaultSecretId: ${testSecret.id}
username: ${monitorConfigurationFtpBasicAuthenticationDetailsUsername}
ftpProtocol: ${monitorConfigurationFtpProtocol}
ftpRequestType: ${monitorConfigurationFtpRequestType}
isActiveMode: ${monitorConfigurationIsActiveMode}
isCertificateValidationEnabled: ${monitorConfigurationIsCertificateValidationEnabled}
isDefaultSnapshotEnabled: ${monitorConfigurationIsDefaultSnapshotEnabled}
isFailureRetried: ${monitorConfigurationIsFailureRetried}
isQueryRecursive: ${monitorConfigurationIsQueryRecursive}
isRedirectionEnabled: ${monitorConfigurationIsRedirectionEnabled}
nameServer: ${monitorConfigurationNameServer}
networkConfiguration:
numberOfHops: ${monitorConfigurationNetworkConfigurationNumberOfHops}
probeMode: ${monitorConfigurationNetworkConfigurationProbeMode}
probePerHop: ${monitorConfigurationNetworkConfigurationProbePerHop}
protocol: ${monitorConfigurationNetworkConfigurationProtocol}
transmissionRate: ${monitorConfigurationNetworkConfigurationTransmissionRate}
protocol: ${monitorConfigurationProtocol}
query: ${monitorConfigurationQuery}
recordType: ${monitorConfigurationRecordType}
reqAuthenticationDetails:
authHeaders:
- headerName: ${monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderName}
headerValue: ${monitorConfigurationReqAuthenticationDetailsAuthHeadersHeaderValue}
authRequestMethod: ${monitorConfigurationReqAuthenticationDetailsAuthRequestMethod}
authRequestPostBody: ${monitorConfigurationReqAuthenticationDetailsAuthRequestPostBody}
authToken: ${monitorConfigurationReqAuthenticationDetailsAuthToken}
authUrl: ${monitorConfigurationReqAuthenticationDetailsAuthUrl}
authUserName: ${testUser.name}
authUserPassword: ${monitorConfigurationReqAuthenticationDetailsAuthUserPassword}
oauthScheme: ${monitorConfigurationReqAuthenticationDetailsOauthScheme}
reqAuthenticationScheme: ${monitorConfigurationReqAuthenticationScheme}
requestHeaders:
- headerName: ${monitorConfigurationRequestHeadersHeaderName}
headerValue: ${monitorConfigurationRequestHeadersHeaderValue}
requestMethod: ${monitorConfigurationRequestMethod}
requestPostBody: ${monitorConfigurationRequestPostBody}
requestQueryParams:
- paramName: ${monitorConfigurationRequestQueryParamsParamName}
paramValue: ${monitorConfigurationRequestQueryParamsParamValue}
uploadFileSizeInBytes: ${monitorConfigurationUploadFileSizeInBytes}
verifyResponseCodes: ${monitorConfigurationVerifyResponseCodes}
verifyResponseContent: ${monitorConfigurationVerifyResponseContent}
verifyTexts:
- text: ${monitorConfigurationVerifyTextsText}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
isIpv6: ${monitorIsIpv6}
isRunNow: ${monitorIsRunNow}
isRunOnce: ${monitorIsRunOnce}
maintenanceWindowSchedule:
timeEnded: ${monitorMaintenanceWindowScheduleTimeEnded}
timeStarted: ${monitorMaintenanceWindowScheduleTimeStarted}
schedulingPolicy: ${monitorSchedulingPolicy}
scriptId: ${testScript.id}
scriptParameters:
- paramName: ${monitorScriptParametersParamName}
paramValue: ${monitorScriptParametersParamValue}
status: ${monitorStatus}
target: ${monitorTarget}
timeoutInSeconds: ${monitorTimeoutInSeconds}
Create Config Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
@overload
def Config(resource_name: str,
args: ConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Config(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
vantage_points: Optional[Sequence[_apmsynthetics.ConfigVantagePointArgs]] = None,
repeat_interval_in_seconds: Optional[int] = None,
monitor_type: Optional[str] = None,
apm_domain_id: Optional[str] = None,
maintenance_window_schedule: Optional[_apmsynthetics.ConfigMaintenanceWindowScheduleArgs] = None,
batch_interval_in_seconds: Optional[int] = None,
is_ipv6: Optional[bool] = None,
is_run_now: Optional[bool] = None,
is_run_once: Optional[bool] = None,
defined_tags: Optional[Mapping[str, str]] = None,
configuration: Optional[_apmsynthetics.ConfigConfigurationArgs] = None,
freeform_tags: Optional[Mapping[str, str]] = 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,
availability_configuration: Optional[_apmsynthetics.ConfigAvailabilityConfigurationArgs] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var ociConfigResource = new Oci.ApmSynthetics.Config("ociConfigResource", new()
{
DisplayName = "string",
VantagePoints = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigVantagePointArgs
{
Name = "string",
DisplayName = "string",
WorkerLists = new[]
{
"string",
},
},
},
RepeatIntervalInSeconds = 0,
MonitorType = "string",
ApmDomainId = "string",
MaintenanceWindowSchedule = new Oci.ApmSynthetics.Inputs.ConfigMaintenanceWindowScheduleArgs
{
TimeEnded = "string",
TimeStarted = "string",
},
BatchIntervalInSeconds = 0,
IsIpv6 = false,
IsRunNow = false,
IsRunOnce = false,
DefinedTags =
{
{ "string", "string" },
},
Configuration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationArgs
{
ClientCertificateDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationClientCertificateDetailsArgs
{
ClientCertificate = new Oci.ApmSynthetics.Inputs.ConfigConfigurationClientCertificateDetailsClientCertificateArgs
{
Content = "string",
FileName = "string",
},
PrivateKey = new Oci.ApmSynthetics.Inputs.ConfigConfigurationClientCertificateDetailsPrivateKeyArgs
{
Content = "string",
FileName = "string",
},
},
ConfigType = "string",
ConnectionString = "string",
DatabaseAuthenticationDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDatabaseAuthenticationDetailsArgs
{
Password = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs
{
Password = "string",
PasswordType = "string",
VaultSecretId = "string",
},
Username = "string",
},
DatabaseConnectionType = "string",
DatabaseRole = "string",
DatabaseType = "string",
DatabaseWalletDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDatabaseWalletDetailsArgs
{
DatabaseWallet = "string",
ServiceName = "string",
},
DnsConfiguration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationDnsConfigurationArgs
{
IsOverrideDns = false,
OverrideDnsIp = "string",
},
DownloadSizeLimitInBytes = 0,
FtpBasicAuthenticationDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationFtpBasicAuthenticationDetailsArgs
{
Password = new Oci.ApmSynthetics.Inputs.ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs
{
Password = "string",
PasswordType = "string",
VaultSecretId = "string",
},
Username = "string",
},
FtpProtocol = "string",
FtpRequestType = "string",
IsActiveMode = false,
IsCertificateValidationEnabled = false,
IsDefaultSnapshotEnabled = false,
IsFailureRetried = false,
IsQueryRecursive = false,
IsRedirectionEnabled = false,
NameServer = "string",
NetworkConfiguration = new Oci.ApmSynthetics.Inputs.ConfigConfigurationNetworkConfigurationArgs
{
NumberOfHops = 0,
ProbeMode = "string",
ProbePerHop = 0,
Protocol = "string",
TransmissionRate = 0,
},
Protocol = "string",
Query = "string",
RecordType = "string",
ReqAuthenticationDetails = new Oci.ApmSynthetics.Inputs.ConfigConfigurationReqAuthenticationDetailsArgs
{
AuthHeaders = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs
{
HeaderName = "string",
HeaderValue = "string",
},
},
AuthRequestMethod = "string",
AuthRequestPostBody = "string",
AuthToken = "string",
AuthUrl = "string",
AuthUserName = "string",
AuthUserPassword = "string",
OauthScheme = "string",
},
ReqAuthenticationScheme = "string",
RequestHeaders = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationRequestHeaderArgs
{
HeaderName = "string",
HeaderValue = "string",
},
},
RequestMethod = "string",
RequestPostBody = "string",
RequestQueryParams = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationRequestQueryParamArgs
{
ParamName = "string",
ParamValue = "string",
},
},
UploadFileSizeInBytes = 0,
VerifyResponseCodes = new[]
{
"string",
},
VerifyResponseContent = "string",
VerifyTexts = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigConfigurationVerifyTextArgs
{
Text = "string",
},
},
},
FreeformTags =
{
{ "string", "string" },
},
SchedulingPolicy = "string",
ScriptId = "string",
ScriptName = "string",
ScriptParameters = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigScriptParameterArgs
{
ParamName = "string",
ParamValue = "string",
IsOverwritten = false,
IsSecret = false,
MonitorScriptParameters = new[]
{
new Oci.ApmSynthetics.Inputs.ConfigScriptParameterMonitorScriptParameterArgs
{
ParamName = "string",
ParamValue = "string",
},
},
},
},
Status = "string",
Target = "string",
TimeoutInSeconds = 0,
AvailabilityConfiguration = new Oci.ApmSynthetics.Inputs.ConfigAvailabilityConfigurationArgs
{
MaxAllowedFailuresPerInterval = 0,
MinAllowedRunsPerInterval = 0,
},
});
example, err := ApmSynthetics.NewConfig(ctx, "ociConfigResource", &ApmSynthetics.ConfigArgs{
DisplayName: pulumi.String("string"),
VantagePoints: apmsynthetics.ConfigVantagePointArray{
&apmsynthetics.ConfigVantagePointArgs{
Name: pulumi.String("string"),
DisplayName: pulumi.String("string"),
WorkerLists: pulumi.StringArray{
pulumi.String("string"),
},
},
},
RepeatIntervalInSeconds: pulumi.Int(0),
MonitorType: pulumi.String("string"),
ApmDomainId: pulumi.String("string"),
MaintenanceWindowSchedule: &apmsynthetics.ConfigMaintenanceWindowScheduleArgs{
TimeEnded: pulumi.String("string"),
TimeStarted: pulumi.String("string"),
},
BatchIntervalInSeconds: pulumi.Int(0),
IsIpv6: pulumi.Bool(false),
IsRunNow: pulumi.Bool(false),
IsRunOnce: pulumi.Bool(false),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Configuration: &apmsynthetics.ConfigConfigurationArgs{
ClientCertificateDetails: &apmsynthetics.ConfigConfigurationClientCertificateDetailsArgs{
ClientCertificate: &apmsynthetics.ConfigConfigurationClientCertificateDetailsClientCertificateArgs{
Content: pulumi.String("string"),
FileName: pulumi.String("string"),
},
PrivateKey: &apmsynthetics.ConfigConfigurationClientCertificateDetailsPrivateKeyArgs{
Content: pulumi.String("string"),
FileName: pulumi.String("string"),
},
},
ConfigType: pulumi.String("string"),
ConnectionString: pulumi.String("string"),
DatabaseAuthenticationDetails: &apmsynthetics.ConfigConfigurationDatabaseAuthenticationDetailsArgs{
Password: &apmsynthetics.ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs{
Password: pulumi.String("string"),
PasswordType: pulumi.String("string"),
VaultSecretId: pulumi.String("string"),
},
Username: pulumi.String("string"),
},
DatabaseConnectionType: pulumi.String("string"),
DatabaseRole: pulumi.String("string"),
DatabaseType: pulumi.String("string"),
DatabaseWalletDetails: &apmsynthetics.ConfigConfigurationDatabaseWalletDetailsArgs{
DatabaseWallet: pulumi.String("string"),
ServiceName: pulumi.String("string"),
},
DnsConfiguration: &apmsynthetics.ConfigConfigurationDnsConfigurationArgs{
IsOverrideDns: pulumi.Bool(false),
OverrideDnsIp: pulumi.String("string"),
},
DownloadSizeLimitInBytes: pulumi.Int(0),
FtpBasicAuthenticationDetails: &apmsynthetics.ConfigConfigurationFtpBasicAuthenticationDetailsArgs{
Password: &apmsynthetics.ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs{
Password: pulumi.String("string"),
PasswordType: pulumi.String("string"),
VaultSecretId: pulumi.String("string"),
},
Username: pulumi.String("string"),
},
FtpProtocol: pulumi.String("string"),
FtpRequestType: pulumi.String("string"),
IsActiveMode: pulumi.Bool(false),
IsCertificateValidationEnabled: pulumi.Bool(false),
IsDefaultSnapshotEnabled: pulumi.Bool(false),
IsFailureRetried: pulumi.Bool(false),
IsQueryRecursive: pulumi.Bool(false),
IsRedirectionEnabled: pulumi.Bool(false),
NameServer: pulumi.String("string"),
NetworkConfiguration: &apmsynthetics.ConfigConfigurationNetworkConfigurationArgs{
NumberOfHops: pulumi.Int(0),
ProbeMode: pulumi.String("string"),
ProbePerHop: pulumi.Int(0),
Protocol: pulumi.String("string"),
TransmissionRate: pulumi.Int(0),
},
Protocol: pulumi.String("string"),
Query: pulumi.String("string"),
RecordType: pulumi.String("string"),
ReqAuthenticationDetails: &apmsynthetics.ConfigConfigurationReqAuthenticationDetailsArgs{
AuthHeaders: apmsynthetics.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArray{
&apmsynthetics.ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs{
HeaderName: pulumi.String("string"),
HeaderValue: pulumi.String("string"),
},
},
AuthRequestMethod: pulumi.String("string"),
AuthRequestPostBody: pulumi.String("string"),
AuthToken: pulumi.String("string"),
AuthUrl: pulumi.String("string"),
AuthUserName: pulumi.String("string"),
AuthUserPassword: pulumi.String("string"),
OauthScheme: pulumi.String("string"),
},
ReqAuthenticationScheme: pulumi.String("string"),
RequestHeaders: apmsynthetics.ConfigConfigurationRequestHeaderArray{
&apmsynthetics.ConfigConfigurationRequestHeaderArgs{
HeaderName: pulumi.String("string"),
HeaderValue: pulumi.String("string"),
},
},
RequestMethod: pulumi.String("string"),
RequestPostBody: pulumi.String("string"),
RequestQueryParams: apmsynthetics.ConfigConfigurationRequestQueryParamArray{
&apmsynthetics.ConfigConfigurationRequestQueryParamArgs{
ParamName: pulumi.String("string"),
ParamValue: pulumi.String("string"),
},
},
UploadFileSizeInBytes: pulumi.Int(0),
VerifyResponseCodes: pulumi.StringArray{
pulumi.String("string"),
},
VerifyResponseContent: pulumi.String("string"),
VerifyTexts: apmsynthetics.ConfigConfigurationVerifyTextArray{
&apmsynthetics.ConfigConfigurationVerifyTextArgs{
Text: pulumi.String("string"),
},
},
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
SchedulingPolicy: pulumi.String("string"),
ScriptId: pulumi.String("string"),
ScriptName: pulumi.String("string"),
ScriptParameters: apmsynthetics.ConfigScriptParameterArray{
&apmsynthetics.ConfigScriptParameterArgs{
ParamName: pulumi.String("string"),
ParamValue: pulumi.String("string"),
IsOverwritten: pulumi.Bool(false),
IsSecret: pulumi.Bool(false),
MonitorScriptParameters: apmsynthetics.ConfigScriptParameterMonitorScriptParameterArray{
&apmsynthetics.ConfigScriptParameterMonitorScriptParameterArgs{
ParamName: pulumi.String("string"),
ParamValue: pulumi.String("string"),
},
},
},
},
Status: pulumi.String("string"),
Target: pulumi.String("string"),
TimeoutInSeconds: pulumi.Int(0),
AvailabilityConfiguration: &apmsynthetics.ConfigAvailabilityConfigurationArgs{
MaxAllowedFailuresPerInterval: pulumi.Int(0),
MinAllowedRunsPerInterval: pulumi.Int(0),
},
})
var ociConfigResource = new Config("ociConfigResource", ConfigArgs.builder()
.displayName("string")
.vantagePoints(ConfigVantagePointArgs.builder()
.name("string")
.displayName("string")
.workerLists("string")
.build())
.repeatIntervalInSeconds(0)
.monitorType("string")
.apmDomainId("string")
.maintenanceWindowSchedule(ConfigMaintenanceWindowScheduleArgs.builder()
.timeEnded("string")
.timeStarted("string")
.build())
.batchIntervalInSeconds(0)
.isIpv6(false)
.isRunNow(false)
.isRunOnce(false)
.definedTags(Map.of("string", "string"))
.configuration(ConfigConfigurationArgs.builder()
.clientCertificateDetails(ConfigConfigurationClientCertificateDetailsArgs.builder()
.clientCertificate(ConfigConfigurationClientCertificateDetailsClientCertificateArgs.builder()
.content("string")
.fileName("string")
.build())
.privateKey(ConfigConfigurationClientCertificateDetailsPrivateKeyArgs.builder()
.content("string")
.fileName("string")
.build())
.build())
.configType("string")
.connectionString("string")
.databaseAuthenticationDetails(ConfigConfigurationDatabaseAuthenticationDetailsArgs.builder()
.password(ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs.builder()
.password("string")
.passwordType("string")
.vaultSecretId("string")
.build())
.username("string")
.build())
.databaseConnectionType("string")
.databaseRole("string")
.databaseType("string")
.databaseWalletDetails(ConfigConfigurationDatabaseWalletDetailsArgs.builder()
.databaseWallet("string")
.serviceName("string")
.build())
.dnsConfiguration(ConfigConfigurationDnsConfigurationArgs.builder()
.isOverrideDns(false)
.overrideDnsIp("string")
.build())
.downloadSizeLimitInBytes(0)
.ftpBasicAuthenticationDetails(ConfigConfigurationFtpBasicAuthenticationDetailsArgs.builder()
.password(ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs.builder()
.password("string")
.passwordType("string")
.vaultSecretId("string")
.build())
.username("string")
.build())
.ftpProtocol("string")
.ftpRequestType("string")
.isActiveMode(false)
.isCertificateValidationEnabled(false)
.isDefaultSnapshotEnabled(false)
.isFailureRetried(false)
.isQueryRecursive(false)
.isRedirectionEnabled(false)
.nameServer("string")
.networkConfiguration(ConfigConfigurationNetworkConfigurationArgs.builder()
.numberOfHops(0)
.probeMode("string")
.probePerHop(0)
.protocol("string")
.transmissionRate(0)
.build())
.protocol("string")
.query("string")
.recordType("string")
.reqAuthenticationDetails(ConfigConfigurationReqAuthenticationDetailsArgs.builder()
.authHeaders(ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs.builder()
.headerName("string")
.headerValue("string")
.build())
.authRequestMethod("string")
.authRequestPostBody("string")
.authToken("string")
.authUrl("string")
.authUserName("string")
.authUserPassword("string")
.oauthScheme("string")
.build())
.reqAuthenticationScheme("string")
.requestHeaders(ConfigConfigurationRequestHeaderArgs.builder()
.headerName("string")
.headerValue("string")
.build())
.requestMethod("string")
.requestPostBody("string")
.requestQueryParams(ConfigConfigurationRequestQueryParamArgs.builder()
.paramName("string")
.paramValue("string")
.build())
.uploadFileSizeInBytes(0)
.verifyResponseCodes("string")
.verifyResponseContent("string")
.verifyTexts(ConfigConfigurationVerifyTextArgs.builder()
.text("string")
.build())
.build())
.freeformTags(Map.of("string", "string"))
.schedulingPolicy("string")
.scriptId("string")
.scriptName("string")
.scriptParameters(ConfigScriptParameterArgs.builder()
.paramName("string")
.paramValue("string")
.isOverwritten(false)
.isSecret(false)
.monitorScriptParameters(ConfigScriptParameterMonitorScriptParameterArgs.builder()
.paramName("string")
.paramValue("string")
.build())
.build())
.status("string")
.target("string")
.timeoutInSeconds(0)
.availabilityConfiguration(ConfigAvailabilityConfigurationArgs.builder()
.maxAllowedFailuresPerInterval(0)
.minAllowedRunsPerInterval(0)
.build())
.build());
oci_config_resource = oci.apm_synthetics.Config("ociConfigResource",
display_name="string",
vantage_points=[{
"name": "string",
"display_name": "string",
"worker_lists": ["string"],
}],
repeat_interval_in_seconds=0,
monitor_type="string",
apm_domain_id="string",
maintenance_window_schedule={
"time_ended": "string",
"time_started": "string",
},
batch_interval_in_seconds=0,
is_ipv6=False,
is_run_now=False,
is_run_once=False,
defined_tags={
"string": "string",
},
configuration={
"client_certificate_details": {
"client_certificate": {
"content": "string",
"file_name": "string",
},
"private_key": {
"content": "string",
"file_name": "string",
},
},
"config_type": "string",
"connection_string": "string",
"database_authentication_details": {
"password": {
"password": "string",
"password_type": "string",
"vault_secret_id": "string",
},
"username": "string",
},
"database_connection_type": "string",
"database_role": "string",
"database_type": "string",
"database_wallet_details": {
"database_wallet": "string",
"service_name": "string",
},
"dns_configuration": {
"is_override_dns": False,
"override_dns_ip": "string",
},
"download_size_limit_in_bytes": 0,
"ftp_basic_authentication_details": {
"password": {
"password": "string",
"password_type": "string",
"vault_secret_id": "string",
},
"username": "string",
},
"ftp_protocol": "string",
"ftp_request_type": "string",
"is_active_mode": False,
"is_certificate_validation_enabled": False,
"is_default_snapshot_enabled": False,
"is_failure_retried": False,
"is_query_recursive": False,
"is_redirection_enabled": False,
"name_server": "string",
"network_configuration": {
"number_of_hops": 0,
"probe_mode": "string",
"probe_per_hop": 0,
"protocol": "string",
"transmission_rate": 0,
},
"protocol": "string",
"query": "string",
"record_type": "string",
"req_authentication_details": {
"auth_headers": [{
"header_name": "string",
"header_value": "string",
}],
"auth_request_method": "string",
"auth_request_post_body": "string",
"auth_token": "string",
"auth_url": "string",
"auth_user_name": "string",
"auth_user_password": "string",
"oauth_scheme": "string",
},
"req_authentication_scheme": "string",
"request_headers": [{
"header_name": "string",
"header_value": "string",
}],
"request_method": "string",
"request_post_body": "string",
"request_query_params": [{
"param_name": "string",
"param_value": "string",
}],
"upload_file_size_in_bytes": 0,
"verify_response_codes": ["string"],
"verify_response_content": "string",
"verify_texts": [{
"text": "string",
}],
},
freeform_tags={
"string": "string",
},
scheduling_policy="string",
script_id="string",
script_name="string",
script_parameters=[{
"param_name": "string",
"param_value": "string",
"is_overwritten": False,
"is_secret": False,
"monitor_script_parameters": [{
"param_name": "string",
"param_value": "string",
}],
}],
status="string",
target="string",
timeout_in_seconds=0,
availability_configuration={
"max_allowed_failures_per_interval": 0,
"min_allowed_runs_per_interval": 0,
})
const ociConfigResource = new oci.apmsynthetics.Config("ociConfigResource", {
displayName: "string",
vantagePoints: [{
name: "string",
displayName: "string",
workerLists: ["string"],
}],
repeatIntervalInSeconds: 0,
monitorType: "string",
apmDomainId: "string",
maintenanceWindowSchedule: {
timeEnded: "string",
timeStarted: "string",
},
batchIntervalInSeconds: 0,
isIpv6: false,
isRunNow: false,
isRunOnce: false,
definedTags: {
string: "string",
},
configuration: {
clientCertificateDetails: {
clientCertificate: {
content: "string",
fileName: "string",
},
privateKey: {
content: "string",
fileName: "string",
},
},
configType: "string",
connectionString: "string",
databaseAuthenticationDetails: {
password: {
password: "string",
passwordType: "string",
vaultSecretId: "string",
},
username: "string",
},
databaseConnectionType: "string",
databaseRole: "string",
databaseType: "string",
databaseWalletDetails: {
databaseWallet: "string",
serviceName: "string",
},
dnsConfiguration: {
isOverrideDns: false,
overrideDnsIp: "string",
},
downloadSizeLimitInBytes: 0,
ftpBasicAuthenticationDetails: {
password: {
password: "string",
passwordType: "string",
vaultSecretId: "string",
},
username: "string",
},
ftpProtocol: "string",
ftpRequestType: "string",
isActiveMode: false,
isCertificateValidationEnabled: false,
isDefaultSnapshotEnabled: false,
isFailureRetried: false,
isQueryRecursive: false,
isRedirectionEnabled: false,
nameServer: "string",
networkConfiguration: {
numberOfHops: 0,
probeMode: "string",
probePerHop: 0,
protocol: "string",
transmissionRate: 0,
},
protocol: "string",
query: "string",
recordType: "string",
reqAuthenticationDetails: {
authHeaders: [{
headerName: "string",
headerValue: "string",
}],
authRequestMethod: "string",
authRequestPostBody: "string",
authToken: "string",
authUrl: "string",
authUserName: "string",
authUserPassword: "string",
oauthScheme: "string",
},
reqAuthenticationScheme: "string",
requestHeaders: [{
headerName: "string",
headerValue: "string",
}],
requestMethod: "string",
requestPostBody: "string",
requestQueryParams: [{
paramName: "string",
paramValue: "string",
}],
uploadFileSizeInBytes: 0,
verifyResponseCodes: ["string"],
verifyResponseContent: "string",
verifyTexts: [{
text: "string",
}],
},
freeformTags: {
string: "string",
},
schedulingPolicy: "string",
scriptId: "string",
scriptName: "string",
scriptParameters: [{
paramName: "string",
paramValue: "string",
isOverwritten: false,
isSecret: false,
monitorScriptParameters: [{
paramName: "string",
paramValue: "string",
}],
}],
status: "string",
target: "string",
timeoutInSeconds: 0,
availabilityConfiguration: {
maxAllowedFailuresPerInterval: 0,
minAllowedRunsPerInterval: 0,
},
});
type: oci:ApmSynthetics:Config
properties:
apmDomainId: string
availabilityConfiguration:
maxAllowedFailuresPerInterval: 0
minAllowedRunsPerInterval: 0
batchIntervalInSeconds: 0
configuration:
clientCertificateDetails:
clientCertificate:
content: string
fileName: string
privateKey:
content: string
fileName: string
configType: string
connectionString: string
databaseAuthenticationDetails:
password:
password: string
passwordType: string
vaultSecretId: string
username: string
databaseConnectionType: string
databaseRole: string
databaseType: string
databaseWalletDetails:
databaseWallet: string
serviceName: string
dnsConfiguration:
isOverrideDns: false
overrideDnsIp: string
downloadSizeLimitInBytes: 0
ftpBasicAuthenticationDetails:
password:
password: string
passwordType: string
vaultSecretId: string
username: string
ftpProtocol: string
ftpRequestType: string
isActiveMode: false
isCertificateValidationEnabled: false
isDefaultSnapshotEnabled: false
isFailureRetried: false
isQueryRecursive: false
isRedirectionEnabled: false
nameServer: string
networkConfiguration:
numberOfHops: 0
probeMode: string
probePerHop: 0
protocol: string
transmissionRate: 0
protocol: string
query: string
recordType: string
reqAuthenticationDetails:
authHeaders:
- headerName: string
headerValue: string
authRequestMethod: string
authRequestPostBody: string
authToken: string
authUrl: string
authUserName: string
authUserPassword: string
oauthScheme: string
reqAuthenticationScheme: string
requestHeaders:
- headerName: string
headerValue: string
requestMethod: string
requestPostBody: string
requestQueryParams:
- paramName: string
paramValue: string
uploadFileSizeInBytes: 0
verifyResponseCodes:
- string
verifyResponseContent: string
verifyTexts:
- text: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
isIpv6: false
isRunNow: false
isRunOnce: false
maintenanceWindowSchedule:
timeEnded: string
timeStarted: string
monitorType: string
repeatIntervalInSeconds: 0
schedulingPolicy: string
scriptId: string
scriptName: string
scriptParameters:
- isOverwritten: false
isSecret: false
monitorScriptParameters:
- paramName: string
paramValue: string
paramName: string
paramValue: string
status: string
target: string
timeoutInSeconds: 0
vantagePoints:
- displayName: string
name: string
workerLists:
- string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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<ConfigVantage Point> (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 - (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 - (Updatable) Details of monitor configuration.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- (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
Ipv6 bool - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- Is
Run boolNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- Is
Run boolOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule - (Updatable) Details required to schedule maintenance window.
- Scheduling
Policy string - (Updatable) Scheduling policy to decide the distribution of monitor executions 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> - (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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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 []ConfigVantage Point Args (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]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]string
- (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
Ipv6 bool - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- Is
Run boolNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- Is
Run boolOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule Args - (Updatable) Details required to schedule maintenance window.
- Scheduling
Policy string - (Updatable) Scheduling policy to decide the distribution of monitor executions 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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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<ConfigVantage Point> (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 - (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 - (Updatable) Details of monitor configuration.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,String>
- (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
Ipv6 Boolean - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is
Run BooleanNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is
Run BooleanOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window ConfigSchedule Maintenance Window Schedule - (Updatable) Details required to schedule maintenance window.
- scheduling
Policy String - (Updatable) Scheduling policy to decide the distribution of monitor executions 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> - (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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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 ConfigVantage Point[] (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 - (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 - (Updatable) Details of monitor configuration.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- (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
Ipv6 boolean - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is
Run booleanNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is
Run booleanOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window ConfigSchedule Maintenance Window Schedule - (Updatable) Details required to schedule maintenance window.
- scheduling
Policy string - (Updatable) Scheduling policy to decide the distribution of monitor executions 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[] - (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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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[apmsynthetics.Config Vantage Point Args] (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 apmsynthetics.Config Availability 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
apmsynthetics.
Config Configuration Args - (Updatable) Details of monitor configuration.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- (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_
ipv6 bool - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is_
run_ boolnow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is_
run_ boolonce - (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance_
window_ apmsynthetics.schedule Config Maintenance Window Schedule Args - (Updatable) Details required to schedule maintenance window.
- scheduling_
policy str - (Updatable) Scheduling policy to decide the distribution of monitor executions 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 Sequence[apmsynthetics.Config Script 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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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<Property Map> (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<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String>
- (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
Ipv6 Boolean - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is
Run BooleanNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is
Run BooleanOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- maintenance
Window Property MapSchedule - (Updatable) Details required to schedule maintenance window.
- scheduling
Policy String - (Updatable) Scheduling policy to decide the distribution of monitor executions 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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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:
- Created
By string - Name of the user that created the monitor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringBy - Name of the user that recently updated the monitor.
- 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.
- Created
By string - Name of the user that created the monitor.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringBy - Name of the user that recently updated the monitor.
- 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.
- created
By String - Name of the user that created the monitor.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringBy - Name of the user that recently updated the monitor.
- 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.
- created
By string - Name of the user that created the monitor.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringBy - Name of the user that recently updated the monitor.
- 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.
- created_
by str - Name of the user that created the monitor.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strby - Name of the user that recently updated the monitor.
- 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.
- created
By String - Name of the user that created the monitor.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringBy - Name of the user that recently updated the monitor.
- 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,
created_by: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_ipv6: Optional[bool] = None,
is_run_now: Optional[bool] = None,
is_run_once: Optional[bool] = None,
last_updated_by: Optional[str] = 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[_apmsynthetics.ConfigVantagePointArgs]] = 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 - (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 - (Updatable) Details of monitor configuration.
- Created
By string - Name of the user that created the monitor.
- Dictionary<string, string>
- (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, string>
- (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
Ipv6 bool - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- Is
Run boolNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- Is
Run boolOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- Last
Updated stringBy - Name of the user that recently updated the monitor.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule - (Updatable) Details required 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 to decide the distribution of monitor executions 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> - (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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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<ConfigVantage Point> (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.
- Created
By string - Name of the user that created the monitor.
- map[string]string
- (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]string
- (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
Ipv6 bool - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- Is
Run boolNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- Is
Run boolOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- Last
Updated stringBy - Name of the user that recently updated the monitor.
- Maintenance
Window ConfigSchedule Maintenance Window Schedule Args - (Updatable) Details required 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 to decide the distribution of monitor executions 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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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 []ConfigVantage Point Args (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 - (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 - (Updatable) Details of monitor configuration.
- created
By String - Name of the user that created the monitor.
- Map<String,String>
- (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,String>
- (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
Ipv6 Boolean - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is
Run BooleanNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is
Run BooleanOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- last
Updated StringBy - Name of the user that recently updated the monitor.
- maintenance
Window ConfigSchedule Maintenance Window Schedule - (Updatable) Details required 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 to decide the distribution of monitor executions 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> - (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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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<ConfigVantage Point> (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 - (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 - (Updatable) Details of monitor configuration.
- created
By string - Name of the user that created the monitor.
- {[key: string]: string}
- (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]: string}
- (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
Ipv6 boolean - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is
Run booleanNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is
Run booleanOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- last
Updated stringBy - Name of the user that recently updated the monitor.
- maintenance
Window ConfigSchedule Maintenance Window Schedule - (Updatable) Details required 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 to decide the distribution of monitor executions 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[] - (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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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 ConfigVantage Point[] (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 apmsynthetics.Config Availability 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
apmsynthetics.
Config Configuration Args - (Updatable) Details of monitor configuration.
- created_
by str - Name of the user that created the monitor.
- Mapping[str, str]
- (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, str]
- (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_
ipv6 bool - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is_
run_ boolnow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is_
run_ boolonce - (Updatable) If runOnce is enabled, then the monitor will run once.
- last_
updated_ strby - Name of the user that recently updated the monitor.
- maintenance_
window_ apmsynthetics.schedule Config Maintenance Window Schedule Args - (Updatable) Details required 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 to decide the distribution of monitor executions 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 Sequence[apmsynthetics.Config Script 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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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[apmsynthetics.Config Vantage Point Args] (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.
- created
By String - Name of the user that created the monitor.
- Map<String>
- (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>
- (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
Ipv6 Boolean - (Updatable) If enabled, domain name will resolve to an IPv6 address.
- is
Run BooleanNow - (Updatable) If isRunNow is enabled, then the monitor will run immediately.
- is
Run BooleanOnce - (Updatable) If runOnce is enabled, then the monitor will run once.
- last
Updated StringBy - Name of the user that recently updated the monitor.
- maintenance
Window Property MapSchedule - (Updatable) Details required 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 to decide the distribution of monitor executions 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, REST, NETWORK, DNS and FTP 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. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80.
- 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<Property Map> (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, ConfigAvailabilityConfigurationArgs
- 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, ConfigConfigurationArgs
- Client
Certificate ConfigDetails Configuration Client Certificate Details - (Updatable) Details for client certificate.
- Config
Type string - (Updatable) Type of configuration.
- Connection
String string - (Updatable) Database connection string.
- Database
Authentication ConfigDetails Configuration Database Authentication Details - (Updatable) Details for basic authentication.
- Database
Connection stringType - (Updatable) Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
- Database
Role string - (Updatable) Database role.
- Database
Type string - (Updatable) Database type.
- Database
Wallet ConfigDetails Configuration Database Wallet Details - (Updatable) Details for database wallet.
- Dns
Configuration ConfigConfiguration Dns Configuration - (Updatable) Information about the DNS settings.
- Download
Size intLimit In Bytes - (Updatable) Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 MiB.
- Ftp
Basic ConfigAuthentication Details Configuration Ftp Basic Authentication Details - (Updatable) Details for basic authentication.
- Ftp
Protocol string - (Updatable) FTP protocol type.
- Ftp
Request stringType - (Updatable) FTP monitor request type.
- Is
Active boolMode - (Updatable) If enabled, Active mode will be used for the FTP connection.
- Is
Certificate boolValidation Enabled - (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- Is
Default boolSnapshot Enabled - (Updatable) If disabled, auto snapshots are not collected.
- Is
Failure boolRetried - (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- Is
Query boolRecursive - (Updatable) If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
- Is
Redirection boolEnabled - (Updatable) If redirection is enabled, then redirects will be allowed while accessing target URL.
- Name
Server string - (Updatable) Name of the server that will be used to perform DNS lookup.
- Network
Configuration ConfigConfiguration Network Configuration - (Updatable) Details of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.
- Protocol string
- (Updatable) Type of protocol.
- Query string
- (Updatable) SQL query to be executed.
- Record
Type string - (Updatable) DNS record type.
- 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"}]
- Upload
File intSize In Bytes - (Updatable) File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB.
- 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.
- Client
Certificate ConfigDetails Configuration Client Certificate Details - (Updatable) Details for client certificate.
- Config
Type string - (Updatable) Type of configuration.
- Connection
String string - (Updatable) Database connection string.
- Database
Authentication ConfigDetails Configuration Database Authentication Details - (Updatable) Details for basic authentication.
- Database
Connection stringType - (Updatable) Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
- Database
Role string - (Updatable) Database role.
- Database
Type string - (Updatable) Database type.
- Database
Wallet ConfigDetails Configuration Database Wallet Details - (Updatable) Details for database wallet.
- Dns
Configuration ConfigConfiguration Dns Configuration - (Updatable) Information about the DNS settings.
- Download
Size intLimit In Bytes - (Updatable) Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 MiB.
- Ftp
Basic ConfigAuthentication Details Configuration Ftp Basic Authentication Details - (Updatable) Details for basic authentication.
- Ftp
Protocol string - (Updatable) FTP protocol type.
- Ftp
Request stringType - (Updatable) FTP monitor request type.
- Is
Active boolMode - (Updatable) If enabled, Active mode will be used for the FTP connection.
- Is
Certificate boolValidation Enabled - (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- Is
Default boolSnapshot Enabled - (Updatable) If disabled, auto snapshots are not collected.
- Is
Failure boolRetried - (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- Is
Query boolRecursive - (Updatable) If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
- Is
Redirection boolEnabled - (Updatable) If redirection is enabled, then redirects will be allowed while accessing target URL.
- Name
Server string - (Updatable) Name of the server that will be used to perform DNS lookup.
- Network
Configuration ConfigConfiguration Network Configuration - (Updatable) Details of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.
- Protocol string
- (Updatable) Type of protocol.
- Query string
- (Updatable) SQL query to be executed.
- Record
Type string - (Updatable) DNS record type.
- 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"}]
- Upload
File intSize In Bytes - (Updatable) File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB.
- 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.
- client
Certificate ConfigDetails Configuration Client Certificate Details - (Updatable) Details for client certificate.
- config
Type String - (Updatable) Type of configuration.
- connection
String String - (Updatable) Database connection string.
- database
Authentication ConfigDetails Configuration Database Authentication Details - (Updatable) Details for basic authentication.
- database
Connection StringType - (Updatable) Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
- database
Role String - (Updatable) Database role.
- database
Type String - (Updatable) Database type.
- database
Wallet ConfigDetails Configuration Database Wallet Details - (Updatable) Details for database wallet.
- dns
Configuration ConfigConfiguration Dns Configuration - (Updatable) Information about the DNS settings.
- download
Size IntegerLimit In Bytes - (Updatable) Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 MiB.
- ftp
Basic ConfigAuthentication Details Configuration Ftp Basic Authentication Details - (Updatable) Details for basic authentication.
- ftp
Protocol String - (Updatable) FTP protocol type.
- ftp
Request StringType - (Updatable) FTP monitor request type.
- is
Active BooleanMode - (Updatable) If enabled, Active mode will be used for the FTP connection.
- is
Certificate BooleanValidation Enabled - (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is
Default BooleanSnapshot Enabled - (Updatable) If disabled, auto snapshots are not collected.
- is
Failure BooleanRetried - (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is
Query BooleanRecursive - (Updatable) If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
- is
Redirection BooleanEnabled - (Updatable) If redirection is enabled, then redirects will be allowed while accessing target URL.
- name
Server String - (Updatable) Name of the server that will be used to perform DNS lookup.
- network
Configuration ConfigConfiguration Network Configuration - (Updatable) Details of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.
- protocol String
- (Updatable) Type of protocol.
- query String
- (Updatable) SQL query to be executed.
- record
Type String - (Updatable) DNS record type.
- 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"}]
- upload
File IntegerSize In Bytes - (Updatable) File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB.
- 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.
- client
Certificate ConfigDetails Configuration Client Certificate Details - (Updatable) Details for client certificate.
- config
Type string - (Updatable) Type of configuration.
- connection
String string - (Updatable) Database connection string.
- database
Authentication ConfigDetails Configuration Database Authentication Details - (Updatable) Details for basic authentication.
- database
Connection stringType - (Updatable) Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
- database
Role string - (Updatable) Database role.
- database
Type string - (Updatable) Database type.
- database
Wallet ConfigDetails Configuration Database Wallet Details - (Updatable) Details for database wallet.
- dns
Configuration ConfigConfiguration Dns Configuration - (Updatable) Information about the DNS settings.
- download
Size numberLimit In Bytes - (Updatable) Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 MiB.
- ftp
Basic ConfigAuthentication Details Configuration Ftp Basic Authentication Details - (Updatable) Details for basic authentication.
- ftp
Protocol string - (Updatable) FTP protocol type.
- ftp
Request stringType - (Updatable) FTP monitor request type.
- is
Active booleanMode - (Updatable) If enabled, Active mode will be used for the FTP connection.
- is
Certificate booleanValidation Enabled - (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is
Default booleanSnapshot Enabled - (Updatable) If disabled, auto snapshots are not collected.
- is
Failure booleanRetried - (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is
Query booleanRecursive - (Updatable) If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
- is
Redirection booleanEnabled - (Updatable) If redirection is enabled, then redirects will be allowed while accessing target URL.
- name
Server string - (Updatable) Name of the server that will be used to perform DNS lookup.
- network
Configuration ConfigConfiguration Network Configuration - (Updatable) Details of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.
- protocol string
- (Updatable) Type of protocol.
- query string
- (Updatable) SQL query to be executed.
- record
Type string - (Updatable) DNS record type.
- 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"}]
- upload
File numberSize In Bytes - (Updatable) File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB.
- 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.
- client_
certificate_ apmsynthetics.details Config Configuration Client Certificate Details - (Updatable) Details for client certificate.
- config_
type str - (Updatable) Type of configuration.
- connection_
string str - (Updatable) Database connection string.
- database_
authentication_ apmsynthetics.details Config Configuration Database Authentication Details - (Updatable) Details for basic authentication.
- database_
connection_ strtype - (Updatable) Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
- database_
role str - (Updatable) Database role.
- database_
type str - (Updatable) Database type.
- database_
wallet_ apmsynthetics.details Config Configuration Database Wallet Details - (Updatable) Details for database wallet.
- dns_
configuration apmsynthetics.Config Configuration Dns Configuration - (Updatable) Information about the DNS settings.
- download_
size_ intlimit_ in_ bytes - (Updatable) Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 MiB.
- ftp_
basic_ apmsynthetics.authentication_ details Config Configuration Ftp Basic Authentication Details - (Updatable) Details for basic authentication.
- ftp_
protocol str - (Updatable) FTP protocol type.
- ftp_
request_ strtype - (Updatable) FTP monitor request type.
- is_
active_ boolmode - (Updatable) If enabled, Active mode will be used for the FTP connection.
- is_
certificate_ boolvalidation_ enabled - (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is_
default_ boolsnapshot_ enabled - (Updatable) If disabled, auto snapshots are not collected.
- is_
failure_ boolretried - (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is_
query_ boolrecursive - (Updatable) If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
- is_
redirection_ boolenabled - (Updatable) If redirection is enabled, then redirects will be allowed while accessing target URL.
- name_
server str - (Updatable) Name of the server that will be used to perform DNS lookup.
- network_
configuration apmsynthetics.Config Configuration Network Configuration - (Updatable) Details of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.
- protocol str
- (Updatable) Type of protocol.
- query str
- (Updatable) SQL query to be executed.
- record_
type str - (Updatable) DNS record type.
- req_
authentication_ apmsynthetics.details Config Configuration Req Authentication Details - (Updatable) Details for request HTTP authentication.
- req_
authentication_ strscheme - (Updatable) Request HTTP authentication scheme.
- request_
headers Sequence[apmsynthetics.Config Configuration 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_ Sequence[apmsynthetics.params Config Configuration Request Query Param] - (Updatable) List of request query params. Example:
[{"paramName": "sortOrder", "paramValue": "asc"}]
- upload_
file_ intsize_ in_ bytes - (Updatable) File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB.
- 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 Sequence[apmsynthetics.Config Configuration 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.
- client
Certificate Property MapDetails - (Updatable) Details for client certificate.
- config
Type String - (Updatable) Type of configuration.
- connection
String String - (Updatable) Database connection string.
- database
Authentication Property MapDetails - (Updatable) Details for basic authentication.
- database
Connection StringType - (Updatable) Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.
- database
Role String - (Updatable) Database role.
- database
Type String - (Updatable) Database type.
- database
Wallet Property MapDetails - (Updatable) Details for database wallet.
- dns
Configuration Property Map - (Updatable) Information about the DNS settings.
- download
Size NumberLimit In Bytes - (Updatable) Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 MiB.
- ftp
Basic Property MapAuthentication Details - (Updatable) Details for basic authentication.
- ftp
Protocol String - (Updatable) FTP protocol type.
- ftp
Request StringType - (Updatable) FTP monitor request type.
- is
Active BooleanMode - (Updatable) If enabled, Active mode will be used for the FTP connection.
- is
Certificate BooleanValidation Enabled - (Updatable) If certificate validation is enabled, then the call will fail in case of certification errors.
- is
Default BooleanSnapshot Enabled - (Updatable) If disabled, auto snapshots are not collected.
- is
Failure BooleanRetried - (Updatable) If isFailureRetried is enabled, then a failed call will be retried.
- is
Query BooleanRecursive - (Updatable) If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
- is
Redirection BooleanEnabled - (Updatable) If redirection is enabled, then redirects will be allowed while accessing target URL.
- name
Server String - (Updatable) Name of the server that will be used to perform DNS lookup.
- network
Configuration Property Map - (Updatable) Details of the network configuration. For NETWORK monitor type, NetworkConfiguration is mandatory.
- protocol String
- (Updatable) Type of protocol.
- query String
- (Updatable) SQL query to be executed.
- record
Type String - (Updatable) DNS record type.
- 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"}]
- upload
File NumberSize In Bytes - (Updatable) File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB.
- 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.
ConfigConfigurationClientCertificateDetails, ConfigConfigurationClientCertificateDetailsArgs
- Client
Certificate ConfigConfiguration Client Certificate Details Client Certificate - (Updatable) Client certificate in PEM format.
- Private
Key ConfigConfiguration Client Certificate Details Private Key - (Updatable) The private key associated with the client certificate in PEM format.
- Client
Certificate ConfigConfiguration Client Certificate Details Client Certificate - (Updatable) Client certificate in PEM format.
- Private
Key ConfigConfiguration Client Certificate Details Private Key - (Updatable) The private key associated with the client certificate in PEM format.
- client
Certificate ConfigConfiguration Client Certificate Details Client Certificate - (Updatable) Client certificate in PEM format.
- private
Key ConfigConfiguration Client Certificate Details Private Key - (Updatable) The private key associated with the client certificate in PEM format.
- client
Certificate ConfigConfiguration Client Certificate Details Client Certificate - (Updatable) Client certificate in PEM format.
- private
Key ConfigConfiguration Client Certificate Details Private Key - (Updatable) The private key associated with the client certificate in PEM format.
- client_
certificate apmsynthetics.Config Configuration Client Certificate Details Client Certificate - (Updatable) Client certificate in PEM format.
- private_
key apmsynthetics.Config Configuration Client Certificate Details Private Key - (Updatable) The private key associated with the client certificate in PEM format.
- client
Certificate Property Map - (Updatable) Client certificate in PEM format.
- private
Key Property Map - (Updatable) The private key associated with the client certificate in PEM format.
ConfigConfigurationClientCertificateDetailsClientCertificate, ConfigConfigurationClientCertificateDetailsClientCertificateArgs
ConfigConfigurationClientCertificateDetailsPrivateKey, ConfigConfigurationClientCertificateDetailsPrivateKeyArgs
ConfigConfigurationDatabaseAuthenticationDetails, ConfigConfigurationDatabaseAuthenticationDetailsArgs
- Password
Config
Configuration Database Authentication Details Password - (Updatable) Password.
- Username string
- (Updatable) Username for authentication.
- Password
Config
Configuration Database Authentication Details Password - (Updatable) Password.
- Username string
- (Updatable) Username for authentication.
- password
Config
Configuration Database Authentication Details Password - (Updatable) Password.
- username String
- (Updatable) Username for authentication.
- password
Config
Configuration Database Authentication Details Password - (Updatable) Password.
- username string
- (Updatable) Username for authentication.
- password
apmsynthetics.
Config Configuration Database Authentication Details Password - (Updatable) Password.
- username str
- (Updatable) Username for authentication.
- password Property Map
- (Updatable) Password.
- username String
- (Updatable) Username for authentication.
ConfigConfigurationDatabaseAuthenticationDetailsPassword, ConfigConfigurationDatabaseAuthenticationDetailsPasswordArgs
- Password string
- (Updatable) Password.
- Password
Type string - (Updatable) Type of method to pass password.
- Vault
Secret stringId - (Updatable) Vault secret OCID.
- Password string
- (Updatable) Password.
- Password
Type string - (Updatable) Type of method to pass password.
- Vault
Secret stringId - (Updatable) Vault secret OCID.
- password String
- (Updatable) Password.
- password
Type String - (Updatable) Type of method to pass password.
- vault
Secret StringId - (Updatable) Vault secret OCID.
- password string
- (Updatable) Password.
- password
Type string - (Updatable) Type of method to pass password.
- vault
Secret stringId - (Updatable) Vault secret OCID.
- password str
- (Updatable) Password.
- password_
type str - (Updatable) Type of method to pass password.
- vault_
secret_ strid - (Updatable) Vault secret OCID.
- password String
- (Updatable) Password.
- password
Type String - (Updatable) Type of method to pass password.
- vault
Secret StringId - (Updatable) Vault secret OCID.
ConfigConfigurationDatabaseWalletDetails, ConfigConfigurationDatabaseWalletDetailsArgs
- Database
Wallet string - (Updatable) The database wallet configuration zip file.
- Service
Name string - (Updatable) Service name of the database.
- Database
Wallet string - (Updatable) The database wallet configuration zip file.
- Service
Name string - (Updatable) Service name of the database.
- database
Wallet String - (Updatable) The database wallet configuration zip file.
- service
Name String - (Updatable) Service name of the database.
- database
Wallet string - (Updatable) The database wallet configuration zip file.
- service
Name string - (Updatable) Service name of the database.
- database_
wallet str - (Updatable) The database wallet configuration zip file.
- service_
name str - (Updatable) Service name of the database.
- database
Wallet String - (Updatable) The database wallet configuration zip file.
- service
Name String - (Updatable) Service name of the database.
ConfigConfigurationDnsConfiguration, ConfigConfigurationDnsConfigurationArgs
- Is
Override boolDns - (Updatable) If isOverrideDns is true, then DNS settings will be overridden.
- Override
Dns stringIp - (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
- Is
Override boolDns - (Updatable) If isOverrideDns is true, then DNS settings will be overridden.
- Override
Dns stringIp - (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
- is
Override BooleanDns - (Updatable) If isOverrideDns is true, then DNS settings will be overridden.
- override
Dns StringIp - (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
- is
Override booleanDns - (Updatable) If isOverrideDns is true, then DNS settings will be overridden.
- override
Dns stringIp - (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
- is_
override_ booldns - (Updatable) If isOverrideDns is true, then DNS settings will be overridden.
- override_
dns_ strip - (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
- is
Override BooleanDns - (Updatable) If isOverrideDns is true, then DNS settings will be overridden.
- override
Dns StringIp - (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true.
ConfigConfigurationFtpBasicAuthenticationDetails, ConfigConfigurationFtpBasicAuthenticationDetailsArgs
- Password
Config
Configuration Ftp Basic Authentication Details Password - (Updatable) Password.
- Username string
- (Updatable) Username for authentication.
- Password
Config
Configuration Ftp Basic Authentication Details Password - (Updatable) Password.
- Username string
- (Updatable) Username for authentication.
- password
Config
Configuration Ftp Basic Authentication Details Password - (Updatable) Password.
- username String
- (Updatable) Username for authentication.
- password
Config
Configuration Ftp Basic Authentication Details Password - (Updatable) Password.
- username string
- (Updatable) Username for authentication.
- password
apmsynthetics.
Config Configuration Ftp Basic Authentication Details Password - (Updatable) Password.
- username str
- (Updatable) Username for authentication.
- password Property Map
- (Updatable) Password.
- username String
- (Updatable) Username for authentication.
ConfigConfigurationFtpBasicAuthenticationDetailsPassword, ConfigConfigurationFtpBasicAuthenticationDetailsPasswordArgs
- Password string
- (Updatable) Password.
- Password
Type string - (Updatable) Type of method to pass password.
- Vault
Secret stringId - (Updatable) Vault secret OCID.
- Password string
- (Updatable) Password.
- Password
Type string - (Updatable) Type of method to pass password.
- Vault
Secret stringId - (Updatable) Vault secret OCID.
- password String
- (Updatable) Password.
- password
Type String - (Updatable) Type of method to pass password.
- vault
Secret StringId - (Updatable) Vault secret OCID.
- password string
- (Updatable) Password.
- password
Type string - (Updatable) Type of method to pass password.
- vault
Secret stringId - (Updatable) Vault secret OCID.
- password str
- (Updatable) Password.
- password_
type str - (Updatable) Type of method to pass password.
- vault_
secret_ strid - (Updatable) Vault secret OCID.
- password String
- (Updatable) Password.
- password
Type String - (Updatable) Type of method to pass password.
- vault
Secret StringId - (Updatable) Vault secret OCID.
ConfigConfigurationNetworkConfiguration, ConfigConfigurationNetworkConfigurationArgs
- 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, ConfigConfigurationReqAuthenticationDetailsArgs
- 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 authentication token.
- Auth
User stringName - (Updatable) User name 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 authentication token.
- Auth
User stringName - (Updatable) User name 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 authentication token.
- auth
User StringName - (Updatable) User name 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 authentication token.
- auth
User stringName - (Updatable) User name for authentication.
- auth
User stringPassword - (Updatable) User password for authentication.
- oauth
Scheme string - (Updatable) Request HTTP OAuth scheme.
- auth_
headers Sequence[apmsynthetics.Config Configuration 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 authentication token.
- auth_
user_ strname - (Updatable) User name 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 authentication token.
- auth
User StringName - (Updatable) User name for authentication.
- auth
User StringPassword - (Updatable) User password for authentication.
- oauth
Scheme String - (Updatable) Request HTTP OAuth scheme.
ConfigConfigurationReqAuthenticationDetailsAuthHeader, ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs
- 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, ConfigConfigurationRequestHeaderArgs
- 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, ConfigConfigurationRequestQueryParamArgs
- Param
Name string - (Updatable) Name of request query parameter.
- Param
Value string - (Updatable) Value of request query parameter.
- Param
Name string - (Updatable) Name of request query parameter.
- Param
Value string - (Updatable) Value of request query parameter.
- param
Name String - (Updatable) Name of request query parameter.
- param
Value String - (Updatable) Value of request query parameter.
- param
Name string - (Updatable) Name of request query parameter.
- param
Value string - (Updatable) Value of request query parameter.
- param_
name str - (Updatable) Name of request query parameter.
- param_
value str - (Updatable) Value of request query parameter.
- param
Name String - (Updatable) Name of request query parameter.
- param
Value String - (Updatable) Value of request query parameter.
ConfigConfigurationVerifyText, ConfigConfigurationVerifyTextArgs
- 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, ConfigMaintenanceWindowScheduleArgs
- Time
Ended string - (Updatable) End time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Started string - (Updatable) Start time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Ended string - (Updatable) End time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Started string - (Updatable) Start time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Ended String - (Updatable) End time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Started String - (Updatable) Start time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Ended string - (Updatable) End time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Started string - (Updatable) Start time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time_
ended str - (Updatable) End time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time_
started str - (Updatable) Start time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Ended String - (Updatable) End time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Started String - (Updatable) Start time of the maintenance window, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
ConfigScriptParameter, ConfigScriptParameterArgs
- 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_ Sequence[apmsynthetics.parameters Config 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, ConfigScriptParameterMonitorScriptParameterArgs
- Param
Name string - Name of the parameter.
- Param
Value string - Value of the parameter.
- Param
Name string - Name of the parameter.
- Param
Value string - Value of the parameter.
- param
Name String - Name of the parameter.
- param
Value String - Value of the parameter.
- param
Name string - Name of the parameter.
- param
Value string - Value of the parameter.
- param_
name str - Name of the parameter.
- param_
value str - Value of the parameter.
- param
Name String - Name of the parameter.
- param
Value String - Value of the parameter.
ConfigVantagePoint, ConfigVantagePointArgs
- Name string
- Name of the vantage point.
- Display
Name string - Unique name that can be edited. The name should not contain any confidential information.
- Worker
Lists List<string> - List of workers running the assigned monitor.
- Name string
- Name of the vantage point.
- Display
Name string - Unique name that can be edited. The name should not contain any confidential information.
- Worker
Lists []string - List of workers running the assigned monitor.
- name String
- Name of the vantage point.
- display
Name String - Unique name that can be edited. The name should not contain any confidential information.
- worker
Lists List<String> - List of workers running the assigned monitor.
- name string
- Name of the vantage point.
- display
Name string - Unique name that can be edited. The name should not contain any confidential information.
- worker
Lists string[] - List of workers running the assigned monitor.
- name str
- Name of the vantage point.
- display_
name str - Unique name that can be edited. The name should not contain any confidential information.
- worker_
lists Sequence[str] - List of workers running the assigned monitor.
- name String
- Name of the vantage point.
- display
Name String - Unique name that can be edited. The name should not contain any confidential information.
- worker
Lists List<String> - List of workers running the assigned monitor.
Import
Monitors can be imported using the id
, e.g.
$ pulumi import oci:ApmSynthetics/config:Config test_monitor "monitors/{monitorId}/apmDomainId/{apmDomainId}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.