newrelic

package
v5.56.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	pulumi.CustomResourceState

	// Specifies the source of account creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.
	AccountCreationSource pulumi.StringPtrOutput `pulumi:"accountCreationSource"`
	// Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
	IngestionKey pulumi.StringPtrOutput `pulumi:"ingestionKey"`
	// 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.
	Location pulumi.StringOutput `pulumi:"location"`
	// 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.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the source of org creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.
	OrgCreationSource pulumi.StringPtrOutput `pulumi:"orgCreationSource"`
	// Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// A `plan` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
	Plan MonitorPlanOutput `pulumi:"plan"`
	// 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.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `user` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
	User MonitorUserOutput `pulumi:"user"`
	// Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
	UserId pulumi.StringPtrOutput `pulumi:"userId"`
}

Manages an Azure Native New Relic Monitor.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("East US"),
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewMonitor(ctx, "exampleMonitor", &newrelic.MonitorArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			Plan: &newrelic.MonitorPlanArgs{
				EffectiveDate: pulumi.String("2023-06-06T00:00:00Z"),
			},
			User: &newrelic.MonitorUserArgs{
				Email:       pulumi.String("user@example.com"),
				FirstName:   pulumi.String("Example"),
				LastName:    pulumi.String("User"),
				PhoneNumber: pulumi.String("+12313803556"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetMonitor

func GetMonitor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitorState, opts ...pulumi.ResourceOption) (*Monitor, error)

GetMonitor gets an existing Monitor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMonitor

func NewMonitor(ctx *pulumi.Context,
	name string, args *MonitorArgs, opts ...pulumi.ResourceOption) (*Monitor, error)

NewMonitor registers a new resource with the given unique name, arguments, and options.

func (*Monitor) ElementType

func (*Monitor) ElementType() reflect.Type

func (*Monitor) ToMonitorOutput

func (i *Monitor) ToMonitorOutput() MonitorOutput

func (*Monitor) ToMonitorOutputWithContext

func (i *Monitor) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput

func (*Monitor) ToOutput added in v5.52.0

func (i *Monitor) ToOutput(ctx context.Context) pulumix.Output[*Monitor]

type MonitorArgs

type MonitorArgs struct {
	// Specifies the source of account creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.
	AccountCreationSource pulumi.StringPtrInput
	// Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
	AccountId pulumi.StringPtrInput
	// Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
	IngestionKey pulumi.StringPtrInput
	// 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.
	Location pulumi.StringPtrInput
	// 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.
	Name pulumi.StringPtrInput
	// Specifies the source of org creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.
	OrgCreationSource pulumi.StringPtrInput
	// Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
	OrganizationId pulumi.StringPtrInput
	// A `plan` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
	Plan MonitorPlanInput
	// 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.
	ResourceGroupName pulumi.StringInput
	// A `user` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
	User MonitorUserInput
	// Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
	UserId pulumi.StringPtrInput
}

The set of arguments for constructing a Monitor resource.

func (MonitorArgs) ElementType

func (MonitorArgs) ElementType() reflect.Type

type MonitorArray

type MonitorArray []MonitorInput

func (MonitorArray) ElementType

func (MonitorArray) ElementType() reflect.Type

func (MonitorArray) ToMonitorArrayOutput

func (i MonitorArray) ToMonitorArrayOutput() MonitorArrayOutput

func (MonitorArray) ToMonitorArrayOutputWithContext

func (i MonitorArray) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput

func (MonitorArray) ToOutput added in v5.52.0

func (i MonitorArray) ToOutput(ctx context.Context) pulumix.Output[[]*Monitor]

type MonitorArrayInput

type MonitorArrayInput interface {
	pulumi.Input

	ToMonitorArrayOutput() MonitorArrayOutput
	ToMonitorArrayOutputWithContext(context.Context) MonitorArrayOutput
}

MonitorArrayInput is an input type that accepts MonitorArray and MonitorArrayOutput values. You can construct a concrete instance of `MonitorArrayInput` via:

MonitorArray{ MonitorArgs{...} }

type MonitorArrayOutput

type MonitorArrayOutput struct{ *pulumi.OutputState }

func (MonitorArrayOutput) ElementType

func (MonitorArrayOutput) ElementType() reflect.Type

func (MonitorArrayOutput) Index

func (MonitorArrayOutput) ToMonitorArrayOutput

func (o MonitorArrayOutput) ToMonitorArrayOutput() MonitorArrayOutput

func (MonitorArrayOutput) ToMonitorArrayOutputWithContext

func (o MonitorArrayOutput) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput

func (MonitorArrayOutput) ToOutput added in v5.52.0

type MonitorInput

type MonitorInput interface {
	pulumi.Input

	ToMonitorOutput() MonitorOutput
	ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
}

type MonitorMap

type MonitorMap map[string]MonitorInput

func (MonitorMap) ElementType

func (MonitorMap) ElementType() reflect.Type

func (MonitorMap) ToMonitorMapOutput

func (i MonitorMap) ToMonitorMapOutput() MonitorMapOutput

func (MonitorMap) ToMonitorMapOutputWithContext

func (i MonitorMap) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput

func (MonitorMap) ToOutput added in v5.52.0

func (i MonitorMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Monitor]

type MonitorMapInput

type MonitorMapInput interface {
	pulumi.Input

	ToMonitorMapOutput() MonitorMapOutput
	ToMonitorMapOutputWithContext(context.Context) MonitorMapOutput
}

MonitorMapInput is an input type that accepts MonitorMap and MonitorMapOutput values. You can construct a concrete instance of `MonitorMapInput` via:

MonitorMap{ "key": MonitorArgs{...} }

type MonitorMapOutput

type MonitorMapOutput struct{ *pulumi.OutputState }

func (MonitorMapOutput) ElementType

func (MonitorMapOutput) ElementType() reflect.Type

func (MonitorMapOutput) MapIndex

func (MonitorMapOutput) ToMonitorMapOutput

func (o MonitorMapOutput) ToMonitorMapOutput() MonitorMapOutput

func (MonitorMapOutput) ToMonitorMapOutputWithContext

func (o MonitorMapOutput) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput

func (MonitorMapOutput) ToOutput added in v5.52.0

type MonitorOutput

type MonitorOutput struct{ *pulumi.OutputState }

func (MonitorOutput) AccountCreationSource

func (o MonitorOutput) AccountCreationSource() pulumi.StringPtrOutput

Specifies the source of account creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorOutput) AccountId

func (o MonitorOutput) AccountId() pulumi.StringOutput

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

func (MonitorOutput) ElementType

func (MonitorOutput) ElementType() reflect.Type

func (MonitorOutput) IngestionKey

func (o MonitorOutput) IngestionKey() pulumi.StringPtrOutput

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

func (MonitorOutput) Location

func (o MonitorOutput) Location() pulumi.StringOutput

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.

func (MonitorOutput) Name

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.

func (MonitorOutput) OrgCreationSource

func (o MonitorOutput) OrgCreationSource() pulumi.StringPtrOutput

Specifies the source of org creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorOutput) OrganizationId

