1. Packages
  2. New Relic
  3. API Docs
  4. synthetics
  5. StepMonitor
New Relic v5.36.1 published on Tuesday, Nov 12, 2024 by Pulumi

newrelic.synthetics.StepMonitor

Explore with Pulumi AI

newrelic logo
New Relic v5.36.1 published on Tuesday, Nov 12, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as newrelic from "@pulumi/newrelic";
    
    const foo = new newrelic.synthetics.StepMonitor("foo", {
        name: "Sample Step Monitor",
        enableScreenshotOnFailureAndScript: true,
        locationsPublics: [
            "US_EAST_1",
            "US_EAST_2",
        ],
        period: "EVERY_6_HOURS",
        status: "ENABLED",
        runtimeType: "CHROME_BROWSER",
        runtimeTypeVersion: "100",
        devices: [
            "DESKTOP",
            "MOBILE_PORTRAIT",
            "TABLET_LANDSCAPE",
        ],
        browsers: ["CHROME"],
        steps: [{
            ordinal: 0,
            type: "NAVIGATE",
            values: ["https://www.newrelic.com"],
        }],
        tags: [{
            key: "some_key",
            values: ["some_value"],
        }],
    });
    
    import pulumi
    import pulumi_newrelic as newrelic
    
    foo = newrelic.synthetics.StepMonitor("foo",
        name="Sample Step Monitor",
        enable_screenshot_on_failure_and_script=True,
        locations_publics=[
            "US_EAST_1",
            "US_EAST_2",
        ],
        period="EVERY_6_HOURS",
        status="ENABLED",
        runtime_type="CHROME_BROWSER",
        runtime_type_version="100",
        devices=[
            "DESKTOP",
            "MOBILE_PORTRAIT",
            "TABLET_LANDSCAPE",
        ],
        browsers=["CHROME"],
        steps=[{
            "ordinal": 0,
            "type": "NAVIGATE",
            "values": ["https://www.newrelic.com"],
        }],
        tags=[{
            "key": "some_key",
            "values": ["some_value"],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/synthetics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := synthetics.NewStepMonitor(ctx, "foo", &synthetics.StepMonitorArgs{
    			Name:                               pulumi.String("Sample Step Monitor"),
    			EnableScreenshotOnFailureAndScript: pulumi.Bool(true),
    			LocationsPublics: pulumi.StringArray{
    				pulumi.String("US_EAST_1"),
    				pulumi.String("US_EAST_2"),
    			},
    			Period:             pulumi.String("EVERY_6_HOURS"),
    			Status:             pulumi.String("ENABLED"),
    			RuntimeType:        pulumi.String("CHROME_BROWSER"),
    			RuntimeTypeVersion: pulumi.String("100"),
    			Devices: pulumi.StringArray{
    				pulumi.String("DESKTOP"),
    				pulumi.String("MOBILE_PORTRAIT"),
    				pulumi.String("TABLET_LANDSCAPE"),
    			},
    			Browsers: pulumi.StringArray{
    				pulumi.String("CHROME"),
    			},
    			Steps: synthetics.StepMonitorStepArray{
    				&synthetics.StepMonitorStepArgs{
    					Ordinal: pulumi.Int(0),
    					Type:    pulumi.String("NAVIGATE"),
    					Values: pulumi.StringArray{
    						pulumi.String("https://www.newrelic.com"),
    					},
    				},
    			},
    			Tags: synthetics.StepMonitorTagArray{
    				&synthetics.StepMonitorTagArgs{
    					Key: pulumi.String("some_key"),
    					Values: pulumi.StringArray{
    						pulumi.String("some_value"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using NewRelic = Pulumi.NewRelic;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new NewRelic.Synthetics.StepMonitor("foo", new()
        {
            Name = "Sample Step Monitor",
            EnableScreenshotOnFailureAndScript = true,
            LocationsPublics = new[]
            {
                "US_EAST_1",
                "US_EAST_2",
            },
            Period = "EVERY_6_HOURS",
            Status = "ENABLED",
            RuntimeType = "CHROME_BROWSER",
            RuntimeTypeVersion = "100",
            Devices = new[]
            {
                "DESKTOP",
                "MOBILE_PORTRAIT",
                "TABLET_LANDSCAPE",
            },
            Browsers = new[]
            {
                "CHROME",
            },
            Steps = new[]
            {
                new NewRelic.Synthetics.Inputs.StepMonitorStepArgs
                {
                    Ordinal = 0,
                    Type = "NAVIGATE",
                    Values = new[]
                    {
                        "https://www.newrelic.com",
                    },
                },
            },
            Tags = new[]
            {
                new NewRelic.Synthetics.Inputs.StepMonitorTagArgs
                {
                    Key = "some_key",
                    Values = new[]
                    {
                        "some_value",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.newrelic.synthetics.StepMonitor;
    import com.pulumi.newrelic.synthetics.StepMonitorArgs;
    import com.pulumi.newrelic.synthetics.inputs.StepMonitorStepArgs;
    import com.pulumi.newrelic.synthetics.inputs.StepMonitorTagArgs;
    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 foo = new StepMonitor("foo", StepMonitorArgs.builder()
                .name("Sample Step Monitor")
                .enableScreenshotOnFailureAndScript(true)
                .locationsPublics(            
                    "US_EAST_1",
                    "US_EAST_2")
                .period("EVERY_6_HOURS")
                .status("ENABLED")
                .runtimeType("CHROME_BROWSER")
                .runtimeTypeVersion("100")
                .devices(            
                    "DESKTOP",
                    "MOBILE_PORTRAIT",
                    "TABLET_LANDSCAPE")
                .browsers("CHROME")
                .steps(StepMonitorStepArgs.builder()
                    .ordinal(0)
                    .type("NAVIGATE")
                    .values("https://www.newrelic.com")
                    .build())
                .tags(StepMonitorTagArgs.builder()
                    .key("some_key")
                    .values("some_value")
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: newrelic:synthetics:StepMonitor
        properties:
          name: Sample Step Monitor
          enableScreenshotOnFailureAndScript: true
          locationsPublics:
            - US_EAST_1
            - US_EAST_2
          period: EVERY_6_HOURS
          status: ENABLED
          runtimeType: CHROME_BROWSER
          runtimeTypeVersion: '100'
          devices:
            - DESKTOP
            - MOBILE_PORTRAIT
            - TABLET_LANDSCAPE
          browsers:
            - CHROME
          steps:
            - ordinal: 0
              type: NAVIGATE
              values:
                - https://www.newrelic.com
          tags:
            - key: some_key
              values:
                - some_value
    

    See additional examples.

    Additional Examples

    Create a monitor with a private location

    The below example shows how you can define a private location and attach it to a monitor.

    NOTE: It can take up to 10 minutes for a private location to become available.

    import * as pulumi from "@pulumi/pulumi";
    import * as newrelic from "@pulumi/newrelic";
    
    const foo = new newrelic.synthetics.PrivateLocation("foo", {
        name: "Sample Private Location",
        description: "Sample Private Location Description",
        verifiedScriptExecution: true,
    });
    const fooStepMonitor = new newrelic.synthetics.StepMonitor("foo", {
        name: "Sample Step Monitor",
        period: "EVERY_6_HOURS",
        status: "ENABLED",
        runtimeType: "CHROME_BROWSER",
        runtimeTypeVersion: "100",
        devices: [
            "DESKTOP",
            "MOBILE_PORTRAIT",
            "TABLET_LANDSCAPE",
        ],
        browsers: ["CHROME"],
        locationPrivates: [{
            guid: foo.id,
            vsePassword: "secret",
        }],
        steps: [{
            ordinal: 0,
            type: "NAVIGATE",
            values: ["https://google.com"],
        }],
        tags: [{
            key: "some_key",
            values: ["some_value"],
        }],
    });
    
    import pulumi
    import pulumi_newrelic as newrelic
    
    foo = newrelic.synthetics.PrivateLocation("foo",
        name="Sample Private Location",
        description="Sample Private Location Description",
        verified_script_execution=True)
    foo_step_monitor = newrelic.synthetics.StepMonitor("foo",
        name="Sample Step Monitor",
        period="EVERY_6_HOURS",
        status="ENABLED",
        runtime_type="CHROME_BROWSER",
        runtime_type_version="100",
        devices=[
            "DESKTOP",
            "MOBILE_PORTRAIT",
            "TABLET_LANDSCAPE",
        ],
        browsers=["CHROME"],
        location_privates=[{
            "guid": foo.id,
            "vse_password": "secret",
        }],
        steps=[{
            "ordinal": 0,
            "type": "NAVIGATE",
            "values": ["https://google.com"],
        }],
        tags=[{
            "key": "some_key",
            "values": ["some_value"],
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/synthetics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		foo, err := synthetics.NewPrivateLocation(ctx, "foo", &synthetics.PrivateLocationArgs{
    			Name:                    pulumi.String("Sample Private Location"),
    			Description:             pulumi.String("Sample Private Location Description"),
    			VerifiedScriptExecution: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = synthetics.NewStepMonitor(ctx, "foo", &synthetics.StepMonitorArgs{
    			Name:               pulumi.String("Sample Step Monitor"),
    			Period:             pulumi.String("EVERY_6_HOURS"),
    			Status:             pulumi.String("ENABLED"),
    			RuntimeType:        pulumi.String("CHROME_BROWSER"),
    			RuntimeTypeVersion: pulumi.String("100"),
    			Devices: pulumi.StringArray{
    				pulumi.String("DESKTOP"),
    				pulumi.String("MOBILE_PORTRAIT"),
    				pulumi.String("TABLET_LANDSCAPE"),
    			},
    			Browsers: pulumi.StringArray{
    				pulumi.String("CHROME"),
    			},
    			LocationPrivates: synthetics.StepMonitorLocationPrivateArray{
    				&synthetics.StepMonitorLocationPrivateArgs{
    					Guid:        foo.ID(),
    					VsePassword: pulumi.String("secret"),
    				},
    			},
    			Steps: synthetics.StepMonitorStepArray{
    				&synthetics.StepMonitorStepArgs{
    					Ordinal: pulumi.Int(0),
    					Type:    pulumi.String("NAVIGATE"),
    					Values: pulumi.StringArray{
    						pulumi.String("https://google.com"),
    					},
    				},
    			},
    			Tags: synthetics.StepMonitorTagArray{
    				&synthetics.StepMonitorTagArgs{
    					Key: pulumi.String("some_key"),
    					Values: pulumi.StringArray{
    						pulumi.String("some_value"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using NewRelic = Pulumi.NewRelic;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new NewRelic.Synthetics.PrivateLocation("foo", new()
        {
            Name = "Sample Private Location",
            Description = "Sample Private Location Description",
            VerifiedScriptExecution = true,
        });
    
        var fooStepMonitor = new NewRelic.Synthetics.StepMonitor("foo", new()
        {
            Name = "Sample Step Monitor",
            Period = "EVERY_6_HOURS",
            Status = "ENABLED",
            RuntimeType = "CHROME_BROWSER",
            RuntimeTypeVersion = "100",
            Devices = new[]
            {
                "DESKTOP",
                "MOBILE_PORTRAIT",
                "TABLET_LANDSCAPE",
            },
            Browsers = new[]
            {
                "CHROME",
            },
            LocationPrivates = new[]
            {
                new NewRelic.Synthetics.Inputs.StepMonitorLocationPrivateArgs
                {
                    Guid = foo.Id,
                    VsePassword = "secret",
                },
            },
            Steps = new[]
            {
                new NewRelic.Synthetics.Inputs.StepMonitorStepArgs
                {
                    Ordinal = 0,
                    Type = "NAVIGATE",
                    Values = new[]
                    {
                        "https://google.com",
                    },
                },
            },
            Tags = new[]
            {
                new NewRelic.Synthetics.Inputs.StepMonitorTagArgs
                {
                    Key = "some_key",
                    Values = new[]
                    {
                        "some_value",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.newrelic.synthetics.PrivateLocation;
    import com.pulumi.newrelic.synthetics.PrivateLocationArgs;
    import com.pulumi.newrelic.synthetics.StepMonitor;
    import com.pulumi.newrelic.synthetics.StepMonitorArgs;
    import com.pulumi.newrelic.synthetics.inputs.StepMonitorLocationPrivateArgs;
    import com.pulumi.newrelic.synthetics.inputs.StepMonitorStepArgs;
    import com.pulumi.newrelic.synthetics.inputs.StepMonitorTagArgs;
    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 foo = new PrivateLocation("foo", PrivateLocationArgs.builder()
                .name("Sample Private Location")
                .description("Sample Private Location Description")
                .verifiedScriptExecution(true)
                .build());
    
            var fooStepMonitor = new StepMonitor("fooStepMonitor", StepMonitorArgs.builder()
                .name("Sample Step Monitor")
                .period("EVERY_6_HOURS")
                .status("ENABLED")
                .runtimeType("CHROME_BROWSER")
                .runtimeTypeVersion("100")
                .devices(            
                    "DESKTOP",
                    "MOBILE_PORTRAIT",
                    "TABLET_LANDSCAPE")
                .browsers("CHROME")
                .locationPrivates(StepMonitorLocationPrivateArgs.builder()
                    .guid(foo.id())
                    .vsePassword("secret")
                    .build())
                .steps(StepMonitorStepArgs.builder()
                    .ordinal(0)
                    .type("NAVIGATE")
                    .values("https://google.com")
                    .build())
                .tags(StepMonitorTagArgs.builder()
                    .key("some_key")
                    .values("some_value")
                    .build())
                .build());
    
        }
    }
    
    resources:
      foo:
        type: newrelic:synthetics:PrivateLocation
        properties:
          name: Sample Private Location
          description: Sample Private Location Description
          verifiedScriptExecution: true
      fooStepMonitor:
        type: newrelic:synthetics:StepMonitor
        name: foo
        properties:
          name: Sample Step Monitor
          period: EVERY_6_HOURS
          status: ENABLED
          runtimeType: CHROME_BROWSER
          runtimeTypeVersion: '100'
          devices:
            - DESKTOP
            - MOBILE_PORTRAIT
            - TABLET_LANDSCAPE
          browsers:
            - CHROME
          locationPrivates:
            - guid: ${foo.id}
              vsePassword: secret
          steps:
            - ordinal: 0
              type: NAVIGATE
              values:
                - https://google.com
          tags:
            - key: some_key
              values:
                - some_value
    

    Create StepMonitor Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StepMonitor(name: string, args: StepMonitorArgs, opts?: CustomResourceOptions);
    @overload
    def StepMonitor(resource_name: str,
                    args: StepMonitorArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def StepMonitor(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    period: Optional[str] = None,
                    steps: Optional[Sequence[StepMonitorStepArgs]] = None,
                    status: Optional[str] = None,
                    name: Optional[str] = None,
                    location_privates: Optional[Sequence[StepMonitorLocationPrivateArgs]] = None,
                    locations_publics: Optional[Sequence[str]] = None,
                    account_id: Optional[str] = None,
                    enable_screenshot_on_failure_and_script: Optional[bool] = None,
                    runtime_type: Optional[str] = None,
                    runtime_type_version: Optional[str] = None,
                    devices: Optional[Sequence[str]] = None,
                    browsers: Optional[Sequence[str]] = None,
                    tags: Optional[Sequence[StepMonitorTagArgs]] = None,
                    use_unsupported_legacy_runtime: Optional[bool] = None)
    func NewStepMonitor(ctx *Context, name string, args StepMonitorArgs, opts ...ResourceOption) (*StepMonitor, error)
    public StepMonitor(string name, StepMonitorArgs args, CustomResourceOptions? opts = null)
    public StepMonitor(String name, StepMonitorArgs args)
    public StepMonitor(String name, StepMonitorArgs args, CustomResourceOptions options)
    
    type: newrelic:synthetics:StepMonitor
    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 StepMonitorArgs
    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 StepMonitorArgs
    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 StepMonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StepMonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StepMonitorArgs
    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 stepMonitorResource = new NewRelic.Synthetics.StepMonitor("stepMonitorResource", new()
    {
        Period = "string",
        Steps = new[]
        {
            new NewRelic.Synthetics.Inputs.StepMonitorStepArgs
            {
                Ordinal = 0,
                Type = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        Status = "string",
        Name = "string",
        LocationPrivates = new[]
        {
            new NewRelic.Synthetics.Inputs.StepMonitorLocationPrivateArgs
            {
                Guid = "string",
                VsePassword = "string",
            },
        },
        LocationsPublics = new[]
        {
            "string",
        },
        AccountId = "string",
        EnableScreenshotOnFailureAndScript = false,
        RuntimeType = "string",
        RuntimeTypeVersion = "string",
        Devices = new[]
        {
            "string",
        },
        Browsers = new[]
        {
            "string",
        },
        Tags = new[]
        {
            new NewRelic.Synthetics.Inputs.StepMonitorTagArgs
            {
                Key = "string",
                Values = new[]
                {
                    "string",
                },
            },
        },
        UseUnsupportedLegacyRuntime = false,
    });
    
    example, err := synthetics.NewStepMonitor(ctx, "stepMonitorResource", &synthetics.StepMonitorArgs{
    	Period: pulumi.String("string"),
    	Steps: synthetics.StepMonitorStepArray{
    		&synthetics.StepMonitorStepArgs{
    			Ordinal: pulumi.Int(0),
    			Type:    pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Status: pulumi.String("string"),
    	Name:   pulumi.String("string"),
    	LocationPrivates: synthetics.StepMonitorLocationPrivateArray{
    		&synthetics.StepMonitorLocationPrivateArgs{
    			Guid:        pulumi.String("string"),
    			VsePassword: pulumi.String("string"),
    		},
    	},
    	LocationsPublics: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AccountId:                          pulumi.String("string"),
    	EnableScreenshotOnFailureAndScript: pulumi.Bool(false),
    	RuntimeType:                        pulumi.String("string"),
    	RuntimeTypeVersion:                 pulumi.String("string"),
    	Devices: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Browsers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: synthetics.StepMonitorTagArray{
    		&synthetics.StepMonitorTagArgs{
    			Key: pulumi.String("string"),
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	UseUnsupportedLegacyRuntime: pulumi.Bool(false),
    })
    
    var stepMonitorResource = new StepMonitor("stepMonitorResource", StepMonitorArgs.builder()
        .period("string")
        .steps(StepMonitorStepArgs.builder()
            .ordinal(0)
            .type("string")
            .values("string")
            .build())
        .status("string")
        .name("string")
        .locationPrivates(StepMonitorLocationPrivateArgs.builder()
            .guid("string")
            .vsePassword("string")
            .build())
        .locationsPublics("string")
        .accountId("string")
        .enableScreenshotOnFailureAndScript(false)
        .runtimeType("string")
        .runtimeTypeVersion("string")
        .devices("string")
        .browsers("string")
        .tags(StepMonitorTagArgs.builder()
            .key("string")
            .values("string")
            .build())
        .useUnsupportedLegacyRuntime(false)
        .build());
    
    step_monitor_resource = newrelic.synthetics.StepMonitor("stepMonitorResource",
        period="string",
        steps=[{
            "ordinal": 0,
            "type": "string",
            "values": ["string"],
        }],
        status="string",
        name="string",
        location_privates=[{
            "guid": "string",
            "vse_password": "string",
        }],
        locations_publics=["string"],
        account_id="string",
        enable_screenshot_on_failure_and_script=False,
        runtime_type="string",
        runtime_type_version="string",
        devices=["string"],
        browsers=["string"],
        tags=[{
            "key": "string",
            "values": ["string"],
        }],
        use_unsupported_legacy_runtime=False)
    
    const stepMonitorResource = new newrelic.synthetics.StepMonitor("stepMonitorResource", {
        period: "string",
        steps: [{
            ordinal: 0,
            type: "string",
            values: ["string"],
        }],
        status: "string",
        name: "string",
        locationPrivates: [{
            guid: "string",
            vsePassword: "string",
        }],
        locationsPublics: ["string"],
        accountId: "string",
        enableScreenshotOnFailureAndScript: false,
        runtimeType: "string",
        runtimeTypeVersion: "string",
        devices: ["string"],
        browsers: ["string"],
        tags: [{
            key: "string",
            values: ["string"],
        }],
        useUnsupportedLegacyRuntime: false,
    });
    
    type: newrelic:synthetics:StepMonitor
    properties:
        accountId: string
        browsers:
            - string
        devices:
            - string
        enableScreenshotOnFailureAndScript: false
        locationPrivates:
            - guid: string
              vsePassword: string
        locationsPublics:
            - string
        name: string
        period: string
        runtimeType: string
        runtimeTypeVersion: string
        status: string
        steps:
            - ordinal: 0
              type: string
              values:
                - string
        tags:
            - key: string
              values:
                - string
        useUnsupportedLegacyRuntime: false
    

    StepMonitor 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 StepMonitor resource accepts the following input properties:

    Period string
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    Status string
    The run state of the monitor. (ENABLED or DISABLED).
    Steps List<Pulumi.NewRelic.Synthetics.Inputs.StepMonitorStep>
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    AccountId string
    The account in which the Synthetics monitor will be created.
    Browsers List<string>
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    Devices List<string>
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    EnableScreenshotOnFailureAndScript bool
    Capture a screenshot during job execution.
    LocationPrivates List<Pulumi.NewRelic.Synthetics.Inputs.StepMonitorLocationPrivate>
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    LocationsPublics List<string>
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    Name string
    The name for the monitor.
    RuntimeType string
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    RuntimeTypeVersion string
    The specific semver version of the runtime type.
    Tags List<Pulumi.NewRelic.Synthetics.Inputs.StepMonitorTag>
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    UseUnsupportedLegacyRuntime bool
    Period string
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    Status string
    The run state of the monitor. (ENABLED or DISABLED).
    Steps []StepMonitorStepArgs
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    AccountId string
    The account in which the Synthetics monitor will be created.
    Browsers []string
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    Devices []string
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    EnableScreenshotOnFailureAndScript bool
    Capture a screenshot during job execution.
    LocationPrivates []StepMonitorLocationPrivateArgs
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    LocationsPublics []string
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    Name string
    The name for the monitor.
    RuntimeType string
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    RuntimeTypeVersion string
    The specific semver version of the runtime type.
    Tags []StepMonitorTagArgs
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    UseUnsupportedLegacyRuntime bool
    period String
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    status String
    The run state of the monitor. (ENABLED or DISABLED).
    steps List<StepMonitorStep>
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    accountId String
    The account in which the Synthetics monitor will be created.
    browsers List<String>
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices List<String>
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enableScreenshotOnFailureAndScript Boolean
    Capture a screenshot during job execution.
    locationPrivates List<StepMonitorLocationPrivate>
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locationsPublics List<String>
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name String
    The name for the monitor.
    runtimeType String
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtimeTypeVersion String
    The specific semver version of the runtime type.
    tags List<StepMonitorTag>
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    useUnsupportedLegacyRuntime Boolean
    period string
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    status string
    The run state of the monitor. (ENABLED or DISABLED).
    steps StepMonitorStep[]
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    accountId string
    The account in which the Synthetics monitor will be created.
    browsers string[]
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices string[]
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enableScreenshotOnFailureAndScript boolean
    Capture a screenshot during job execution.
    locationPrivates StepMonitorLocationPrivate[]
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locationsPublics string[]
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name string
    The name for the monitor.
    runtimeType string
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtimeTypeVersion string
    The specific semver version of the runtime type.
    tags StepMonitorTag[]
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    useUnsupportedLegacyRuntime boolean
    period str
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    status str
    The run state of the monitor. (ENABLED or DISABLED).
    steps Sequence[StepMonitorStepArgs]
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    account_id str
    The account in which the Synthetics monitor will be created.
    browsers Sequence[str]
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices Sequence[str]
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enable_screenshot_on_failure_and_script bool
    Capture a screenshot during job execution.
    location_privates Sequence[StepMonitorLocationPrivateArgs]
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locations_publics Sequence[str]
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name str
    The name for the monitor.
    runtime_type str
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtime_type_version str
    The specific semver version of the runtime type.
    tags Sequence[StepMonitorTagArgs]
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    use_unsupported_legacy_runtime bool
    period String
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    status String
    The run state of the monitor. (ENABLED or DISABLED).
    steps List<Property Map>
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    accountId String
    The account in which the Synthetics monitor will be created.
    browsers List<String>
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices List<String>
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enableScreenshotOnFailureAndScript Boolean
    Capture a screenshot during job execution.
    locationPrivates List<Property Map>
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locationsPublics List<String>
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name String
    The name for the monitor.
    runtimeType String
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtimeTypeVersion String
    The specific semver version of the runtime type.
    tags List<Property Map>
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    useUnsupportedLegacyRuntime Boolean

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StepMonitor resource produces the following output properties:

    Guid string
    The unique entity identifier of the monitor in New Relic.
    Id string
    The provider-assigned unique ID for this managed resource.
    PeriodInMinutes int
    The interval in minutes at which Synthetic monitor should run.
    Guid string
    The unique entity identifier of the monitor in New Relic.
    Id string
    The provider-assigned unique ID for this managed resource.
    PeriodInMinutes int
    The interval in minutes at which Synthetic monitor should run.
    guid String
    The unique entity identifier of the monitor in New Relic.
    id String
    The provider-assigned unique ID for this managed resource.
    periodInMinutes Integer
    The interval in minutes at which Synthetic monitor should run.
    guid string
    The unique entity identifier of the monitor in New Relic.
    id string
    The provider-assigned unique ID for this managed resource.
    periodInMinutes number
    The interval in minutes at which Synthetic monitor should run.
    guid str
    The unique entity identifier of the monitor in New Relic.
    id str
    The provider-assigned unique ID for this managed resource.
    period_in_minutes int
    The interval in minutes at which Synthetic monitor should run.
    guid String
    The unique entity identifier of the monitor in New Relic.
    id String
    The provider-assigned unique ID for this managed resource.
    periodInMinutes Number
    The interval in minutes at which Synthetic monitor should run.

    Look up Existing StepMonitor Resource

    Get an existing StepMonitor 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?: StepMonitorState, opts?: CustomResourceOptions): StepMonitor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            browsers: Optional[Sequence[str]] = None,
            devices: Optional[Sequence[str]] = None,
            enable_screenshot_on_failure_and_script: Optional[bool] = None,
            guid: Optional[str] = None,
            location_privates: Optional[Sequence[StepMonitorLocationPrivateArgs]] = None,
            locations_publics: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            period: Optional[str] = None,
            period_in_minutes: Optional[int] = None,
            runtime_type: Optional[str] = None,
            runtime_type_version: Optional[str] = None,
            status: Optional[str] = None,
            steps: Optional[Sequence[StepMonitorStepArgs]] = None,
            tags: Optional[Sequence[StepMonitorTagArgs]] = None,
            use_unsupported_legacy_runtime: Optional[bool] = None) -> StepMonitor
    func GetStepMonitor(ctx *Context, name string, id IDInput, state *StepMonitorState, opts ...ResourceOption) (*StepMonitor, error)
    public static StepMonitor Get(string name, Input<string> id, StepMonitorState? state, CustomResourceOptions? opts = null)
    public static StepMonitor get(String name, Output<String> id, StepMonitorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The account in which the Synthetics monitor will be created.
    Browsers List<string>
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    Devices List<string>
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    EnableScreenshotOnFailureAndScript bool
    Capture a screenshot during job execution.
    Guid string
    The unique entity identifier of the monitor in New Relic.
    LocationPrivates List<Pulumi.NewRelic.Synthetics.Inputs.StepMonitorLocationPrivate>
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    LocationsPublics List<string>
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    Name string
    The name for the monitor.
    Period string
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    PeriodInMinutes int
    The interval in minutes at which Synthetic monitor should run.
    RuntimeType string
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    RuntimeTypeVersion string
    The specific semver version of the runtime type.
    Status string
    The run state of the monitor. (ENABLED or DISABLED).
    Steps List<Pulumi.NewRelic.Synthetics.Inputs.StepMonitorStep>
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    Tags List<Pulumi.NewRelic.Synthetics.Inputs.StepMonitorTag>
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    UseUnsupportedLegacyRuntime bool
    AccountId string
    The account in which the Synthetics monitor will be created.
    Browsers []string
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    Devices []string
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    EnableScreenshotOnFailureAndScript bool
    Capture a screenshot during job execution.
    Guid string
    The unique entity identifier of the monitor in New Relic.
    LocationPrivates []StepMonitorLocationPrivateArgs
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    LocationsPublics []string
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    Name string
    The name for the monitor.
    Period string
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    PeriodInMinutes int
    The interval in minutes at which Synthetic monitor should run.
    RuntimeType string
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    RuntimeTypeVersion string
    The specific semver version of the runtime type.
    Status string
    The run state of the monitor. (ENABLED or DISABLED).
    Steps []StepMonitorStepArgs
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    Tags []StepMonitorTagArgs
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    UseUnsupportedLegacyRuntime bool
    accountId String
    The account in which the Synthetics monitor will be created.
    browsers List<String>
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices List<String>
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enableScreenshotOnFailureAndScript Boolean
    Capture a screenshot during job execution.
    guid String
    The unique entity identifier of the monitor in New Relic.
    locationPrivates List<StepMonitorLocationPrivate>
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locationsPublics List<String>
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name String
    The name for the monitor.
    period String
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    periodInMinutes Integer
    The interval in minutes at which Synthetic monitor should run.
    runtimeType String
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtimeTypeVersion String
    The specific semver version of the runtime type.
    status String
    The run state of the monitor. (ENABLED or DISABLED).
    steps List<StepMonitorStep>
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    tags List<StepMonitorTag>
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    useUnsupportedLegacyRuntime Boolean
    accountId string
    The account in which the Synthetics monitor will be created.
    browsers string[]
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices string[]
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enableScreenshotOnFailureAndScript boolean
    Capture a screenshot during job execution.
    guid string
    The unique entity identifier of the monitor in New Relic.
    locationPrivates StepMonitorLocationPrivate[]
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locationsPublics string[]
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name string
    The name for the monitor.
    period string
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    periodInMinutes number
    The interval in minutes at which Synthetic monitor should run.
    runtimeType string
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtimeTypeVersion string
    The specific semver version of the runtime type.
    status string
    The run state of the monitor. (ENABLED or DISABLED).
    steps StepMonitorStep[]
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    tags StepMonitorTag[]
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    useUnsupportedLegacyRuntime boolean
    account_id str
    The account in which the Synthetics monitor will be created.
    browsers Sequence[str]
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices Sequence[str]
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enable_screenshot_on_failure_and_script bool
    Capture a screenshot during job execution.
    guid str
    The unique entity identifier of the monitor in New Relic.
    location_privates Sequence[StepMonitorLocationPrivateArgs]
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locations_publics Sequence[str]
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name str
    The name for the monitor.
    period str
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    period_in_minutes int
    The interval in minutes at which Synthetic monitor should run.
    runtime_type str
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtime_type_version str
    The specific semver version of the runtime type.
    status str
    The run state of the monitor. (ENABLED or DISABLED).
    steps Sequence[StepMonitorStepArgs]
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    tags Sequence[StepMonitorTagArgs]
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    use_unsupported_legacy_runtime bool
    accountId String
    The account in which the Synthetics monitor will be created.
    browsers List<String>
    The multiple browsers list on which synthetic monitors will run. Valid values are CHROME and FIREFOX.
    devices List<String>
    The multiple devices list on which synthetic monitors will run. Valid values are DESKTOP, MOBILE_LANDSCAPE, MOBILE_PORTRAIT, TABLET_LANDSCAPE and TABLET_PORTRAIT.
    enableScreenshotOnFailureAndScript Boolean
    Capture a screenshot during job execution.
    guid String
    The unique entity identifier of the monitor in New Relic.
    locationPrivates List<Property Map>
    The location the monitor will run from. At least one of locations_public or location_private is required. See Nested locations_private blocks below for details.
    locationsPublics List<String>
    The location the monitor will run from. Check out this page for a list of valid public locations. You don't need the AWS_ prefix as the provider uses NerdGraph. At least one of either locations_public or location_private is required.
    name String
    The name for the monitor.
    period String
    The interval at which this monitor should run. Valid values are EVERY_MINUTE, EVERY_5_MINUTES, EVERY_10_MINUTES, EVERY_15_MINUTES, EVERY_30_MINUTES, EVERY_HOUR, EVERY_6_HOURS, EVERY_12_HOURS, or EVERY_DAY.
    periodInMinutes Number
    The interval in minutes at which Synthetic monitor should run.
    runtimeType String
    The runtime that the monitor will use to run jobs (CHROME_BROWSER).
    runtimeTypeVersion String
    The specific semver version of the runtime type.
    status String
    The run state of the monitor. (ENABLED or DISABLED).
    steps List<Property Map>
    The steps that make up the script the monitor will run. See Nested steps blocks below for details.
    tags List<Property Map>
    The tags that will be associated with the monitor. See Nested tag blocks below for details.
    useUnsupportedLegacyRuntime Boolean

    Supporting Types

    StepMonitorLocationPrivate, StepMonitorLocationPrivateArgs

    Guid string
    The unique identifier for the Synthetics private location in New Relic.
    VsePassword string
    The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
    Guid string
    The unique identifier for the Synthetics private location in New Relic.
    VsePassword string
    The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
    guid String
    The unique identifier for the Synthetics private location in New Relic.
    vsePassword String
    The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
    guid string
    The unique identifier for the Synthetics private location in New Relic.
    vsePassword string
    The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
    guid str
    The unique identifier for the Synthetics private location in New Relic.
    vse_password str
    The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.
    guid String
    The unique identifier for the Synthetics private location in New Relic.
    vsePassword String
    The location's Verified Script Execution password, only necessary if Verified Script Execution is enabled for the location.

    StepMonitorStep, StepMonitorStepArgs

    Ordinal int
    The position of the step within the script ranging from 0-100.
    Type string
    Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
    Values List<string>
    The metadata values related to the step.
    Ordinal int
    The position of the step within the script ranging from 0-100.
    Type string
    Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
    Values []string
    The metadata values related to the step.
    ordinal Integer
    The position of the step within the script ranging from 0-100.
    type String
    Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
    values List<String>
    The metadata values related to the step.
    ordinal number
    The position of the step within the script ranging from 0-100.
    type string
    Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
    values string[]
    The metadata values related to the step.
    ordinal int
    The position of the step within the script ranging from 0-100.
    type str
    Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
    values Sequence[str]
    The metadata values related to the step.
    ordinal Number
    The position of the step within the script ranging from 0-100.
    type String
    Name of the tag key. Valid values are ASSERT_ELEMENT, ASSERT_MODAL, ASSERT_TEXT, ASSERT_TITLE, CLICK_ELEMENT, DISMISS_MODAL, DOUBLE_CLICK_ELEMENT, HOVER_ELEMENT, NAVIGATE, SECURE_TEXT_ENTRY, SELECT_ELEMENT, TEXT_ENTRY.
    values List<String>
    The metadata values related to the step.

    StepMonitorTag, StepMonitorTagArgs

    Key string
    Name of the tag key.
    Values List<string>
    Values associated with the tag key.
    Key string
    Name of the tag key.
    Values []string
    Values associated with the tag key.
    key String
    Name of the tag key.
    values List<String>
    Values associated with the tag key.
    key string
    Name of the tag key.
    values string[]
    Values associated with the tag key.
    key str
    Name of the tag key.
    values Sequence[str]
    Values associated with the tag key.
    key String
    Name of the tag key.
    values List<String>
    Values associated with the tag key.

    Import

    A step monitor can be imported using its GUID, using the following command.

    bash

    $ pulumi import newrelic:synthetics/stepMonitor:StepMonitor monitor <guid>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    New Relic pulumi/pulumi-newrelic
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the newrelic Terraform Provider.
    newrelic logo
    New Relic v5.36.1 published on Tuesday, Nov 12, 2024 by Pulumi