1. Registry
  2. Packages
  3. Newrelic Provider
  4. API Docs
  5. PathpointFlow
Viewing docs for New Relic v5.78.0
published on Friday, Sep 25, 2026 by Pulumi
newrelic logo newrelic logo
Viewing docs for New Relic v5.78.0
published on Friday, Sep 25, 2026 by Pulumi

    Beta Preview: This resource is not yet available to the general public. Once public preview goes live, opted-in users will receive access.

    Pathpoint maps the health of your technical systems onto the business journeys they support. Each Flow in Pathpoint represents one journey — checkout, authentication, or onboarding — broken into stages, so when something goes wrong you can see which part of the customer journey the problem affects.

    Use this resource to create, read, update, and delete a New Relic Pathpoint flow.

    A New Relic User API key is required to provision this resource. Set the apiKey attribute in the provider block or the NEW_RELIC_API_KEY environment variable with your User API key.

    NOTE: Any manual changes made outside Terraform (e.g., via the New Relic UI) will be automatically overridden on the next pulumi up. Review your plan output carefully, if you want to keep external changes, export the existing flow

    Example Usage

    A flow is made up of stages, each stage made up of levels, each level made up of steps. Each step contains signals — entities, alerts, or entities discovered dynamically via entitySearchQuery — and its health is derived from those signals.

    Flow-level health

    healthRollup on the flow controls how the flow’s overall health is derived:

    • AUTOMATIC_ROLL_UP (the default) — health rolls up automatically from the flow’s stages.

      • isExcluded controls whether the stage contributes to the flow’s overall health calculation:
        • true — the stage is excluded from the flow’s health rollup. Its levels, steps, and signals are still evaluated and shown in the Pathpoint UI, but the stage does not affect the flow’s overall health status. Useful for stages under construction or temporarily removed from the scope.
        • false (default) — the stage participates in the flow’s health rollup normally.
    • ALERT_CONDITIONS — health is tied directly to the flow’s KPI alert conditions instead of stage rollup. Typically paired with flow-level kpis.

    import * as pulumi from "@pulumi/pulumi";
    import * as newrelic from "@pulumi/newrelic";
    
    const checkout = new newrelic.PathpointFlow("checkout", {
        name: "Checkout Flow",
        healthRollup: "AUTOMATIC_ROLL_UP",
    });
    
    import pulumi
    import pulumi_newrelic as newrelic
    
    checkout = newrelic.PathpointFlow("checkout",
        name="Checkout Flow",
        health_rollup="AUTOMATIC_ROLL_UP")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := newrelic.NewPathpointFlow(ctx, "checkout", &newrelic.PathpointFlowArgs{
    			Name:         pulumi.String("Checkout Flow"),
    			HealthRollup: pulumi.String("AUTOMATIC_ROLL_UP"),
    		})
    		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 checkout = new NewRelic.PathpointFlow("checkout", new()
        {
            Name = "Checkout Flow",
            HealthRollup = "AUTOMATIC_ROLL_UP",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.newrelic.PathpointFlow;
    import com.pulumi.newrelic.PathpointFlowArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 checkout = new PathpointFlow("checkout", PathpointFlowArgs.builder()
                .name("Checkout Flow")
                .healthRollup("AUTOMATIC_ROLL_UP")
                .build());
    
        }
    }
    
    resources:
      checkout:
        type: newrelic:PathpointFlow
        properties:
          name: Checkout Flow
          healthRollup: AUTOMATIC_ROLL_UP
    
    pulumi {
      required_providers {
        newrelic = {
          source = "pulumi/newrelic"
        }
      }
    }
    
    resource "newrelic_pathpointflow" "checkout" {
      name          = "Checkout Flow"
      health_rollup = "AUTOMATIC_ROLL_UP"
    }
    

    Example

    The example below is a Checkout flow with 2 stages (Revenue and Frontend), a flow-level KPI (Order Success Rate), a stage-level KPI (Payment Errors), and a step that uses all three signal types — an entity signal (GUID1), an alert signal (GUID2), and a dynamic entitySearchQuery.

    import * as pulumi from "@pulumi/pulumi";
    import * as newrelic from "@pulumi/newrelic";
    
    const checkout = new newrelic.PathpointFlow("checkout", {
        accountId: "1234",
        name: "Checkout Flow",
        description: "End-to-end checkout pipeline",
        refreshInterval: "ONE_MINUTE",
        kpis: [{
            name: "Order Success Rate",
            description: "Percentage of orders completed successfully",
            category: "Revenue",
            query: {
                from: "Transaction",
                where: "name='checkout'",
                select: {
                    aggregationType: "COUNT",
                    alias: "orders",
                },
            },
        }],
        stages: [
            {
                name: "Revenue",
                healthRollup: "ALERT_CONDITIONS",
                link: "https://runbooks.example.com/checkout/revenue",
                related: {
                    source: false,
                    target: true,
                },
                stageKpis: [{
                    name: "Payment Errors",
                    category: "Reliability",
                    query: {
                        from: "TransactionError",
                        select: {
                            aggregationType: "COUNT",
                            alias: "errors",
                        },
                    },
                }],
                levels: [{
                    steps: [{
                        name: "Order Service",
                        entitySearchQuery: {
                            query: "accountId=123 AND domain='APM' AND name='OrderService'",
                        },
                    }],
                }],
            },
            {
                name: "Frontend",
                link: "https://runbooks.example.com/checkout/frontend",
                related: {
                    source: true,
                    target: false,
                },
                levels: [{
                    steps: [{
                        name: "Login Page",
                        signals: [
                            {
                                guid: "GUID1",
                                name: "Cart Service",
                                type: "ENTITY",
                            },
                            {
                                guid: "GUID2",
                                name: "Checkout Error Rate",
                                type: "ALERT",
                            },
                        ],
                        entitySearchQuery: {
                            query: "accountId=1234 AND domain='BROWSER' AND name='Login'",
                        },
                    }],
                }],
            },
        ],
    });
    
    import pulumi
    import pulumi_newrelic as newrelic
    
    checkout = newrelic.PathpointFlow("checkout",
        account_id="1234",
        name="Checkout Flow",
        description="End-to-end checkout pipeline",
        refresh_interval="ONE_MINUTE",
        kpis=[{
            "name": "Order Success Rate",
            "description": "Percentage of orders completed successfully",
            "category": "Revenue",
            "query": {
                "from_": "Transaction",
                "where": "name='checkout'",
                "select": {
                    "aggregation_type": "COUNT",
                    "alias": "orders",
                },
            },
        }],
        stages=[
            {
                "name": "Revenue",
                "health_rollup": "ALERT_CONDITIONS",
                "link": "https://runbooks.example.com/checkout/revenue",
                "related": {
                    "source": False,
                    "target": True,
                },
                "stage_kpis": [{
                    "name": "Payment Errors",
                    "category": "Reliability",
                    "query": {
                        "from_": "TransactionError",
                        "select": {
                            "aggregation_type": "COUNT",
                            "alias": "errors",
                        },
                    },
                }],
                "levels": [{
                    "steps": [{
                        "name": "Order Service",
                        "entity_search_query": {
                            "query": "accountId=123 AND domain='APM' AND name='OrderService'",
                        },
                    }],
                }],
            },
            {
                "name": "Frontend",
                "link": "https://runbooks.example.com/checkout/frontend",
                "related": {
                    "source": True,
                    "target": False,
                },
                "levels": [{
                    "steps": [{
                        "name": "Login Page",
                        "signals": [
                            {
                                "guid": "GUID1",
                                "name": "Cart Service",
                                "type": "ENTITY",
                            },
                            {
                                "guid": "GUID2",
                                "name": "Checkout Error Rate",
                                "type": "ALERT",
                            },
                        ],
                        "entity_search_query": {
                            "query": "accountId=1234 AND domain='BROWSER' AND name='Login'",
                        },
                    }],
                }],
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := newrelic.NewPathpointFlow(ctx, "checkout", &newrelic.PathpointFlowArgs{
    			AccountId:       pulumi.String("1234"),
    			Name:            pulumi.String("Checkout Flow"),
    			Description:     pulumi.String("End-to-end checkout pipeline"),
    			RefreshInterval: pulumi.String("ONE_MINUTE"),
    			Kpis: newrelic.PathpointFlowKpiArray{
    				&newrelic.PathpointFlowKpiArgs{
    					Name:        pulumi.String("Order Success Rate"),
    					Description: pulumi.String("Percentage of orders completed successfully"),
    					Category:    pulumi.String("Revenue"),
    					Query: &newrelic.PathpointFlowKpiQueryArgs{
    						From:  pulumi.String("Transaction"),
    						Where: pulumi.String("name='checkout'"),
    						Select: &newrelic.PathpointFlowKpiQuerySelectArgs{
    							AggregationType: pulumi.String("COUNT"),
    							Alias:           pulumi.String("orders"),
    						},
    					},
    				},
    			},
    			Stages: newrelic.PathpointFlowStageArray{
    				&newrelic.PathpointFlowStageArgs{
    					Name:         pulumi.String("Revenue"),
    					HealthRollup: pulumi.String("ALERT_CONDITIONS"),
    					Link:         pulumi.String("https://runbooks.example.com/checkout/revenue"),
    					Related: &newrelic.PathpointFlowStageRelatedArgs{
    						Source: pulumi.Bool(false),
    						Target: pulumi.Bool(true),
    					},
    					StageKpis: newrelic.PathpointFlowStageStageKpiArray{
    						&newrelic.PathpointFlowStageStageKpiArgs{
    							Name:     pulumi.String("Payment Errors"),
    							Category: pulumi.String("Reliability"),
    							Query: &newrelic.PathpointFlowStageStageKpiQueryArgs{
    								From: pulumi.String("TransactionError"),
    								Select: &newrelic.PathpointFlowStageStageKpiQuerySelectArgs{
    									AggregationType: pulumi.String("COUNT"),
    									Alias:           pulumi.String("errors"),
    								},
    							},
    						},
    					},
    					Levels: newrelic.PathpointFlowStageLevelArray{
    						&newrelic.PathpointFlowStageLevelArgs{
    							Steps: newrelic.PathpointFlowStageLevelStepArray{
    								&newrelic.PathpointFlowStageLevelStepArgs{
    									Name: pulumi.String("Order Service"),
    									EntitySearchQuery: &newrelic.PathpointFlowStageLevelStepEntitySearchQueryArgs{
    										Query: pulumi.String("accountId=123 AND domain='APM' AND name='OrderService'"),
    									},
    								},
    							},
    						},
    					},
    				},
    				&newrelic.PathpointFlowStageArgs{
    					Name: pulumi.String("Frontend"),
    					Link: pulumi.String("https://runbooks.example.com/checkout/frontend"),
    					Related: &newrelic.PathpointFlowStageRelatedArgs{
    						Source: pulumi.Bool(true),
    						Target: pulumi.Bool(false),
    					},
    					Levels: newrelic.PathpointFlowStageLevelArray{
    						&newrelic.PathpointFlowStageLevelArgs{
    							Steps: newrelic.PathpointFlowStageLevelStepArray{
    								&newrelic.PathpointFlowStageLevelStepArgs{
    									Name: pulumi.String("Login Page"),
    									Signals: newrelic.PathpointFlowStageLevelStepSignalArray{
    										&newrelic.PathpointFlowStageLevelStepSignalArgs{
    											Guid: pulumi.String("GUID1"),
    											Name: pulumi.String("Cart Service"),
    											Type: pulumi.String("ENTITY"),
    										},
    										&newrelic.PathpointFlowStageLevelStepSignalArgs{
    											Guid: pulumi.String("GUID2"),
    											Name: pulumi.String("Checkout Error Rate"),
    											Type: pulumi.String("ALERT"),
    										},
    									},
    									EntitySearchQuery: &newrelic.PathpointFlowStageLevelStepEntitySearchQueryArgs{
    										Query: pulumi.String("accountId=1234 AND domain='BROWSER' AND name='Login'"),
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		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 checkout = new NewRelic.PathpointFlow("checkout", new()
        {
            AccountId = "1234",
            Name = "Checkout Flow",
            Description = "End-to-end checkout pipeline",
            RefreshInterval = "ONE_MINUTE",
            Kpis = new[]
            {
                new NewRelic.Inputs.PathpointFlowKpiArgs
                {
                    Name = "Order Success Rate",
                    Description = "Percentage of orders completed successfully",
                    Category = "Revenue",
                    Query = new NewRelic.Inputs.PathpointFlowKpiQueryArgs
                    {
                        From = "Transaction",
                        Where = "name='checkout'",
                        Select = new NewRelic.Inputs.PathpointFlowKpiQuerySelectArgs
                        {
                            AggregationType = "COUNT",
                            Alias = "orders",
                        },
                    },
                },
            },
            Stages = new[]
            {
                new NewRelic.Inputs.PathpointFlowStageArgs
                {
                    Name = "Revenue",
                    HealthRollup = "ALERT_CONDITIONS",
                    Link = "https://runbooks.example.com/checkout/revenue",
                    Related = new NewRelic.Inputs.PathpointFlowStageRelatedArgs
                    {
                        Source = false,
                        Target = true,
                    },
                    StageKpis = new[]
                    {
                        new NewRelic.Inputs.PathpointFlowStageStageKpiArgs
                        {
                            Name = "Payment Errors",
                            Category = "Reliability",
                            Query = new NewRelic.Inputs.PathpointFlowStageStageKpiQueryArgs
                            {
                                From = "TransactionError",
                                Select = new NewRelic.Inputs.PathpointFlowStageStageKpiQuerySelectArgs
                                {
                                    AggregationType = "COUNT",
                                    Alias = "errors",
                                },
                            },
                        },
                    },
                    Levels = new[]
                    {
                        new NewRelic.Inputs.PathpointFlowStageLevelArgs
                        {
                            Steps = new[]
                            {
                                new NewRelic.Inputs.PathpointFlowStageLevelStepArgs
                                {
                                    Name = "Order Service",
                                    EntitySearchQuery = new NewRelic.Inputs.PathpointFlowStageLevelStepEntitySearchQueryArgs
                                    {
                                        Query = "accountId=123 AND domain='APM' AND name='OrderService'",
                                    },
                                },
                            },
                        },
                    },
                },
                new NewRelic.Inputs.PathpointFlowStageArgs
                {
                    Name = "Frontend",
                    Link = "https://runbooks.example.com/checkout/frontend",
                    Related = new NewRelic.Inputs.PathpointFlowStageRelatedArgs
                    {
                        Source = true,
                        Target = false,
                    },
                    Levels = new[]
                    {
                        new NewRelic.Inputs.PathpointFlowStageLevelArgs
                        {
                            Steps = new[]
                            {
                                new NewRelic.Inputs.PathpointFlowStageLevelStepArgs
                                {
                                    Name = "Login Page",
                                    Signals = new[]
                                    {
                                        new NewRelic.Inputs.PathpointFlowStageLevelStepSignalArgs
                                        {
                                            Guid = "GUID1",
                                            Name = "Cart Service",
                                            Type = "ENTITY",
                                        },
                                        new NewRelic.Inputs.PathpointFlowStageLevelStepSignalArgs
                                        {
                                            Guid = "GUID2",
                                            Name = "Checkout Error Rate",
                                            Type = "ALERT",
                                        },
                                    },
                                    EntitySearchQuery = new NewRelic.Inputs.PathpointFlowStageLevelStepEntitySearchQueryArgs
                                    {
                                        Query = "accountId=1234 AND domain='BROWSER' AND name='Login'",
                                    },
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.newrelic.PathpointFlow;
    import com.pulumi.newrelic.PathpointFlowArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowKpiArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowKpiQueryArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowKpiQuerySelectArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageRelatedArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageStageKpiArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageStageKpiQueryArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageStageKpiQuerySelectArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageLevelArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageLevelStepArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageLevelStepEntitySearchQueryArgs;
    import com.pulumi.newrelic.inputs.PathpointFlowStageLevelStepSignalArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 checkout = new PathpointFlow("checkout", PathpointFlowArgs.builder()
                .accountId("1234")
                .name("Checkout Flow")
                .description("End-to-end checkout pipeline")
                .refreshInterval("ONE_MINUTE")
                .kpis(PathpointFlowKpiArgs.builder()
                    .name("Order Success Rate")
                    .description("Percentage of orders completed successfully")
                    .category("Revenue")
                    .query(PathpointFlowKpiQueryArgs.builder()
                        .from("Transaction")
                        .where("name='checkout'")
                        .select(PathpointFlowKpiQuerySelectArgs.builder()
                            .aggregationType("COUNT")
                            .alias("orders")
                            .build())
                        .build())
                    .build())
                .stages(            
                    PathpointFlowStageArgs.builder()
                        .name("Revenue")
                        .healthRollup("ALERT_CONDITIONS")
                        .link("https://runbooks.example.com/checkout/revenue")
                        .related(PathpointFlowStageRelatedArgs.builder()
                            .source(false)
                            .target(true)
                            .build())
                        .stageKpis(PathpointFlowStageStageKpiArgs.builder()
                            .name("Payment Errors")
                            .category("Reliability")
                            .query(PathpointFlowStageStageKpiQueryArgs.builder()
                                .from("TransactionError")
                                .select(PathpointFlowStageStageKpiQuerySelectArgs.builder()
                                    .aggregationType("COUNT")
                                    .alias("errors")
                                    .build())
                                .build())
                            .build())
                        .levels(PathpointFlowStageLevelArgs.builder()
                            .steps(PathpointFlowStageLevelStepArgs.builder()
                                .name("Order Service")
                                .entitySearchQuery(PathpointFlowStageLevelStepEntitySearchQueryArgs.builder()
                                    .query("accountId=123 AND domain='APM' AND name='OrderService'")
                                    .build())
                                .build())
                            .build())
                        .build(),
                    PathpointFlowStageArgs.builder()
                        .name("Frontend")
                        .link("https://runbooks.example.com/checkout/frontend")
                        .related(PathpointFlowStageRelatedArgs.builder()
                            .source(true)
                            .target(false)
                            .build())
                        .levels(PathpointFlowStageLevelArgs.builder()
                            .steps(PathpointFlowStageLevelStepArgs.builder()
                                .name("Login Page")
                                .signals(                            
                                    PathpointFlowStageLevelStepSignalArgs.builder()
                                        .guid("GUID1")
                                        .name("Cart Service")
                                        .type("ENTITY")
                                        .build(),
                                    PathpointFlowStageLevelStepSignalArgs.builder()
                                        .guid("GUID2")
                                        .name("Checkout Error Rate")
                                        .type("ALERT")
                                        .build())
                                .entitySearchQuery(PathpointFlowStageLevelStepEntitySearchQueryArgs.builder()
                                    .query("accountId=1234 AND domain='BROWSER' AND name='Login'")
                                    .build())
                                .build())
                            .build())
                        .build())
                .build());
    
        }
    }
    
    resources:
      checkout:
        type: newrelic:PathpointFlow
        properties:
          accountId: 1234
          name: Checkout Flow
          description: End-to-end checkout pipeline
          refreshInterval: ONE_MINUTE
          kpis:
            - name: Order Success Rate
              description: Percentage of orders completed successfully
              category: Revenue
              query:
                from: Transaction
                where: name='checkout'
                select:
                  aggregationType: COUNT
                  alias: orders
          stages:
            - name: Revenue
              healthRollup: ALERT_CONDITIONS
              link: https://runbooks.example.com/checkout/revenue
              related:
                source: false
                target: true
              stageKpis:
                - name: Payment Errors
                  category: Reliability
                  query:
                    from: TransactionError
                    select:
                      aggregationType: COUNT
                      alias: errors
              levels:
                - steps:
                    - name: Order Service
                      entitySearchQuery:
                        query: accountId=123 AND domain='APM' AND name='OrderService'
            - name: Frontend
              link: https://runbooks.example.com/checkout/frontend
              related:
                source: true
                target: false
              levels:
                - steps:
                    - name: Login Page
                      signals:
                        - guid: GUID1
                          name: Cart Service
                          type: ENTITY
                        - guid: GUID2
                          name: Checkout Error Rate
                          type: ALERT
                      entitySearchQuery:
                        query: accountId=1234 AND domain='BROWSER' AND name='Login'
    
    pulumi {
      required_providers {
        newrelic = {
          source = "pulumi/newrelic"
        }
      }
    }
    
    resource "newrelic_pathpointflow" "checkout" {
      account_id       = 1234
      name             = "Checkout Flow"
      description      = "End-to-end checkout pipeline"
      refresh_interval = "ONE_MINUTE"
      kpis {
        name        = "Order Success Rate"
        description = "Percentage of orders completed successfully"
        category    = "Revenue"
        query = {
          from  = "Transaction"
          where = "name='checkout'"
          select = {
            aggregation_type = "COUNT"
            alias            = "orders"
          }
        }
      }
      stages {
        name          = "Revenue"
        health_rollup = "ALERT_CONDITIONS"
        link          = "https://runbooks.example.com/checkout/revenue"
        related = {
          source = false
          target = true
        }
        stage_kpis {
          name     = "Payment Errors"
          category = "Reliability"
          query = {
            from = "TransactionError"
            select = {
              aggregation_type = "COUNT"
              alias            = "errors"
            }
          }
        }
        levels {
          steps {
            name = "Order Service"
            entity_search_query = {
              query = "accountId=123 AND domain='APM' AND name='OrderService'"
            }
          }
        }
      }
      stages {
        name = "Frontend"
        link = "https://runbooks.example.com/checkout/frontend"
        related = {
          source = true
          target = false
        }
        levels {
          steps {
            name = "Login Page"
            signals {
              guid = "GUID1"
              name = "Cart Service"
              type = "ENTITY"
            }
            signals {
              guid = "GUID2"
              name = "Checkout Error Rate"
              type = "ALERT"
            }
            entity_search_query = {
              query = "accountId=1234 AND domain='BROWSER' AND name='Login'"
            }
          }
        }
      }
    }
    

    Exporting an Existing Flow

    If a flow already exists in your account (created through the UI, or by another user), you can pull its Terraform configuration directly from the Pathpoint UI instead of hand-writing it:

    1. Open the flow in the Pathpoint UI.
    2. Click the overflow menu (•••) in the flow view
    3. Select View as code to get the full newrelic.PathpointFlow resource block for that pathpoint flow.

    TIP: Treat the exported configuration as a starting point. Pair it with pulumi import using the flow’s GUID so Terraform state matches the live resource before your next apply — otherwise Terraform will try to recreate what already exists.

    Create PathpointFlow Resource

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

    Constructor syntax

    new PathpointFlow(name: string, args?: PathpointFlowArgs, opts?: CustomResourceOptions);
    @overload
    def PathpointFlow(resource_name: str,
                      args: Optional[PathpointFlowArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def PathpointFlow(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      account_id: Optional[str] = None,
                      category: Optional[str] = None,
                      description: Optional[str] = None,
                      health_rollup: Optional[str] = None,
                      kpis: Optional[Sequence[PathpointFlowKpiArgs]] = None,
                      name: Optional[str] = None,
                      refresh_interval: Optional[str] = None,
                      stages: Optional[Sequence[PathpointFlowStageArgs]] = None)
    func NewPathpointFlow(ctx *Context, name string, args *PathpointFlowArgs, opts ...ResourceOption) (*PathpointFlow, error)
    public PathpointFlow(string name, PathpointFlowArgs? args = null, CustomResourceOptions? opts = null)
    public PathpointFlow(String name, PathpointFlowArgs args)
    public PathpointFlow(String name, PathpointFlowArgs args, CustomResourceOptions options)
    
    type: newrelic:PathpointFlow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "newrelic_pathpoint_flow" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PathpointFlowArgs
    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 PathpointFlowArgs
    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 PathpointFlowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PathpointFlowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PathpointFlowArgs
    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 pathpointFlowResource = new NewRelic.PathpointFlow("pathpointFlowResource", new()
    {
        AccountId = "string",
        Category = "string",
        Description = "string",
        HealthRollup = "string",
        Kpis = new[]
        {
            new NewRelic.Inputs.PathpointFlowKpiArgs
            {
                Name = "string",
                Query = new NewRelic.Inputs.PathpointFlowKpiQueryArgs
                {
                    From = "string",
                    Select = new NewRelic.Inputs.PathpointFlowKpiQuerySelectArgs
                    {
                        AggregationType = "string",
                        Alias = "string",
                        Attribute = "string",
                        Threshold = 0.0,
                    },
                    TimeWindow = new NewRelic.Inputs.PathpointFlowKpiQueryTimeWindowArgs
                    {
                        CustomRange = "string",
                        RelativeRange = new NewRelic.Inputs.PathpointFlowKpiQueryTimeWindowRelativeRangeArgs
                        {
                            Since = "string",
                            CompareAgainst = "string",
                        },
                    },
                    Where = "string",
                },
                AccountId = "string",
                Category = "string",
                Description = "string",
                Id = "string",
                MetricQuery = "string",
            },
        },
        Name = "string",
        RefreshInterval = "string",
        Stages = new[]
        {
            new NewRelic.Inputs.PathpointFlowStageArgs
            {
                Name = "string",
                HealthRollup = "string",
                Id = "string",
                IsExcluded = false,
                Levels = new[]
                {
                    new NewRelic.Inputs.PathpointFlowStageLevelArgs
                    {
                        Id = "string",
                        Steps = new[]
                        {
                            new NewRelic.Inputs.PathpointFlowStageLevelStepArgs
                            {
                                Name = "string",
                                Config = new NewRelic.Inputs.PathpointFlowStageLevelStepConfigArgs
                                {
                                    HealthRollup = "string",
                                    ThresholdType = "string",
                                    ThresholdValue = 0,
                                },
                                EntitySearchQuery = new NewRelic.Inputs.PathpointFlowStageLevelStepEntitySearchQueryArgs
                                {
                                    Query = "string",
                                    IsExcluded = false,
                                },
                                Id = "string",
                                IsExcluded = false,
                                Link = "string",
                                ScopedAccounts = new[]
                                {
                                    0,
                                },
                                Signals = new[]
                                {
                                    new NewRelic.Inputs.PathpointFlowStageLevelStepSignalArgs
                                    {
                                        Guid = "string",
                                        IsExcluded = false,
                                        Name = "string",
                                        Type = "string",
                                    },
                                },
                            },
                        },
                    },
                },
                Link = "string",
                Related = new NewRelic.Inputs.PathpointFlowStageRelatedArgs
                {
                    Source = false,
                    Target = false,
                },
                StageKpis = new[]
                {
                    new NewRelic.Inputs.PathpointFlowStageStageKpiArgs
                    {
                        Name = "string",
                        Query = new NewRelic.Inputs.PathpointFlowStageStageKpiQueryArgs
                        {
                            From = "string",
                            Select = new NewRelic.Inputs.PathpointFlowStageStageKpiQuerySelectArgs
                            {
                                AggregationType = "string",
                                Alias = "string",
                                Attribute = "string",
                                Threshold = 0.0,
                            },
                            TimeWindow = new NewRelic.Inputs.PathpointFlowStageStageKpiQueryTimeWindowArgs
                            {
                                CustomRange = "string",
                                RelativeRange = new NewRelic.Inputs.PathpointFlowStageStageKpiQueryTimeWindowRelativeRangeArgs
                                {
                                    Since = "string",
                                    CompareAgainst = "string",
                                },
                            },
                            Where = "string",
                        },
                        AccountId = "string",
                        Category = "string",
                        Description = "string",
                        Id = "string",
                        MetricQuery = "string",
                    },
                },
            },
        },
    });
    
    example, err := newrelic.NewPathpointFlow(ctx, "pathpointFlowResource", &newrelic.PathpointFlowArgs{
    	AccountId:    pulumi.String("string"),
    	Category:     pulumi.String("string"),
    	Description:  pulumi.String("string"),
    	HealthRollup: pulumi.String("string"),
    	Kpis: newrelic.PathpointFlowKpiArray{
    		&newrelic.PathpointFlowKpiArgs{
    			Name: pulumi.String("string"),
    			Query: &newrelic.PathpointFlowKpiQueryArgs{
    				From: pulumi.String("string"),
    				Select: &newrelic.PathpointFlowKpiQuerySelectArgs{
    					AggregationType: pulumi.String("string"),
    					Alias:           pulumi.String("string"),
    					Attribute:       pulumi.String("string"),
    					Threshold:       pulumi.Float64(0),
    				},
    				TimeWindow: &newrelic.PathpointFlowKpiQueryTimeWindowArgs{
    					CustomRange: pulumi.String("string"),
    					RelativeRange: &newrelic.PathpointFlowKpiQueryTimeWindowRelativeRangeArgs{
    						Since:          pulumi.String("string"),
    						CompareAgainst: pulumi.String("string"),
    					},
    				},
    				Where: pulumi.String("string"),
    			},
    			AccountId:   pulumi.String("string"),
    			Category:    pulumi.String("string"),
    			Description: pulumi.String("string"),
    			Id:          pulumi.String("string"),
    			MetricQuery: pulumi.String("string"),
    		},
    	},
    	Name:            pulumi.String("string"),
    	RefreshInterval: pulumi.String("string"),
    	Stages: newrelic.PathpointFlowStageArray{
    		&newrelic.PathpointFlowStageArgs{
    			Name:         pulumi.String("string"),
    			HealthRollup: pulumi.String("string"),
    			Id:           pulumi.String("string"),
    			IsExcluded:   pulumi.Bool(false),
    			Levels: newrelic.PathpointFlowStageLevelArray{
    				&newrelic.PathpointFlowStageLevelArgs{
    					Id: pulumi.String("string"),
    					Steps: newrelic.PathpointFlowStageLevelStepArray{
    						&newrelic.PathpointFlowStageLevelStepArgs{
    							Name: pulumi.String("string"),
    							Config: &newrelic.PathpointFlowStageLevelStepConfigArgs{
    								HealthRollup:   pulumi.String("string"),
    								ThresholdType:  pulumi.String("string"),
    								ThresholdValue: pulumi.Int(0),
    							},
    							EntitySearchQuery: &newrelic.PathpointFlowStageLevelStepEntitySearchQueryArgs{
    								Query:      pulumi.String("string"),
    								IsExcluded: pulumi.Bool(false),
    							},
    							Id:         pulumi.String("string"),
    							IsExcluded: pulumi.Bool(false),
    							Link:       pulumi.String("string"),
    							ScopedAccounts: pulumi.IntArray{
    								pulumi.Int(0),
    							},
    							Signals: newrelic.PathpointFlowStageLevelStepSignalArray{
    								&newrelic.PathpointFlowStageLevelStepSignalArgs{
    									Guid:       pulumi.String("string"),
    									IsExcluded: pulumi.Bool(false),
    									Name:       pulumi.String("string"),
    									Type:       pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    			Link: pulumi.String("string"),
    			Related: &newrelic.PathpointFlowStageRelatedArgs{
    				Source: pulumi.Bool(false),
    				Target: pulumi.Bool(false),
    			},
    			StageKpis: newrelic.PathpointFlowStageStageKpiArray{
    				&newrelic.PathpointFlowStageStageKpiArgs{
    					Name: pulumi.String("string"),
    					Query: &newrelic.PathpointFlowStageStageKpiQueryArgs{
    						From: pulumi.String("string"),
    						Select: &newrelic.PathpointFlowStageStageKpiQuerySelectArgs{
    							AggregationType: pulumi.String("string"),
    							Alias:           pulumi.String("string"),
    							Attribute:       pulumi.String("string"),
    							Threshold:       pulumi.Float64(0),
    						},
    						TimeWindow: &newrelic.PathpointFlowStageStageKpiQueryTimeWindowArgs{
    							CustomRange: pulumi.String("string"),
    							RelativeRange: &newrelic.PathpointFlowStageStageKpiQueryTimeWindowRelativeRangeArgs{
    								Since:          pulumi.String("string"),
    								CompareAgainst: pulumi.String("string"),
    							},
    						},
    						Where: pulumi.String("string"),
    					},
    					AccountId:   pulumi.String("string"),
    					Category:    pulumi.String("string"),
    					Description: pulumi.String("string"),
    					Id:          pulumi.String("string"),
    					MetricQuery: pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    resource "newrelic_pathpoint_flow" "pathpointFlowResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_id    = "string"
      category      = "string"
      description   = "string"
      health_rollup = "string"
      kpis {
        name = "string"
        query = {
          from = "string"
          select = {
            aggregation_type = "string"
            alias            = "string"
            attribute        = "string"
            threshold        = 0
          }
          time_window = {
            custom_range = "string"
            relative_range = {
              since           = "string"
              compare_against = "string"
            }
          }
          where = "string"
        }
        account_id   = "string"
        category     = "string"
        description  = "string"
        id           = "string"
        metric_query = "string"
      }
      name             = "string"
      refresh_interval = "string"
      stages {
        name          = "string"
        health_rollup = "string"
        id            = "string"
        is_excluded   = false
        levels {
          id = "string"
          steps {
            name = "string"
            config = {
              health_rollup   = "string"
              threshold_type  = "string"
              threshold_value = 0
            }
            entity_search_query = {
              query       = "string"
              is_excluded = false
            }
            id              = "string"
            is_excluded     = false
            link            = "string"
            scoped_accounts = [0]
            signals {
              guid        = "string"
              is_excluded = false
              name        = "string"
              type        = "string"
            }
          }
        }
        link = "string"
        related = {
          source = false
          target = false
        }
        stage_kpis {
          name = "string"
          query = {
            from = "string"
            select = {
              aggregation_type = "string"
              alias            = "string"
              attribute        = "string"
              threshold        = 0
            }
            time_window = {
              custom_range = "string"
              relative_range = {
                since           = "string"
                compare_against = "string"
              }
            }
            where = "string"
          }
          account_id   = "string"
          category     = "string"
          description  = "string"
          id           = "string"
          metric_query = "string"
        }
      }
    }
    
    var pathpointFlowResource = new PathpointFlow("pathpointFlowResource", PathpointFlowArgs.builder()
        .accountId("string")
        .category("string")
        .description("string")
        .healthRollup("string")
        .kpis(PathpointFlowKpiArgs.builder()
            .name("string")
            .query(PathpointFlowKpiQueryArgs.builder()
                .from("string")
                .select(PathpointFlowKpiQuerySelectArgs.builder()
                    .aggregationType("string")
                    .alias("string")
                    .attribute("string")
                    .threshold(0.0)
                    .build())
                .timeWindow(PathpointFlowKpiQueryTimeWindowArgs.builder()
                    .customRange("string")
                    .relativeRange(PathpointFlowKpiQueryTimeWindowRelativeRangeArgs.builder()
                        .since("string")
                        .compareAgainst("string")
                        .build())
                    .build())
                .where("string")
                .build())
            .accountId("string")
            .category("string")
            .description("string")
            .id("string")
            .metricQuery("string")
            .build())
        .name("string")
        .refreshInterval("string")
        .stages(PathpointFlowStageArgs.builder()
            .name("string")
            .healthRollup("string")
            .id("string")
            .isExcluded(false)
            .levels(PathpointFlowStageLevelArgs.builder()
                .id("string")
                .steps(PathpointFlowStageLevelStepArgs.builder()
                    .name("string")
                    .config(PathpointFlowStageLevelStepConfigArgs.builder()
                        .healthRollup("string")
                        .thresholdType("string")
                        .thresholdValue(0)
                        .build())
                    .entitySearchQuery(PathpointFlowStageLevelStepEntitySearchQueryArgs.builder()
                        .query("string")
                        .isExcluded(false)
                        .build())
                    .id("string")
                    .isExcluded(false)
                    .link("string")
                    .scopedAccounts(0)
                    .signals(PathpointFlowStageLevelStepSignalArgs.builder()
                        .guid("string")
                        .isExcluded(false)
                        .name("string")
                        .type("string")
                        .build())
                    .build())
                .build())
            .link("string")
            .related(PathpointFlowStageRelatedArgs.builder()
                .source(false)
                .target(false)
                .build())
            .stageKpis(PathpointFlowStageStageKpiArgs.builder()
                .name("string")
                .query(PathpointFlowStageStageKpiQueryArgs.builder()
                    .from("string")
                    .select(PathpointFlowStageStageKpiQuerySelectArgs.builder()
                        .aggregationType("string")
                        .alias("string")
                        .attribute("string")
                        .threshold(0.0)
                        .build())
                    .timeWindow(PathpointFlowStageStageKpiQueryTimeWindowArgs.builder()
                        .customRange("string")
                        .relativeRange(PathpointFlowStageStageKpiQueryTimeWindowRelativeRangeArgs.builder()
                            .since("string")
                            .compareAgainst("string")
                            .build())
                        .build())
                    .where("string")
                    .build())
                .accountId("string")
                .category("string")
                .description("string")
                .id("string")
                .metricQuery("string")
                .build())
            .build())
        .build());
    
    pathpoint_flow_resource = newrelic.PathpointFlow("pathpointFlowResource",
        account_id="string",
        category="string",
        description="string",
        health_rollup="string",
        kpis=[{
            "name": "string",
            "query": {
                "from_": "string",
                "select": {
                    "aggregation_type": "string",
                    "alias": "string",
                    "attribute": "string",
                    "threshold": float(0),
                },
                "time_window": {
                    "custom_range": "string",
                    "relative_range": {
                        "since": "string",
                        "compare_against": "string",
                    },
                },
                "where": "string",
            },
            "account_id": "string",
            "category": "string",
            "description": "string",
            "id": "string",
            "metric_query": "string",
        }],
        name="string",
        refresh_interval="string",
        stages=[{
            "name": "string",
            "health_rollup": "string",
            "id": "string",
            "is_excluded": False,
            "levels": [{
                "id": "string",
                "steps": [{
                    "name": "string",
                    "config": {
                        "health_rollup": "string",
                        "threshold_type": "string",
                        "threshold_value": 0,
                    },
                    "entity_search_query": {
                        "query": "string",
                        "is_excluded": False,
                    },
                    "id": "string",
                    "is_excluded": False,
                    "link": "string",
                    "scoped_accounts": [0],
                    "signals": [{
                        "guid": "string",
                        "is_excluded": False,
                        "name": "string",
                        "type": "string",
                    }],
                }],
            }],
            "link": "string",
            "related": {
                "source": False,
                "target": False,
            },
            "stage_kpis": [{
                "name": "string",
                "query": {
                    "from_": "string",
                    "select": {
                        "aggregation_type": "string",
                        "alias": "string",
                        "attribute": "string",
                        "threshold": float(0),
                    },
                    "time_window": {
                        "custom_range": "string",
                        "relative_range": {
                            "since": "string",
                            "compare_against": "string",
                        },
                    },
                    "where": "string",
                },
                "account_id": "string",
                "category": "string",
                "description": "string",
                "id": "string",
                "metric_query": "string",
            }],
        }])
    
    const pathpointFlowResource = new newrelic.PathpointFlow("pathpointFlowResource", {
        accountId: "string",
        category: "string",
        description: "string",
        healthRollup: "string",
        kpis: [{
            name: "string",
            query: {
                from: "string",
                select: {
                    aggregationType: "string",
                    alias: "string",
                    attribute: "string",
                    threshold: 0,
                },
                timeWindow: {
                    customRange: "string",
                    relativeRange: {
                        since: "string",
                        compareAgainst: "string",
                    },
                },
                where: "string",
            },
            accountId: "string",
            category: "string",
            description: "string",
            id: "string",
            metricQuery: "string",
        }],
        name: "string",
        refreshInterval: "string",
        stages: [{
            name: "string",
            healthRollup: "string",
            id: "string",
            isExcluded: false,
            levels: [{
                id: "string",
                steps: [{
                    name: "string",
                    config: {
                        healthRollup: "string",
                        thresholdType: "string",
                        thresholdValue: 0,
                    },
                    entitySearchQuery: {
                        query: "string",
                        isExcluded: false,
                    },
                    id: "string",
                    isExcluded: false,
                    link: "string",
                    scopedAccounts: [0],
                    signals: [{
                        guid: "string",
                        isExcluded: false,
                        name: "string",
                        type: "string",
                    }],
                }],
            }],
            link: "string",
            related: {
                source: false,
                target: false,
            },
            stageKpis: [{
                name: "string",
                query: {
                    from: "string",
                    select: {
                        aggregationType: "string",
                        alias: "string",
                        attribute: "string",
                        threshold: 0,
                    },
                    timeWindow: {
                        customRange: "string",
                        relativeRange: {
                            since: "string",
                            compareAgainst: "string",
                        },
                    },
                    where: "string",
                },
                accountId: "string",
                category: "string",
                description: "string",
                id: "string",
                metricQuery: "string",
            }],
        }],
    });
    
    type: newrelic:PathpointFlow
    properties:
        accountId: string
        category: string
        description: string
        healthRollup: string
        kpis:
            - accountId: string
              category: string
              description: string
              id: string
              metricQuery: string
              name: string
              query:
                from: string
                select:
                    aggregationType: string
                    alias: string
                    attribute: string
                    threshold: 0
                timeWindow:
                    customRange: string
                    relativeRange:
                        compareAgainst: string
                        since: string
                where: string
        name: string
        refreshInterval: string
        stages:
            - healthRollup: string
              id: string
              isExcluded: false
              levels:
                - id: string
                  steps:
                    - config:
                        healthRollup: string
                        thresholdType: string
                        thresholdValue: 0
                      entitySearchQuery:
                        isExcluded: false
                        query: string
                      id: string
                      isExcluded: false
                      link: string
                      name: string
                      scopedAccounts:
                        - 0
                      signals:
                        - guid: string
                          isExcluded: false
                          name: string
                          type: string
              link: string
              name: string
              related:
                source: false
                target: false
              stageKpis:
                - accountId: string
                  category: string
                  description: string
                  id: string
                  metricQuery: string
                  name: string
                  query:
                    from: string
                    select:
                        aggregationType: string
                        alias: string
                        attribute: string
                        threshold: 0
                    timeWindow:
                        customRange: string
                        relativeRange:
                            compareAgainst: string
                            since: string
                    where: string
    

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

    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    Kpis List<Pulumi.NewRelic.Inputs.PathpointFlowKpi>
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    Name string
    The display name of the Pathpoint flow.
    RefreshInterval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    Stages List<Pulumi.NewRelic.Inputs.PathpointFlowStage>
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    Kpis []PathpointFlowKpiArgs
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    Name string
    The display name of the Pathpoint flow.
    RefreshInterval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    Stages []PathpointFlowStageArgs
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    account_id string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    health_rollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis list(object)
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name string
    The display name of the Pathpoint flow.
    refresh_interval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages list(object)
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis List<PathpointFlowKpi>
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name String
    The display name of the Pathpoint flow.
    refreshInterval String
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages List<PathpointFlowStage>
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    accountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    healthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis PathpointFlowKpi[]
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name string
    The display name of the Pathpoint flow.
    refreshInterval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages PathpointFlowStage[]
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    account_id str
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category str
    A category used to group flows (e.g. Marketing, Checkout).
    description str
    A brief description of the flow.
    health_rollup str
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis Sequence[PathpointFlowKpiArgs]
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name str
    The display name of the Pathpoint flow.
    refresh_interval str
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages Sequence[PathpointFlowStageArgs]
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis List<Property Map>
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name String
    The display name of the Pathpoint flow.
    refreshInterval String
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages List<Property Map>
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.

    Outputs

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

    Guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    Guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    Id string
    The provider-assigned unique ID for this managed resource.
    Version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    id string
    The provider-assigned unique ID for this managed resource.
    version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    guid String
    The entity GUID assigned to this Pathpoint flow in New Relic.
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    id string
    The provider-assigned unique ID for this managed resource.
    version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    guid str
    The entity GUID assigned to this Pathpoint flow in New Relic.
    id str
    The provider-assigned unique ID for this managed resource.
    version str
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    guid String
    The entity GUID assigned to this Pathpoint flow in New Relic.
    id String
    The provider-assigned unique ID for this managed resource.
    version String
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.

    Look up Existing PathpointFlow Resource

    Get an existing PathpointFlow 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?: PathpointFlowState, opts?: CustomResourceOptions): PathpointFlow
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            category: Optional[str] = None,
            description: Optional[str] = None,
            guid: Optional[str] = None,
            health_rollup: Optional[str] = None,
            kpis: Optional[Sequence[PathpointFlowKpiArgs]] = None,
            name: Optional[str] = None,
            refresh_interval: Optional[str] = None,
            stages: Optional[Sequence[PathpointFlowStageArgs]] = None,
            version: Optional[str] = None) -> PathpointFlow
    func GetPathpointFlow(ctx *Context, name string, id IDInput, state *PathpointFlowState, opts ...ResourceOption) (*PathpointFlow, error)
    public static PathpointFlow Get(string name, Input<string> id, PathpointFlowState? state, CustomResourceOptions? opts = null)
    public static PathpointFlow get(String name, Output<String> id, PathpointFlowState state, CustomResourceOptions options)
    resources:  _:    type: newrelic:PathpointFlow    get:      id: ${id}
    import {
      to = newrelic_pathpoint_flow.example
      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.
    The following state arguments are supported:
    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    Guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    Kpis List<Pulumi.NewRelic.Inputs.PathpointFlowKpi>
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    Name string
    The display name of the Pathpoint flow.
    RefreshInterval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    Stages List<Pulumi.NewRelic.Inputs.PathpointFlowStage>
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    Version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    Guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    Kpis []PathpointFlowKpiArgs
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    Name string
    The display name of the Pathpoint flow.
    RefreshInterval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    Stages []PathpointFlowStageArgs
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    Version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    account_id string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    health_rollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis list(object)
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name string
    The display name of the Pathpoint flow.
    refresh_interval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages list(object)
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    guid String
    The entity GUID assigned to this Pathpoint flow in New Relic.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis List<PathpointFlowKpi>
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name String
    The display name of the Pathpoint flow.
    refreshInterval String
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages List<PathpointFlowStage>
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    version String
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    accountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    healthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis PathpointFlowKpi[]
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name string
    The display name of the Pathpoint flow.
    refreshInterval string
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages PathpointFlowStage[]
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    version string
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    account_id str
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category str
    A category used to group flows (e.g. Marketing, Checkout).
    description str
    A brief description of the flow.
    guid str
    The entity GUID assigned to this Pathpoint flow in New Relic.
    health_rollup str
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis Sequence[PathpointFlowKpiArgs]
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name str
    The display name of the Pathpoint flow.
    refresh_interval str
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages Sequence[PathpointFlowStageArgs]
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    version str
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    guid String
    The entity GUID assigned to this Pathpoint flow in New Relic.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    kpis List<Property Map>
    A list of Key Performance Indicators tracked at the flow level. See Nested kpis blocks below for details.
    name String
    The display name of the Pathpoint flow.
    refreshInterval String
    How often the flow, stage, level, and step health statuses are refreshed. Defaults to ONE_MINUTE if not set. Valid values: ONE_MINUTE, FIVE_MINUTES, TEN_MINUTES, FIFTEEN_MINUTES, THIRTY_MINUTES.
    stages List<Property Map>
    An ordered list of stages that make up this flow. Maximum 50 stages. A flow can be created without stages and stages can be added later. See Nested stages blocks below for details.
    version String
    The last-updated epoch-millisecond timestamp used for optimistic concurrency control. This is managed automatically and must not be modified. It is persisted to state after every create/update and sent to the API on each subsequent update.

    • stages.#.id - The internal workload ID of the stage. Populated after creation and used to identify stages on updates.
    • stages.#.levels.#.id - The internal workload ID of the level. Populated after creation and used to identify levels on updates.
    • stages.#.levels.#.steps.#.id - The internal workload ID of the step. Populated after creation and used to identify steps on updates.
    • kpis.#.id - The internal ID of the flow-level KPI. Populated after creation.
    • kpis.#.metric_query - The resolved NRQL metric query string synthesized from the KPI's query block. This is a read-only computed value set by the API.
    • stages.#.stage_kpis.#.id - The internal ID of the stage-level KPI. Populated after creation.

    Supporting Types

    PathpointFlowKpi, PathpointFlowKpiArgs

    Name string
    The display name of the Pathpoint flow.
    Query Pulumi.NewRelic.Inputs.PathpointFlowKpiQuery
    NRQL query definition for this KPI.
    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    Id string
    The unique identifier of the KPI.
    MetricQuery string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    Name string
    The display name of the Pathpoint flow.
    Query PathpointFlowKpiQuery
    NRQL query definition for this KPI.
    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    Id string
    The unique identifier of the KPI.
    MetricQuery string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name string
    The display name of the Pathpoint flow.
    query object
    NRQL query definition for this KPI.
    account_id string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    id string
    The unique identifier of the KPI.
    metric_query string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name String
    The display name of the Pathpoint flow.
    query PathpointFlowKpiQuery
    NRQL query definition for this KPI.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    id String
    The unique identifier of the KPI.
    metricQuery String
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name string
    The display name of the Pathpoint flow.
    query PathpointFlowKpiQuery
    NRQL query definition for this KPI.
    accountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    id string
    The unique identifier of the KPI.
    metricQuery string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name str
    The display name of the Pathpoint flow.
    query PathpointFlowKpiQuery
    NRQL query definition for this KPI.
    account_id str
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category str
    A category used to group flows (e.g. Marketing, Checkout).
    description str
    A brief description of the flow.
    id str
    The unique identifier of the KPI.
    metric_query str
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name String
    The display name of the Pathpoint flow.
    query Property Map
    NRQL query definition for this KPI.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    id String
    The unique identifier of the KPI.
    metricQuery String
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.

    PathpointFlowKpiQuery, PathpointFlowKpiQueryArgs

    From string
    Data source to query from (e.g., Transaction, Metric, Log).
    Select Pulumi.NewRelic.Inputs.PathpointFlowKpiQuerySelect
    SELECT clause defining what to aggregate.
    TimeWindow Pulumi.NewRelic.Inputs.PathpointFlowKpiQueryTimeWindow
    Time window for KPI evaluation.
    Where string
    Optional WHERE clause to filter data.
    From string
    Data source to query from (e.g., Transaction, Metric, Log).
    Select PathpointFlowKpiQuerySelect
    SELECT clause defining what to aggregate.
    TimeWindow PathpointFlowKpiQueryTimeWindow
    Time window for KPI evaluation.
    Where string
    Optional WHERE clause to filter data.
    from string
    Data source to query from (e.g., Transaction, Metric, Log).
    select object
    SELECT clause defining what to aggregate.
    time_window object
    Time window for KPI evaluation.
    where string
    Optional WHERE clause to filter data.
    from String
    Data source to query from (e.g., Transaction, Metric, Log).
    select PathpointFlowKpiQuerySelect
    SELECT clause defining what to aggregate.
    timeWindow PathpointFlowKpiQueryTimeWindow
    Time window for KPI evaluation.
    where String
    Optional WHERE clause to filter data.
    from string
    Data source to query from (e.g., Transaction, Metric, Log).
    select PathpointFlowKpiQuerySelect
    SELECT clause defining what to aggregate.
    timeWindow PathpointFlowKpiQueryTimeWindow
    Time window for KPI evaluation.
    where string
    Optional WHERE clause to filter data.
    from_ str
    Data source to query from (e.g., Transaction, Metric, Log).
    select PathpointFlowKpiQuerySelect
    SELECT clause defining what to aggregate.
    time_window PathpointFlowKpiQueryTimeWindow
    Time window for KPI evaluation.
    where str
    Optional WHERE clause to filter data.
    from String
    Data source to query from (e.g., Transaction, Metric, Log).
    select Property Map
    SELECT clause defining what to aggregate.
    timeWindow Property Map
    Time window for KPI evaluation.
    where String
    Optional WHERE clause to filter data.

    PathpointFlowKpiQuerySelect, PathpointFlowKpiQuerySelectArgs

    AggregationType string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    Alias string
    Optional alias for the aggregated value.
    Attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    Threshold double
    Threshold used in the selected function.
    AggregationType string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    Alias string
    Optional alias for the aggregated value.
    Attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    Threshold float64
    Threshold used in the selected function.
    aggregation_type string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias string
    Optional alias for the aggregated value.
    attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold number
    Threshold used in the selected function.
    aggregationType String
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias String
    Optional alias for the aggregated value.
    attribute String
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold Double
    Threshold used in the selected function.
    aggregationType string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias string
    Optional alias for the aggregated value.
    attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold number
    Threshold used in the selected function.
    aggregation_type str
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias str
    Optional alias for the aggregated value.
    attribute str
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold float
    Threshold used in the selected function.
    aggregationType String
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias String
    Optional alias for the aggregated value.
    attribute String
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold Number
    Threshold used in the selected function.

    PathpointFlowKpiQueryTimeWindow, PathpointFlowKpiQueryTimeWindowArgs

    CustomRange string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    RelativeRange Pulumi.NewRelic.Inputs.PathpointFlowKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    CustomRange string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    RelativeRange PathpointFlowKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    custom_range string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relative_range object
    Relative time window. Mutually exclusive with custom_range.
    customRange String
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relativeRange PathpointFlowKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    customRange string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relativeRange PathpointFlowKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    custom_range str
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relative_range PathpointFlowKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    customRange String
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relativeRange Property Map
    Relative time window. Mutually exclusive with custom_range.

    PathpointFlowKpiQueryTimeWindowRelativeRange, PathpointFlowKpiQueryTimeWindowRelativeRangeArgs

    Since string
    How far back the KPI is evaluated.
    CompareAgainst string
    The earlier window to compare against.
    Since string
    How far back the KPI is evaluated.
    CompareAgainst string
    The earlier window to compare against.
    since string
    How far back the KPI is evaluated.
    compare_against string
    The earlier window to compare against.
    since String
    How far back the KPI is evaluated.
    compareAgainst String
    The earlier window to compare against.
    since string
    How far back the KPI is evaluated.
    compareAgainst string
    The earlier window to compare against.
    since str
    How far back the KPI is evaluated.
    compare_against str
    The earlier window to compare against.
    since String
    How far back the KPI is evaluated.
    compareAgainst String
    The earlier window to compare against.

    PathpointFlowStage, PathpointFlowStageArgs

    Name string
    The display name of the Pathpoint flow.
    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    Id string
    Internal stage workload ID, used for updates.
    IsExcluded bool
    When true, this stage is excluded from flow health calculation.
    Levels List<Pulumi.NewRelic.Inputs.PathpointFlowStageLevel>
    Ordered list of levels within this stage.
    Link string
    Optional URL to an external resource.
    Related Pulumi.NewRelic.Inputs.PathpointFlowStageRelated
    Relationship role of this stage within the flow.
    StageKpis List<Pulumi.NewRelic.Inputs.PathpointFlowStageStageKpi>
    KPIs tracked at the stage level.
    Name string
    The display name of the Pathpoint flow.
    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    Id string
    Internal stage workload ID, used for updates.
    IsExcluded bool
    When true, this stage is excluded from flow health calculation.
    Levels []PathpointFlowStageLevel
    Ordered list of levels within this stage.
    Link string
    Optional URL to an external resource.
    Related PathpointFlowStageRelated
    Relationship role of this stage within the flow.
    StageKpis []PathpointFlowStageStageKpi
    KPIs tracked at the stage level.
    name string
    The display name of the Pathpoint flow.
    health_rollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    id string
    Internal stage workload ID, used for updates.
    is_excluded bool
    When true, this stage is excluded from flow health calculation.
    levels list(object)
    Ordered list of levels within this stage.
    link string
    Optional URL to an external resource.
    related object
    Relationship role of this stage within the flow.
    stage_kpis list(object)
    KPIs tracked at the stage level.
    name String
    The display name of the Pathpoint flow.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    id String
    Internal stage workload ID, used for updates.
    isExcluded Boolean
    When true, this stage is excluded from flow health calculation.
    levels List<PathpointFlowStageLevel>
    Ordered list of levels within this stage.
    link String
    Optional URL to an external resource.
    related PathpointFlowStageRelated
    Relationship role of this stage within the flow.
    stageKpis List<PathpointFlowStageStageKpi>
    KPIs tracked at the stage level.
    name string
    The display name of the Pathpoint flow.
    healthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    id string
    Internal stage workload ID, used for updates.
    isExcluded boolean
    When true, this stage is excluded from flow health calculation.
    levels PathpointFlowStageLevel[]
    Ordered list of levels within this stage.
    link string
    Optional URL to an external resource.
    related PathpointFlowStageRelated
    Relationship role of this stage within the flow.
    stageKpis PathpointFlowStageStageKpi[]
    KPIs tracked at the stage level.
    name str
    The display name of the Pathpoint flow.
    health_rollup str
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    id str
    Internal stage workload ID, used for updates.
    is_excluded bool
    When true, this stage is excluded from flow health calculation.
    levels Sequence[PathpointFlowStageLevel]
    Ordered list of levels within this stage.
    link str
    Optional URL to an external resource.
    related PathpointFlowStageRelated
    Relationship role of this stage within the flow.
    stage_kpis Sequence[PathpointFlowStageStageKpi]
    KPIs tracked at the stage level.
    name String
    The display name of the Pathpoint flow.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    id String
    Internal stage workload ID, used for updates.
    isExcluded Boolean
    When true, this stage is excluded from flow health calculation.
    levels List<Property Map>
    Ordered list of levels within this stage.
    link String
    Optional URL to an external resource.
    related Property Map
    Relationship role of this stage within the flow.
    stageKpis List<Property Map>
    KPIs tracked at the stage level.

    PathpointFlowStageLevel, PathpointFlowStageLevelArgs

    Id string
    Internal level workload ID, used for updates.
    Steps List<Pulumi.NewRelic.Inputs.PathpointFlowStageLevelStep>
    Ordered list of steps within this level.
    Id string
    Internal level workload ID, used for updates.
    Steps []PathpointFlowStageLevelStep
    Ordered list of steps within this level.
    id string
    Internal level workload ID, used for updates.
    steps list(object)
    Ordered list of steps within this level.
    id String
    Internal level workload ID, used for updates.
    steps List<PathpointFlowStageLevelStep>
    Ordered list of steps within this level.
    id string
    Internal level workload ID, used for updates.
    steps PathpointFlowStageLevelStep[]
    Ordered list of steps within this level.
    id str
    Internal level workload ID, used for updates.
    steps Sequence[PathpointFlowStageLevelStep]
    Ordered list of steps within this level.
    id String
    Internal level workload ID, used for updates.
    steps List<Property Map>
    Ordered list of steps within this level.

    PathpointFlowStageLevelStep, PathpointFlowStageLevelStepArgs

    Name string
    The display name of the Pathpoint flow.
    Config Pulumi.NewRelic.Inputs.PathpointFlowStageLevelStepConfig
    Health evaluation configuration for this step.
    EntitySearchQuery Pulumi.NewRelic.Inputs.PathpointFlowStageLevelStepEntitySearchQuery
    Filter query used to fetch signals for this step.
    Id string
    Internal step workload ID, used for updates.
    IsExcluded bool
    When true, this step is excluded from level health calculation.
    Link string
    Optional URL to an external resource.
    ScopedAccounts List<int>
    Account IDs whose data is scoped to this step.
    Signals List<Pulumi.NewRelic.Inputs.PathpointFlowStageLevelStepSignal>
    Entity signals associated with this step.
    Name string
    The display name of the Pathpoint flow.
    Config PathpointFlowStageLevelStepConfig
    Health evaluation configuration for this step.
    EntitySearchQuery PathpointFlowStageLevelStepEntitySearchQuery
    Filter query used to fetch signals for this step.
    Id string
    Internal step workload ID, used for updates.
    IsExcluded bool
    When true, this step is excluded from level health calculation.
    Link string
    Optional URL to an external resource.
    ScopedAccounts []int
    Account IDs whose data is scoped to this step.
    Signals []PathpointFlowStageLevelStepSignal
    Entity signals associated with this step.
    name string
    The display name of the Pathpoint flow.
    config object
    Health evaluation configuration for this step.
    entity_search_query object
    Filter query used to fetch signals for this step.
    id string
    Internal step workload ID, used for updates.
    is_excluded bool
    When true, this step is excluded from level health calculation.
    link string
    Optional URL to an external resource.
    scoped_accounts list(number)
    Account IDs whose data is scoped to this step.
    signals list(object)
    Entity signals associated with this step.
    name String
    The display name of the Pathpoint flow.
    config PathpointFlowStageLevelStepConfig
    Health evaluation configuration for this step.
    entitySearchQuery PathpointFlowStageLevelStepEntitySearchQuery
    Filter query used to fetch signals for this step.
    id String
    Internal step workload ID, used for updates.
    isExcluded Boolean
    When true, this step is excluded from level health calculation.
    link String
    Optional URL to an external resource.
    scopedAccounts List<Integer>
    Account IDs whose data is scoped to this step.
    signals List<PathpointFlowStageLevelStepSignal>
    Entity signals associated with this step.
    name string
    The display name of the Pathpoint flow.
    config PathpointFlowStageLevelStepConfig
    Health evaluation configuration for this step.
    entitySearchQuery PathpointFlowStageLevelStepEntitySearchQuery
    Filter query used to fetch signals for this step.
    id string
    Internal step workload ID, used for updates.
    isExcluded boolean
    When true, this step is excluded from level health calculation.
    link string
    Optional URL to an external resource.
    scopedAccounts number[]
    Account IDs whose data is scoped to this step.
    signals PathpointFlowStageLevelStepSignal[]
    Entity signals associated with this step.
    name str
    The display name of the Pathpoint flow.
    config PathpointFlowStageLevelStepConfig
    Health evaluation configuration for this step.
    entity_search_query PathpointFlowStageLevelStepEntitySearchQuery
    Filter query used to fetch signals for this step.
    id str
    Internal step workload ID, used for updates.
    is_excluded bool
    When true, this step is excluded from level health calculation.
    link str
    Optional URL to an external resource.
    scoped_accounts Sequence[int]
    Account IDs whose data is scoped to this step.
    signals Sequence[PathpointFlowStageLevelStepSignal]
    Entity signals associated with this step.
    name String
    The display name of the Pathpoint flow.
    config Property Map
    Health evaluation configuration for this step.
    entitySearchQuery Property Map
    Filter query used to fetch signals for this step.
    id String
    Internal step workload ID, used for updates.
    isExcluded Boolean
    When true, this step is excluded from level health calculation.
    link String
    Optional URL to an external resource.
    scopedAccounts List<Number>
    Account IDs whose data is scoped to this step.
    signals List<Property Map>
    Entity signals associated with this step.

    PathpointFlowStageLevelStepConfig, PathpointFlowStageLevelStepConfigArgs

    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    ThresholdType string
    Whether threshold is FIXED or PERCENTAGE.
    ThresholdValue int
    Numeric threshold value for step health evaluation.
    HealthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    ThresholdType string
    Whether threshold is FIXED or PERCENTAGE.
    ThresholdValue int
    Numeric threshold value for step health evaluation.
    health_rollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    threshold_type string
    Whether threshold is FIXED or PERCENTAGE.
    threshold_value number
    Numeric threshold value for step health evaluation.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    thresholdType String
    Whether threshold is FIXED or PERCENTAGE.
    thresholdValue Integer
    Numeric threshold value for step health evaluation.
    healthRollup string
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    thresholdType string
    Whether threshold is FIXED or PERCENTAGE.
    thresholdValue number
    Numeric threshold value for step health evaluation.
    health_rollup str
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    threshold_type str
    Whether threshold is FIXED or PERCENTAGE.
    threshold_value int
    Numeric threshold value for step health evaluation.
    healthRollup String
    Health rollup strategy for the flow, derived from its stages. Valid values: ALERT_CONDITIONS, AUTOMATIC_ROLL_UP.
    thresholdType String
    Whether threshold is FIXED or PERCENTAGE.
    thresholdValue Number
    Numeric threshold value for step health evaluation.

    PathpointFlowStageLevelStepEntitySearchQuery, PathpointFlowStageLevelStepEntitySearchQueryArgs

    Query string
    Filter query for signals, e.g. domain='NR1' AND type='APPLICATION'.
    IsExcluded bool
    When true, this query is excluded from health calculation.
    Query string
    Filter query for signals, e.g. domain='NR1' AND type='APPLICATION'.
    IsExcluded bool
    When true, this query is excluded from health calculation.
    query string
    Filter query for signals, e.g. domain='NR1' AND type='APPLICATION'.
    is_excluded bool
    When true, this query is excluded from health calculation.
    query String
    Filter query for signals, e.g. domain='NR1' AND type='APPLICATION'.
    isExcluded Boolean
    When true, this query is excluded from health calculation.
    query string
    Filter query for signals, e.g. domain='NR1' AND type='APPLICATION'.
    isExcluded boolean
    When true, this query is excluded from health calculation.
    query str
    Filter query for signals, e.g. domain='NR1' AND type='APPLICATION'.
    is_excluded bool
    When true, this query is excluded from health calculation.
    query String
    Filter query for signals, e.g. domain='NR1' AND type='APPLICATION'.
    isExcluded Boolean
    When true, this query is excluded from health calculation.

    PathpointFlowStageLevelStepSignal, PathpointFlowStageLevelStepSignalArgs

    Guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    IsExcluded bool
    When true, this signal is excluded from step health calculation.
    Name string
    The display name of the Pathpoint flow.
    Type string
    Whether this GUID belongs to an entity or an alert condition: ENTITY or ALERT.
    Guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    IsExcluded bool
    When true, this signal is excluded from step health calculation.
    Name string
    The display name of the Pathpoint flow.
    Type string
    Whether this GUID belongs to an entity or an alert condition: ENTITY or ALERT.
    guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    is_excluded bool
    When true, this signal is excluded from step health calculation.
    name string
    The display name of the Pathpoint flow.
    type string
    Whether this GUID belongs to an entity or an alert condition: ENTITY or ALERT.
    guid String
    The entity GUID assigned to this Pathpoint flow in New Relic.
    isExcluded Boolean
    When true, this signal is excluded from step health calculation.
    name String
    The display name of the Pathpoint flow.
    type String
    Whether this GUID belongs to an entity or an alert condition: ENTITY or ALERT.
    guid string
    The entity GUID assigned to this Pathpoint flow in New Relic.
    isExcluded boolean
    When true, this signal is excluded from step health calculation.
    name string
    The display name of the Pathpoint flow.
    type string
    Whether this GUID belongs to an entity or an alert condition: ENTITY or ALERT.
    guid str
    The entity GUID assigned to this Pathpoint flow in New Relic.
    is_excluded bool
    When true, this signal is excluded from step health calculation.
    name str
    The display name of the Pathpoint flow.
    type str
    Whether this GUID belongs to an entity or an alert condition: ENTITY or ALERT.
    guid String
    The entity GUID assigned to this Pathpoint flow in New Relic.
    isExcluded Boolean
    When true, this signal is excluded from step health calculation.
    name String
    The display name of the Pathpoint flow.
    type String
    Whether this GUID belongs to an entity or an alert condition: ENTITY or ALERT.

    PathpointFlowStageRelated, PathpointFlowStageRelatedArgs

    Source bool
    When true, this stage acts as a source to other stages.
    Target bool
    When true, this stage acts as a target to other stages.
    Source bool
    When true, this stage acts as a source to other stages.
    Target bool
    When true, this stage acts as a target to other stages.
    source bool
    When true, this stage acts as a source to other stages.
    target bool
    When true, this stage acts as a target to other stages.
    source Boolean
    When true, this stage acts as a source to other stages.
    target Boolean
    When true, this stage acts as a target to other stages.
    source boolean
    When true, this stage acts as a source to other stages.
    target boolean
    When true, this stage acts as a target to other stages.
    source bool
    When true, this stage acts as a source to other stages.
    target bool
    When true, this stage acts as a target to other stages.
    source Boolean
    When true, this stage acts as a source to other stages.
    target Boolean
    When true, this stage acts as a target to other stages.

    PathpointFlowStageStageKpi, PathpointFlowStageStageKpiArgs

    Name string
    The display name of the Pathpoint flow.
    Query Pulumi.NewRelic.Inputs.PathpointFlowStageStageKpiQuery
    NRQL query definition for this KPI.
    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    Id string
    The unique identifier of the KPI.
    MetricQuery string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    Name string
    The display name of the Pathpoint flow.
    Query PathpointFlowStageStageKpiQuery
    NRQL query definition for this KPI.
    AccountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    Category string
    A category used to group flows (e.g. Marketing, Checkout).
    Description string
    A brief description of the flow.
    Id string
    The unique identifier of the KPI.
    MetricQuery string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name string
    The display name of the Pathpoint flow.
    query object
    NRQL query definition for this KPI.
    account_id string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    id string
    The unique identifier of the KPI.
    metric_query string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name String
    The display name of the Pathpoint flow.
    query PathpointFlowStageStageKpiQuery
    NRQL query definition for this KPI.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    id String
    The unique identifier of the KPI.
    metricQuery String
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name string
    The display name of the Pathpoint flow.
    query PathpointFlowStageStageKpiQuery
    NRQL query definition for this KPI.
    accountId string
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category string
    A category used to group flows (e.g. Marketing, Checkout).
    description string
    A brief description of the flow.
    id string
    The unique identifier of the KPI.
    metricQuery string
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name str
    The display name of the Pathpoint flow.
    query PathpointFlowStageStageKpiQuery
    NRQL query definition for this KPI.
    account_id str
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category str
    A category used to group flows (e.g. Marketing, Checkout).
    description str
    A brief description of the flow.
    id str
    The unique identifier of the KPI.
    metric_query str
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.
    name String
    The display name of the Pathpoint flow.
    query Property Map
    NRQL query definition for this KPI.
    accountId String
    The New Relic account ID that owns this Pathpoint flow. Defaults to the provider account ID.
    category String
    A category used to group flows (e.g. Marketing, Checkout).
    description String
    A brief description of the flow.
    id String
    The unique identifier of the KPI.
    metricQuery String
    NRQL query using Metric, derived after processing event-to-metric rules. Read-only.

    PathpointFlowStageStageKpiQuery, PathpointFlowStageStageKpiQueryArgs

    From string
    Data source to query from (e.g., Transaction, Metric, Log).
    Select Pulumi.NewRelic.Inputs.PathpointFlowStageStageKpiQuerySelect
    SELECT clause defining what to aggregate.
    TimeWindow Pulumi.NewRelic.Inputs.PathpointFlowStageStageKpiQueryTimeWindow
    Time window for KPI evaluation.
    Where string
    Optional WHERE clause to filter data.
    From string
    Data source to query from (e.g., Transaction, Metric, Log).
    Select PathpointFlowStageStageKpiQuerySelect
    SELECT clause defining what to aggregate.
    TimeWindow PathpointFlowStageStageKpiQueryTimeWindow
    Time window for KPI evaluation.
    Where string
    Optional WHERE clause to filter data.
    from string
    Data source to query from (e.g., Transaction, Metric, Log).
    select object
    SELECT clause defining what to aggregate.
    time_window object
    Time window for KPI evaluation.
    where string
    Optional WHERE clause to filter data.
    from String
    Data source to query from (e.g., Transaction, Metric, Log).
    select PathpointFlowStageStageKpiQuerySelect
    SELECT clause defining what to aggregate.
    timeWindow PathpointFlowStageStageKpiQueryTimeWindow
    Time window for KPI evaluation.
    where String
    Optional WHERE clause to filter data.
    from string
    Data source to query from (e.g., Transaction, Metric, Log).
    select PathpointFlowStageStageKpiQuerySelect
    SELECT clause defining what to aggregate.
    timeWindow PathpointFlowStageStageKpiQueryTimeWindow
    Time window for KPI evaluation.
    where string
    Optional WHERE clause to filter data.
    from_ str
    Data source to query from (e.g., Transaction, Metric, Log).
    select PathpointFlowStageStageKpiQuerySelect
    SELECT clause defining what to aggregate.
    time_window PathpointFlowStageStageKpiQueryTimeWindow
    Time window for KPI evaluation.
    where str
    Optional WHERE clause to filter data.
    from String
    Data source to query from (e.g., Transaction, Metric, Log).
    select Property Map
    SELECT clause defining what to aggregate.
    timeWindow Property Map
    Time window for KPI evaluation.
    where String
    Optional WHERE clause to filter data.

    PathpointFlowStageStageKpiQuerySelect, PathpointFlowStageStageKpiQuerySelectArgs

    AggregationType string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    Alias string
    Optional alias for the aggregated value.
    Attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    Threshold double
    Threshold used in the selected function.
    AggregationType string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    Alias string
    Optional alias for the aggregated value.
    Attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    Threshold float64
    Threshold used in the selected function.
    aggregation_type string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias string
    Optional alias for the aggregated value.
    attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold number
    Threshold used in the selected function.
    aggregationType String
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias String
    Optional alias for the aggregated value.
    attribute String
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold Double
    Threshold used in the selected function.
    aggregationType string
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias string
    Optional alias for the aggregated value.
    attribute string
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold number
    Threshold used in the selected function.
    aggregation_type str
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias str
    Optional alias for the aggregated value.
    attribute str
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold float
    Threshold used in the selected function.
    aggregationType String
    Aggregation function: AVERAGE, COUNT, HISTOGRAM, MAX, MIN, PERCENTILE, SUM, UNIQUE_COUNT.
    alias String
    Optional alias for the aggregated value.
    attribute String
    Attribute name to aggregate. Required for all functions except COUNT.
    threshold Number
    Threshold used in the selected function.

    PathpointFlowStageStageKpiQueryTimeWindow, PathpointFlowStageStageKpiQueryTimeWindowArgs

    CustomRange string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    RelativeRange Pulumi.NewRelic.Inputs.PathpointFlowStageStageKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    CustomRange string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    RelativeRange PathpointFlowStageStageKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    custom_range string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relative_range object
    Relative time window. Mutually exclusive with custom_range.
    customRange String
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relativeRange PathpointFlowStageStageKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    customRange string
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relativeRange PathpointFlowStageStageKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    custom_range str
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relative_range PathpointFlowStageStageKpiQueryTimeWindowRelativeRange
    Relative time window. Mutually exclusive with custom_range.
    customRange String
    Raw NRQL time fragment, e.g. 'SINCE 3 days ago COMPARE WITH 1 day ago'. Mutually exclusive with relative_range.
    relativeRange Property Map
    Relative time window. Mutually exclusive with custom_range.

    PathpointFlowStageStageKpiQueryTimeWindowRelativeRange, PathpointFlowStageStageKpiQueryTimeWindowRelativeRangeArgs

    Since string
    How far back the KPI is evaluated.
    CompareAgainst string
    The earlier window to compare against.
    Since string
    How far back the KPI is evaluated.
    CompareAgainst string
    The earlier window to compare against.
    since string
    How far back the KPI is evaluated.
    compare_against string
    The earlier window to compare against.
    since String
    How far back the KPI is evaluated.
    compareAgainst String
    The earlier window to compare against.
    since string
    How far back the KPI is evaluated.
    compareAgainst string
    The earlier window to compare against.
    since str
    How far back the KPI is evaluated.
    compare_against str
    The earlier window to compare against.
    since String
    How far back the KPI is evaluated.
    compareAgainst String
    The earlier window to compare against.

    Import

    New Relic Pathpoint flows can be imported using the flow’s entity GUID, e.g.

    $ pulumi import newrelic:index/pathpointFlow:PathpointFlow checkout GUID1
    

    NOTE: After importing, run pulumi preview to verify the state matches the existing configuration. The provider will read the current flow configuration from the API and populate all attributes in state.

    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 newrelic logo
    Viewing docs for New Relic v5.78.0
    published on Friday, Sep 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial