spotinst.oceancd.VerificationTemplate
Explore with Pulumi AI
Manages a Spotinst OceanCD Verfification Template resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";
const test = new spotinst.oceancd.VerificationTemplate("test", {
    name: "test-verification-template-tes",
    args: [{
        argName: "test-arg",
        value: "test",
        valueFrom: {
            secretKeyRef: {
                name: "test_key",
                key: "key-value-test",
            },
        },
    }],
    metrics: [{
        metricsName: "test-metrics-names",
        dryRun: false,
        interval: "10m",
        initialDelay: "1m",
        count: 10,
        successCondition: "result[0] <= 0.95",
        failureCondition: "result[0] >= 0.95",
        failureLimit: 2,
        consecutiveErrorLimit: 1,
        providers: [{
            prometheus: {
                prometheusQuery: "http_requests_new",
            },
            datadog: {
                duration: "1m",
                datadogQuery: "avg:kubernetes.cpu.user.total",
            },
            newRelic: {
                profile: "test",
                newRelicQuery: "FROM Metric SELECT count",
            },
            cloudWatch: {
                duration: "5m",
                metricDataQueries: [{
                    id: "utilization",
                    metricStat: {
                        metric: {
                            metricName: "Test",
                            namespace: "AWS/EC2",
                            dimensions: [{
                                dimensionName: "instandId",
                                dimensionValue: "i-123044",
                            }],
                        },
                        metricPeriod: 400,
                        stat: "average",
                        unit: "None",
                    },
                    expression: "SELECT AVG(CPUUtilization) FROM SCHEMA",
                    label: "TestLabel",
                    returnData: false,
                    period: 300,
                }],
            },
            web: {
                method: "GET",
                url: "https://oceancd.com/api/v1/metrics?clusterId= args.clusterId",
                webHeaders: [{
                    webHeaderKey: "Autorization",
                    webHeaderValue: "Bearer=args.token",
                }],
                body: "{\"key\": \"test\"}",
                timeoutSeconds: 20,
                jsonPath: "$.data",
                insecure: false,
            },
            job: {
                specs: [{
                    backoffLimit: 1,
                    jobTemplates: [{
                        templateSpecs: [{
                            containers: [{
                                containerName: "hello",
                                commands: [
                                    "sh",
                                    "-c",
                                ],
                                image: "nginx.2.1",
                            }],
                            restartPolicy: "never",
                        }],
                    }],
                }],
            },
            jenkins: {
                pipelineName: "testPipelineName",
                tlsVerification: true,
                timeout: "2m",
                jenkinsInterval: "5s",
                jenkinsParameters: {
                    parameterKey: "app",
                    parameterValue: "my-app",
                },
            },
        }],
        baseline: {
            baselineProviders: [{
                prometheus: {
                    prometheusQuery: "http_requests_total.status!",
                },
                datadog: {
                    duration: "2m",
                    datadogQuery: "avg:kubernetes.cpu.user",
                },
                newRelic: {
                    profile: "test",
                    newRelicQuery: "FROM Metric SELECT count*",
                },
            }],
            minRange: 40,
            maxRange: 50,
            threshold: "range",
        },
    }],
});
import pulumi
import pulumi_spotinst as spotinst
test = spotinst.oceancd.VerificationTemplate("test",
    name="test-verification-template-tes",
    args=[{
        "arg_name": "test-arg",
        "value": "test",
        "value_from": {
            "secret_key_ref": {
                "name": "test_key",
                "key": "key-value-test",
            },
        },
    }],
    metrics=[{
        "metrics_name": "test-metrics-names",
        "dry_run": False,
        "interval": "10m",
        "initial_delay": "1m",
        "count": 10,
        "success_condition": "result[0] <= 0.95",
        "failure_condition": "result[0] >= 0.95",
        "failure_limit": 2,
        "consecutive_error_limit": 1,
        "providers": [{
            "prometheus": {
                "prometheus_query": "http_requests_new",
            },
            "datadog": {
                "duration": "1m",
                "datadog_query": "avg:kubernetes.cpu.user.total",
            },
            "new_relic": {
                "profile": "test",
                "new_relic_query": "FROM Metric SELECT count",
            },
            "cloud_watch": {
                "duration": "5m",
                "metric_data_queries": [{
                    "id": "utilization",
                    "metric_stat": {
                        "metric": {
                            "metric_name": "Test",
                            "namespace": "AWS/EC2",
                            "dimensions": [{
                                "dimension_name": "instandId",
                                "dimension_value": "i-123044",
                            }],
                        },
                        "metric_period": 400,
                        "stat": "average",
                        "unit": "None",
                    },
                    "expression": "SELECT AVG(CPUUtilization) FROM SCHEMA",
                    "label": "TestLabel",
                    "return_data": False,
                    "period": 300,
                }],
            },
            "web": {
                "method": "GET",
                "url": "https://oceancd.com/api/v1/metrics?clusterId= args.clusterId",
                "web_headers": [{
                    "web_header_key": "Autorization",
                    "web_header_value": "Bearer=args.token",
                }],
                "body": "{\"key\": \"test\"}",
                "timeout_seconds": 20,
                "json_path": "$.data",
                "insecure": False,
            },
            "job": {
                "specs": [{
                    "backoff_limit": 1,
                    "job_templates": [{
                        "template_specs": [{
                            "containers": [{
                                "container_name": "hello",
                                "commands": [
                                    "sh",
                                    "-c",
                                ],
                                "image": "nginx.2.1",
                            }],
                            "restart_policy": "never",
                        }],
                    }],
                }],
            },
            "jenkins": {
                "pipeline_name": "testPipelineName",
                "tls_verification": True,
                "timeout": "2m",
                "jenkins_interval": "5s",
                "jenkins_parameters": {
                    "parameter_key": "app",
                    "parameter_value": "my-app",
                },
            },
        }],
        "baseline": {
            "baseline_providers": [{
                "prometheus": {
                    "prometheus_query": "http_requests_total.status!",
                },
                "datadog": {
                    "duration": "2m",
                    "datadog_query": "avg:kubernetes.cpu.user",
                },
                "new_relic": {
                    "profile": "test",
                    "new_relic_query": "FROM Metric SELECT count*",
                },
            }],
            "min_range": 40,
            "max_range": 50,
            "threshold": "range",
        },
    }])