func (o MonitorOutput) OrganizationId() pulumi.StringOutput

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

func (MonitorOutput) Plan

A `plan` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorOutput) ResourceGroupName

func (o MonitorOutput) ResourceGroupName() pulumi.StringOutput

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.

func (MonitorOutput) ToMonitorOutput

func (o MonitorOutput) ToMonitorOutput() MonitorOutput

func (MonitorOutput) ToMonitorOutputWithContext

func (o MonitorOutput) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput

func (MonitorOutput) ToOutput added in v5.52.0

func (o MonitorOutput) ToOutput(ctx context.Context) pulumix.Output[*Monitor]

func (MonitorOutput) User

A `user` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorOutput) UserId

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

type MonitorPlan

type MonitorPlan struct {
	// Specifies the billing cycles. Possible values are `MONTHLY`, `WEEKLY` and `YEARLY`. Defaults to `MONTHLY`. Changing this forces a new Azure Native New Relic Monitor to be created.
	BillingCycle *string `pulumi:"billingCycle"`
	// Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
	EffectiveDate string `pulumi:"effectiveDate"`
	// Specifies the plan id published by NewRelic. The only possible value is `newrelic-pay-as-you-go-free-live`. Defaults to `newrelic-pay-as-you-go-free-live`. Changing this forces a new Azure Native New Relic Monitor to be created.
	PlanId *string `pulumi:"planId"`
	// Specifies the usage type. Possible values are `COMMITTED` and `PAYG`. Defaults to `PAYG`. Changing this forces a new Azure Native New Relic Monitor to be created.
	UsageType *string `pulumi:"usageType"`
}

type MonitorPlanArgs

type MonitorPlanArgs struct {
	// Specifies the billing cycles. Possible values are `MONTHLY`, `WEEKLY` and `YEARLY`. Defaults to `MONTHLY`. Changing this forces a new Azure Native New Relic Monitor to be created.
	BillingCycle pulumi.StringPtrInput `pulumi:"billingCycle"`
	// Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
	EffectiveDate pulumi.StringInput `pulumi:"effectiveDate"`
	// Specifies the plan id published by NewRelic. The only possible value is `newrelic-pay-as-you-go-free-live`. Defaults to `newrelic-pay-as-you-go-free-live`. Changing this forces a new Azure Native New Relic Monitor to be created.
	PlanId pulumi.StringPtrInput `pulumi:"planId"`
	// Specifies the usage type. Possible values are `COMMITTED` and `PAYG`. Defaults to `PAYG`. Changing this forces a new Azure Native New Relic Monitor to be created.
	UsageType pulumi.StringPtrInput `pulumi:"usageType"`
}

func (MonitorPlanArgs) ElementType

func (MonitorPlanArgs) ElementType() reflect.Type

func (MonitorPlanArgs) ToMonitorPlanOutput

func (i MonitorPlanArgs) ToMonitorPlanOutput() MonitorPlanOutput

func (MonitorPlanArgs) ToMonitorPlanOutputWithContext

func (i MonitorPlanArgs) ToMonitorPlanOutputWithContext(ctx context.Context) MonitorPlanOutput

func (MonitorPlanArgs) ToMonitorPlanPtrOutput

func (i MonitorPlanArgs) ToMonitorPlanPtrOutput() MonitorPlanPtrOutput

func (MonitorPlanArgs) ToMonitorPlanPtrOutputWithContext

func (i MonitorPlanArgs) ToMonitorPlanPtrOutputWithContext(ctx context.Context) MonitorPlanPtrOutput

func (MonitorPlanArgs) ToOutput added in v5.52.0

type MonitorPlanInput

type MonitorPlanInput interface {
	pulumi.Input

	ToMonitorPlanOutput() MonitorPlanOutput
	ToMonitorPlanOutputWithContext(context.Context) MonitorPlanOutput
}

