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

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.newrelic.Monitor

Explore with Pulumi AI

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",
    },
    identity: {
        type: "SystemAssigned",
    },
});
Copy
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={
        "effective_date": "2023-06-06T00:00:00Z",
    },
    user={
        "email": "user@example.com",
        "first_name": "Example",
        "last_name": "User",
        "phone_number": "+12313803556",
    },
    identity={
        "type": "SystemAssigned",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/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"),
			},
			Identity: &newrelic.MonitorIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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",
        },
        Identity = new Azure.NewRelic.Inputs.MonitorIdentityArgs
        {
            Type = "SystemAssigned",
        },
    });

});
Copy
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 com.pulumi.azure.newrelic.inputs.MonitorIdentityArgs;
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())
            .identity(MonitorIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .build());

    }
}
Copy
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'
      identity:
        type: SystemAssigned
Copy

Role Assignment

To enable metrics flow, perform role assignment on the identity created above. Monitoring reader(43d0d8ad-25c7-4714-9337-8ba259a9fe05) role is required .

Role assignment on the monitor created

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const primary = azure.core.getSubscription({});
const monitoringReader = azure.authorization.getRoleDefinition({
    name: "Monitoring Reader",
});
const example = new azure.authorization.Assignment("example", {
    scope: primary.then(primary => primary.id),
    roleDefinitionId: Promise.all([primary, monitoringReader]).then(([primary, monitoringReader]) => `${primary.id}${monitoringReader.id}`),
    principalId: exampleAzurermNewRelicMonitor.identity[0].principalId,
});
Copy
import pulumi
import pulumi_azure as azure

primary = azure.core.get_subscription()
monitoring_reader = azure.authorization.get_role_definition(name="Monitoring Reader")
example = azure.authorization.Assignment("example",
    scope=primary.id,
    role_definition_id=f"{primary.id}{monitoring_reader.id}",
    principal_id=example_azurerm_new_relic_monitor["identity"][0]["principalId"])
Copy
package main