package main
import (
	"github.com/pulumi/pulumi-spotinst/sdk/v3/go/spotinst/oceancd"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := oceancd.NewVerificationTemplate(ctx, "test", &oceancd.VerificationTemplateArgs{
			Name: pulumi.String("test-verification-template-tes"),
			Args: oceancd.VerificationTemplateArgArray{
				&oceancd.VerificationTemplateArgArgs{
					ArgName: pulumi.String("test-arg"),
					Value:   pulumi.String("test"),
					ValueFrom: &oceancd.VerificationTemplateArgValueFromArgs{
						SecretKeyRef: &oceancd.VerificationTemplateArgValueFromSecretKeyRefArgs{
							Name: pulumi.String("test_key"),
							Key:  pulumi.String("key-value-test"),
						},
					},
				},
			},
			Metrics: oceancd.VerificationTemplateMetricArray{
				&oceancd.VerificationTemplateMetricArgs{
					MetricsName:           pulumi.String("test-metrics-names"),
					DryRun:                pulumi.Bool(false),
					Interval:              pulumi.String("10m"),
					InitialDelay:          pulumi.String("1m"),
					Count:                 pulumi.Int(10),
					SuccessCondition:      pulumi.String("result[0] <= 0.95"),
					FailureCondition:      pulumi.String("result[0] >= 0.95"),
					FailureLimit:          pulumi.Int(2),
					ConsecutiveErrorLimit: pulumi.Int(1),
					Providers: oceancd.VerificationTemplateMetricProviderArray{
						&oceancd.VerificationTemplateMetricProviderArgs{
							Prometheus: &oceancd.VerificationTemplateMetricProviderPrometheusArgs{
								PrometheusQuery: pulumi.String("http_requests_new"),
							},
							Datadog: &oceancd.VerificationTemplateMetricProviderDatadogArgs{
								Duration:     pulumi.String("1m"),
								DatadogQuery: pulumi.String("avg:kubernetes.cpu.user.total"),
							},
							NewRelic: &oceancd.VerificationTemplateMetricProviderNewRelicArgs{
								Profile:       pulumi.String("test"),
								NewRelicQuery: pulumi.String("FROM Metric SELECT count"),
							},
							CloudWatch: &oceancd.VerificationTemplateMetricProviderCloudWatchArgs{
								Duration: pulumi.String("5m"),
								MetricDataQueries: oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryArray{
									&oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs{
										Id: pulumi.String("utilization"),
										MetricStat: &oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs{
											Metric: &oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs{
												MetricName: pulumi.String("Test"),
												Namespace:  pulumi.String("AWS/EC2"),
												Dimensions: oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArray{
													&oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs{
														DimensionName:  pulumi.String("instandId"),
														DimensionValue: pulumi.String("i-123044"),
													},
												},
											},
											MetricPeriod: pulumi.Int(400),
											Stat:         pulumi.String("average"),
											Unit:         pulumi.String("None"),
										},
										Expression: pulumi.String("SELECT AVG(CPUUtilization) FROM SCHEMA"),
										Label:      pulumi.String("TestLabel"),
										ReturnData: pulumi.Bool(false),
										Period:     pulumi.Int(300),
									},
								},
							},
							Web: &oceancd.VerificationTemplateMetricProviderWebArgs{
								Method: pulumi.String("GET"),
								Url:    pulumi.String("https://oceancd.com/api/v1/metrics?clusterId= args.clusterId"),
								WebHeaders: oceancd.VerificationTemplateMetricProviderWebWebHeaderArray{
									&oceancd.VerificationTemplateMetricProviderWebWebHeaderArgs{
										WebHeaderKey:   pulumi.String("Autorization"),
										WebHeaderValue: pulumi.String("Bearer=args.token"),
									},
								},
								Body:           pulumi.String("{\"key\": \"test\"}"),
								TimeoutSeconds: pulumi.Int(20),
								JsonPath:       pulumi.String("$.data"),
								Insecure:       pulumi.Bool(false),
							},
							Job: &oceancd.VerificationTemplateMetricProviderJobArgs{
								Specs: oceancd.VerificationTemplateMetricProviderJobSpecArray{
									&oceancd.VerificationTemplateMetricProviderJobSpecArgs{
										BackoffLimit: pulumi.Int(1),
										JobTemplates: oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateArray{
											&oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateArgs{
												TemplateSpecs: oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArray{
													&oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs{
														Containers: oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArray{
															&oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs{
																ContainerName: pulumi.String("hello"),
																Commands: pulumi.StringArray{
																	pulumi.String("sh"),
																	pulumi.String("-c"),
																},
																Image: pulumi.String("nginx.2.1"),
															},
														},
														RestartPolicy: pulumi.String("never"),
													},
												},
											},
										},
									},
								},
							},
							Jenkins: &oceancd.VerificationTemplateMetricProviderJenkinsArgs{
								PipelineName:    pulumi.String("testPipelineName"),
								TlsVerification: pulumi.Bool(true),
								Timeout:         pulumi.String("2m"),
								JenkinsInterval: pulumi.String("5s"),
								JenkinsParameters: &oceancd.VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs{
									ParameterKey:   pulumi.String("app"),
									ParameterValue: pulumi.String("my-app"),
								},
							},
						},
					},
					Baseline: &oceancd.VerificationTemplateMetricBaselineArgs{
						BaselineProviders: oceancd.VerificationTemplateMetricBaselineBaselineProviderArray{
							&oceancd.VerificationTemplateMetricBaselineBaselineProviderArgs{
								Prometheus: &oceancd.VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs{
									PrometheusQuery: pulumi.String("http_requests_total.status!"),
								},
								Datadog: &oceancd.VerificationTemplateMetricBaselineBaselineProviderDatadogArgs{
									Duration:     pulumi.String("2m"),
									DatadogQuery: pulumi.String("avg:kubernetes.cpu.user"),
								},
								NewRelic: &oceancd.VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs{
									Profile:       pulumi.String("test"),
									NewRelicQuery: pulumi.String("FROM Metric SELECT count*"),
								},
							},
						},
						MinRange:  pulumi.Int(40),
						MaxRange:  pulumi.Int(50),
						Threshold: pulumi.String("range"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SpotInst = Pulumi.SpotInst;
return await Deployment.RunAsync(() => 
{
    var test = new SpotInst.Oceancd.VerificationTemplate("test", new()
    {
        Name = "test-verification-template-tes",
        Args = new[]
        {
            new SpotInst.Oceancd.Inputs.VerificationTemplateArgArgs
            {
                ArgName = "test-arg",
                Value = "test",
                ValueFrom = new SpotInst.Oceancd.Inputs.VerificationTemplateArgValueFromArgs
                {
                    SecretKeyRef = new SpotInst.Oceancd.Inputs.VerificationTemplateArgValueFromSecretKeyRefArgs
                    {
                        Name = "test_key",
                        Key = "key-value-test",
                    },
                },
            },
        },
        Metrics = new[]
        {
            new SpotInst.Oceancd.Inputs.VerificationTemplateMetricArgs
            {
                MetricsName = "test-metrics-names",
                DryRun = false,
                Interval = "10m",
                InitialDelay = "1m",
                Count = 10,
                SuccessCondition = "result[0] <= 0.95",
                FailureCondition = "result[0] >= 0.95",
                FailureLimit = 2,
                ConsecutiveErrorLimit = 1,
                Providers = new[]
                {
                    new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderArgs
                    {
                        Prometheus = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderPrometheusArgs
                        {
                            PrometheusQuery = "http_requests_new",
                        },
                        Datadog = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderDatadogArgs
                        {
                            Duration = "1m",
                            DatadogQuery = "avg:kubernetes.cpu.user.total",
                        },
                        NewRelic = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderNewRelicArgs
                        {
                            Profile = "test",
                            NewRelicQuery = "FROM Metric SELECT count",
                        },
                        CloudWatch = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchArgs
                        {
                            Duration = "5m",
                            MetricDataQueries = new[]
                            {
                                new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs
                                {
                                    Id = "utilization",
                                    MetricStat = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs
                                    {
                                        Metric = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs
                                        {
                                            MetricName = "Test",
                                            Namespace = "AWS/EC2",
                                            Dimensions = new[]
                                            {
                                                new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs
                                                {
                                                    DimensionName = "instandId",
                                                    DimensionValue = "i-123044",
                                                },
                                            },
                                        },
                                        MetricPeriod = 400,
                                        Stat = "average",
                                        Unit = "None",
                                    },
                                    Expression = "SELECT AVG(CPUUtilization) FROM SCHEMA",
                                    Label = "TestLabel",
                                    ReturnData = false,
                                    Period = 300,
                                },
                            },
                        },
                        Web = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderWebArgs
                        {
                            Method = "GET",
                            Url = "https://oceancd.com/api/v1/metrics?clusterId= args.clusterId",
                            WebHeaders = new[]
                            {
                                new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderWebWebHeaderArgs
                                {
                                    WebHeaderKey = "Autorization",
                                    WebHeaderValue = "Bearer=args.token",
                                },
                            },
                            Body = "{\"key\": \"test\"}",
                            TimeoutSeconds = 20,
                            JsonPath = "$.data",
                            Insecure = false,
                        },
                        Job = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobArgs
                        {
                            Specs = new[]
                            {
                                new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecArgs
                                {
                                    BackoffLimit = 1,
                                    JobTemplates = new[]
                                    {
                                        new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecJobTemplateArgs
                                        {
                                            TemplateSpecs = new[]
                                            {
                                                new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs
                                                {
                                                    Containers = new[]
                                                    {
                                                        new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs
                                                        {
                                                            ContainerName = "hello",
                                                            Commands = new[]
                                                            {
                                                                "sh",
                                                                "-c",
                                                            },
                                                            Image = "nginx.2.1",
                                                        },
                                                    },
                                                    RestartPolicy = "never",
                                                },
                                            },
                                        },
                                    },
                                },
                            },
                        },
                        Jenkins = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJenkinsArgs
                        {
                            PipelineName = "testPipelineName",
                            TlsVerification = true,
                            Timeout = "2m",
                            JenkinsInterval = "5s",
                            JenkinsParameters = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs
                            {
                                ParameterKey = "app",
                                ParameterValue = "my-app",
                            },
                        },
                    },
                },
                Baseline = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineArgs
                {
                    BaselineProviders = new[]
                    {
                        new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderArgs
                        {
                            Prometheus = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs
                            {
                                PrometheusQuery = "http_requests_total.status!",
                            },
                            Datadog = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderDatadogArgs
                            {
                                Duration = "2m",
                                DatadogQuery = "avg:kubernetes.cpu.user",
                            },
                            NewRelic = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs
                            {
                                Profile = "test",
                                NewRelicQuery = "FROM Metric SELECT count*",
                            },
                        },
                    },
                    MinRange = 40,
                    MaxRange = 50,
                    Threshold = "range",
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.oceancd.VerificationTemplate;
import com.pulumi.spotinst.oceancd.VerificationTemplateArgs;
import com.pulumi.spotinst.oceancd.inputs.VerificationTemplateArgArgs;
import com.pulumi.spotinst.oceancd.inputs.VerificationTemplateArgValueFromArgs;
import com.pulumi.spotinst.oceancd.inputs.VerificationTemplateArgValueFromSecretKeyRefArgs;
import com.pulumi.spotinst.oceancd.inputs.VerificationTemplateMetricArgs;
import com.pulumi.spotinst.oceancd.inputs.VerificationTemplateMetricBaselineArgs;
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 test = new VerificationTemplate("test", VerificationTemplateArgs.builder()
            .name("test-verification-template-tes")
            .args(VerificationTemplateArgArgs.builder()
                .argName("test-arg")
                .value("test")
                .valueFrom(VerificationTemplateArgValueFromArgs.builder()
                    .secretKeyRef(VerificationTemplateArgValueFromSecretKeyRefArgs.builder()
                        .name("test_key")
                        .key("key-value-test")
                        .build())
                    .build())
                .build())
            .metrics(VerificationTemplateMetricArgs.builder()
                .metricsName("test-metrics-names")
                .dryRun(false)
                .interval("10m")
                .initialDelay("1m")
                .count("10")
                .successCondition("result[0] <= 0.95")
                .failureCondition("result[0] >= 0.95")
                .failureLimit(2)
                .consecutiveErrorLimit(1)
                .providers(VerificationTemplateMetricProviderArgs.builder()
                    .prometheus(VerificationTemplateMetricProviderPrometheusArgs.builder()
                        .prometheusQuery("http_requests_new")
                        .build())
                    .datadog(VerificationTemplateMetricProviderDatadogArgs.builder()
                        .duration("1m")
                        .datadogQuery("avg:kubernetes.cpu.user.total")
                        .build())
                    .newRelic(VerificationTemplateMetricProviderNewRelicArgs.builder()
                        .profile("test")
                        .newRelicQuery("FROM Metric SELECT count")
                        .build())
                    .cloudWatch(VerificationTemplateMetricProviderCloudWatchArgs.builder()
                        .duration("5m")
                        .metricDataQueries(VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs.builder()
                            .id("utilization")
                            .metricStat(VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs.builder()
                                .metric(VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs.builder()
                                    .metricName("Test")
                                    .namespace("AWS/EC2")
                                    .dimensions(VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs.builder()
                                        .dimensionName("instandId")
                                        .dimensionValue("i-123044")
                                        .build())
                                    .build())
                                .metricPeriod(400)
                                .stat("average")
                                .unit("None")
                                .build())
                            .expression("SELECT AVG(CPUUtilization) FROM SCHEMA")
                            .label("TestLabel")
                            .returnData(false)
                            .period(300)
                            .build())
                        .build())
                    .web(VerificationTemplateMetricProviderWebArgs.builder()
                        .method("GET")
                        .url("https://oceancd.com/api/v1/metrics?clusterId= args.clusterId")
                        .webHeaders(VerificationTemplateMetricProviderWebWebHeaderArgs.builder()
                            .webHeaderKey("Autorization")
                            .webHeaderValue("Bearer=args.token")
                            .build())
                        .body("{\"key\": \"test\"}")
                        .timeoutSeconds(20)
                        .jsonPath("$.data")
                        .insecure(false)
                        .build())
                    .job(VerificationTemplateMetricProviderJobArgs.builder()
                        .specs(VerificationTemplateMetricProviderJobSpecArgs.builder()
                            .backoffLimit(1)
                            .jobTemplates(VerificationTemplateMetricProviderJobSpecJobTemplateArgs.builder()
                                .templateSpecs(VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs.builder()
                                    .containers(VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs.builder()
                                        .containerName("hello")
                                        .commands(                                        
                                            "sh",
                                            "-c")
                                        .image("nginx.2.1")
                                        .build())
                                    .restartPolicy("never")
                                    .build())
                                .build())
                            .build())
                        .build())
                    .jenkins(VerificationTemplateMetricProviderJenkinsArgs.builder()
                        .pipelineName("testPipelineName")
                        .tlsVerification(true)
                        .timeout("2m")
                        .jenkinsInterval("5s")
                        .jenkinsParameters(VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs.builder()
                            .parameterKey("app")
                            .parameterValue("my-app")
                            .build())
                        .build())
                    .build())
                .baseline(VerificationTemplateMetricBaselineArgs.builder()
                    .baselineProviders(VerificationTemplateMetricBaselineBaselineProviderArgs.builder()
                        .prometheus(VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs.builder()
                            .prometheusQuery("http_requests_total.status!")
                            .build())
                        .datadog(VerificationTemplateMetricBaselineBaselineProviderDatadogArgs.builder()
                            .duration("2m")
                            .datadogQuery("avg:kubernetes.cpu.user")
                            .build())
                        .newRelic(VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs.builder()
                            .profile("test")
                            .newRelicQuery("FROM Metric SELECT count*")
                            .build())
                        .build())
                    .minRange(40)
                    .maxRange(50)
                    .threshold("range")
                    .build())
                .build())
            .build());
    }
}
resources:
  test:
    type: spotinst:oceancd:VerificationTemplate
    properties:
      name: test-verification-template-tes
      args:
        - argName: test-arg
          value: test
          valueFrom:
            secretKeyRef:
              name: test_key
              key: key-value-test
      metrics:
        - metricsName: test-metrics-names
          dryRun: false
          interval: 10m
          initialDelay: 1m
          count: '10'
          successCondition: result[0] <= 0.95
          failureCondition: result[0] >= 0.95
          failureLimit: 2
          consecutiveErrorLimit: 1
          providers:
            - prometheus:
                prometheusQuery: http_requests_new
              datadog:
                duration: 1m
                datadogQuery: avg:kubernetes.cpu.user.total
              newRelic:
                profile: test
                newRelicQuery: FROM Metric SELECT count
              cloudWatch:
                duration: 5m
                metricDataQueries:
                  - id: utilization
                    metricStat:
                      metric:
                        metricName: Test
                        namespace: AWS/EC2
                        dimensions:
                          - dimensionName: instandId
                            dimensionValue: i-123044
                      metricPeriod: 400
                      stat: average
                      unit: None
                    expression: SELECT AVG(CPUUtilization) FROM SCHEMA
                    label: TestLabel
                    returnData: false
                    period: 300
              web:
                method: GET
                url: https://oceancd.com/api/v1/metrics?clusterId= args.clusterId
                webHeaders:
                  - webHeaderKey: Autorization
                    webHeaderValue: Bearer=args.token
                body: '{"key": "test"}'
                timeoutSeconds: 20
                jsonPath: $.data
                insecure: false
              job:
                specs:
                  - backoffLimit: 1
                    jobTemplates:
                      - templateSpecs:
                          - containers:
                              - containerName: hello
                                commands:
                                  - sh
                                  - -c
                                image: nginx.2.1
                            restartPolicy: never
              jenkins:
                pipelineName: testPipelineName
                tlsVerification: true
                timeout: 2m
                jenkinsInterval: 5s
                jenkinsParameters:
                  parameterKey: app
                  parameterValue: my-app
          baseline:
            baselineProviders:
              - prometheus:
                  prometheusQuery: http_requests_total.status!
                datadog:
                  duration: 2m
                  datadogQuery: avg:kubernetes.cpu.user
                newRelic:
                  profile: test
                  newRelicQuery: FROM Metric SELECT count*
            minRange: 40
            maxRange: 50
            threshold: range
output "name" {
  value = spotinst_oceancd_verification_template.example.name
}
Create VerificationTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VerificationTemplate(name: string, args?: VerificationTemplateArgs, opts?: CustomResourceOptions);@overload
def VerificationTemplate(resource_name: str,
                         args: Optional[VerificationTemplateArgs] = None,
                         opts: Optional[ResourceOptions] = None)
@overload
def VerificationTemplate(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         args: Optional[Sequence[VerificationTemplateArgArgs]] = None,
                         metrics: Optional[Sequence[VerificationTemplateMetricArgs]] = None,
                         name: Optional[str] = None)func NewVerificationTemplate(ctx *Context, name string, args *VerificationTemplateArgs, opts ...ResourceOption) (*VerificationTemplate, error)public VerificationTemplate(string name, VerificationTemplateArgs? args = null, CustomResourceOptions? opts = null)
public VerificationTemplate(String name, VerificationTemplateArgs args)
public VerificationTemplate(String name, VerificationTemplateArgs args, CustomResourceOptions options)
type: spotinst:oceancd:VerificationTemplate
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 VerificationTemplateArgs
- 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 VerificationTemplateArgs
- 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 VerificationTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VerificationTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VerificationTemplateArgs
- 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 verificationTemplateResource = new SpotInst.Oceancd.VerificationTemplate("verificationTemplateResource", new()
{
    Args = new[]
    {
        new SpotInst.Oceancd.Inputs.VerificationTemplateArgArgs
        {
            ArgName = "string",
            Value = "string",
            ValueFrom = new SpotInst.Oceancd.Inputs.VerificationTemplateArgValueFromArgs
            {
                SecretKeyRef = new SpotInst.Oceancd.Inputs.VerificationTemplateArgValueFromSecretKeyRefArgs
                {
                    Key = "string",
                    Name = "string",
                },
            },
        },
    },
    Metrics = new[]
    {
        new SpotInst.Oceancd.Inputs.VerificationTemplateMetricArgs
        {
            MetricsName = "string",
            Providers = new[]
            {
                new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderArgs
                {
                    CloudWatch = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchArgs
                    {
                        MetricDataQueries = new[]
                        {
                            new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs
                            {
                                Id = "string",
                                Expression = "string",
                                Label = "string",
                                MetricStat = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs
                                {
                                    Metric = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs
                                    {
                                        MetricName = "string",
                                        Dimensions = new[]
                                        {
                                            new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs
                                            {
                                                DimensionName = "string",
                                                DimensionValue = "string",
                                            },
                                        },
                                        Namespace = "string",
                                    },
                                    MetricPeriod = 0,
                                    Stat = "string",
                                    Unit = "string",
                                },
                                Period = 0,
                                ReturnData = false,
                            },
                        },
                        Duration = "string",
                    },
                    Datadog = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderDatadogArgs
                    {
                        DatadogQuery = "string",
                        Duration = "string",
                    },
                    Jenkins = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJenkinsArgs
                    {
                        JenkinsInterval = "string",
                        PipelineName = "string",
                        Timeout = "string",
                        JenkinsParameters = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs
                        {
                            ParameterKey = "string",
                            ParameterValue = "string",
                        },
                        TlsVerification = false,
                    },
                    Job = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobArgs
                    {
                        Specs = new[]
                        {
                            new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecArgs
                            {
                                JobTemplates = new[]
                                {
                                    new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecJobTemplateArgs
                                    {
                                        TemplateSpecs = new[]
                                        {
                                            new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs
                                            {
                                                Containers = new[]
                                                {
                                                    new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs
                                                    {
                                                        Commands = new[]
                                                        {
                                                            "string",
                                                        },
                                                        ContainerName = "string",
                                                        Image = "string",
                                                    },
                                                },
                                                RestartPolicy = "string",
                                            },
                                        },
                                    },
                                },
                                BackoffLimit = 0,
                            },
                        },
                    },
                    NewRelic = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderNewRelicArgs
                    {
                        NewRelicQuery = "string",
                        Profile = "string",
                    },
                    Prometheus = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderPrometheusArgs
                    {
                        PrometheusQuery = "string",
                    },
                    Web = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderWebArgs
                    {
                        Url = "string",
                        Body = "string",
                        Insecure = false,
                        JsonPath = "string",
                        Method = "string",
                        TimeoutSeconds = 0,
                        WebHeaders = new[]
                        {
                            new SpotInst.Oceancd.Inputs.VerificationTemplateMetricProviderWebWebHeaderArgs
                            {
                                WebHeaderKey = "string",
                                WebHeaderValue = "string",
                            },
                        },
                    },
                },
            },
            Baseline = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineArgs
            {
                BaselineProviders = new[]
                {
                    new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderArgs
                    {
                        Datadog = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderDatadogArgs
                        {
                            DatadogQuery = "string",
                            Duration = "string",
                        },
                        NewRelic = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs
                        {
                            NewRelicQuery = "string",
                            Profile = "string",
                        },
                        Prometheus = new SpotInst.Oceancd.Inputs.VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs
                        {
                            PrometheusQuery = "string",
                        },
                    },
                },
                Threshold = "string",
                MaxRange = 0,
                MinRange = 0,
            },
            ConsecutiveErrorLimit = 0,
            Count = 0,
            DryRun = false,
            FailureCondition = "string",
            FailureLimit = 0,
            InitialDelay = "string",
            Interval = "string",
            SuccessCondition = "string",
        },
    },
    Name = "string",
});
example, err := oceancd.NewVerificationTemplate(ctx, "verificationTemplateResource", &oceancd.VerificationTemplateArgs{
	Args: oceancd.VerificationTemplateArgArray{
		&oceancd.VerificationTemplateArgArgs{
			ArgName: pulumi.String("string"),
			Value:   pulumi.String("string"),
			ValueFrom: &oceancd.VerificationTemplateArgValueFromArgs{
				SecretKeyRef: &oceancd.VerificationTemplateArgValueFromSecretKeyRefArgs{
					Key:  pulumi.String("string"),
					Name: pulumi.String("string"),
				},
			},
		},
	},
	Metrics: oceancd.VerificationTemplateMetricArray{
		&oceancd.VerificationTemplateMetricArgs{
			MetricsName: pulumi.String("string"),
			Providers: oceancd.VerificationTemplateMetricProviderArray{
				&oceancd.VerificationTemplateMetricProviderArgs{
					CloudWatch: &oceancd.VerificationTemplateMetricProviderCloudWatchArgs{
						MetricDataQueries: oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryArray{
							&oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs{
								Id:         pulumi.String("string"),
								Expression: pulumi.String("string"),
								Label:      pulumi.String("string"),
								MetricStat: &oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs{
									Metric: &oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs{
										MetricName: pulumi.String("string"),
										Dimensions: oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArray{
											&oceancd.VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs{
												DimensionName:  pulumi.String("string"),
												DimensionValue: pulumi.String("string"),
											},
										},
										Namespace: pulumi.String("string"),
									},
									MetricPeriod: pulumi.Int(0),
									Stat:         pulumi.String("string"),
									Unit:         pulumi.String("string"),
								},
								Period:     pulumi.Int(0),
								ReturnData: pulumi.Bool(false),
							},
						},
						Duration: pulumi.String("string"),
					},
					Datadog: &oceancd.VerificationTemplateMetricProviderDatadogArgs{
						DatadogQuery: pulumi.String("string"),
						Duration:     pulumi.String("string"),
					},
					Jenkins: &oceancd.VerificationTemplateMetricProviderJenkinsArgs{
						JenkinsInterval: pulumi.String("string"),
						PipelineName:    pulumi.String("string"),
						Timeout:         pulumi.String("string"),
						JenkinsParameters: &oceancd.VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs{
							ParameterKey:   pulumi.String("string"),
							ParameterValue: pulumi.String("string"),
						},
						TlsVerification: pulumi.Bool(false),
					},
					Job: &oceancd.VerificationTemplateMetricProviderJobArgs{
						Specs: oceancd.VerificationTemplateMetricProviderJobSpecArray{
							&oceancd.VerificationTemplateMetricProviderJobSpecArgs{
								JobTemplates: oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateArray{
									&oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateArgs{
										TemplateSpecs: oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArray{
											&oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs{
												Containers: oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArray{
													&oceancd.VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs{
														Commands: pulumi.StringArray{
															pulumi.String("string"),
														},
														ContainerName: pulumi.String("string"),
														Image:         pulumi.String("string"),
													},
												},
												RestartPolicy: pulumi.String("string"),
											},
										},
									},
								},
								BackoffLimit: pulumi.Int(0),
							},
						},
					},
					NewRelic: &oceancd.VerificationTemplateMetricProviderNewRelicArgs{
						NewRelicQuery: pulumi.String("string"),
						Profile:       pulumi.String("string"),
					},
					Prometheus: &oceancd.VerificationTemplateMetricProviderPrometheusArgs{
						PrometheusQuery: pulumi.String("string"),
					},
					Web: &oceancd.VerificationTemplateMetricProviderWebArgs{
						Url:            pulumi.String("string"),
						Body:           pulumi.String("string"),
						Insecure:       pulumi.Bool(false),
						JsonPath:       pulumi.String("string"),
						Method:         pulumi.String("string"),
						TimeoutSeconds: pulumi.Int(0),
						WebHeaders: oceancd.VerificationTemplateMetricProviderWebWebHeaderArray{
							&oceancd.VerificationTemplateMetricProviderWebWebHeaderArgs{
								WebHeaderKey:   pulumi.String("string"),
								WebHeaderValue: pulumi.String("string"),
							},
						},
					},
				},
			},
			Baseline: &oceancd.VerificationTemplateMetricBaselineArgs{
				BaselineProviders: oceancd.VerificationTemplateMetricBaselineBaselineProviderArray{
					&oceancd.VerificationTemplateMetricBaselineBaselineProviderArgs{
						Datadog: &oceancd.VerificationTemplateMetricBaselineBaselineProviderDatadogArgs{
							DatadogQuery: pulumi.String("string"),
							Duration:     pulumi.String("string"),
						},
						NewRelic: &oceancd.VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs{
							NewRelicQuery: pulumi.String("string"),
							Profile:       pulumi.String("string"),
						},
						Prometheus: &oceancd.VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs{
							PrometheusQuery: pulumi.String("string"),
						},
					},
				},
				Threshold: pulumi.String("string"),
				MaxRange:  pulumi.Int(0),
				MinRange:  pulumi.Int(0),
			},
			ConsecutiveErrorLimit: pulumi.Int(0),
			Count:                 pulumi.Int(0),
			DryRun:                pulumi.Bool(false),
			FailureCondition:      pulumi.String("string"),
			FailureLimit:          pulumi.Int(0),
			InitialDelay:          pulumi.String("string"),
			Interval:              pulumi.String("string"),
			SuccessCondition:      pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
})
var verificationTemplateResource = new VerificationTemplate("verificationTemplateResource", VerificationTemplateArgs.builder()
    .args(VerificationTemplateArgArgs.builder()
        .argName("string")
        .value("string")
        .valueFrom(VerificationTemplateArgValueFromArgs.builder()
            .secretKeyRef(VerificationTemplateArgValueFromSecretKeyRefArgs.builder()
                .key("string")
                .name("string")
                .build())
            .build())
        .build())
    .metrics(VerificationTemplateMetricArgs.builder()
        .metricsName("string")
        .providers(VerificationTemplateMetricProviderArgs.builder()
            .cloudWatch(VerificationTemplateMetricProviderCloudWatchArgs.builder()
                .metricDataQueries(VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs.builder()
                    .id("string")
                    .expression("string")
                    .label("string")
                    .metricStat(VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs.builder()
                        .metric(VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs.builder()
                            .metricName("string")
                            .dimensions(VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs.builder()
                                .dimensionName("string")
                                .dimensionValue("string")
                                .build())
                            .namespace("string")
                            .build())
                        .metricPeriod(0)
                        .stat("string")
                        .unit("string")
                        .build())
                    .period(0)
                    .returnData(false)
                    .build())
                .duration("string")
                .build())
            .datadog(VerificationTemplateMetricProviderDatadogArgs.builder()
                .datadogQuery("string")
                .duration("string")
                .build())
            .jenkins(VerificationTemplateMetricProviderJenkinsArgs.builder()
                .jenkinsInterval("string")
                .pipelineName("string")
                .timeout("string")
                .jenkinsParameters(VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs.builder()
                    .parameterKey("string")
                    .parameterValue("string")
                    .build())
                .tlsVerification(false)
                .build())
            .job(VerificationTemplateMetricProviderJobArgs.builder()
                .specs(VerificationTemplateMetricProviderJobSpecArgs.builder()
                    .jobTemplates(VerificationTemplateMetricProviderJobSpecJobTemplateArgs.builder()
                        .templateSpecs(VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs.builder()
                            .containers(VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs.builder()
                                .commands("string")
                                .containerName("string")
                                .image("string")
                                .build())
                            .restartPolicy("string")
                            .build())
                        .build())
                    .backoffLimit(0)
                    .build())
                .build())
            .newRelic(VerificationTemplateMetricProviderNewRelicArgs.builder()
                .newRelicQuery("string")
                .profile("string")
                .build())
            .prometheus(VerificationTemplateMetricProviderPrometheusArgs.builder()
                .prometheusQuery("string")
                .build())
            .web(VerificationTemplateMetricProviderWebArgs.builder()
                .url("string")
                .body("string")
                .insecure(false)
                .jsonPath("string")
                .method("string")
                .timeoutSeconds(0)
                .webHeaders(VerificationTemplateMetricProviderWebWebHeaderArgs.builder()
                    .webHeaderKey("string")
                    .webHeaderValue("string")
                    .build())
                .build())
            .build())
        .baseline(VerificationTemplateMetricBaselineArgs.builder()
            .baselineProviders(VerificationTemplateMetricBaselineBaselineProviderArgs.builder()
                .datadog(VerificationTemplateMetricBaselineBaselineProviderDatadogArgs.builder()
                    .datadogQuery("string")
                    .duration("string")
                    .build())
                .newRelic(VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs.builder()
                    .newRelicQuery("string")
                    .profile("string")
                    .build())
                .prometheus(VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs.builder()
                    .prometheusQuery("string")
                    .build())
                .build())
            .threshold("string")
            .maxRange(0)
            .minRange(0)
            .build())
        .consecutiveErrorLimit(0)
        .count(0)
        .dryRun(false)
        .failureCondition("string")
        .failureLimit(0)
        .initialDelay("string")
        .interval("string")
        .successCondition("string")
        .build())
    .name("string")
    .build());
verification_template_resource = spotinst.oceancd.VerificationTemplate("verificationTemplateResource",
    args=[{
        "arg_name": "string",
        "value": "string",
        "value_from": {
            "secret_key_ref": {
                "key": "string",
                "name": "string",
            },
        },
    }],
    metrics=[{
        "metrics_name": "string",
        "providers": [{
            "cloud_watch": {
                "metric_data_queries": [{
                    "id": "string",
                    "expression": "string",
                    "label": "string",
                    "metric_stat": {
                        "metric": {
                            "metric_name": "string",
                            "dimensions": [{
                                "dimension_name": "string",
                                "dimension_value": "string",
                            }],
                            "namespace": "string",
                        },
                        "metric_period": 0,
                        "stat": "string",
                        "unit": "string",
                    },
                    "period": 0,
                    "return_data": False,
                }],
                "duration": "string",
            },
            "datadog": {
                "datadog_query": "string",
                "duration": "string",
            },
            "jenkins": {
                "jenkins_interval": "string",
                "pipeline_name": "string",
                "timeout": "string",
                "jenkins_parameters": {
                    "parameter_key": "string",
                    "parameter_value": "string",
                },
                "tls_verification": False,
            },
            "job": {
                "specs": [{
                    "job_templates": [{
                        "template_specs": [{
                            "containers": [{
                                "commands": ["string"],
                                "container_name": "string",
                                "image": "string",
                            }],
                            "restart_policy": "string",
                        }],
                    }],
                    "backoff_limit": 0,
                }],
            },
            "new_relic": {
                "new_relic_query": "string",
                "profile": "string",
            },
            "prometheus": {
                "prometheus_query": "string",
            },
            "web": {
                "url": "string",
                "body": "string",
                "insecure": False,
                "json_path": "string",
                "method": "string",
                "timeout_seconds": 0,
                "web_headers": [{
                    "web_header_key": "string",
                    "web_header_value": "string",
                }],
            },
        }],
        "baseline": {
            "baseline_providers": [{
                "datadog": {
                    "datadog_query": "string",
                    "duration": "string",
                },
                "new_relic": {
                    "new_relic_query": "string",
                    "profile": "string",
                },
                "prometheus": {
                    "prometheus_query": "string",
                },
            }],
            "threshold": "string",
            "max_range": 0,
            "min_range": 0,
        },
        "consecutive_error_limit": 0,
        "count": 0,
        "dry_run": False,
        "failure_condition": "string",
        "failure_limit": 0,
        "initial_delay": "string",
        "interval": "string",
        "success_condition": "string",
    }],
    name="string")
const verificationTemplateResource = new spotinst.oceancd.VerificationTemplate("verificationTemplateResource", {
    args: [{
        argName: "string",
        value: "string",
        valueFrom: {
            secretKeyRef: {
                key: "string",
                name: "string",
            },
        },
    }],
    metrics: [{
        metricsName: "string",
        providers: [{
            cloudWatch: {
                metricDataQueries: [{
                    id: "string",
                    expression: "string",
                    label: "string",
                    metricStat: {
                        metric: {
                            metricName: "string",
                            dimensions: [{
                                dimensionName: "string",
                                dimensionValue: "string",
                            }],
                            namespace: "string",
                        },
                        metricPeriod: 0,
                        stat: "string",
                        unit: "string",
                    },
                    period: 0,
                    returnData: false,
                }],
                duration: "string",
            },
            datadog: {
                datadogQuery: "string",
                duration: "string",
            },
            jenkins: {
                jenkinsInterval: "string",
                pipelineName: "string",
                timeout: "string",
                jenkinsParameters: {
                    parameterKey: "string",
                    parameterValue: "string",
                },
                tlsVerification: false,
            },
            job: {
                specs: [{
                    jobTemplates: [{
                        templateSpecs: [{
                            containers: [{
                                commands: ["string"],
                                containerName: "string",
                                image: "string",
                            }],
                            restartPolicy: "string",
                        }],
                    }],
                    backoffLimit: 0,
                }],
            },
            newRelic: {
                newRelicQuery: "string",
                profile: "string",
            },
            prometheus: {
                prometheusQuery: "string",
            },
            web: {
                url: "string",
                body: "string",
                insecure: false,
                jsonPath: "string",
                method: "string",
                timeoutSeconds: 0,
                webHeaders: [{
                    webHeaderKey: "string",
                    webHeaderValue: "string",
                }],
            },
        }],
        baseline: {
            baselineProviders: [{
                datadog: {
                    datadogQuery: "string",
                    duration: "string",
                },
                newRelic: {
                    newRelicQuery: "string",
                    profile: "string",
                },
                prometheus: {
                    prometheusQuery: "string",
                },
            }],
            threshold: "string",
            maxRange: 0,
            minRange: 0,
        },
        consecutiveErrorLimit: 0,
        count: 0,
        dryRun: false,
        failureCondition: "string",
        failureLimit: 0,
        initialDelay: "string",
        interval: "string",
        successCondition: "string",
    }],
    name: "string",
});
type: spotinst:oceancd:VerificationTemplate
properties:
    args:
        - argName: string
          value: string
          valueFrom:
            secretKeyRef:
                key: string
                name: string
    metrics:
        - baseline:
            baselineProviders:
                - datadog:
                    datadogQuery: string
                    duration: string
                  newRelic:
                    newRelicQuery: string
                    profile: string
                  prometheus:
                    prometheusQuery: string
            maxRange: 0
            minRange: 0
            threshold: string
          consecutiveErrorLimit: 0
          count: 0
          dryRun: false
          failureCondition: string
          failureLimit: 0
          initialDelay: string
          interval: string
          metricsName: string
          providers:
            - cloudWatch:
                duration: string
                metricDataQueries:
                    - expression: string
                      id: string
                      label: string
                      metricStat:
                        metric:
                            dimensions:
                                - dimensionName: string
                                  dimensionValue: string
                            metricName: string
                            namespace: string
                        metricPeriod: 0
                        stat: string
                        unit: string
                      period: 0
                      returnData: false
              datadog:
                datadogQuery: string
                duration: string
              jenkins:
                jenkinsInterval: string
                jenkinsParameters:
                    parameterKey: string
                    parameterValue: string
                pipelineName: string
                timeout: string
                tlsVerification: false
              job:
                specs:
                    - backoffLimit: 0
                      jobTemplates:
                        - templateSpecs:
                            - containers:
                                - commands:
                                    - string
                                  containerName: string
                                  image: string
                              restartPolicy: string
              newRelic:
                newRelicQuery: string
                profile: string
              prometheus:
                prometheusQuery: string
              web:
                body: string
                insecure: false
                jsonPath: string
                method: string
                timeoutSeconds: 0
                url: string
                webHeaders:
                    - webHeaderKey: string
                      webHeaderValue: string
          successCondition: string
    name: string
VerificationTemplate 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 VerificationTemplate resource accepts the following input properties:
- Args
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Arg> 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- Metrics
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric> 
- List of verification metrics.
- Name string
- Identifier name for Ocean CD Verification Template. Must be unique.
- Args
[]VerificationTemplate Arg Args 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- Metrics
[]VerificationTemplate Metric Args 
- List of verification metrics.
- Name string
- Identifier name for Ocean CD Verification Template. Must be unique.
- args
List<VerificationTemplate Arg> 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics
List<VerificationTemplate Metric> 
- List of verification metrics.
- name String
- Identifier name for Ocean CD Verification Template. Must be unique.
- args
VerificationTemplate Arg[] 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics
VerificationTemplate Metric[] 
- List of verification metrics.
- name string
- Identifier name for Ocean CD Verification Template. Must be unique.
- args
Sequence[VerificationTemplate Arg Args] 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics
Sequence[VerificationTemplate Metric Args] 
- List of verification metrics.
- name str
- Identifier name for Ocean CD Verification Template. Must be unique.
- args List<Property Map>
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics List<Property Map>
- List of verification metrics.
- name String
- Identifier name for Ocean CD Verification Template. Must be unique.
Outputs
All input properties are implicitly available as output properties. Additionally, the VerificationTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VerificationTemplate Resource
Get an existing VerificationTemplate 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?: VerificationTemplateState, opts?: CustomResourceOptions): VerificationTemplate@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        args: Optional[Sequence[VerificationTemplateArgArgs]] = None,
        metrics: Optional[Sequence[VerificationTemplateMetricArgs]] = None,
        name: Optional[str] = None) -> VerificationTemplatefunc GetVerificationTemplate(ctx *Context, name string, id IDInput, state *VerificationTemplateState, opts ...ResourceOption) (*VerificationTemplate, error)public static VerificationTemplate Get(string name, Input<string> id, VerificationTemplateState? state, CustomResourceOptions? opts = null)public static VerificationTemplate get(String name, Output<String> id, VerificationTemplateState state, CustomResourceOptions options)resources:  _:    type: spotinst:oceancd:VerificationTemplate    get:      id: ${id}- 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.
- Args
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Arg> 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- Metrics
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric> 
- List of verification metrics.
- Name string
- Identifier name for Ocean CD Verification Template. Must be unique.
- Args
[]VerificationTemplate Arg Args 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- Metrics
[]VerificationTemplate Metric Args 
- List of verification metrics.
- Name string
- Identifier name for Ocean CD Verification Template. Must be unique.
- args
List<VerificationTemplate Arg> 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics
List<VerificationTemplate Metric> 
- List of verification metrics.
- name String
- Identifier name for Ocean CD Verification Template. Must be unique.
- args
VerificationTemplate Arg[] 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics
VerificationTemplate Metric[] 
- List of verification metrics.
- name string
- Identifier name for Ocean CD Verification Template. Must be unique.
- args
Sequence[VerificationTemplate Arg Args] 
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics
Sequence[VerificationTemplate Metric Args] 
- List of verification metrics.
- name str
- Identifier name for Ocean CD Verification Template. Must be unique.
- args List<Property Map>
- List of verification arguments. You may specify either valueORvalueFrombut not both.In caseargs:valueis already defined in the RolloutSpec entity, there is no need to also specify it in the VerificationTemplate entity.
- metrics List<Property Map>
- List of verification metrics.
- name String
- Identifier name for Ocean CD Verification Template. Must be unique.
Supporting Types
VerificationTemplateArg, VerificationTemplateArgArgs      
- ArgName string
- Name of an argument.
- Value string
- String representation of data.
- ValueFrom Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Arg Value From 
- ValueFrom object.
- ArgName string
- Name of an argument.
- Value string
- String representation of data.
- ValueFrom VerificationTemplate Arg Value From 
- ValueFrom object.
- argName String
- Name of an argument.
- value String
- String representation of data.
- valueFrom VerificationTemplate Arg Value From 
- ValueFrom object.
- argName string
- Name of an argument.
- value string
- String representation of data.
- valueFrom VerificationTemplate Arg Value From 
- ValueFrom object.
- arg_name str
- Name of an argument.
- value str
- String representation of data.
- value_from VerificationTemplate Arg Value From 
- ValueFrom object.
- argName String
- Name of an argument.
- value String
- String representation of data.
- valueFrom Property Map
- ValueFrom object.
VerificationTemplateArgValueFrom, VerificationTemplateArgValueFromArgs          
- SecretKey VerificationRef Template Arg Value From Secret Key Ref 
- Secret key to use.
- secretKey VerificationRef Template Arg Value From Secret Key Ref 
- Secret key to use.
- secretKey VerificationRef Template Arg Value From Secret Key Ref 
- Secret key to use.
- secret_key_ Verificationref Template Arg Value From Secret Key Ref 
- Secret key to use.
- secretKey Property MapRef 
- Secret key to use.
VerificationTemplateArgValueFromSecretKeyRef, VerificationTemplateArgValueFromSecretKeyRefArgs                
VerificationTemplateMetric, VerificationTemplateMetricArgs      
- MetricsName string
- The name of the verification metric.
- Providers
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider> 
- The name of the monitoring tool chosen for the metric.
- Baseline
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Baseline 
- Baseline Object.
- ConsecutiveError intLimit 
- The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing Jenkinsas the provider, there is no need to send this variable.
- Count int
- The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing Jenkinsas the provider, there is no need to send this variable.
- DryRun bool
- Defines whether the metric should have an impact on the result of the rollout.
- FailureCondition string
- An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
- FailureLimit int
- The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing Jenkinsas the provider, there is no need to send this variable.
- InitialDelay string
- How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
- Interval string
- Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
- SuccessCondition string
- An expression which determines if a measurement is considered successful. The keyword resultis a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosingJenkinsas the provider, there is no need to send this variable.
- MetricsName string
- The name of the verification metric.
- Providers
[]VerificationTemplate Metric Provider 
- The name of the monitoring tool chosen for the metric.
- Baseline
VerificationTemplate Metric Baseline 
- Baseline Object.
- ConsecutiveError intLimit 
- The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing Jenkinsas the provider, there is no need to send this variable.
- Count int
- The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing Jenkinsas the provider, there is no need to send this variable.
- DryRun bool
- Defines whether the metric should have an impact on the result of the rollout.
- FailureCondition string
- An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
- FailureLimit int
- The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing Jenkinsas the provider, there is no need to send this variable.
- InitialDelay string
- How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
- Interval string
- Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
- SuccessCondition string
- An expression which determines if a measurement is considered successful. The keyword resultis a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosingJenkinsas the provider, there is no need to send this variable.
- metricsName String
- The name of the verification metric.
- providers
List<VerificationTemplate Metric Provider> 
- The name of the monitoring tool chosen for the metric.
- baseline
VerificationTemplate Metric Baseline 
- Baseline Object.
- consecutiveError IntegerLimit 
- The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing Jenkinsas the provider, there is no need to send this variable.
- count Integer
- The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing Jenkinsas the provider, there is no need to send this variable.
- dryRun Boolean
- Defines whether the metric should have an impact on the result of the rollout.
- failureCondition String
- An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
- failureLimit Integer
- The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing Jenkinsas the provider, there is no need to send this variable.
- initialDelay String
- How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
- interval String
- Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
- successCondition String
- An expression which determines if a measurement is considered successful. The keyword resultis a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosingJenkinsas the provider, there is no need to send this variable.
- metricsName string
- The name of the verification metric.
- providers
VerificationTemplate Metric Provider[] 
- The name of the monitoring tool chosen for the metric.
- baseline
VerificationTemplate Metric Baseline 
- Baseline Object.
- consecutiveError numberLimit 
- The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing Jenkinsas the provider, there is no need to send this variable.
- count number
- The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing Jenkinsas the provider, there is no need to send this variable.
- dryRun boolean
- Defines whether the metric should have an impact on the result of the rollout.
- failureCondition string
- An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
- failureLimit number
- The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing Jenkinsas the provider, there is no need to send this variable.
- initialDelay string
- How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
- interval string
- Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
- successCondition string
- An expression which determines if a measurement is considered successful. The keyword resultis a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosingJenkinsas the provider, there is no need to send this variable.
- metrics_name str
- The name of the verification metric.
- providers
Sequence[VerificationTemplate Metric Provider] 
- The name of the monitoring tool chosen for the metric.
- baseline
VerificationTemplate Metric Baseline 
- Baseline Object.
- consecutive_error_ intlimit 
- The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing Jenkinsas the provider, there is no need to send this variable.
- count int
- The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing Jenkinsas the provider, there is no need to send this variable.
- dry_run bool
- Defines whether the metric should have an impact on the result of the rollout.
- failure_condition str
- An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
- failure_limit int
- The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing Jenkinsas the provider, there is no need to send this variable.
- initial_delay str
- How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
- interval str
- Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
- success_condition str
- An expression which determines if a measurement is considered successful. The keyword resultis a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosingJenkinsas the provider, there is no need to send this variable.
- metricsName String
- The name of the verification metric.
- providers List<Property Map>
- The name of the monitoring tool chosen for the metric.
- baseline Property Map
- Baseline Object.
- consecutiveError NumberLimit 
- The maximum number of times the measurement is allowed to error in succession, before the metric is considered error.Default is 4.When choosing Jenkinsas the provider, there is no need to send this variable.
- count Number
- The number of times to run the measurement. If both interval and count are omitted, the effective count is 1. If only interval is specified, metric runs indefinitely. If count > 1, interval must be specified. When choosing Jenkinsas the provider, there is no need to send this variable.
- dryRun Boolean
- Defines whether the metric should have an impact on the result of the rollout.
- failureCondition String
- An expression which determines if a measurement is considered failed.If failureCondition is set, then successCondition is not allowed. When choosing Jenkins as the provider, there is no need to send this variable.
- failureLimit Number
- The maximum number of times the measurement is allowed to fail, before the entire metric is considered failed.Default is 0. When choosing Jenkinsas the provider, there is no need to send this variable.
- initialDelay String
- How long to wait before starting this metric measurements. When choosing Jenkins as the provider, there is no need to send this variable.
- interval String
- Defines an interval string (30s, 5m, 1h) between each verification measurements. If omitted, will perform a single measurement.When choosing Jenkins as the provider, there is no need to send this variable.
- successCondition String
- An expression which determines if a measurement is considered successful. The keyword resultis a variable reference to the value of measurement. Results can be both structured data or primitive. If successCondition is set, then failureCondition is not allowed. When choosingJenkinsas the provider, there is no need to send this variable.
VerificationTemplateMetricBaseline, VerificationTemplateMetricBaselineArgs        
- BaselineProviders List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Baseline Baseline Provider> 
- The name of the monitoring tool chosen for the metric.
- Threshold string
- A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
- MaxRange int
- Number in percent we allow the new version’s data result to be under baseline data result.
- MinRange int
- Number in percent we allow the new version’s data result to be under baseline data result.*
- BaselineProviders []VerificationTemplate Metric Baseline Baseline Provider 
- The name of the monitoring tool chosen for the metric.
- Threshold string
- A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
- MaxRange int
- Number in percent we allow the new version’s data result to be under baseline data result.
- MinRange int
- Number in percent we allow the new version’s data result to be under baseline data result.*
- baselineProviders List<VerificationTemplate Metric Baseline Baseline Provider> 
- The name of the monitoring tool chosen for the metric.
- threshold String
- A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
- maxRange Integer
- Number in percent we allow the new version’s data result to be under baseline data result.
- minRange Integer
- Number in percent we allow the new version’s data result to be under baseline data result.*
- baselineProviders VerificationTemplate Metric Baseline Baseline Provider[] 
- The name of the monitoring tool chosen for the metric.
- threshold string
- A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
- maxRange number
- Number in percent we allow the new version’s data result to be under baseline data result.
- minRange number
- Number in percent we allow the new version’s data result to be under baseline data result.*
- baseline_providers Sequence[VerificationTemplate Metric Baseline Baseline Provider] 
- The name of the monitoring tool chosen for the metric.
- threshold str
- A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
- max_range int
- Number in percent we allow the new version’s data result to be under baseline data result.
- min_range int
- Number in percent we allow the new version’s data result to be under baseline data result.*
- baselineProviders List<Property Map>
- The name of the monitoring tool chosen for the metric.
- threshold String
- A mathematical expression needed for the comparison. Enum: "<" ">" "<=" ">=" "=" "range"
- maxRange Number
- Number in percent we allow the new version’s data result to be under baseline data result.
- minRange Number
- Number in percent we allow the new version’s data result to be under baseline data result.*
VerificationTemplateMetricBaselineBaselineProvider, VerificationTemplateMetricBaselineBaselineProviderArgs            
- Datadog
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Baseline Baseline Provider Datadog 
- The datadog provider.
- NewRelic Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Baseline Baseline Provider New Relic 
- The New Relic provider.
- Prometheus
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Baseline Baseline Provider Prometheus 
- The Prometheus provider.
- Datadog
VerificationTemplate Metric Baseline Baseline Provider Datadog 
- The datadog provider.
- NewRelic VerificationTemplate Metric Baseline Baseline Provider New Relic 
- The New Relic provider.
- Prometheus
VerificationTemplate Metric Baseline Baseline Provider Prometheus 
- The Prometheus provider.
- datadog
VerificationTemplate Metric Baseline Baseline Provider Datadog 
- The datadog provider.
- newRelic VerificationTemplate Metric Baseline Baseline Provider New Relic 
- The New Relic provider.
- prometheus
VerificationTemplate Metric Baseline Baseline Provider Prometheus 
- The Prometheus provider.
- datadog
VerificationTemplate Metric Baseline Baseline Provider Datadog 
- The datadog provider.
- newRelic VerificationTemplate Metric Baseline Baseline Provider New Relic 
- The New Relic provider.
- prometheus
VerificationTemplate Metric Baseline Baseline Provider Prometheus 
- The Prometheus provider.
- datadog
VerificationTemplate Metric Baseline Baseline Provider Datadog 
- The datadog provider.
- new_relic VerificationTemplate Metric Baseline Baseline Provider New Relic 
- The New Relic provider.
- prometheus
VerificationTemplate Metric Baseline Baseline Provider Prometheus 
- The Prometheus provider.
- datadog Property Map
- The datadog provider.
- newRelic Property Map
- The New Relic provider.
- prometheus Property Map
- The Prometheus provider.
VerificationTemplateMetricBaselineBaselineProviderDatadog, VerificationTemplateMetricBaselineBaselineProviderDatadogArgs              
- DatadogQuery string
- A request for information retrieved from Datadog.
- Duration string
- The window of time we are looking at in DataDog.
- DatadogQuery string
- A request for information retrieved from Datadog.
- Duration string
- The window of time we are looking at in DataDog.
- datadogQuery String
- A request for information retrieved from Datadog.
- duration String
- The window of time we are looking at in DataDog.
- datadogQuery string
- A request for information retrieved from Datadog.
- duration string
- The window of time we are looking at in DataDog.
- datadog_query str
- A request for information retrieved from Datadog.
- duration str
- The window of time we are looking at in DataDog.
- datadogQuery String
- A request for information retrieved from Datadog.
- duration String
- The window of time we are looking at in DataDog.
VerificationTemplateMetricBaselineBaselineProviderNewRelic, VerificationTemplateMetricBaselineBaselineProviderNewRelicArgs                
- NewRelic stringQuery 
- A raw newrelic NRQL query to perform.
- Profile string
- The name of the secret holding NR account configuration.
- NewRelic stringQuery 
- A raw newrelic NRQL query to perform.
- Profile string
- The name of the secret holding NR account configuration.
- newRelic StringQuery 
- A raw newrelic NRQL query to perform.
- profile String
- The name of the secret holding NR account configuration.
- newRelic stringQuery 
- A raw newrelic NRQL query to perform.
- profile string
- The name of the secret holding NR account configuration.
- new_relic_ strquery 
- A raw newrelic NRQL query to perform.
- profile str
- The name of the secret holding NR account configuration.
- newRelic StringQuery 
- A raw newrelic NRQL query to perform.
- profile String
- The name of the secret holding NR account configuration.
VerificationTemplateMetricBaselineBaselineProviderPrometheus, VerificationTemplateMetricBaselineBaselineProviderPrometheusArgs              
- PrometheusQuery string
- A request for information retrieved from Prometheus.
- PrometheusQuery string
- A request for information retrieved from Prometheus.
- prometheusQuery String
- A request for information retrieved from Prometheus.
- prometheusQuery string
- A request for information retrieved from Prometheus.
- prometheus_query str
- A request for information retrieved from Prometheus.
- prometheusQuery String
- A request for information retrieved from Prometheus.
VerificationTemplateMetricProvider, VerificationTemplateMetricProviderArgs        
- CloudWatch Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Cloud Watch 
- The CloudWatch provider.
- Datadog
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Datadog 
- The datadog provider.
- Jenkins
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Jenkins 
- The Jenkins provider. Default is "{$}"
- Job
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Job 
- The Job provider.
- NewRelic Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider New Relic 
- The New Relic provider.
- Prometheus
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Prometheus 
- The Prometheus provider.
- Web
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Web 
- The Web provider.
- CloudWatch VerificationTemplate Metric Provider Cloud Watch 
- The CloudWatch provider.
- Datadog
VerificationTemplate Metric Provider Datadog 
- The datadog provider.
- Jenkins
VerificationTemplate Metric Provider Jenkins 
- The Jenkins provider. Default is "{$}"
- Job
VerificationTemplate Metric Provider Job 
- The Job provider.
- NewRelic VerificationTemplate Metric Provider New Relic 
- The New Relic provider.
- Prometheus
VerificationTemplate Metric Provider Prometheus 
- The Prometheus provider.
- Web
VerificationTemplate Metric Provider Web 
- The Web provider.
- cloudWatch VerificationTemplate Metric Provider Cloud Watch 
- The CloudWatch provider.
- datadog
VerificationTemplate Metric Provider Datadog 
- The datadog provider.
- jenkins
VerificationTemplate Metric Provider Jenkins 
- The Jenkins provider. Default is "{$}"
- job
VerificationTemplate Metric Provider Job 
- The Job provider.
- newRelic VerificationTemplate Metric Provider New Relic 
- The New Relic provider.
- prometheus
VerificationTemplate Metric Provider Prometheus 
- The Prometheus provider.
- web
VerificationTemplate Metric Provider Web 
- The Web provider.
- cloudWatch VerificationTemplate Metric Provider Cloud Watch 
- The CloudWatch provider.
- datadog
VerificationTemplate Metric Provider Datadog 
- The datadog provider.
- jenkins
VerificationTemplate Metric Provider Jenkins 
- The Jenkins provider. Default is "{$}"
- job
VerificationTemplate Metric Provider Job 
- The Job provider.
- newRelic VerificationTemplate Metric Provider New Relic 
- The New Relic provider.
- prometheus
VerificationTemplate Metric Provider Prometheus 
- The Prometheus provider.
- web
VerificationTemplate Metric Provider Web 
- The Web provider.
- cloud_watch VerificationTemplate Metric Provider Cloud Watch 
- The CloudWatch provider.
- datadog
VerificationTemplate Metric Provider Datadog 
- The datadog provider.
- jenkins
VerificationTemplate Metric Provider Jenkins 
- The Jenkins provider. Default is "{$}"
- job
VerificationTemplate Metric Provider Job 
- The Job provider.
- new_relic VerificationTemplate Metric Provider New Relic 
- The New Relic provider.
- prometheus
VerificationTemplate Metric Provider Prometheus 
- The Prometheus provider.
- web
VerificationTemplate Metric Provider Web 
- The Web provider.
- cloudWatch Property Map
- The CloudWatch provider.
- datadog Property Map
- The datadog provider.
- jenkins Property Map
- The Jenkins provider. Default is "{$}"
- job Property Map
- The Job provider.
- newRelic Property Map
- The New Relic provider.
- prometheus Property Map
- The Prometheus provider.
- web Property Map
- The Web provider.
VerificationTemplateMetricProviderCloudWatch, VerificationTemplateMetricProviderCloudWatchArgs            
- MetricData List<Pulumi.Queries Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Cloud Watch Metric Data Query> 
- The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
- Duration string
- The window of time we are looking at in CloudWatch.
- MetricData []VerificationQueries Template Metric Provider Cloud Watch Metric Data Query 
- The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
- Duration string
- The window of time we are looking at in CloudWatch.
- metricData List<VerificationQueries Template Metric Provider Cloud Watch Metric Data Query> 
- The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
- duration String
- The window of time we are looking at in CloudWatch.
- metricData VerificationQueries Template Metric Provider Cloud Watch Metric Data Query[] 
- The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
- duration string
- The window of time we are looking at in CloudWatch.
- metric_data_ Sequence[Verificationqueries Template Metric Provider Cloud Watch Metric Data Query] 
- The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
- duration str
- The window of time we are looking at in CloudWatch.
- metricData List<Property Map>Queries 
- The metric queries to be returned. A single MetricData call can include as many as 500 MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query, or a math expression to perform on retrieved data.
- duration String
- The window of time we are looking at in CloudWatch.
VerificationTemplateMetricProviderCloudWatchMetricDataQuery, VerificationTemplateMetricProviderCloudWatchMetricDataQueryArgs                  
- Id string
- The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
- Expression string
- This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
- Label string
- A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
- MetricStat Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Cloud Watch Metric Data Query Metric Stat 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
- Period int
- The granularity, in seconds, of the returned data points.
- ReturnData bool
- This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default oftrueis used.
- Id string
- The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
- Expression string
- This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
- Label string
- A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
- MetricStat VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
- Period int
- The granularity, in seconds, of the returned data points.
- ReturnData bool
- This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default oftrueis used.
- id String
- The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
- expression String
- This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
- label String
- A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
- metricStat VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
- period Integer
- The granularity, in seconds, of the returned data points.
- returnData Boolean
- This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default oftrueis used.
- id string
- The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
- expression string
- This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
- label string
- A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
- metricStat VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
- period number
- The granularity, in seconds, of the returned data points.
- returnData boolean
- This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default oftrueis used.
- id str
- The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
- expression str
- This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
- label str
- A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
- metric_stat VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat 
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
- period int
- The granularity, in seconds, of the returned data points.
- return_data bool
- This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default oftrueis used.
- id String
- The response ID. Must be unique and not null. This object can contain characters, letters, numbers and underscore. The first letter must be a lowercase letter.
- expression String
- This field can contain either a Metrics Insights query, or a metric math expression to be performed on the returned data. Within one metricdataquery object, you must specify either expression or metricstat but not both.
- label String
- A human-readable label for this metric or expression. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown
- metricStat Property Map
- The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.Within one metricdataquery object, you must specify either expression or metricstat but not both.
- period Number
- The granularity, in seconds, of the returned data points.
- returnData Boolean
- This option indicates whether to return the timestamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify false. If you omit this, the default oftrueis used.
VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStat, VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatArgs                      
- Metric
Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Cloud Watch Metric Data Query Metric Stat Metric 
- The metric to return, including the metric name, namespace, and dimensions.
- MetricPeriod int
- The granularity, in seconds, of the returned data points.
- Stat string
- The statistic to return. It can include any CloudWatch statistic or extended statistic.
- Unit string
- This defines what unit you want to use when storing the metric. Enum: "Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"
- Metric
VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric 
- The metric to return, including the metric name, namespace, and dimensions.
- MetricPeriod int
- The granularity, in seconds, of the returned data points.
- Stat string
- The statistic to return. It can include any CloudWatch statistic or extended statistic.
- Unit string
- This defines what unit you want to use when storing the metric. Enum: "Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"
- metric
VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric 
- The metric to return, including the metric name, namespace, and dimensions.
- metricPeriod Integer
- The granularity, in seconds, of the returned data points.
- stat String
- The statistic to return. It can include any CloudWatch statistic or extended statistic.
- unit String
- This defines what unit you want to use when storing the metric. Enum: "Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"
- metric
VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric 
- The metric to return, including the metric name, namespace, and dimensions.
- metricPeriod number
- The granularity, in seconds, of the returned data points.
- stat string
- The statistic to return. It can include any CloudWatch statistic or extended statistic.
- unit string
- This defines what unit you want to use when storing the metric. Enum: "Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"
- metric
VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric 
- The metric to return, including the metric name, namespace, and dimensions.
- metric_period int
- The granularity, in seconds, of the returned data points.
- stat str
- The statistic to return. It can include any CloudWatch statistic or extended statistic.
- unit str
- This defines what unit you want to use when storing the metric. Enum: "Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"
- metric Property Map
- The metric to return, including the metric name, namespace, and dimensions.
- metricPeriod Number
- The granularity, in seconds, of the returned data points.
- stat String
- The statistic to return. It can include any CloudWatch statistic or extended statistic.
- unit String
- This defines what unit you want to use when storing the metric. Enum: "Seconds" "Microseconds" "Milliseconds" "Bytes" "Kilobytes" "Megabytes" "Gigabytes" "Terabytes" "Bits" "Kilobits" "Megabits" "Gigabits" "Terabits" "Percent" "Count" "Bytes/Second" "Kilobytes/Second" "Megabytes/Second" "Gigabytes/Second" "Terabytes/Second" "Bits/Second" "Kilobits/Second" "Megabits/Second" "Gigabits/Second" "Terabits/Second" "Count/Second" "None"
VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetric, VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricArgs                        
- MetricName string
- The name of the metric.
- Dimensions
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Cloud Watch Metric Data Query Metric Stat Metric Dimension> 
- A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
- Namespace string
- The namespace of the metric.
- MetricName string
- The name of the metric.
- Dimensions
[]VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric Dimension 
- A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
- Namespace string
- The namespace of the metric.
- metricName String
- The name of the metric.
- dimensions
List<VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric Dimension> 
- A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
- namespace String
- The namespace of the metric.
- metricName string
- The name of the metric.
- dimensions
VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric Dimension[] 
- A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
- namespace string
- The namespace of the metric.
- metric_name str
- The name of the metric.
- dimensions
Sequence[VerificationTemplate Metric Provider Cloud Watch Metric Data Query Metric Stat Metric Dimension] 
- A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
- namespace str
- The namespace of the metric.
- metricName String
- The name of the metric.
- dimensions List<Property Map>
- A dimension is a name/value pair that is part of the identity of a metric.You can assign upto 30 dimensions to a metric
- namespace String
- The namespace of the metric.
VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimension, VerificationTemplateMetricProviderCloudWatchMetricDataQueryMetricStatMetricDimensionArgs                          
- DimensionName string
- The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
- DimensionValue string
- The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
- DimensionName string
- The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
- DimensionValue string
- The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimensionName String
- The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimensionValue String
- The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimensionName string
- The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimensionValue string
- The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimension_name str
- The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimension_value str
- The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimensionName String
- The name of the dimensions. These values must contain only ASCII characters and must include at least one non-whitespace characte
- dimensionValue String
- The value of the dimensions.These values must contain only ASCII characters and must include at least one non-whitespace characte
VerificationTemplateMetricProviderDatadog, VerificationTemplateMetricProviderDatadogArgs          
- DatadogQuery string
- A request for information retrieved from Datadog.
- Duration string
- The window of time we are looking at in DataDog.
- DatadogQuery string
- A request for information retrieved from Datadog.
- Duration string
- The window of time we are looking at in DataDog.
- datadogQuery String
- A request for information retrieved from Datadog.
- duration String
- The window of time we are looking at in DataDog.
- datadogQuery string
- A request for information retrieved from Datadog.
- duration string
- The window of time we are looking at in DataDog.
- datadog_query str
- A request for information retrieved from Datadog.
- duration str
- The window of time we are looking at in DataDog.
- datadogQuery String
- A request for information retrieved from Datadog.
- duration String
- The window of time we are looking at in DataDog.
VerificationTemplateMetricProviderJenkins, VerificationTemplateMetricProviderJenkinsArgs          
- JenkinsInterval string
- The interval time to poll status.
- PipelineName string
- The Jenkins pipeline name.
- Timeout string
- The total jenkins timeout.
- JenkinsParameters Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Jenkins Jenkins Parameters 
- List of parameters.
- TlsVerification bool
- Host TLS verification.
- JenkinsInterval string
- The interval time to poll status.
- PipelineName string
- The Jenkins pipeline name.
- Timeout string
- The total jenkins timeout.
- JenkinsParameters VerificationTemplate Metric Provider Jenkins Jenkins Parameters 
- List of parameters.
- TlsVerification bool
- Host TLS verification.
- jenkinsInterval String
- The interval time to poll status.
- pipelineName String
- The Jenkins pipeline name.
- timeout String
- The total jenkins timeout.
- jenkinsParameters VerificationTemplate Metric Provider Jenkins Jenkins Parameters 
- List of parameters.
- tlsVerification Boolean
- Host TLS verification.
- jenkinsInterval string
- The interval time to poll status.
- pipelineName string
- The Jenkins pipeline name.
- timeout string
- The total jenkins timeout.
- jenkinsParameters VerificationTemplate Metric Provider Jenkins Jenkins Parameters 
- List of parameters.
- tlsVerification boolean
- Host TLS verification.
- jenkins_interval str
- The interval time to poll status.
- pipeline_name str
- The Jenkins pipeline name.
- timeout str
- The total jenkins timeout.
- jenkins_parameters VerificationTemplate Metric Provider Jenkins Jenkins Parameters 
- List of parameters.
- tls_verification bool
- Host TLS verification.
- jenkinsInterval String
- The interval time to poll status.
- pipelineName String
- The Jenkins pipeline name.
- timeout String
- The total jenkins timeout.
- jenkinsParameters Property Map
- List of parameters.
- tlsVerification Boolean
- Host TLS verification.
VerificationTemplateMetricProviderJenkinsJenkinsParameters, VerificationTemplateMetricProviderJenkinsJenkinsParametersArgs              
- ParameterKey string
- Key of an argument.
- ParameterValue string
- Value of an argument.
- ParameterKey string
- Key of an argument.
- ParameterValue string
- Value of an argument.
- parameterKey String
- Key of an argument.
- parameterValue String
- Value of an argument.
- parameterKey string
- Key of an argument.
- parameterValue string
- Value of an argument.
- parameter_key str
- Key of an argument.
- parameter_value str
- Value of an argument.
- parameterKey String
- Key of an argument.
- parameterValue String
- Value of an argument.
VerificationTemplateMetricProviderJob, VerificationTemplateMetricProviderJobArgs          
- Specs
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Job Spec> 
- The job spec require to run the metric.
- Specs
[]VerificationTemplate Metric Provider Job Spec 
- The job spec require to run the metric.
- specs
List<VerificationTemplate Metric Provider Job Spec> 
- The job spec require to run the metric.
- specs
VerificationTemplate Metric Provider Job Spec[] 
- The job spec require to run the metric.
- specs
Sequence[VerificationTemplate Metric Provider Job Spec] 
- The job spec require to run the metric.
- specs List<Property Map>
- The job spec require to run the metric.
VerificationTemplateMetricProviderJobSpec, VerificationTemplateMetricProviderJobSpecArgs            
- JobTemplates List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Job Spec Job Template> 
- Describes the pod that will be created when executing a job.
- BackoffLimit int
- Specifies the number of retries before marking this job failed.
- JobTemplates []VerificationTemplate Metric Provider Job Spec Job Template 
- Describes the pod that will be created when executing a job.
- BackoffLimit int
- Specifies the number of retries before marking this job failed.
- jobTemplates List<VerificationTemplate Metric Provider Job Spec Job Template> 
- Describes the pod that will be created when executing a job.
- backoffLimit Integer
- Specifies the number of retries before marking this job failed.
- jobTemplates VerificationTemplate Metric Provider Job Spec Job Template[] 
- Describes the pod that will be created when executing a job.
- backoffLimit number
- Specifies the number of retries before marking this job failed.
- job_templates Sequence[VerificationTemplate Metric Provider Job Spec Job Template] 
- Describes the pod that will be created when executing a job.
- backoff_limit int
- Specifies the number of retries before marking this job failed.
- jobTemplates List<Property Map>
- Describes the pod that will be created when executing a job.
- backoffLimit Number
- Specifies the number of retries before marking this job failed.
VerificationTemplateMetricProviderJobSpecJobTemplate, VerificationTemplateMetricProviderJobSpecJobTemplateArgs                
- TemplateSpecs List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Job Spec Job Template Template Spec> 
- Specification of the desired behavior of the pod.
- TemplateSpecs []VerificationTemplate Metric Provider Job Spec Job Template Template Spec 
- Specification of the desired behavior of the pod.
- templateSpecs List<VerificationTemplate Metric Provider Job Spec Job Template Template Spec> 
- Specification of the desired behavior of the pod.
- templateSpecs VerificationTemplate Metric Provider Job Spec Job Template Template Spec[] 
- Specification of the desired behavior of the pod.
- template_specs Sequence[VerificationTemplate Metric Provider Job Spec Job Template Template Spec] 
- Specification of the desired behavior of the pod.
- templateSpecs List<Property Map>
- Specification of the desired behavior of the pod.
VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpec, VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecArgs                    
- Containers
List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Job Spec Job Template Template Spec Container> 
- A list of containers belonging to the pod.
- RestartPolicy string
- Restart policy for all containers within the pod. Enum: "Never" "OnFailure"
- Containers
[]VerificationTemplate Metric Provider Job Spec Job Template Template Spec Container 
- A list of containers belonging to the pod.
- RestartPolicy string
- Restart policy for all containers within the pod. Enum: "Never" "OnFailure"
- containers
List<VerificationTemplate Metric Provider Job Spec Job Template Template Spec Container> 
- A list of containers belonging to the pod.
- restartPolicy String
- Restart policy for all containers within the pod. Enum: "Never" "OnFailure"
- containers
VerificationTemplate Metric Provider Job Spec Job Template Template Spec Container[] 
- A list of containers belonging to the pod.
- restartPolicy string
- Restart policy for all containers within the pod. Enum: "Never" "OnFailure"
- containers
Sequence[VerificationTemplate Metric Provider Job Spec Job Template Template Spec Container] 
- A list of containers belonging to the pod.
- restart_policy str
- Restart policy for all containers within the pod. Enum: "Never" "OnFailure"
- containers List<Property Map>
- A list of containers belonging to the pod.
- restartPolicy String
- Restart policy for all containers within the pod. Enum: "Never" "OnFailure"
VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainer, VerificationTemplateMetricProviderJobSpecJobTemplateTemplateSpecContainerArgs                      
- Commands List<string>
- The entry point of a container.
- ContainerName string
- The name of a container.
- Image string
- The image name of a container.
- Commands []string
- The entry point of a container.
- ContainerName string
- The name of a container.
- Image string
- The image name of a container.
- commands List<String>
- The entry point of a container.
- containerName String
- The name of a container.
- image String
- The image name of a container.
- commands string[]
- The entry point of a container.
- containerName string
- The name of a container.
- image string
- The image name of a container.
- commands Sequence[str]
- The entry point of a container.
- container_name str
- The name of a container.
- image str
- The image name of a container.
- commands List<String>
- The entry point of a container.
- containerName String
- The name of a container.
- image String
- The image name of a container.
VerificationTemplateMetricProviderNewRelic, VerificationTemplateMetricProviderNewRelicArgs            
- NewRelic stringQuery 
- A raw newrelic NRQL query to perform.
- Profile string
- The name of the secret holding NR account configuration.
- NewRelic stringQuery 
- A raw newrelic NRQL query to perform.
- Profile string
- The name of the secret holding NR account configuration.
- newRelic StringQuery 
- A raw newrelic NRQL query to perform.
- profile String
- The name of the secret holding NR account configuration.
- newRelic stringQuery 
- A raw newrelic NRQL query to perform.
- profile string
- The name of the secret holding NR account configuration.
- new_relic_ strquery 
- A raw newrelic NRQL query to perform.
- profile str
- The name of the secret holding NR account configuration.
- newRelic StringQuery 
- A raw newrelic NRQL query to perform.
- profile String
- The name of the secret holding NR account configuration.
VerificationTemplateMetricProviderPrometheus, VerificationTemplateMetricProviderPrometheusArgs          
- PrometheusQuery string
- A request for information retrieved from Prometheus.
- PrometheusQuery string
- A request for information retrieved from Prometheus.
- prometheusQuery String
- A request for information retrieved from Prometheus.
- prometheusQuery string
- A request for information retrieved from Prometheus.
- prometheus_query str
- A request for information retrieved from Prometheus.
- prometheusQuery String
- A request for information retrieved from Prometheus.
VerificationTemplateMetricProviderWeb, VerificationTemplateMetricProviderWebArgs          
- Url string
- The address of the web metric.
- Body string
- The body of the web metric.
- Insecure bool
- Skips host TLS verification.
- JsonPath string
- A JSON Path to use as the result variable. Default is "{$}"
- Method string
- The method of the web metric. Enum: "GET" "POST" "PUT"
- TimeoutSeconds int
- The timeout for the request in seconds. Default is 10.
- WebHeaders List<Pulumi.Spot Inst. Oceancd. Inputs. Verification Template Metric Provider Web Web Header> 
- Optional HTTP headers to use in the request.
- Url string
- The address of the web metric.
- Body string
- The body of the web metric.
- Insecure bool
- Skips host TLS verification.
- JsonPath string
- A JSON Path to use as the result variable. Default is "{$}"
- Method string
- The method of the web metric. Enum: "GET" "POST" "PUT"
- TimeoutSeconds int
- The timeout for the request in seconds. Default is 10.
- WebHeaders []VerificationTemplate Metric Provider Web Web Header 
- Optional HTTP headers to use in the request.
- url String
- The address of the web metric.
- body String
- The body of the web metric.
- insecure Boolean
- Skips host TLS verification.
- jsonPath String
- A JSON Path to use as the result variable. Default is "{$}"
- method String
- The method of the web metric. Enum: "GET" "POST" "PUT"
- timeoutSeconds Integer
- The timeout for the request in seconds. Default is 10.
- webHeaders List<VerificationTemplate Metric Provider Web Web Header> 
- Optional HTTP headers to use in the request.
- url string
- The address of the web metric.
- body string
- The body of the web metric.
- insecure boolean
- Skips host TLS verification.
- jsonPath string
- A JSON Path to use as the result variable. Default is "{$}"
- method string
- The method of the web metric. Enum: "GET" "POST" "PUT"
- timeoutSeconds number
- The timeout for the request in seconds. Default is 10.
- webHeaders VerificationTemplate Metric Provider Web Web Header[] 
- Optional HTTP headers to use in the request.
- url str
- The address of the web metric.
- body str
- The body of the web metric.
- insecure bool
- Skips host TLS verification.
- json_path str
- A JSON Path to use as the result variable. Default is "{$}"
- method str
- The method of the web metric. Enum: "GET" "POST" "PUT"
- timeout_seconds int
- The timeout for the request in seconds. Default is 10.
- web_headers Sequence[VerificationTemplate Metric Provider Web Web Header] 
- Optional HTTP headers to use in the request.
- url String
- The address of the web metric.
- body String
- The body of the web metric.
- insecure Boolean
- Skips host TLS verification.
- jsonPath String
- A JSON Path to use as the result variable. Default is "{$}"
- method String
- The method of the web metric. Enum: "GET" "POST" "PUT"
- timeoutSeconds Number
- The timeout for the request in seconds. Default is 10.
- webHeaders List<Property Map>
- Optional HTTP headers to use in the request.
VerificationTemplateMetricProviderWebWebHeader, VerificationTemplateMetricProviderWebWebHeaderArgs              
- WebHeader stringKey 
- The name of a header
- WebHeader stringValue 
- The value of a header
- WebHeader stringKey 
- The name of a header
- WebHeader stringValue 
- The value of a header
- webHeader StringKey 
- The name of a header
- webHeader StringValue 
- The value of a header
- webHeader stringKey 
- The name of a header
- webHeader stringValue 
- The value of a header
- web_header_ strkey 
- The name of a header
- web_header_ strvalue 
- The value of a header
- webHeader StringKey 
- The name of a header
- webHeader StringValue 
- The value of a header
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the spotinstTerraform Provider.