1. Packages
  2. Azure Classic
  3. API Docs
  4. newrelic
  5. Monitor

We recommend using Azure Native.

Azure Classic v5.77.1 published on Monday, May 13, 2024 by Pulumi

azure.newrelic.Monitor

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.77.1 published on Monday, May 13, 2024 by Pulumi

    Manages an Azure Native New Relic Monitor.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "East US",
    });
    const exampleMonitor = new azure.newrelic.Monitor("example", {
        name: "example-nrm",
        resourceGroupName: example.name,
        location: example.location,
        plan: {
            effectiveDate: "2023-06-06T00:00:00Z",
        },
        user: {
            email: "user@example.com",
            firstName: "Example",
            lastName: "User",
            phoneNumber: "+12313803556",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="East US")
    example_monitor = azure.newrelic.Monitor("example",
        name="example-nrm",
        resource_group_name=example.name,
        location=example.location,
        plan=azure.newrelic.MonitorPlanArgs(
            effective_date="2023-06-06T00:00:00Z",
        ),
        user=azure.newrelic.MonitorUserArgs(
            email="user@example.com",
            first_name="Example",
            last_name="User",
            phone_number="+12313803556",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/newrelic"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("East US"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = newrelic.NewMonitor(ctx, "example", &newrelic.MonitorArgs{
    			Name:              pulumi.String("example-nrm"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			Plan: &newrelic.MonitorPlanArgs{
    				EffectiveDate: pulumi.String("2023-06-06T00:00:00Z"),
    			},
    			User: &newrelic.MonitorUserArgs{
    				Email:       pulumi.String("user@example.com"),
    				FirstName:   pulumi.String("Example"),
    				LastName:    pulumi.String("User"),
    				PhoneNumber: pulumi.String("+12313803556"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "East US",
        });
    
        var exampleMonitor = new Azure.NewRelic.Monitor("example", new()
        {
            Name = "example-nrm",
            ResourceGroupName = example.Name,
            Location = example.Location,
            Plan = new Azure.NewRelic.Inputs.MonitorPlanArgs
            {
                EffectiveDate = "2023-06-06T00:00:00Z",
            },
            User = new Azure.NewRelic.Inputs.MonitorUserArgs
            {
                Email = "user@example.com",
                FirstName = "Example",
                LastName = "User",
                PhoneNumber = "+12313803556",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.newrelic.Monitor;
    import com.pulumi.azure.newrelic.MonitorArgs;
    import com.pulumi.azure.newrelic.inputs.MonitorPlanArgs;
    import com.pulumi.azure.newrelic.inputs.MonitorUserArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("East US")
                .build());
    
            var exampleMonitor = new Monitor("exampleMonitor", MonitorArgs.builder()        
                .name("example-nrm")
                .resourceGroupName(example.name())
                .location(example.location())
                .plan(MonitorPlanArgs.builder()
                    .effectiveDate("2023-06-06T00:00:00Z")
                    .build())
                .user(MonitorUserArgs.builder()
                    .email("user@example.com")
                    .firstName("Example")
                    .lastName("User")
                    .phoneNumber("+12313803556")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: East US
      exampleMonitor:
        type: azure:newrelic:Monitor
        name: example
        properties:
          name: example-nrm
          resourceGroupName: ${example.name}
          location: ${example.location}
          plan:
            effectiveDate: 2023-06-06T00:00:00Z
          user:
            email: user@example.com
            firstName: Example
            lastName: User
            phoneNumber: '+12313803556'
    

    Create Monitor Resource

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

    Constructor syntax

    new Monitor(name: string, args: MonitorArgs, opts?: CustomResourceOptions);
    @overload
    def Monitor(resource_name: str,
                args: MonitorArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Monitor(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                plan: Optional[MonitorPlanArgs] = None,
                resource_group_name: Optional[str] = None,
                user: Optional[MonitorUserArgs] = None,
                account_creation_source: Optional[str] = None,
                account_id: Optional[str] = None,
                ingestion_key: Optional[str] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                org_creation_source: Optional[str] = None,
                organization_id: Optional[str] = None,
                user_id: Optional[str] = None)
    func NewMonitor(ctx *Context, name string, args MonitorArgs, opts ...ResourceOption) (*Monitor, error)
    public Monitor(string name, MonitorArgs args, CustomResourceOptions? opts = null)
    public Monitor(String name, MonitorArgs args)
    public Monitor(String name, MonitorArgs args, CustomResourceOptions options)
    
    type: azure:newrelic:Monitor
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MonitorArgs
    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 MonitorArgs
    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 MonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var azureMonitorResource = new Azure.NewRelic.Monitor("azureMonitorResource", new()
    {
        Plan = new Azure.NewRelic.Inputs.MonitorPlanArgs
        {
            EffectiveDate = "string",
            BillingCycle = "string",
            PlanId = "string",
            UsageType = "string",
        },
        ResourceGroupName = "string",
        User = new Azure.NewRelic.Inputs.MonitorUserArgs
        {
            Email = "string",
            FirstName = "string",
            LastName = "string",
            PhoneNumber = "string",
        },
        AccountCreationSource = "string",
        AccountId = "string",
        IngestionKey = "string",
        Location = "string",
        Name = "string",
        OrgCreationSource = "string",
        OrganizationId = "string",
        UserId = "string",
    });
    
    example, err := newrelic.NewMonitor(ctx, "azureMonitorResource", &newrelic.MonitorArgs{
    	Plan: &newrelic.MonitorPlanArgs{
    		EffectiveDate: pulumi.String("string"),
    		BillingCycle:  pulumi.String("string"),
    		PlanId:        pulumi.String("string"),
    		UsageType:     pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	User: &newrelic.MonitorUserArgs{
    		Email:       pulumi.String("string"),
    		FirstName:   pulumi.String("string"),
    		LastName:    pulumi.String("string"),
    		PhoneNumber: pulumi.String("string"),
    	},
    	AccountCreationSource: pulumi.String("string"),
    	AccountId:             pulumi.String("string"),
    	IngestionKey:          pulumi.String("string"),
    	Location:              pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	OrgCreationSource:     pulumi.String("string"),
    	OrganizationId:        pulumi.String("string"),
    	UserId:                pulumi.String("string"),
    })
    
    var azureMonitorResource = new Monitor("azureMonitorResource", MonitorArgs.builder()        
        .plan(MonitorPlanArgs.builder()
            .effectiveDate("string")
            .billingCycle("string")
            .planId("string")
            .usageType("string")
            .build())
        .resourceGroupName("string")
        .user(MonitorUserArgs.builder()
            .email("string")
            .firstName("string")
            .lastName("string")
            .phoneNumber("string")
            .build())
        .accountCreationSource("string")
        .accountId("string")
        .ingestionKey("string")
        .location("string")
        .name("string")
        .orgCreationSource("string")
        .organizationId("string")
        .userId("string")
        .build());
    
    azure_monitor_resource = azure.newrelic.Monitor("azureMonitorResource",
        plan=azure.newrelic.MonitorPlanArgs(
            effective_date="string",
            billing_cycle="string",
            plan_id="string",
            usage_type="string",
        ),
        resource_group_name="string",
        user=azure.newrelic.MonitorUserArgs(
            email="string",
            first_name="string",
            last_name="string",
            phone_number="string",
        ),
        account_creation_source="string",
        account_id="string",
        ingestion_key="string",
        location="string",
        name="string",
        org_creation_source="string",
        organization_id="string",
        user_id="string")
    
    const azureMonitorResource = new azure.newrelic.Monitor("azureMonitorResource", {
        plan: {
            effectiveDate: "string",
            billingCycle: "string",
            planId: "string",
            usageType: "string",
        },
        resourceGroupName: "string",
        user: {
            email: "string",
            firstName: "string",
            lastName: "string",
            phoneNumber: "string",
        },
        accountCreationSource: "string",
        accountId: "string",
        ingestionKey: "string",
        location: "string",
        name: "string",
        orgCreationSource: "string",
        organizationId: "string",
        userId: "string",
    });
    
    type: azure:newrelic:Monitor
    properties:
        accountCreationSource: string
        accountId: string
        ingestionKey: string
        location: string
        name: string
        orgCreationSource: string
        organizationId: string
        plan:
            billingCycle: string
            effectiveDate: string
            planId: string
            usageType: string
        resourceGroupName: string
        user:
            email: string
            firstName: string
            lastName: string
            phoneNumber: string
        userId: string
    

    Monitor Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Monitor resource accepts the following input properties:

    Plan MonitorPlan
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    User MonitorUser
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    AccountCreationSource string
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    AccountId string

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    IngestionKey string
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    Location string
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    Name string
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrgCreationSource string
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrganizationId string

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    UserId string
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    Plan MonitorPlanArgs
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    User MonitorUserArgs
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    AccountCreationSource string
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    AccountId string

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    IngestionKey string
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    Location string
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    Name string
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrgCreationSource string
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrganizationId string

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    UserId string
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    plan MonitorPlan
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resourceGroupName String
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user MonitorUser
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountCreationSource String
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountId String

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestionKey String
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location String
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name String
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    orgCreationSource String
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organizationId String

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    userId String
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    plan MonitorPlan
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resourceGroupName string
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user MonitorUser
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountCreationSource string
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountId string

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestionKey string
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location string
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name string
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    orgCreationSource string
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organizationId string

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    userId string
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    plan MonitorPlanArgs
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resource_group_name str
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user MonitorUserArgs
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    account_creation_source str
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    account_id str

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestion_key str
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location str
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name str
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    org_creation_source str
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organization_id str

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    user_id str
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    plan Property Map
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resourceGroupName String
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user Property Map
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountCreationSource String
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountId String

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestionKey String
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location String
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name String
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    orgCreationSource String
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organizationId String

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    userId String
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Monitor Resource

    Get an existing Monitor 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?: MonitorState, opts?: CustomResourceOptions): Monitor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_creation_source: Optional[str] = None,
            account_id: Optional[str] = None,
            ingestion_key: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            org_creation_source: Optional[str] = None,
            organization_id: Optional[str] = None,
            plan: Optional[MonitorPlanArgs] = None,
            resource_group_name: Optional[str] = None,
            user: Optional[MonitorUserArgs] = None,
            user_id: Optional[str] = None) -> Monitor
    func GetMonitor(ctx *Context, name string, id IDInput, state *MonitorState, opts ...ResourceOption) (*Monitor, error)
    public static Monitor Get(string name, Input<string> id, MonitorState? state, CustomResourceOptions? opts = null)
    public static Monitor get(String name, Output<String> id, MonitorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountCreationSource string
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    AccountId string

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    IngestionKey string
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    Location string
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    Name string
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrgCreationSource string
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrganizationId string

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    Plan MonitorPlan
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    User MonitorUser
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    UserId string
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    AccountCreationSource string
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    AccountId string

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    IngestionKey string
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    Location string
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    Name string
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrgCreationSource string
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    OrganizationId string

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    Plan MonitorPlanArgs
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    ResourceGroupName string
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    User MonitorUserArgs
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    UserId string
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountCreationSource String
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountId String

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestionKey String
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location String
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name String
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    orgCreationSource String
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organizationId String

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    plan MonitorPlan
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resourceGroupName String
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user MonitorUser
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    userId String
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountCreationSource string
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountId string

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestionKey string
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location string
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name string
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    orgCreationSource string
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organizationId string

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    plan MonitorPlan
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resourceGroupName string
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user MonitorUser
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    userId string
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    account_creation_source str
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    account_id str

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestion_key str
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location str
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name str
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    org_creation_source str
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organization_id str

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    plan MonitorPlanArgs
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resource_group_name str
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user MonitorUserArgs
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    user_id str
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountCreationSource String
    Specifies the source of account creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    accountId String

    Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of account_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    ingestionKey String
    Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
    location String
    Specifies the Azure Region where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    name String
    Specifies the name which should be used for this Azure Native New Relic Monitor. Changing this forces a new Azure Native New Relic Monitor to be created.
    orgCreationSource String
    Specifies the source of org creation. Possible values are LIFTR and NEWRELIC. Defaults to LIFTR. Changing this forces a new Azure Native New Relic Monitor to be created.
    organizationId String

    Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.

    NOTE: The value of organization_id must come from an Azure Native New Relic Monitor instance of another different subscription.

    plan Property Map
    A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    resourceGroupName String
    Specifies the name of the Resource Group where the Azure Native New Relic Monitor should exist. Changing this forces a new Azure Native New Relic Monitor to be created.
    user Property Map
    A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
    userId String
    Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.

    Supporting Types

    MonitorPlan, MonitorPlanArgs

    EffectiveDate string
    Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
    BillingCycle string
    Specifies the billing cycles. Possible values are MONTHLY, WEEKLY and YEARLY. Defaults to MONTHLY. Changing this forces a new Azure Native New Relic Monitor to be created.
    PlanId string
    Specifies the plan id published by NewRelic. The only possible value is newrelic-pay-as-you-go-free-live. Defaults to newrelic-pay-as-you-go-free-live. Changing this forces a new Azure Native New Relic Monitor to be created.
    UsageType string
    Specifies the usage type. Possible values are COMMITTED and PAYG. Defaults to PAYG. Changing this forces a new Azure Native New Relic Monitor to be created.
    EffectiveDate string
    Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
    BillingCycle string
    Specifies the billing cycles. Possible values are MONTHLY, WEEKLY and YEARLY. Defaults to MONTHLY. Changing this forces a new Azure Native New Relic Monitor to be created.
    PlanId string
    Specifies the plan id published by NewRelic. The only possible value is newrelic-pay-as-you-go-free-live. Defaults to newrelic-pay-as-you-go-free-live. Changing this forces a new Azure Native New Relic Monitor to be created.
    UsageType string
    Specifies the usage type. Possible values are COMMITTED and PAYG. Defaults to PAYG. Changing this forces a new Azure Native New Relic Monitor to be created.
    effectiveDate String
    Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
    billingCycle String
    Specifies the billing cycles. Possible values are MONTHLY, WEEKLY and YEARLY. Defaults to MONTHLY. Changing this forces a new Azure Native New Relic Monitor to be created.
    planId String
    Specifies the plan id published by NewRelic. The only possible value is newrelic-pay-as-you-go-free-live. Defaults to newrelic-pay-as-you-go-free-live. Changing this forces a new Azure Native New Relic Monitor to be created.
    usageType String
    Specifies the usage type. Possible values are COMMITTED and PAYG. Defaults to PAYG. Changing this forces a new Azure Native New Relic Monitor to be created.
    effectiveDate string
    Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
    billingCycle string
    Specifies the billing cycles. Possible values are MONTHLY, WEEKLY and YEARLY. Defaults to MONTHLY. Changing this forces a new Azure Native New Relic Monitor to be created.
    planId string
    Specifies the plan id published by NewRelic. The only possible value is newrelic-pay-as-you-go-free-live. Defaults to newrelic-pay-as-you-go-free-live. Changing this forces a new Azure Native New Relic Monitor to be created.
    usageType string
    Specifies the usage type. Possible values are COMMITTED and PAYG. Defaults to PAYG. Changing this forces a new Azure Native New Relic Monitor to be created.
    effective_date str
    Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
    billing_cycle str
    Specifies the billing cycles. Possible values are MONTHLY, WEEKLY and YEARLY. Defaults to MONTHLY. Changing this forces a new Azure Native New Relic Monitor to be created.
    plan_id str
    Specifies the plan id published by NewRelic. The only possible value is newrelic-pay-as-you-go-free-live. Defaults to newrelic-pay-as-you-go-free-live. Changing this forces a new Azure Native New Relic Monitor to be created.
    usage_type str
    Specifies the usage type. Possible values are COMMITTED and PAYG. Defaults to PAYG. Changing this forces a new Azure Native New Relic Monitor to be created.
    effectiveDate String
    Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
    billingCycle String
    Specifies the billing cycles. Possible values are MONTHLY, WEEKLY and YEARLY. Defaults to MONTHLY. Changing this forces a new Azure Native New Relic Monitor to be created.
    planId String
    Specifies the plan id published by NewRelic. The only possible value is newrelic-pay-as-you-go-free-live. Defaults to newrelic-pay-as-you-go-free-live. Changing this forces a new Azure Native New Relic Monitor to be created.
    usageType String
    Specifies the usage type. Possible values are COMMITTED and PAYG. Defaults to PAYG. Changing this forces a new Azure Native New Relic Monitor to be created.

    MonitorUser, MonitorUserArgs

    Email string
    Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
    FirstName string
    Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
    LastName string
    Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
    PhoneNumber string
    Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
    Email string
    Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
    FirstName string
    Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
    LastName string
    Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
    PhoneNumber string
    Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
    email String
    Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
    firstName String
    Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
    lastName String
    Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
    phoneNumber String
    Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
    email string
    Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
    firstName string
    Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
    lastName string
    Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
    phoneNumber string
    Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
    email str
    Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
    first_name str
    Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
    last_name str
    Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
    phone_number str
    Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
    email String
    Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
    firstName String
    Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
    lastName String
    Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
    phoneNumber String
    Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.

    Import

    Azure Native New Relic Monitor can be imported using the resource id, e.g.

    $ pulumi import azure:newrelic/monitor:Monitor example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/NewRelic.Observability/monitors/monitor1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.77.1 published on Monday, May 13, 2024 by Pulumi