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
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",
});
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 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());
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
This property is required. Changes to this property will trigger replacement.
Plan - 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.
- 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.
User - 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Account
Id Changes to this property will trigger replacement.
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.
Identity - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Organization
Id Changes to this property will trigger replacement.
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.
- 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.
Plan Args - 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.
- 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.
User Args - 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Account
Id Changes to this property will trigger replacement.
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.
Identity Args - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Organization
Id Changes to this property will trigger replacement.
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.
- 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.
Plan - 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.
- 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.
User - 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Id Changes to this property will trigger replacement.
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.
Identity - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization
Id Changes to this property will trigger replacement.
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.
- 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.
Plan - 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.
- 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.
User - 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Id Changes to this property will trigger replacement.
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.
Identity - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization
Id Changes to this property will trigger replacement.
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.
- 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.
Plan Args - 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.
- 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.
User Args - 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account_
id Changes to this property will trigger replacement.
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.
Identity Args - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization_
id Changes to this property will trigger replacement.
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.
- 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.
- 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.
- 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.
- 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Id Changes to this property will trigger replacement.
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.
- 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization
Id Changes to this property will trigger replacement.
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.
- 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.
- Account
Creation Source Changes to this property will trigger replacement.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Account
Id Changes to this property will trigger replacement.
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.
Identity - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Organization
Id Changes to this property will trigger replacement.
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.
Plan - 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.
- 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.
User - 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.
- 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Account
Id Changes to this property will trigger replacement.
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.
Identity Args - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - Organization
Id Changes to this property will trigger replacement.
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.
Plan Args - 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.
- 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.
User Args - 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.
- 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Id Changes to this property will trigger replacement.
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.
Identity - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization
Id Changes to this property will trigger replacement.
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.
Plan - 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.
- 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.
User - 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.
- 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Id Changes to this property will trigger replacement.
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.
Identity - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization
Id Changes to this property will trigger replacement.
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.
Plan - 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.
- 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.
User - 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.
- 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account_
id Changes to this property will trigger replacement.
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.
Identity Args - 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization_
id Changes to this property will trigger replacement.
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.
Plan Args - 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.
- 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.
User Args - 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.
- 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.
- Specifies the source of account creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Id Changes to this property will trigger replacement.
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.
- 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.
- 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.
- 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.
- 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.
- Specifies the source of org creation. Possible values are
LIFTR
andNEWRELIC
. Defaults toLIFTR
. Changing this forces a new Azure Native New Relic Monitor to be created. - organization
Id Changes to this property will trigger replacement.
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.
- 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.
- 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.
- 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.
- 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.
- 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 string - The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
- Tenant
Id 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.
- 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 string - The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
- Tenant
Id 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.
- 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 String - The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
- tenant
Id 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.
- 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 string - The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
- tenant
Id 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.
- 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.
- 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 String - The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
- tenant
Id String - The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
MonitorPlan, MonitorPlanArgs
- Effective
Date This property is required. Changes to this property will trigger replacement.
- 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.
- Specifies the billing cycles. Possible values are
MONTHLY
,WEEKLY
andYEARLY
. Defaults toMONTHLY
. Changing this forces a new Azure Native New Relic Monitor to be created. - Plan
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the usage type. Possible values are
COMMITTED
andPAYG
. Defaults toPAYG
. 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.
- 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.
- Specifies the billing cycles. Possible values are
MONTHLY
,WEEKLY
andYEARLY
. Defaults toMONTHLY
. Changing this forces a new Azure Native New Relic Monitor to be created. - Plan
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the usage type. Possible values are
COMMITTED
andPAYG
. Defaults toPAYG
. 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.
- 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.
- Specifies the billing cycles. Possible values are
MONTHLY
,WEEKLY
andYEARLY
. Defaults toMONTHLY
. Changing this forces a new Azure Native New Relic Monitor to be created. - plan
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the usage type. Possible values are
COMMITTED
andPAYG
. Defaults toPAYG
. 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.
- 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.
- Specifies the billing cycles. Possible values are
MONTHLY
,WEEKLY
andYEARLY
. Defaults toMONTHLY
. Changing this forces a new Azure Native New Relic Monitor to be created. - plan
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the usage type. Possible values are
COMMITTED
andPAYG
. Defaults toPAYG
. 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.
- 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.
- Specifies the billing cycles. Possible values are
MONTHLY
,WEEKLY
andYEARLY
. Defaults toMONTHLY
. Changing this forces a new Azure Native New Relic Monitor to be created. - plan_
id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the usage type. Possible values are
COMMITTED
andPAYG
. Defaults toPAYG
. 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.
- 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.
- Specifies the billing cycles. Possible values are
MONTHLY
,WEEKLY
andYEARLY
. Defaults toMONTHLY
. Changing this forces a new Azure Native New Relic Monitor to be created. - plan
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the usage type. Possible values are
COMMITTED
andPAYG
. Defaults toPAYG
. 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
Import
Azure Native New Relic Monitor can be imported using the resource id
, e.g.
$ pulumi import azure:newrelic/monitor:Monitor example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/NewRelic.Observability/monitors/monitor1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.