MonitorPlanInput is an input type that accepts MonitorPlanArgs and MonitorPlanOutput values. You can construct a concrete instance of `MonitorPlanInput` via:

MonitorPlanArgs{...}

type MonitorPlanOutput

type MonitorPlanOutput struct{ *pulumi.OutputState }

func (MonitorPlanOutput) BillingCycle

func (o MonitorPlanOutput) BillingCycle() pulumi.StringPtrOutput

Specifies the billing cycles. Possible values are `MONTHLY`, `WEEKLY` and `YEARLY`. Defaults to `MONTHLY`. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorPlanOutput) EffectiveDate

func (o MonitorPlanOutput) EffectiveDate() pulumi.StringOutput

Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorPlanOutput) ElementType

func (MonitorPlanOutput) ElementType() reflect.Type

func (MonitorPlanOutput) PlanId

Specifies the plan id published by NewRelic. The only possible value is `newrelic-pay-as-you-go-free-live`. Defaults to `newrelic-pay-as-you-go-free-live`. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorPlanOutput) ToMonitorPlanOutput

func (o MonitorPlanOutput) ToMonitorPlanOutput() MonitorPlanOutput

func (MonitorPlanOutput) ToMonitorPlanOutputWithContext

func (o MonitorPlanOutput) ToMonitorPlanOutputWithContext(ctx context.Context) MonitorPlanOutput

func (MonitorPlanOutput) ToMonitorPlanPtrOutput

func (o MonitorPlanOutput) ToMonitorPlanPtrOutput() MonitorPlanPtrOutput

func (MonitorPlanOutput) ToMonitorPlanPtrOutputWithContext

func (o MonitorPlanOutput) ToMonitorPlanPtrOutputWithContext(ctx context.Context) MonitorPlanPtrOutput

func (MonitorPlanOutput) ToOutput added in v5.52.0

func (MonitorPlanOutput) UsageType

Specifies the usage type. Possible values are `COMMITTED` and `PAYG`. Defaults to `PAYG`. Changing this forces a new Azure Native New Relic Monitor to be created.

type MonitorPlanPtrInput

type MonitorPlanPtrInput interface {
	pulumi.Input

	ToMonitorPlanPtrOutput() MonitorPlanPtrOutput
	ToMonitorPlanPtrOutputWithContext(context.Context) MonitorPlanPtrOutput
}

MonitorPlanPtrInput is an input type that accepts MonitorPlanArgs, MonitorPlanPtr and MonitorPlanPtrOutput values. You can construct a concrete instance of `MonitorPlanPtrInput` via:

        MonitorPlanArgs{...}

or:

        nil

func MonitorPlanPtr

func MonitorPlanPtr(v *MonitorPlanArgs) MonitorPlanPtrInput

type MonitorPlanPtrOutput

type MonitorPlanPtrOutput struct{ *pulumi.OutputState }

func (MonitorPlanPtrOutput) BillingCycle

func (o MonitorPlanPtrOutput) BillingCycle() pulumi.StringPtrOutput

Specifies the billing cycles. Possible values are `MONTHLY`, `WEEKLY` and `YEARLY`. Defaults to `MONTHLY`. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorPlanPtrOutput) EffectiveDate

func (o MonitorPlanPtrOutput) EffectiveDate() pulumi.StringPtrOutput

Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorPlanPtrOutput) Elem

func (MonitorPlanPtrOutput) ElementType

func (MonitorPlanPtrOutput) ElementType() reflect.Type

func (MonitorPlanPtrOutput) PlanId

Specifies the plan id published by NewRelic. The only possible value is `newrelic-pay-as-you-go-free-live`. Defaults to `newrelic-pay-as-you-go-free-live`. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorPlanPtrOutput) ToMonitorPlanPtrOutput

func (o MonitorPlanPtrOutput) ToMonitorPlanPtrOutput() MonitorPlanPtrOutput

func (MonitorPlanPtrOutput) ToMonitorPlanPtrOutputWithContext

func (o MonitorPlanPtrOutput) ToMonitorPlanPtrOutputWithContext(ctx context.Context) MonitorPlanPtrOutput

func (MonitorPlanPtrOutput) ToOutput added in v5.52.0

func (MonitorPlanPtrOutput) UsageType

Specifies the usage type. Possible values are `COMMITTED` and `PAYG`. Defaults to `PAYG`. Changing this forces a new Azure Native New Relic Monitor to be created.

type MonitorState

type MonitorState struct {
	// Specifies the source of account creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.
	AccountCreationSource pulumi.StringPtrInput
	// Specifies the account id. Changing this forces a new Azure Native New Relic Monitor to be created.
	AccountId pulumi.StringPtrInput
	// Specifies the ingestion key of account. Changing this forces a new Azure Native New Relic Monitor to be created.
	IngestionKey pulumi.StringPtrInput
	// 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.
	Location pulumi.StringPtrInput
	// 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.
	Name pulumi.StringPtrInput
	// Specifies the source of org creation. Possible values are `LIFTR` and `NEWRELIC`. Defaults to `LIFTR`. Changing this forces a new Azure Native New Relic Monitor to be created.
	OrgCreationSource pulumi.StringPtrInput
	// Specifies the organization id. Changing this forces a new Azure Native New Relic Monitor to be created.
	OrganizationId pulumi.StringPtrInput
	// A `plan` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
	Plan MonitorPlanPtrInput
	// 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.
	ResourceGroupName pulumi.StringPtrInput
	// A `user` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
	User MonitorUserPtrInput
	// Specifies the user id. Changing this forces a new Azure Native New Relic Monitor to be created.
	UserId pulumi.StringPtrInput
}

