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, nil, 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 azureMonitorResource = new Azure.NewRelic.Monitor("azureMonitorResource", new()
{
Plan = new Azure.NewRelic.Inputs.MonitorPlanArgs
{
EffectiveDate = "string",
BillingCycle = "string",
PlanId = "string",
UsageType = "string",
},
ResourceGroupName = "string",
User = new Azure.NewRelic.Inputs.MonitorUserArgs
{
Email = "string",
FirstName = "string",
LastName = "string",
PhoneNumber = "string",
},
AccountCreationSource = "string",
AccountId = "string",
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, "azureMonitorResource", &newrelic.MonitorArgs{
Plan: &newrelic.MonitorPlanArgs{
EffectiveDate: pulumi.String("string"),
BillingCycle: pulumi.String("string"),
PlanId: pulumi.String("string"),
UsageType: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
User: &newrelic.MonitorUserArgs{
Email: pulumi.String("string"),
FirstName: pulumi.String("string"),
LastName: pulumi.String("string"),
PhoneNumber: pulumi.String("string"),
},
AccountCreationSource: pulumi.String("string"),
AccountId: pulumi.String("string"),
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 azureMonitorResource = new Monitor("azureMonitorResource", MonitorArgs.builder()
.plan(MonitorPlanArgs.builder()
.effectiveDate("string")
.billingCycle("string")
.planId("string")
.usageType("string")
.build())
.resourceGroupName("string")
.user(MonitorUserArgs.builder()
.email("string")
.firstName("string")
.lastName("string")
.phoneNumber("string")
.build())
.accountCreationSource("string")
.accountId("string")
.identity(MonitorIdentityArgs.builder()
.type("string")
.principalId("string")
.tenantId("string")
.build())
.ingestionKey("string")
.location("string")
.name("string")
.orgCreationSource("string")
.organizationId("string")
.userId("string")
.build());
azure_monitor_resource = azure.newrelic.Monitor("azureMonitorResource",
plan={
"effectiveDate": "string",
"billingCycle": "string",
"planId": "string",
"usageType": "string",
},
resource_group_name="string",
user={
"email": "string",
"firstName": "string",
"lastName": "string",
"phoneNumber": "string",
},
account_creation_source="string",
account_id="string",
identity={
"type": "string",
"principalId": "string",
"tenantId": "string",
},
ingestion_key="string",
location="string",
name="string",
org_creation_source="string",
organization_id="string",
user_id="string")
const azureMonitorResource = new azure.newrelic.Monitor("azureMonitorResource", {
plan: {
effectiveDate: "string",
billingCycle: "string",
planId: "string",
usageType: "string",
},
resourceGroupName: "string",
user: {
email: "string",
firstName: "string",
lastName: "string",
phoneNumber: "string",
},
accountCreationSource: "string",
accountId: "string",
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
The Monitor resource accepts the following input properties:
- Plan
Monitor
Plan - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Resource
Group 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
Monitor
User - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Account
Creation stringSource - 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 string Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- Identity
Monitor
Identity - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Ingestion
Key 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.
- Org
Creation stringSource - 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 string Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- User
Id string - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- Plan
Monitor
Plan Args - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Resource
Group 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
Monitor
User Args - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Account
Creation stringSource - 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 string Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- Identity
Monitor
Identity Args - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Ingestion
Key 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.
- Org
Creation stringSource - 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 string Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- User
Id string - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- plan
Monitor
Plan - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - resource
Group 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
Monitor
User - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Creation StringSource - 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 String Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity
Monitor
Identity - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - ingestion
Key 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.
- org
Creation StringSource - 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 String Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- user
Id String - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- plan
Monitor
Plan - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - resource
Group 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
Monitor
User - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Creation stringSource - 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 string Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity
Monitor
Identity - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - ingestion
Key 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.
- org
Creation stringSource - 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 string Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- user
Id string - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- plan
Monitor
Plan Args - A
plan
block 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
Monitor
User Args - A
user
block 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
LIFTR
andNEWRELIC
. 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_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity
Monitor
Identity Args - An
identity
block 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
LIFTR
andNEWRELIC
. 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_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- user_
id str - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- plan Property Map
- A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - resource
Group 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
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - account
Creation StringSource - 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 String Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity Property Map
- An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - ingestion
Key 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.
- org
Creation StringSource - 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 String Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- user
Id String - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the Monitor resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Monitor Resource
Get an existing Monitor resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MonitorState, opts?: CustomResourceOptions): Monitor
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_creation_source: Optional[str] = None,
account_id: Optional[str] = None,
identity: Optional[MonitorIdentityArgs] = None,
ingestion_key: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
org_creation_source: Optional[str] = None,
organization_id: Optional[str] = None,
plan: Optional[MonitorPlanArgs] = None,
resource_group_name: Optional[str] = None,
user: Optional[MonitorUserArgs] = None,
user_id: Optional[str] = None) -> Monitor
func GetMonitor(ctx *Context, name string, id IDInput, state *MonitorState, opts ...ResourceOption) (*Monitor, error)
public static Monitor Get(string name, Input<string> id, MonitorState? state, CustomResourceOptions? opts = null)
public static Monitor get(String name, Output<String> id, MonitorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Creation stringSource - 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 string Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- Identity
Monitor
Identity - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Ingestion
Key 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.
- Org
Creation stringSource - 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 string Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- Plan
Monitor
Plan - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Resource
Group 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
Monitor
User - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - User
Id string - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- Account
Creation stringSource - 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 string Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- Identity
Monitor
Identity Args - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Ingestion
Key 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.
- Org
Creation stringSource - 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 string Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- Plan
Monitor
Plan Args - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - Resource
Group 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
Monitor
User Args - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - User
Id string - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- account
Creation StringSource - 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 String Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity
Monitor
Identity - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - ingestion
Key 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.
- org
Creation StringSource - 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 String Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- plan
Monitor
Plan - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - resource
Group 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
Monitor
User - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - user
Id String - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- account
Creation stringSource - 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 string Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity
Monitor
Identity - An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - ingestion
Key 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.
- org
Creation stringSource - 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 string Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- plan
Monitor
Plan - A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - resource
Group 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
Monitor
User - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - user
Id 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
LIFTR
andNEWRELIC
. 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_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity
Monitor
Identity Args - An
identity
block 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
LIFTR
andNEWRELIC
. 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_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- plan
Monitor
Plan Args - A
plan
block 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
Monitor
User Args - A
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - user_
id str - Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
- account
Creation StringSource - 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 String Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
account_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- identity Property Map
- An
identity
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - ingestion
Key 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.
- org
Creation StringSource - 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 String Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
NOTE: The value of
organization_id
must come from an Azure Native New Relic Monitor instance of another different subscription.- plan Property Map
- A
plan
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - resource
Group 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
user
block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. - user
Id 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. - 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 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. - 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 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. - 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 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. - 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 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. - 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 string - Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
- Billing
Cycle string - 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 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. - Usage
Type string - 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 string - Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
- Billing
Cycle string - 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 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. - Usage
Type string - 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 String - Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
- billing
Cycle String - 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 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. - usage
Type String - 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 string - Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
- billing
Cycle string - 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 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. - usage
Type string - 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 str - Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
- billing_
cycle str - Specifies the billing cycles. Possible values are
MONTHLY
,WEEKLY
andYEARLY
. 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
COMMITTED
andPAYG
. Defaults toPAYG
. Changing this forces a new Azure Native New Relic Monitor to be created.
- effective
Date String - Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
- billing
Cycle String - 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 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. - usage
Type String - 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 string
- Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
- First
Name string - Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
- Last
Name string - Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
- Phone
Number 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.
- First
Name string - Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
- Last
Name string - Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
- Phone
Number 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.
- first
Name String - Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
- last
Name String - Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
- phone
Number 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.
- first
Name string - Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
- last
Name string - Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
- phone
Number 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.
- first
Name String - Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
- last
Name String - Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
- phone
Number String - Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
Import
Azure Native New Relic Monitor can be imported using the resource id
, e.g.
$ pulumi import azure:newrelic/monitor:Monitor example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/NewRelic.Observability/monitors/monitor1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.