Documentation ¶
Index ¶
- type Monitor
- type MonitorArgs
- type MonitorArray
- type MonitorArrayInput
- type MonitorArrayOutput
- type MonitorIdentity
- type MonitorIdentityArgs
- func (MonitorIdentityArgs) ElementType() reflect.Type
- func (i MonitorIdentityArgs) ToMonitorIdentityOutput() MonitorIdentityOutput
- func (i MonitorIdentityArgs) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput
- func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
- func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
- type MonitorIdentityInput
- type MonitorIdentityOutput
- func (MonitorIdentityOutput) ElementType() reflect.Type
- func (o MonitorIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o MonitorIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityOutput() MonitorIdentityOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
- func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
- func (o MonitorIdentityOutput) Type() pulumi.StringOutput
- type MonitorIdentityPtrInput
- type MonitorIdentityPtrOutput
- func (o MonitorIdentityPtrOutput) Elem() MonitorIdentityOutput
- func (MonitorIdentityPtrOutput) ElementType() reflect.Type
- func (o MonitorIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o MonitorIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
- func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
- func (o MonitorIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type MonitorInput
- type MonitorMap
- type MonitorMapInput
- type MonitorMapOutput
- type MonitorOutput
- func (o MonitorOutput) AccountCreationSource() pulumi.StringPtrOutput
- func (o MonitorOutput) AccountId() pulumi.StringOutput
- func (MonitorOutput) ElementType() reflect.Type
- func (o MonitorOutput) Identity() MonitorIdentityPtrOutput
- func (o MonitorOutput) IngestionKey() pulumi.StringPtrOutput
- func (o MonitorOutput) Location() pulumi.StringOutput
- func (o MonitorOutput) Name() pulumi.StringOutput
- func (o MonitorOutput) OrgCreationSource() pulumi.StringPtrOutput
- func (o MonitorOutput) OrganizationId() pulumi.StringOutput
- func (o MonitorOutput) Plan() MonitorPlanOutput
- func (o MonitorOutput) ResourceGroupName() pulumi.StringOutput
- func (o MonitorOutput) ToMonitorOutput() MonitorOutput
- func (o MonitorOutput) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
- func (o MonitorOutput) User() MonitorUserOutput
- func (o MonitorOutput) UserId() pulumi.StringPtrOutput
- type MonitorPlan
- type MonitorPlanArgs
- func (MonitorPlanArgs) ElementType() reflect.Type
- func (i MonitorPlanArgs) ToMonitorPlanOutput() MonitorPlanOutput
- func (i MonitorPlanArgs) ToMonitorPlanOutputWithContext(ctx context.Context) MonitorPlanOutput
- func (i MonitorPlanArgs) ToMonitorPlanPtrOutput() MonitorPlanPtrOutput
- func (i MonitorPlanArgs) ToMonitorPlanPtrOutputWithContext(ctx context.Context) MonitorPlanPtrOutput
- type MonitorPlanInput
- type MonitorPlanOutput
- func (o MonitorPlanOutput) BillingCycle() pulumi.StringPtrOutput
- func (o MonitorPlanOutput) EffectiveDate() pulumi.StringOutput
- func (MonitorPlanOutput) ElementType() reflect.Type
- func (o MonitorPlanOutput) PlanId() pulumi.StringPtrOutput
- func (o MonitorPlanOutput) ToMonitorPlanOutput() MonitorPlanOutput
- func (o MonitorPlanOutput) ToMonitorPlanOutputWithContext(ctx context.Context) MonitorPlanOutput
- func (o MonitorPlanOutput) ToMonitorPlanPtrOutput() MonitorPlanPtrOutput
- func (o MonitorPlanOutput) ToMonitorPlanPtrOutputWithContext(ctx context.Context) MonitorPlanPtrOutput
- func (o MonitorPlanOutput) UsageType() pulumi.StringPtrOutput
- type MonitorPlanPtrInput
- type MonitorPlanPtrOutput
- func (o MonitorPlanPtrOutput) BillingCycle() pulumi.StringPtrOutput
- func (o MonitorPlanPtrOutput) EffectiveDate() pulumi.StringPtrOutput
- func (o MonitorPlanPtrOutput) Elem() MonitorPlanOutput
- func (MonitorPlanPtrOutput) ElementType() reflect.Type
- func (o MonitorPlanPtrOutput) PlanId() pulumi.StringPtrOutput
- func (o MonitorPlanPtrOutput) ToMonitorPlanPtrOutput() MonitorPlanPtrOutput
- func (o MonitorPlanPtrOutput) ToMonitorPlanPtrOutputWithContext(ctx context.Context) MonitorPlanPtrOutput
- func (o MonitorPlanPtrOutput) UsageType() pulumi.StringPtrOutput
- type MonitorState
- type MonitorUser
- type MonitorUserArgs
- func (MonitorUserArgs) ElementType() reflect.Type
- func (i MonitorUserArgs) ToMonitorUserOutput() MonitorUserOutput
- func (i MonitorUserArgs) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput
- func (i MonitorUserArgs) ToMonitorUserPtrOutput() MonitorUserPtrOutput
- func (i MonitorUserArgs) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput
- type MonitorUserInput
- type MonitorUserOutput
- func (MonitorUserOutput) ElementType() reflect.Type
- func (o MonitorUserOutput) Email() pulumi.StringOutput
- func (o MonitorUserOutput) FirstName() pulumi.StringOutput
- func (o MonitorUserOutput) LastName() pulumi.StringOutput
- func (o MonitorUserOutput) PhoneNumber() pulumi.StringOutput
- func (o MonitorUserOutput) ToMonitorUserOutput() MonitorUserOutput
- func (o MonitorUserOutput) ToMonitorUserOutputWithContext(ctx context.Context) MonitorUserOutput
- func (o MonitorUserOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput
- func (o MonitorUserOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput
- type MonitorUserPtrInput
- type MonitorUserPtrOutput
- func (o MonitorUserPtrOutput) Elem() MonitorUserOutput
- func (MonitorUserPtrOutput) ElementType() reflect.Type
- func (o MonitorUserPtrOutput) Email() pulumi.StringPtrOutput
- func (o MonitorUserPtrOutput) FirstName() pulumi.StringPtrOutput
- func (o MonitorUserPtrOutput) LastName() pulumi.StringPtrOutput
- func (o MonitorUserPtrOutput) PhoneNumber() pulumi.StringPtrOutput
- func (o MonitorUserPtrOutput) ToMonitorUserPtrOutput() MonitorUserPtrOutput
- func (o MonitorUserPtrOutput) ToMonitorUserPtrOutputWithContext(ctx context.Context) MonitorUserPtrOutput
- type TagRule
- type TagRuleArgs
- type TagRuleArray
- type TagRuleArrayInput
- type TagRuleArrayOutput
- type TagRuleInput
- type TagRuleLogTagFilter
- type TagRuleLogTagFilterArgs
- type TagRuleLogTagFilterArray
- type TagRuleLogTagFilterArrayInput
- type TagRuleLogTagFilterArrayOutput
- func (TagRuleLogTagFilterArrayOutput) ElementType() reflect.Type
- func (o TagRuleLogTagFilterArrayOutput) Index(i pulumi.IntInput) TagRuleLogTagFilterOutput
- func (o TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutput() TagRuleLogTagFilterArrayOutput
- func (o TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutputWithContext(ctx context.Context) TagRuleLogTagFilterArrayOutput
- type TagRuleLogTagFilterInput
- type TagRuleLogTagFilterOutput
- func (o TagRuleLogTagFilterOutput) Action() pulumi.StringOutput
- func (TagRuleLogTagFilterOutput) ElementType() reflect.Type
- func (o TagRuleLogTagFilterOutput) Name() pulumi.StringOutput
- func (o TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutput() TagRuleLogTagFilterOutput
- func (o TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutputWithContext(ctx context.Context) TagRuleLogTagFilterOutput
- func (o TagRuleLogTagFilterOutput) Value() pulumi.StringOutput
- type TagRuleMap
- type TagRuleMapInput
- type TagRuleMapOutput
- type TagRuleMetricTagFilter
- type TagRuleMetricTagFilterArgs
- type TagRuleMetricTagFilterArray
- func (TagRuleMetricTagFilterArray) ElementType() reflect.Type
- func (i TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutput() TagRuleMetricTagFilterArrayOutput
- func (i TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutputWithContext(ctx context.Context) TagRuleMetricTagFilterArrayOutput
- type TagRuleMetricTagFilterArrayInput
- type TagRuleMetricTagFilterArrayOutput
- func (TagRuleMetricTagFilterArrayOutput) ElementType() reflect.Type
- func (o TagRuleMetricTagFilterArrayOutput) Index(i pulumi.IntInput) TagRuleMetricTagFilterOutput
- func (o TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutput() TagRuleMetricTagFilterArrayOutput
- func (o TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutputWithContext(ctx context.Context) TagRuleMetricTagFilterArrayOutput
- type TagRuleMetricTagFilterInput
- type TagRuleMetricTagFilterOutput
- func (o TagRuleMetricTagFilterOutput) Action() pulumi.StringOutput
- func (TagRuleMetricTagFilterOutput) ElementType() reflect.Type
- func (o TagRuleMetricTagFilterOutput) Name() pulumi.StringOutput
- func (o TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutput() TagRuleMetricTagFilterOutput
- func (o TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutputWithContext(ctx context.Context) TagRuleMetricTagFilterOutput
- func (o TagRuleMetricTagFilterOutput) Value() pulumi.StringOutput
- type TagRuleOutput
- func (o TagRuleOutput) ActivityLogEnabled() pulumi.BoolPtrOutput
- func (o TagRuleOutput) AzureActiveDirectoryLogEnabled() pulumi.BoolPtrOutput
- func (TagRuleOutput) ElementType() reflect.Type
- func (o TagRuleOutput) LogTagFilters() TagRuleLogTagFilterArrayOutput
- func (o TagRuleOutput) MetricEnabled() pulumi.BoolPtrOutput
- func (o TagRuleOutput) MetricTagFilters() TagRuleMetricTagFilterArrayOutput
- func (o TagRuleOutput) MonitorId() pulumi.StringOutput
- func (o TagRuleOutput) SubscriptionLogEnabled() pulumi.BoolPtrOutput
- func (o TagRuleOutput) ToTagRuleOutput() TagRuleOutput
- func (o TagRuleOutput) ToTagRuleOutputWithContext(ctx context.Context) TagRuleOutput
- type TagRuleState
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. // // > **NOTE:** The value of `accountId` must come from an Azure Native New Relic Monitor instance of another different subscription. AccountId pulumi.StringOutput `pulumi:"accountId"` // An `identity` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. Identity MonitorIdentityPtrOutput `pulumi:"identity"` // 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. // // > **NOTE:** The value of `organizationId` must come from an Azure Native New Relic Monitor instance of another different subscription. 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/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 }) }
```
## 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
```go package main
import (
"fmt" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil) if err != nil { return err } monitoringReader, err := authorization.LookupRoleDefinition(ctx, &authorization.LookupRoleDefinitionArgs{ Name: pulumi.StringRef("Monitoring Reader"), }, nil) if err != nil { return err } _, err = authorization.NewAssignment(ctx, "example", &authorization.AssignmentArgs{ Scope: pulumi.String(primary.Id), RoleDefinitionId: pulumi.Sprintf("%v%v", primary.Id, monitoringReader.Id), PrincipalId: pulumi.Any(exampleAzurermNewRelicMonitor.Identity[0].PrincipalId), }) if err != nil { return err } return nil }) }
```
## 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) ToMonitorOutput ¶
func (i *Monitor) ToMonitorOutput() MonitorOutput
func (*Monitor) ToMonitorOutputWithContext ¶
func (i *Monitor) ToMonitorOutputWithContext(ctx context.Context) MonitorOutput
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. // // > **NOTE:** The value of `accountId` must come from an Azure Native New Relic Monitor instance of another different subscription. AccountId pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. Identity MonitorIdentityPtrInput // 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. // // > **NOTE:** The value of `organizationId` must come from an Azure Native New Relic Monitor instance of another different subscription. 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
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 (o MonitorArrayOutput) Index(i pulumi.IntInput) MonitorOutput
func (MonitorArrayOutput) ToMonitorArrayOutput ¶
func (o MonitorArrayOutput) ToMonitorArrayOutput() MonitorArrayOutput
func (MonitorArrayOutput) ToMonitorArrayOutputWithContext ¶
func (o MonitorArrayOutput) ToMonitorArrayOutputWithContext(ctx context.Context) MonitorArrayOutput
type MonitorIdentity ¶
type MonitorIdentity struct { // The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor. PrincipalId *string `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor. TenantId *string `pulumi:"tenantId"` // 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. Type string `pulumi:"type"` }
type MonitorIdentityArgs ¶
type MonitorIdentityArgs struct { // The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // 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. Type pulumi.StringInput `pulumi:"type"` }
func (MonitorIdentityArgs) ElementType ¶
func (MonitorIdentityArgs) ElementType() reflect.Type
func (MonitorIdentityArgs) ToMonitorIdentityOutput ¶
func (i MonitorIdentityArgs) ToMonitorIdentityOutput() MonitorIdentityOutput
func (MonitorIdentityArgs) ToMonitorIdentityOutputWithContext ¶
func (i MonitorIdentityArgs) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput
func (MonitorIdentityArgs) ToMonitorIdentityPtrOutput ¶
func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
func (MonitorIdentityArgs) ToMonitorIdentityPtrOutputWithContext ¶
func (i MonitorIdentityArgs) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
type MonitorIdentityInput ¶
type MonitorIdentityInput interface { pulumi.Input ToMonitorIdentityOutput() MonitorIdentityOutput ToMonitorIdentityOutputWithContext(context.Context) MonitorIdentityOutput }
MonitorIdentityInput is an input type that accepts MonitorIdentityArgs and MonitorIdentityOutput values. You can construct a concrete instance of `MonitorIdentityInput` via:
MonitorIdentityArgs{...}
type MonitorIdentityOutput ¶
type MonitorIdentityOutput struct{ *pulumi.OutputState }
func (MonitorIdentityOutput) ElementType ¶
func (MonitorIdentityOutput) ElementType() reflect.Type
func (MonitorIdentityOutput) PrincipalId ¶
func (o MonitorIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
func (MonitorIdentityOutput) TenantId ¶
func (o MonitorIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
func (MonitorIdentityOutput) ToMonitorIdentityOutput ¶
func (o MonitorIdentityOutput) ToMonitorIdentityOutput() MonitorIdentityOutput
func (MonitorIdentityOutput) ToMonitorIdentityOutputWithContext ¶
func (o MonitorIdentityOutput) ToMonitorIdentityOutputWithContext(ctx context.Context) MonitorIdentityOutput
func (MonitorIdentityOutput) ToMonitorIdentityPtrOutput ¶
func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
func (MonitorIdentityOutput) ToMonitorIdentityPtrOutputWithContext ¶
func (o MonitorIdentityOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
func (MonitorIdentityOutput) Type ¶
func (o MonitorIdentityOutput) Type() pulumi.StringOutput
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.
type MonitorIdentityPtrInput ¶
type MonitorIdentityPtrInput interface { pulumi.Input ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput ToMonitorIdentityPtrOutputWithContext(context.Context) MonitorIdentityPtrOutput }
MonitorIdentityPtrInput is an input type that accepts MonitorIdentityArgs, MonitorIdentityPtr and MonitorIdentityPtrOutput values. You can construct a concrete instance of `MonitorIdentityPtrInput` via:
MonitorIdentityArgs{...} or: nil
func MonitorIdentityPtr ¶
func MonitorIdentityPtr(v *MonitorIdentityArgs) MonitorIdentityPtrInput
type MonitorIdentityPtrOutput ¶
type MonitorIdentityPtrOutput struct{ *pulumi.OutputState }
func (MonitorIdentityPtrOutput) Elem ¶
func (o MonitorIdentityPtrOutput) Elem() MonitorIdentityOutput
func (MonitorIdentityPtrOutput) ElementType ¶
func (MonitorIdentityPtrOutput) ElementType() reflect.Type
func (MonitorIdentityPtrOutput) PrincipalId ¶
func (o MonitorIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
func (MonitorIdentityPtrOutput) TenantId ¶
func (o MonitorIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
func (MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutput ¶
func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutput() MonitorIdentityPtrOutput
func (MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutputWithContext ¶
func (o MonitorIdentityPtrOutput) ToMonitorIdentityPtrOutputWithContext(ctx context.Context) MonitorIdentityPtrOutput
func (MonitorIdentityPtrOutput) Type ¶
func (o MonitorIdentityPtrOutput) Type() pulumi.StringPtrOutput
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.
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
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 (o MonitorMapOutput) MapIndex(k pulumi.StringInput) MonitorOutput
func (MonitorMapOutput) ToMonitorMapOutput ¶
func (o MonitorMapOutput) ToMonitorMapOutput() MonitorMapOutput
func (MonitorMapOutput) ToMonitorMapOutputWithContext ¶
func (o MonitorMapOutput) ToMonitorMapOutputWithContext(ctx context.Context) MonitorMapOutput
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.
> **NOTE:** The value of `accountId` must come from an Azure Native New Relic Monitor instance of another different subscription.
func (MonitorOutput) ElementType ¶
func (MonitorOutput) ElementType() reflect.Type
func (MonitorOutput) Identity ¶
func (o MonitorOutput) Identity() MonitorIdentityPtrOutput
An `identity` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
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 ¶
func (o MonitorOutput) Name() pulumi.StringOutput
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.
> **NOTE:** The value of `organizationId` must come from an Azure Native New Relic Monitor instance of another different subscription.
func (MonitorOutput) Plan ¶
func (o MonitorOutput) Plan() MonitorPlanOutput
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) User ¶
func (o MonitorOutput) User() MonitorUserOutput
A `user` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created.
func (MonitorOutput) UserId ¶
func (o MonitorOutput) UserId() pulumi.StringPtrOutput
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
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 ¶
func (o MonitorPlanOutput) PlanId() pulumi.StringPtrOutput
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) UsageType ¶
func (o MonitorPlanOutput) UsageType() pulumi.StringPtrOutput
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 (o MonitorPlanPtrOutput) Elem() MonitorPlanOutput
func (MonitorPlanPtrOutput) ElementType ¶
func (MonitorPlanPtrOutput) ElementType() reflect.Type
func (MonitorPlanPtrOutput) PlanId ¶
func (o MonitorPlanPtrOutput) PlanId() pulumi.StringPtrOutput
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) UsageType ¶
func (o MonitorPlanPtrOutput) UsageType() pulumi.StringPtrOutput
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. // // > **NOTE:** The value of `accountId` must come from an Azure Native New Relic Monitor instance of another different subscription. AccountId pulumi.StringPtrInput // An `identity` block as defined below. Changing this forces a new Azure Native New Relic Monitor to be created. Identity MonitorIdentityPtrInput // 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. // // > **NOTE:** The value of `organizationId` must come from an Azure Native New Relic Monitor instance of another different subscription. 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
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 ¶
func (o MonitorUserOutput) Email() pulumi.StringOutput
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
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 (o MonitorUserPtrOutput) Elem() MonitorUserOutput
func (MonitorUserPtrOutput) ElementType ¶
func (MonitorUserPtrOutput) ElementType() reflect.Type
func (MonitorUserPtrOutput) Email ¶
func (o MonitorUserPtrOutput) Email() pulumi.StringPtrOutput
Specifies the user Email. Changing this forces a new Azure Native New Relic Monitor to be created.
func (MonitorUserPtrOutput) FirstName ¶
func (o MonitorUserPtrOutput) FirstName() pulumi.StringPtrOutput
Specifies the first name. Changing this forces a new Azure Native New Relic Monitor to be created.
func (MonitorUserPtrOutput) LastName ¶
func (o MonitorUserPtrOutput) LastName() pulumi.StringPtrOutput
Specifies the last name. Changing this forces a new Azure Native New Relic Monitor to be created.
func (MonitorUserPtrOutput) PhoneNumber ¶
func (o MonitorUserPtrOutput) PhoneNumber() pulumi.StringPtrOutput
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
type TagRule ¶
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/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 } exampleMonitor, 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"), }, }) if err != nil { return err } _, err = newrelic.NewTagRule(ctx, "example", &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 ¶
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 ¶
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 ¶
func (*TagRule) ToTagRuleOutput ¶
func (i *TagRule) ToTagRuleOutput() TagRuleOutput
func (*TagRule) ToTagRuleOutputWithContext ¶
func (i *TagRule) ToTagRuleOutputWithContext(ctx context.Context) TagRuleOutput
type TagRuleArgs ¶
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 ¶
func (TagRuleArgs) ElementType() reflect.Type
type TagRuleArray ¶
type TagRuleArray []TagRuleInput
func (TagRuleArray) ElementType ¶
func (TagRuleArray) ElementType() reflect.Type
func (TagRuleArray) ToTagRuleArrayOutput ¶
func (i TagRuleArray) ToTagRuleArrayOutput() TagRuleArrayOutput
func (TagRuleArray) ToTagRuleArrayOutputWithContext ¶
func (i TagRuleArray) ToTagRuleArrayOutputWithContext(ctx context.Context) TagRuleArrayOutput
type TagRuleArrayInput ¶
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 ¶
type TagRuleArrayOutput struct{ *pulumi.OutputState }
func (TagRuleArrayOutput) ElementType ¶
func (TagRuleArrayOutput) ElementType() reflect.Type
func (TagRuleArrayOutput) Index ¶
func (o TagRuleArrayOutput) Index(i pulumi.IntInput) TagRuleOutput
func (TagRuleArrayOutput) ToTagRuleArrayOutput ¶
func (o TagRuleArrayOutput) ToTagRuleArrayOutput() TagRuleArrayOutput
func (TagRuleArrayOutput) ToTagRuleArrayOutputWithContext ¶
func (o TagRuleArrayOutput) ToTagRuleArrayOutputWithContext(ctx context.Context) TagRuleArrayOutput
type TagRuleInput ¶
type TagRuleInput interface { pulumi.Input ToTagRuleOutput() TagRuleOutput ToTagRuleOutputWithContext(ctx context.Context) TagRuleOutput }
type TagRuleLogTagFilter ¶
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 ¶
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 ¶
func (TagRuleLogTagFilterArgs) ElementType() reflect.Type
func (TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutput ¶
func (i TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutput() TagRuleLogTagFilterOutput
func (TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutputWithContext ¶
func (i TagRuleLogTagFilterArgs) ToTagRuleLogTagFilterOutputWithContext(ctx context.Context) TagRuleLogTagFilterOutput
type TagRuleLogTagFilterArray ¶
type TagRuleLogTagFilterArray []TagRuleLogTagFilterInput
func (TagRuleLogTagFilterArray) ElementType ¶
func (TagRuleLogTagFilterArray) ElementType() reflect.Type
func (TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutput ¶
func (i TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutput() TagRuleLogTagFilterArrayOutput
func (TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutputWithContext ¶
func (i TagRuleLogTagFilterArray) ToTagRuleLogTagFilterArrayOutputWithContext(ctx context.Context) TagRuleLogTagFilterArrayOutput
type TagRuleLogTagFilterArrayInput ¶
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 ¶
type TagRuleLogTagFilterArrayOutput struct{ *pulumi.OutputState }
func (TagRuleLogTagFilterArrayOutput) ElementType ¶
func (TagRuleLogTagFilterArrayOutput) ElementType() reflect.Type
func (TagRuleLogTagFilterArrayOutput) Index ¶
func (o TagRuleLogTagFilterArrayOutput) Index(i pulumi.IntInput) TagRuleLogTagFilterOutput
func (TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutput ¶
func (o TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutput() TagRuleLogTagFilterArrayOutput
func (TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutputWithContext ¶
func (o TagRuleLogTagFilterArrayOutput) ToTagRuleLogTagFilterArrayOutputWithContext(ctx context.Context) TagRuleLogTagFilterArrayOutput
type TagRuleLogTagFilterInput ¶
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 ¶
type TagRuleLogTagFilterOutput struct{ *pulumi.OutputState }
func (TagRuleLogTagFilterOutput) Action ¶
func (o TagRuleLogTagFilterOutput) Action() pulumi.StringOutput
Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.
func (TagRuleLogTagFilterOutput) ElementType ¶
func (TagRuleLogTagFilterOutput) ElementType() reflect.Type
func (TagRuleLogTagFilterOutput) Name ¶
func (o TagRuleLogTagFilterOutput) Name() pulumi.StringOutput
Specifies the name (also known as the key) of the tag.
func (TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutput ¶
func (o TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutput() TagRuleLogTagFilterOutput
func (TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutputWithContext ¶
func (o TagRuleLogTagFilterOutput) ToTagRuleLogTagFilterOutputWithContext(ctx context.Context) TagRuleLogTagFilterOutput
func (TagRuleLogTagFilterOutput) Value ¶
func (o TagRuleLogTagFilterOutput) Value() pulumi.StringOutput
Specifies the value of the tag.
type TagRuleMap ¶
type TagRuleMap map[string]TagRuleInput
func (TagRuleMap) ElementType ¶
func (TagRuleMap) ElementType() reflect.Type
func (TagRuleMap) ToTagRuleMapOutput ¶
func (i TagRuleMap) ToTagRuleMapOutput() TagRuleMapOutput
func (TagRuleMap) ToTagRuleMapOutputWithContext ¶
func (i TagRuleMap) ToTagRuleMapOutputWithContext(ctx context.Context) TagRuleMapOutput
type TagRuleMapInput ¶
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 ¶
type TagRuleMapOutput struct{ *pulumi.OutputState }
func (TagRuleMapOutput) ElementType ¶
func (TagRuleMapOutput) ElementType() reflect.Type
func (TagRuleMapOutput) MapIndex ¶
func (o TagRuleMapOutput) MapIndex(k pulumi.StringInput) TagRuleOutput
func (TagRuleMapOutput) ToTagRuleMapOutput ¶
func (o TagRuleMapOutput) ToTagRuleMapOutput() TagRuleMapOutput
func (TagRuleMapOutput) ToTagRuleMapOutputWithContext ¶
func (o TagRuleMapOutput) ToTagRuleMapOutputWithContext(ctx context.Context) TagRuleMapOutput
type TagRuleMetricTagFilter ¶
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 ¶
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 ¶
func (TagRuleMetricTagFilterArgs) ElementType() reflect.Type
func (TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutput ¶
func (i TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutput() TagRuleMetricTagFilterOutput
func (TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutputWithContext ¶
func (i TagRuleMetricTagFilterArgs) ToTagRuleMetricTagFilterOutputWithContext(ctx context.Context) TagRuleMetricTagFilterOutput
type TagRuleMetricTagFilterArray ¶
type TagRuleMetricTagFilterArray []TagRuleMetricTagFilterInput
func (TagRuleMetricTagFilterArray) ElementType ¶
func (TagRuleMetricTagFilterArray) ElementType() reflect.Type
func (TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutput ¶
func (i TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutput() TagRuleMetricTagFilterArrayOutput
func (TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutputWithContext ¶
func (i TagRuleMetricTagFilterArray) ToTagRuleMetricTagFilterArrayOutputWithContext(ctx context.Context) TagRuleMetricTagFilterArrayOutput
type TagRuleMetricTagFilterArrayInput ¶
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 ¶
type TagRuleMetricTagFilterArrayOutput struct{ *pulumi.OutputState }
func (TagRuleMetricTagFilterArrayOutput) ElementType ¶
func (TagRuleMetricTagFilterArrayOutput) ElementType() reflect.Type
func (TagRuleMetricTagFilterArrayOutput) Index ¶
func (o TagRuleMetricTagFilterArrayOutput) Index(i pulumi.IntInput) TagRuleMetricTagFilterOutput
func (TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutput ¶
func (o TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutput() TagRuleMetricTagFilterArrayOutput
func (TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutputWithContext ¶
func (o TagRuleMetricTagFilterArrayOutput) ToTagRuleMetricTagFilterArrayOutputWithContext(ctx context.Context) TagRuleMetricTagFilterArrayOutput
type TagRuleMetricTagFilterInput ¶
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 ¶
type TagRuleMetricTagFilterOutput struct{ *pulumi.OutputState }
func (TagRuleMetricTagFilterOutput) Action ¶
func (o TagRuleMetricTagFilterOutput) Action() pulumi.StringOutput
Valid actions for a filtering tag. Possible values are `Exclude` and `Include`. Exclusion takes priority over inclusion.
func (TagRuleMetricTagFilterOutput) ElementType ¶
func (TagRuleMetricTagFilterOutput) ElementType() reflect.Type
func (TagRuleMetricTagFilterOutput) Name ¶
func (o TagRuleMetricTagFilterOutput) Name() pulumi.StringOutput
Specifies the name (also known as the key) of the tag.
func (TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutput ¶
func (o TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutput() TagRuleMetricTagFilterOutput
func (TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutputWithContext ¶
func (o TagRuleMetricTagFilterOutput) ToTagRuleMetricTagFilterOutputWithContext(ctx context.Context) TagRuleMetricTagFilterOutput
func (TagRuleMetricTagFilterOutput) Value ¶
func (o TagRuleMetricTagFilterOutput) Value() pulumi.StringOutput
Specifies the value of the tag.
type TagRuleOutput ¶
type TagRuleOutput struct{ *pulumi.OutputState }
func (TagRuleOutput) ActivityLogEnabled ¶
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 ¶
func (o TagRuleOutput) AzureActiveDirectoryLogEnabled() pulumi.BoolPtrOutput
Whether Azure Active Directory logs should be sent for the Monitor resource. Defaults to `false`.
func (TagRuleOutput) ElementType ¶
func (TagRuleOutput) ElementType() reflect.Type
func (TagRuleOutput) LogTagFilters ¶
func (o TagRuleOutput) LogTagFilters() TagRuleLogTagFilterArrayOutput
A `logTagFilter` block as defined below.
func (TagRuleOutput) MetricEnabled ¶
func (o TagRuleOutput) MetricEnabled() pulumi.BoolPtrOutput
Whether metrics should be sent for the Monitor resource. Defaults to `false`.
func (TagRuleOutput) MetricTagFilters ¶
func (o TagRuleOutput) MetricTagFilters() TagRuleMetricTagFilterArrayOutput
A `metricTagFilter` block as defined below.
func (TagRuleOutput) MonitorId ¶
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 ¶
func (o TagRuleOutput) SubscriptionLogEnabled() pulumi.BoolPtrOutput
Whether subscription logs should be sent for the Monitor resource. Defaults to `false`.
func (TagRuleOutput) ToTagRuleOutput ¶
func (o TagRuleOutput) ToTagRuleOutput() TagRuleOutput
func (TagRuleOutput) ToTagRuleOutputWithContext ¶
func (o TagRuleOutput) ToTagRuleOutputWithContext(ctx context.Context) TagRuleOutput
type TagRuleState ¶
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 ¶
func (TagRuleState) ElementType() reflect.Type