import (
	"fmt"

	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil)
		if err != nil {
			return err
		}
		monitoringReader, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{
			Name: pulumi.StringRef("Monitoring Reader"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = authorization.NewAssignment(ctx, "example", &authorization.AssignmentArgs{
			Scope:            pulumi.String(primary.Id),
			RoleDefinitionId: pulumi.Sprintf("%v%v", primary.Id, monitoringReader.Id),
			PrincipalId:      pulumi.Any(exampleAzurermNewRelicMonitor.Identity[0].PrincipalId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var primary = Azure.Core.GetSubscription.Invoke();

    var monitoringReader = Azure.Authorization.GetRoleDefinition.Invoke(new()
    {
        Name = "Monitoring Reader",
    });

    var example = new Azure.Authorization.Assignment("example", new()
    {
        Scope = primary.Apply(getSubscriptionResult => getSubscriptionResult.Id),
        RoleDefinitionId = Output.Tuple(primary, monitoringReader).Apply(values =>
        {
            var primary = values.Item1;
            var monitoringReader = values.Item2;
            return $"{primary.Apply(getSubscriptionResult => getSubscriptionResult.Id)}{monitoringReader.Apply(getRoleDefinitionResult => getRoleDefinitionResult.Id)}";
        }),
        PrincipalId = exampleAzurermNewRelicMonitor.Identity[0].PrincipalId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.inputs.GetSubscriptionArgs;
import com.pulumi.azure.authorization.AuthorizationFunctions;
import com.pulumi.azure.authorization.inputs.GetRoleDefinitionArgs;
import com.pulumi.azure.authorization.Assignment;
import com.pulumi.azure.authorization.AssignmentArgs;
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) {
        final var primary = CoreFunctions.getSubscription();

        final var monitoringReader = AuthorizationFunctions.getRoleDefinition(GetRoleDefinitionArgs.builder()
            .name("Monitoring Reader")
            .build());

        var example = new Assignment("example", AssignmentArgs.builder()
            .scope(primary.applyValue(getSubscriptionResult -> getSubscriptionResult.id()))
            .roleDefinitionId(String.format("%s%s", primary.applyValue(getSubscriptionResult -> getSubscriptionResult.id()),monitoringReader.applyValue(getRoleDefinitionResult -> getRoleDefinitionResult.id())))
            .principalId(exampleAzurermNewRelicMonitor.identity()[0].principalId())
            .build());

    }
}
Copy
resources:
  example:
    type: azure:authorization:Assignment
    properties:
      scope: ${primary.id}
      roleDefinitionId: ${primary.id}${monitoringReader.id}
      principalId: ${exampleAzurermNewRelicMonitor.identity[0].principalId}
variables:
  primary:
    fn::invoke:
      function: azure:core:getSubscription
      arguments: {}
  monitoringReader:
    fn::invoke:
      function: azure:authorization:getRoleDefinition
      arguments:
        name: Monitoring Reader
Copy

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,
            identity: Optional[MonitorIdentityArgs] = 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 This property is required. string
The unique name of the resource.
args This property is required. MonitorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. MonitorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MonitorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MonitorArgs
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 examplemonitorResourceResourceFromNewrelicmonitor = new Azure.NewRelic.Monitor("examplemonitorResourceResourceFromNewrelicmonitor", 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",
    Identity = new Azure.NewRelic.Inputs.MonitorIdentityArgs
    {
        Type = "string",
        PrincipalId = "string",
        TenantId = "string",
    },
    IngestionKey = "string",
    Location = "string",
    Name = "string",
    OrgCreationSource = "string",
    OrganizationId = "string",
    UserId = "string",
});
Copy
example, err := newrelic.NewMonitor(ctx, "examplemonitorResourceResourceFromNewrelicmonitor", &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"),
	Identity: &newrelic.MonitorIdentityArgs{
		Type:        pulumi.String("string"),
		PrincipalId: pulumi.String("string"),
		TenantId:    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"),
})
Copy
var examplemonitorResourceResourceFromNewrelicmonitor = new com.pulumi.azure.newrelic.Monitor("examplemonitorResourceResourceFromNewrelicmonitor", com.pulumi.azure.newrelic.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")
    .identity(MonitorIdentityArgs.builder()
        .type("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .ingestionKey("string")
    .location("string")
    .name("string")
    .orgCreationSource("string")
    .organizationId("string")
    .userId("string")
    .build());
Copy
examplemonitor_resource_resource_from_newrelicmonitor = azure.newrelic.Monitor("examplemonitorResourceResourceFromNewrelicmonitor",
    plan={
        "effective_date": "string",
        "billing_cycle": "string",
        "plan_id": "string",
        "usage_type": "string",
    },
    resource_group_name="string",
    user={
        "email": "string",
        "first_name": "string",
        "last_name": "string",
        "phone_number": "string",
    },
    account_creation_source="string",
    account_id="string",
    identity={
        "type": "string",
        "principal_id": "string",
        "tenant_id": "string",
    },
    ingestion_key="string",
    location="string",
    name="string",
    org_creation_source="string",
    organization_id="string",
    user_id="string")
Copy
const examplemonitorResourceResourceFromNewrelicmonitor = new azure.newrelic.Monitor("examplemonitorResourceResourceFromNewrelicmonitor", {
    plan: {
        effectiveDate: "string",
        billingCycle: "string",
        planId: "string",
        usageType: "string",
    },
    resourceGroupName: "string",
    user: {
        email: "string",
        firstName: "string",
        lastName: "string",
        phoneNumber: "string",
    },
    accountCreationSource: "string",
    accountId: "string",
    identity: {
        type: "string",
        principalId: "string",
        tenantId: "string",
    },
    ingestionKey: "string",
    location: "string",
    name: "string",
    orgCreationSource: "string",
    organizationId: "string",
    userId: "string",
});
Copy
type: azure:newrelic:Monitor
properties:
    accountCreationSource: string
    accountId: string
    identity:
        principalId: string
        tenantId: string
        type: 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
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Monitor resource accepts the following input properties:

Plan
This property is required.
Changes to this property will trigger replacement.
MonitorPlan
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
MonitorUser
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
AccountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

Identity Changes to this property will trigger replacement. MonitorIdentity
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
IngestionKey Changes to this property will trigger replacement. string
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
Location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
Plan
This property is required.
Changes to this property will trigger replacement.
MonitorPlanArgs
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
MonitorUserArgs
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
AccountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

Identity Changes to this property will trigger replacement. MonitorIdentityArgs
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
IngestionKey Changes to this property will trigger replacement. string
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
Location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
plan
This property is required.
Changes to this property will trigger replacement.
MonitorPlan
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
MonitorUser
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
accountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. MonitorIdentity
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestionKey Changes to this property will trigger replacement. String
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
plan
This property is required.
Changes to this property will trigger replacement.
MonitorPlan
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
MonitorUser
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
accountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. MonitorIdentity
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestionKey Changes to this property will trigger replacement. string
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
plan
This property is required.
Changes to this property will trigger replacement.
MonitorPlanArgs
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
MonitorUserArgs
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
account_creation_source Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. MonitorIdentityArgs
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestion_key Changes to this property will trigger replacement. str
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
plan
This property is required.
Changes to this property will trigger replacement.
Property Map
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
Property Map
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
accountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. Property Map
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestionKey Changes to this property will trigger replacement. String
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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,
        identity: Optional[MonitorIdentityArgs] = 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)
resources:  _:    type: azure:newrelic:Monitor    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

Identity Changes to this property will trigger replacement. MonitorIdentity
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
IngestionKey Changes to this property will trigger replacement. string
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
Location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorPlan
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ResourceGroupName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorUser
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
UserId Changes to this property will trigger replacement. string
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
AccountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

Identity Changes to this property will trigger replacement. MonitorIdentityArgs
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
IngestionKey Changes to this property will trigger replacement. string
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
Location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorPlanArgs
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ResourceGroupName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorUserArgs
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
UserId Changes to this property will trigger replacement. string
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
accountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. MonitorIdentity
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestionKey Changes to this property will trigger replacement. String
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorPlan
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resourceGroupName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorUser
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
userId Changes to this property will trigger replacement. String
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
accountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. MonitorIdentity
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestionKey Changes to this property will trigger replacement. string
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorPlan
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resourceGroupName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorUser
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
userId Changes to this property will trigger replacement. string
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
account_creation_source Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. MonitorIdentityArgs
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestion_key Changes to this property will trigger replacement. str
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorPlanArgs
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resource_group_name Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. MonitorUserArgs
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
user_id Changes to this property will trigger replacement. str
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
accountCreationSource Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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.

identity Changes to this property will trigger replacement. Property Map
An identity block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
ingestionKey Changes to this property will trigger replacement. String
Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. Property Map
A plan block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
resourceGroupName Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. Property Map
A user block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
userId Changes to this property will trigger replacement. String
Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.

Supporting Types

MonitorIdentity
, MonitorIdentityArgs

Type
This property is required.
Changes to this property will trigger replacement.
string
Specifies the identity type of the Azure Native New Relic Monitor. The only possible value is SystemAssigned. Changing this forces a new Azure Native New Relic Monitor to be created.
PrincipalId string
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
TenantId string
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
Type
This property is required.
Changes to this property will trigger replacement.
string
Specifies the identity type of the Azure Native New Relic Monitor. The only possible value is SystemAssigned. Changing this forces a new Azure Native New Relic Monitor to be created.
PrincipalId string
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
TenantId string
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
type
This property is required.
Changes to this property will trigger replacement.
String
Specifies the identity type of the Azure Native New Relic Monitor. The only possible value is SystemAssigned. Changing this forces a new Azure Native New Relic Monitor to be created.
principalId String
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
tenantId String
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
type
This property is required.
Changes to this property will trigger replacement.
string
Specifies the identity type of the Azure Native New Relic Monitor. The only possible value is SystemAssigned. Changing this forces a new Azure Native New Relic Monitor to be created.
principalId string
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
tenantId string
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
type
This property is required.
Changes to this property will trigger replacement.
str
Specifies the identity type of the Azure Native New Relic Monitor. The only possible value is SystemAssigned. Changing this forces a new Azure Native New Relic Monitor to be created.
principal_id str
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
tenant_id str
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
type
This property is required.
Changes to this property will trigger replacement.
String
Specifies the identity type of the Azure Native New Relic Monitor. The only possible value is SystemAssigned. Changing this forces a new Azure Native New Relic Monitor to be created.
principalId String
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
tenantId String
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.

MonitorPlan
, MonitorPlanArgs

EffectiveDate
This property is required.
Changes to this property will trigger replacement.
string
Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
BillingCycle Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
BillingCycle Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
billingCycle Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
billingCycle Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
str
Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
billing_cycle Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
billingCycle Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
FirstName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
LastName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
PhoneNumber
This property is required.
Changes to this property will trigger replacement.
string
Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
Email
This property is required.
Changes to this property will trigger replacement.
string
Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
FirstName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
LastName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
PhoneNumber
This property is required.
Changes to this property will trigger replacement.
string
Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
email
This property is required.
Changes to this property will trigger replacement.
String
Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
firstName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
lastName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
phoneNumber
This property is required.
Changes to this property will trigger replacement.
String
Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
email
This property is required.
Changes to this property will trigger replacement.
string
Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
firstName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
lastName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
phoneNumber
This property is required.
Changes to this property will trigger replacement.
string
Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
email
This property is required.
Changes to this property will trigger replacement.
str
Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
first_name
This property is required.
Changes to this property will trigger replacement.
str
Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
last_name
This property is required.
Changes to this property will trigger replacement.
str
Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
phone_number
This property is required.
Changes to this property will trigger replacement.
str
Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
email
This property is required.
Changes to this property will trigger replacement.
String
Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
firstName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
lastName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
phoneNumber
This property is required.
Changes to this property will trigger replacement.
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
Copy

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.