func (MonitorState) ElementType

func (MonitorState) ElementType() reflect.Type

type MonitorUser

type MonitorUser struct {
	// Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
	Email string `pulumi:"email"`
	// Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
	FirstName string `pulumi:"firstName"`
	// Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
	LastName string `pulumi:"lastName"`
	// Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
	PhoneNumber string `pulumi:"phoneNumber"`
}

type MonitorUserArgs

type MonitorUserArgs struct {
	// Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
	Email pulumi.StringInput `pulumi:"email"`
	// Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
	FirstName pulumi.StringInput `pulumi:"firstName"`
	// Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
	LastName pulumi.StringInput `pulumi:"lastName"`
	// Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.
	PhoneNumber pulumi.StringInput `pulumi:"phoneNumber"`
}

func (MonitorUserArgs) ElementType

func (MonitorUserArgs) ElementType() reflect.Type

func (MonitorUserArgs) ToMonitorUserOutput

func (i MonitorUserArgs) ToMonitorUserOutput() MonitorUserOutput

func (MonitorUserArgs) ToMonitorUserOutputWithContext

func (i MonitorUserArgs) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput

func (MonitorUserArgs) ToMonitorUserPtrOutput

func (i MonitorUserArgs) ToMonitorUserPtrOutput() MonitorUserPtrOutput

func (MonitorUserArgs) ToMonitorUserPtrOutputWithContext

func (i MonitorUserArgs) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput

func (MonitorUserArgs) ToOutput added in v5.52.0

type MonitorUserInput

type MonitorUserInput interface {
	pulumi.Input

	ToMonitorUserOutput() MonitorUserOutput
	ToMonitorUserOutputWithContext(context.Context) MonitorUserOutput
}

MonitorUserInput is an input type that accepts MonitorUserArgs and MonitorUserOutput values. You can construct a concrete instance of `MonitorUserInput` via:

MonitorUserArgs{...}

type MonitorUserOutput

type MonitorUserOutput struct{ *pulumi.OutputState }

func (MonitorUserOutput) ElementType

func (MonitorUserOutput) ElementType() reflect.Type

func (MonitorUserOutput) Email

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

func (MonitorUserOutput) FirstName

func (o MonitorUserOutput) FirstName() pulumi.StringOutput

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

func (MonitorUserOutput) LastName

func (o MonitorUserOutput) LastName() pulumi.StringOutput

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

func (MonitorUserOutput) PhoneNumber

func (o MonitorUserOutput) PhoneNumber() pulumi.StringOutput

Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorUserOutput) ToMonitorUserOutput

func (o MonitorUserOutput) ToMonitorUserOutput() MonitorUserOutput

func (MonitorUserOutput) ToMonitorUserOutputWithContext

func (o MonitorUserOutput) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput

func (MonitorUserOutput) ToMonitorUserPtrOutput

