We recommend using Azure Native.
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",
    },
});
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",
    })
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
	})
}
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",
        },
    });
});
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());
    }
}
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
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,
});
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"])
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
	})
}
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,
    });
});
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());
    }
}
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
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 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.
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",
});
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"),
})
var examplemonitorResourceResourceFromNewrelicmonitor = new Monitor("examplemonitorResourceResourceFromNewrelicmonitor", 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());
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")
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",
});
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
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
MonitorPlan 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- ResourceGroup stringName 
- 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 userblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- AccountCreation stringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- Identity
MonitorIdentity 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- OrgCreation stringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust 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 Args 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- ResourceGroup stringName 
- 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 Args 
- A userblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- AccountCreation stringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- Identity
MonitorIdentity Args 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- OrgCreation stringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust 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 planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resourceGroup StringName 
- 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 userblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- accountCreation StringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity
MonitorIdentity 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- orgCreation StringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust 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 planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resourceGroup stringName 
- 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 userblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- accountCreation stringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity
MonitorIdentity 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- orgCreation stringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust 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 Args 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resource_group_ strname 
- 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 Args 
- A userblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- account_creation_ strsource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity
MonitorIdentity Args 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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_ strsource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust 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 planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resourceGroup StringName 
- 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 userblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- accountCreation StringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity Property Map
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- orgCreation StringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust 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,
        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) -> Monitorfunc 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
- 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.
- AccountCreation stringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- Identity
MonitorIdentity 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- OrgCreation stringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- Plan
MonitorPlan 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- ResourceGroup stringName 
- 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 userblock 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.
- AccountCreation stringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- Identity
MonitorIdentity Args 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- OrgCreation stringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- Plan
MonitorPlan Args 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- ResourceGroup stringName 
- 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 Args 
- A userblock 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.
- accountCreation StringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity
MonitorIdentity 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- orgCreation StringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- plan
MonitorPlan 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resourceGroup StringName 
- 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 userblock 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.
- accountCreation stringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity
MonitorIdentity 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- orgCreation stringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- plan
MonitorPlan 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resourceGroup stringName 
- 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 userblock 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_ strsource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity
MonitorIdentity Args 
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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_ strsource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- plan
MonitorPlan Args 
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resource_group_ strname 
- 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 Args 
- A userblock 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.
- accountCreation StringSource 
- Specifies the source of account creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- identity Property Map
- An identityblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- 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.
- orgCreation StringSource 
- Specifies the source of org creation. Possible values are LIFTRandNEWRELIC. Defaults toLIFTR. 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_idmust come from an Azure Native New Relic Monitor instance of another different subscription.
- plan Property Map
- A planblock as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
- resourceGroup StringName 
- 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 userblock 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
MonitorIdentity, MonitorIdentityArgs    
- Type 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 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 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 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 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 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 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,WEEKLYandYEARLY. Defaults toMONTHLY. 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 tonewrelic-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 COMMITTEDandPAYG. Defaults toPAYG. 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,WEEKLYandYEARLY. Defaults toMONTHLY. 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 tonewrelic-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 COMMITTEDandPAYG. Defaults toPAYG. 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,WEEKLYandYEARLY. Defaults toMONTHLY. 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 tonewrelic-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 COMMITTEDandPAYG. Defaults toPAYG. 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,WEEKLYandYEARLY. Defaults toMONTHLY. 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 tonewrelic-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 COMMITTEDandPAYG. Defaults toPAYG. 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,WEEKLYandYEARLY. Defaults toMONTHLY. 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 tonewrelic-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 COMMITTEDandPAYG. Defaults toPAYG. 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,WEEKLYandYEARLY. Defaults toMONTHLY. 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 tonewrelic-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 COMMITTEDandPAYG. Defaults toPAYG. 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 azurermTerraform Provider.