func (o MonitorUserOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput

func (MonitorUserOutput) ToMonitorUserPtrOutputWithContext

func (o MonitorUserOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput

func (MonitorUserOutput) ToOutput added in v5.52.0

type MonitorUserPtrInput

type MonitorUserPtrInput interface {
	pulumi.Input

	ToMonitorUserPtrOutput() MonitorUserPtrOutput
	ToMonitorUserPtrOutputWithContext(context.Context) MonitorUserPtrOutput
}

MonitorUserPtrInput is an input type that accepts MonitorUserArgs, MonitorUserPtr and MonitorUserPtrOutput values. You can construct a concrete instance of `MonitorUserPtrInput` via:

        MonitorUserArgs{...}

or:

        nil

func MonitorUserPtr

func MonitorUserPtr(v *MonitorUserArgs) MonitorUserPtrInput

type MonitorUserPtrOutput

type MonitorUserPtrOutput struct{ *pulumi.OutputState }

func (MonitorUserPtrOutput) Elem

func (MonitorUserPtrOutput) ElementType

func (MonitorUserPtrOutput) ElementType() reflect.Type

func (MonitorUserPtrOutput) Email

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

func (MonitorUserPtrOutput) FirstName

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

func (MonitorUserPtrOutput) LastName

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

func (MonitorUserPtrOutput) PhoneNumber

Specifies the contact phone number. Changing this forces a new Azure Native New Relic Monitor to be created.

func (MonitorUserPtrOutput) ToMonitorUserPtrOutput

func (o MonitorUserPtrOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput

func (MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext

func (o MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput

func (MonitorUserPtrOutput) ToOutput added in v5.52.0

type TagRule added in v5.52.0

type TagRule struct {
	pulumi.CustomResourceState

	// Whether activity logs from Azure resources should be sent for the Monitor resource. Defaults to `false`.
	ActivityLogEnabled pulumi.BoolPtrOutput `pulumi:"activityLogEnabled"`
	// Whether Azure Active Directory logs should be sent for the Monitor resource. Defaults to `false`.
	AzureActiveDirectoryLogEnabled pulumi.BoolPtrOutput `pulumi:"azureActiveDirectoryLogEnabled"`
	// A `logTagFilter` block as defined below.
	LogTagFilters TagRuleLogTagFilterArrayOutput `pulumi:"logTagFilters"`
	// Whether metrics should be sent for the Monitor resource. Defaults to `false`.
	MetricEnabled pulumi.BoolPtrOutput `pulumi:"metricEnabled"`
	// A `metricTagFilter` block as defined below.
	MetricTagFilters TagRuleMetricTagFilterArrayOutput `pulumi:"metricTagFilters"`
	// Specifies the ID of the New Relic Monitor this Tag Rule should be created within. Changing this forces a new Azure Native New Relic Tag Rule to be created.
	MonitorId pulumi.StringOutput `pulumi:"monitorId"`
	// Whether subscription logs should be sent for the Monitor resource. Defaults to `false`.
	SubscriptionLogEnabled pulumi.BoolPtrOutput `pulumi:"subscriptionLogEnabled"`
}

Manages an Azure Native New Relic Tag Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/newrelic"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("East US"),
		})
		if err != nil {
			return err
		}
		exampleMonitor, err := newrelic.NewMonitor(ctx, "exampleMonitor", &newrelic.MonitorArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			Plan: &newrelic.MonitorPlanArgs{
				EffectiveDate: pulumi.String("2023-06-06T00:00:00Z"),
			},
			User: &newrelic.MonitorUserArgs{
				Email:       pulumi.String("user@example.com"),
				FirstName:   pulumi.String("Example"),
				LastName:    pulumi.String("User"),
				PhoneNumber: pulumi.String("+12313803556"),
			},
		})
		if err != nil {
			return err
		}
		_, err = newrelic.NewTagRule(ctx, "exampleTagRule", &newrelic.TagRuleArgs{
			MonitorId:                      exampleMonitor.ID(),
			AzureActiveDirectoryLogEnabled: pulumi.Bool(true),
			ActivityLogEnabled:             pulumi.Bool(true),
			MetricEnabled:                  pulumi.Bool(true),
			SubscriptionLogEnabled:         pulumi.Bool(true),
			LogTagFilters: newrelic.TagRuleLogTagFilterArray{
				&newrelic.TagRuleLogTagFilterArgs{
					Name:   pulumi.String("key"),
					Action: pulumi.String("Include"),
					Value:  pulumi.String("value"),
				},
			},
			MetricTagFilters: newrelic.TagRuleMetricTagFilterArray{
				&newrelic.TagRuleMetricTagFilterArgs{
					Name:   pulumi.String("key"),
					Action: pulumi.String("Exclude"),
					Value:  pulumi.String("value"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Native New Relic Tag Rule can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:newrelic/tagRule:TagRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/NewRelic.Observability/monitors/monitor1/tagRules/ruleSet1

```

func GetTagRule added in v5.52.0

func GetTagRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TagRuleState, opts ...pulumi.ResourceOption) (*TagRule, error)

GetTagRule gets an existing TagRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTagRule added in v5.52.0

func NewTagRule(ctx *pulumi.Context,
	name string, args *TagRuleArgs, opts ...pulumi.ResourceOption) (*TagRule, error)

NewTagRule registers a new resource with the given unique name, arguments, and options.

func (*TagRule) ElementType added in v5.52.0

func (*TagRule) ElementType() reflect.Type

func (*TagRule) ToOutput added in v5.52.0

func (i *TagRule) ToOutput(ctx context.Context) pulumix.Output[*TagRule]

func (*TagRule) ToTagRuleOutput added in v5.52.0

func (i *TagRule) ToTagRuleOutput() TagRuleOutput

func (*TagRule) ToTagRuleOutputWithContext added in v5.52.0

func (i *TagRule) ToTagRuleOutputWithContext(ctx context.Context) TagRuleOutput

type TagRuleArgs added in v5.52.0

type TagRuleArgs struct {
	// Whether activity logs from Azure resources should be sent for the Monitor resource. Defaults to `false`.
	ActivityLogEnabled pulumi.BoolPtrInput
	// Whether Azure Active Directory logs should be sent for the Monitor resource. Defaults to `false`.
	AzureActiveDirectoryLogEnabled pulumi.BoolPtrInput
	// A `logTagFilter` block as defined below.
	LogTagFilters TagRuleLogTagFilterArrayInput
	// Whether metrics should be sent for the Monitor resource. Defaults to `false`.
	MetricEnabled pulumi.BoolPtrInput
	// A `metricTagFilter` block as defined below.
	MetricTagFilters TagRuleMetricTagFilterArrayInput
	// Specifies the ID of the New Relic Monitor this Tag Rule should be created within. Changing this forces a new Azure Native New Relic Tag Rule to be created.
	MonitorId pulumi.StringInput
	// Whether subscription logs should be sent for the Monitor resource. Defaults to `false`.
	SubscriptionLogEnabled pulumi.BoolPtrInput
}

The set of arguments for constructing a TagRule resource.

func (TagRuleArgs) ElementType added in v5.52.0

func (TagRuleArgs) ElementType() reflect.Type

type TagRuleArray added in v5.52.0

type TagRuleArray []TagRuleInput

func (TagRuleArray) ElementType added in v5.52.0

func (TagRuleArray) ElementType() reflect.Type

func (TagRuleArray) ToOutput added in v5.52.0

func (i TagRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]*TagRule]

func (TagRuleArray) ToTagRuleArrayOutput added in v5.52.0

func (i TagRuleArray) ToTagRuleArrayOutput() TagRuleArrayOutput

func (TagRuleArray) ToTagRuleArrayOutputWithContext added in v5.52.0

func (i TagRuleArray) ToTagRuleArrayOutputWithContext(ctx context.Context) TagRuleArrayOutput

type TagRuleArrayInput added in v5.52.0

type TagRuleArrayInput interface {
	pulumi.Input

	ToTagRuleArrayOutput() TagRuleArrayOutput
	ToTagRuleArrayOutputWithContext(context.Context) TagRuleArrayOutput
}

TagRuleArrayInput is an input type that accepts TagRuleArray and TagRuleArrayOutput values. You can construct a concrete instance of `TagRuleArrayInput` via:

TagRuleArray{ TagRuleArgs{...} }

type TagRuleArrayOutput added in v5.52.0

type TagRuleArrayOutput struct{ *pulumi.OutputState }

func (TagRuleArrayOutput) ElementType added in v5.52.0

func (TagRuleArrayOutput) ElementType() reflect.Type

func (TagRuleArrayOutput) Index added in v5.52.0

func (TagRuleArrayOutput) ToOutput added in v5.52.0

func (TagRuleArrayOutput) ToTagRuleArrayOutput added in v5.52.0

func (o TagRuleArrayOutput) ToTagRuleArrayOutput() TagRuleArrayOutput

func (TagRuleArrayOutput) ToTagRuleArrayOutputWithContext added in v5.52.0

func (o TagRuleArrayOutput) ToTagRuleArrayOutputWithContext(ctx context.Context) TagRuleArrayOutput

type TagRuleInput added in v5.52.0

type TagRuleInput interface {
	pulumi.Input

	ToTagRuleOutput() TagRuleOutput
	ToTagRuleOutputWithContext(ctx context.Context) TagRuleOutput
}

type TagRuleLogTagFilter added in v5.52.0

type TagRuleLogTagFilter struct {
	// Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.
	Action string `pulumi:"action"`
	// Specifies the name (also known as the key) of the tag.
	Name string `pulumi:"name"`
	// Specifies the value of the tag.
	Value string `pulumi:"value"`
}

type TagRuleLogTagFilterArgs added in v5.52.0

type TagRuleLogTagFilterArgs struct {
	// Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.
	Action pulumi.StringInput `pulumi:"action"`
	// Specifies the name (also known as the key) of the tag.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the value of the tag.
	Value pulumi.StringInput `pulumi:"value"`
}

func (TagRuleLogTagFilterArgs) ElementType added in v5.52.0

func (TagRuleLogTagFilterArgs) ElementType() reflect.Type

func (TagRuleLogTagFilterArgs) ToOutput added in v5.52.0

func (TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutput added in v5.52.0

func (i TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutput() TagRuleLogTagFilterOutput

func (TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutputWithContext added in v5.52.0

func (i TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutputWithContext(ctx context.Context) TagRuleLogTagFilterOutput

type TagRuleLogTagFilterArray added in v5.52.0

type TagRuleLogTagFilterArray []TagRuleLogTagFilterInput

func (TagRuleLogTagFilterArray) ElementType added in v5.52.0

func (TagRuleLogTagFilterArray) ElementType() reflect.Type

func (TagRuleLogTagFilterArray) ToOutput added in v5.52.0

func (TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutput added in v5.52.0

func (i TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutput() TagRuleLogTagFilterArrayOutput

func (TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutputWithContext added in v5.52.0

func (i TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutputWithContext(ctx context.Context) TagRuleLogTagFilterArrayOutput

type TagRuleLogTagFilterArrayInput added in v5.52.0

type TagRuleLogTagFilterArrayInput interface {
	pulumi.Input

	ToTagRuleLogTagFilterArrayOutput() TagRuleLogTagFilterArrayOutput
	ToTagRuleLogTagFilterArrayOutputWithContext(context.Context) TagRuleLogTagFilterArrayOutput
}

TagRuleLogTagFilterArrayInput is an input type that accepts TagRuleLogTagFilterArray and TagRuleLogTagFilterArrayOutput values. You can construct a concrete instance of `TagRuleLogTagFilterArrayInput` via:

TagRuleLogTagFilterArray{ TagRuleLogTagFilterArgs{...} }

type TagRuleLogTagFilterArrayOutput added in v5.52.0

type TagRuleLogTagFilterArrayOutput struct{ *pulumi.OutputState }

func (TagRuleLogTagFilterArrayOutput) ElementType added in v5.52.0

func (TagRuleLogTagFilterArrayOutput) Index added in v5.52.0

func (TagRuleLogTagFilterArrayOutput) ToOutput added in v5.52.0

func (TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutput added in v5.52.0

func (o TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutput() TagRuleLogTagFilterArrayOutput

func (TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutputWithContext added in v5.52.0

func (o TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutputWithContext(ctx context.Context) TagRuleLogTagFilterArrayOutput

type TagRuleLogTagFilterInput added in v5.52.0

type TagRuleLogTagFilterInput interface {
	pulumi.Input

	ToTagRuleLogTagFilterOutput() TagRuleLogTagFilterOutput
	ToTagRuleLogTagFilterOutputWithContext(context.Context) TagRuleLogTagFilterOutput
}

TagRuleLogTagFilterInput is an input type that accepts TagRuleLogTagFilterArgs and TagRuleLogTagFilterOutput values. You can construct a concrete instance of `TagRuleLogTagFilterInput` via:

TagRuleLogTagFilterArgs{...}

type TagRuleLogTagFilterOutput added in v5.52.0

type TagRuleLogTagFilterOutput struct{ *pulumi.OutputState }

func (TagRuleLogTagFilterOutput) Action added in v5.52.0

Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.

func (TagRuleLogTagFilterOutput) ElementType added in v5.52.0

func (TagRuleLogTagFilterOutput) ElementType() reflect.Type

func (TagRuleLogTagFilterOutput) Name added in v5.52.0

Specifies the name (also known as the key) of the tag.

func (TagRuleLogTagFilterOutput) ToOutput added in v5.52.0

func (TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutput added in v5.52.0

func (o TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutput() TagRuleLogTagFilterOutput

func (TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutputWithContext added in v5.52.0

func (o TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutputWithContext(ctx context.Context) TagRuleLogTagFilterOutput

func (TagRuleLogTagFilterOutput) Value added in v5.52.0

Specifies the value of the tag.

type TagRuleMap added in v5.52.0

type TagRuleMap map[string]TagRuleInput

func (TagRuleMap) ElementType added in v5.52.0

func (TagRuleMap) ElementType() reflect.Type

func (TagRuleMap) ToOutput added in v5.52.0

func (i TagRuleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*TagRule]

func (TagRuleMap) ToTagRuleMapOutput added in v5.52.0

func (i TagRuleMap) ToTagRuleMapOutput() TagRuleMapOutput

func (TagRuleMap) ToTagRuleMapOutputWithContext added in v5.52.0

func (i TagRuleMap) ToTagRuleMapOutputWithContext(ctx context.Context) TagRuleMapOutput

type TagRuleMapInput added in v5.52.0

type TagRuleMapInput interface {
	pulumi.Input

	ToTagRuleMapOutput() TagRuleMapOutput
	ToTagRuleMapOutputWithContext(context.Context) TagRuleMapOutput
}

TagRuleMapInput is an input type that accepts TagRuleMap and TagRuleMapOutput values. You can construct a concrete instance of `TagRuleMapInput` via:

TagRuleMap{ "key": TagRuleArgs{...} }

type TagRuleMapOutput added in v5.52.0

type TagRuleMapOutput struct{ *pulumi.OutputState }

func (TagRuleMapOutput) ElementType added in v5.52.0

func (TagRuleMapOutput) ElementType() reflect.Type

func (TagRuleMapOutput) MapIndex added in v5.52.0

func (TagRuleMapOutput) ToOutput added in v5.52.0

func (TagRuleMapOutput) ToTagRuleMapOutput added in v5.52.0

func (o TagRuleMapOutput) ToTagRuleMapOutput() TagRuleMapOutput

func (TagRuleMapOutput) ToTagRuleMapOutputWithContext added in v5.52.0

func (o TagRuleMapOutput) ToTagRuleMapOutputWithContext(ctx context.Context) TagRuleMapOutput

type TagRuleMetricTagFilter added in v5.52.0

type TagRuleMetricTagFilter struct {
	// Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.
	Action string `pulumi:"action"`
	// Specifies the name (also known as the key) of the tag.
	Name string `pulumi:"name"`
	// Specifies the value of the tag.
	Value string `pulumi:"value"`
}

type TagRuleMetricTagFilterArgs added in v5.52.0

type TagRuleMetricTagFilterArgs struct {
	// Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.
	Action pulumi.StringInput `pulumi:"action"`
	// Specifies the name (also known as the key) of the tag.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the value of the tag.
	Value pulumi.StringInput `pulumi:"value"`
}

func (TagRuleMetricTagFilterArgs) ElementType added in v5.52.0

func (TagRuleMetricTagFilterArgs) ElementType() reflect.Type

func (TagRuleMetricTagFilterArgs) ToOutput added in v5.52.0

func (TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutput added in v5.52.0

func (i TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutput() TagRuleMetricTagFilterOutput

func (TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutputWithContext added in v5.52.0

func (i TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutputWithContext(ctx context.Context) TagRuleMetricTagFilterOutput

type TagRuleMetricTagFilterArray added in v5.52.0

type TagRuleMetricTagFilterArray []TagRuleMetricTagFilterInput

func (TagRuleMetricTagFilterArray) ElementType added in v5.52.0

func (TagRuleMetricTagFilterArray) ToOutput added in v5.52.0

func (TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutput added in v5.52.0

func (i TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutput() TagRuleMetricTagFilterArrayOutput

func (TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutputWithContext added in v5.52.0

func (i TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutputWithContext(ctx context.Context) TagRuleMetricTagFilterArrayOutput

type TagRuleMetricTagFilterArrayInput added in v5.52.0

type TagRuleMetricTagFilterArrayInput interface {
	pulumi.Input

	ToTagRuleMetricTagFilterArrayOutput() TagRuleMetricTagFilterArrayOutput
	ToTagRuleMetricTagFilterArrayOutputWithContext(context.Context) TagRuleMetricTagFilterArrayOutput
}

TagRuleMetricTagFilterArrayInput is an input type that accepts TagRuleMetricTagFilterArray and TagRuleMetricTagFilterArrayOutput values. You can construct a concrete instance of `TagRuleMetricTagFilterArrayInput` via:

TagRuleMetricTagFilterArray{ TagRuleMetricTagFilterArgs{...} }

type TagRuleMetricTagFilterArrayOutput added in v5.52.0

type TagRuleMetricTagFilterArrayOutput struct{ *pulumi.OutputState }

func (TagRuleMetricTagFilterArrayOutput) ElementType added in v5.52.0

func (TagRuleMetricTagFilterArrayOutput) Index added in v5.52.0

func (TagRuleMetricTagFilterArrayOutput) ToOutput added in v5.52.0

func (TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutput added in v5.52.0

func (o TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutput() TagRuleMetricTagFilterArrayOutput

func (TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutputWithContext added in v5.52.0

func (o TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutputWithContext(ctx context.Context) TagRuleMetricTagFilterArrayOutput

type TagRuleMetricTagFilterInput added in v5.52.0

type TagRuleMetricTagFilterInput interface {
	pulumi.Input

	ToTagRuleMetricTagFilterOutput() TagRuleMetricTagFilterOutput
	ToTagRuleMetricTagFilterOutputWithContext(context.Context) TagRuleMetricTagFilterOutput
}

TagRuleMetricTagFilterInput is an input type that accepts TagRuleMetricTagFilterArgs and TagRuleMetricTagFilterOutput values. You can construct a concrete instance of `TagRuleMetricTagFilterInput` via:

TagRuleMetricTagFilterArgs{...}

type TagRuleMetricTagFilterOutput added in v5.52.0

type TagRuleMetricTagFilterOutput struct{ *pulumi.OutputState }

func (TagRuleMetricTagFilterOutput) Action added in v5.52.0

Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.

func (TagRuleMetricTagFilterOutput) ElementType added in v5.52.0

func (TagRuleMetricTagFilterOutput) Name added in v5.52.0

Specifies the name (also known as the key) of the tag.

func (TagRuleMetricTagFilterOutput) ToOutput added in v5.52.0

func (TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutput added in v5.52.0

func (o TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutput() TagRuleMetricTagFilterOutput

func (TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutputWithContext added in v5.52.0

func (o TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutputWithContext(ctx context.Context) TagRuleMetricTagFilterOutput

func (TagRuleMetricTagFilterOutput) Value added in v5.52.0

Specifies the value of the tag.

type TagRuleOutput added in v5.52.0

type TagRuleOutput struct{ *pulumi.OutputState }

func (TagRuleOutput) ActivityLogEnabled added in v5.52.0

func (o TagRuleOutput) ActivityLogEnabled() pulumi.BoolPtrOutput

Whether activity logs from Azure resources should be sent for the Monitor resource. Defaults to `false`.

func (TagRuleOutput) AzureActiveDirectoryLogEnabled added in v5.52.0

func (o TagRuleOutput) AzureActiveDirectoryLogEnabled() pulumi.BoolPtrOutput

Whether Azure Active Directory logs should be sent for the Monitor resource. Defaults to `false`.

func (TagRuleOutput) ElementType added in v5.52.0

func (TagRuleOutput) ElementType() reflect.Type

func (TagRuleOutput) LogTagFilters added in v5.52.0

A `logTagFilter` block as defined below.

func (TagRuleOutput) MetricEnabled added in v5.52.0

func (o TagRuleOutput) MetricEnabled() pulumi.BoolPtrOutput

Whether metrics should be sent for the Monitor resource. Defaults to `false`.

func (TagRuleOutput) MetricTagFilters added in v5.52.0

func (o TagRuleOutput) MetricTagFilters() TagRuleMetricTagFilterArrayOutput

A `metricTagFilter` block as defined below.

func (TagRuleOutput) MonitorId added in v5.52.0

func (o TagRuleOutput) MonitorId() pulumi.StringOutput

Specifies the ID of the New Relic Monitor this Tag Rule should be created within. Changing this forces a new Azure Native New Relic Tag Rule to be created.

func (TagRuleOutput) SubscriptionLogEnabled added in v5.52.0

func (o TagRuleOutput) SubscriptionLogEnabled() pulumi.BoolPtrOutput

Whether subscription logs should be sent for the Monitor resource. Defaults to `false`.

func (TagRuleOutput) ToOutput added in v5.52.0

func (o TagRuleOutput) ToOutput(ctx context.Context) pulumix.Output[*TagRule]

func (TagRuleOutput) ToTagRuleOutput added in v5.52.0

func (o TagRuleOutput) ToTagRuleOutput() TagRuleOutput

func (TagRuleOutput) ToTagRuleOutputWithContext added in v5.52.0

func (o TagRuleOutput) ToTagRuleOutputWithContext(ctx context.Context) TagRuleOutput

type TagRuleState added in v5.52.0

type TagRuleState struct {
	// Whether activity logs from Azure resources should be sent for the Monitor resource. Defaults to `false`.
	ActivityLogEnabled pulumi.BoolPtrInput
	// Whether Azure Active Directory logs should be sent for the Monitor resource. Defaults to `false`.
	AzureActiveDirectoryLogEnabled pulumi.BoolPtrInput
	// A `logTagFilter` block as defined below.
	LogTagFilters TagRuleLogTagFilterArrayInput
	// Whether metrics should be sent for the Monitor resource. Defaults to `false`.
	MetricEnabled pulumi.BoolPtrInput
	// A `metricTagFilter` block as defined below.
	MetricTagFilters TagRuleMetricTagFilterArrayInput
	// Specifies the ID of the New Relic Monitor this Tag Rule should be created within. Changing this forces a new Azure Native New Relic Tag Rule to be created.
	MonitorId pulumi.StringPtrInput
	// Whether subscription logs should be sent for the Monitor resource. Defaults to `false`.
	SubscriptionLogEnabled pulumi.BoolPtrInput
}

func (TagRuleState) ElementType added in v5.52.0

func (TagRuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL