Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type AlertChannel
- type AlertChannelArgs
- type AlertChannelArray
- type AlertChannelArrayInput
- type AlertChannelArrayOutput
- func (AlertChannelArrayOutput) ElementType() reflect.Type
- func (o AlertChannelArrayOutput) Index(i pulumi.IntInput) AlertChannelOutput
- func (o AlertChannelArrayOutput) ToAlertChannelArrayOutput() AlertChannelArrayOutput
- func (o AlertChannelArrayOutput) ToAlertChannelArrayOutputWithContext(ctx context.Context) AlertChannelArrayOutput
- type AlertChannelConfig
- type AlertChannelConfigArgs
- func (AlertChannelConfigArgs) ElementType() reflect.Type
- func (i AlertChannelConfigArgs) ToAlertChannelConfigOutput() AlertChannelConfigOutput
- func (i AlertChannelConfigArgs) ToAlertChannelConfigOutputWithContext(ctx context.Context) AlertChannelConfigOutput
- func (i AlertChannelConfigArgs) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput
- func (i AlertChannelConfigArgs) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput
- type AlertChannelConfigInput
- type AlertChannelConfigOutput
- func (o AlertChannelConfigOutput) ApiKey() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) AuthPassword() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) AuthType() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) AuthUsername() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) BaseUrl() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) Channel() pulumi.StringPtrOutput
- func (AlertChannelConfigOutput) ElementType() reflect.Type
- func (o AlertChannelConfigOutput) Headers() pulumi.StringMapOutput
- func (o AlertChannelConfigOutput) HeadersString() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) IncludeJsonAttachment() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) Key() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) Payload() pulumi.StringMapOutput
- func (o AlertChannelConfigOutput) PayloadString() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) PayloadType() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) Recipients() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) Region() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) RouteKey() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) ServiceKey() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) Tags() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) Teams() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) ToAlertChannelConfigOutput() AlertChannelConfigOutput
- func (o AlertChannelConfigOutput) ToAlertChannelConfigOutputWithContext(ctx context.Context) AlertChannelConfigOutput
- func (o AlertChannelConfigOutput) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput
- func (o AlertChannelConfigOutput) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput
- func (o AlertChannelConfigOutput) Url() pulumi.StringPtrOutput
- func (o AlertChannelConfigOutput) UserId() pulumi.StringPtrOutput
- type AlertChannelConfigPtrInput
- type AlertChannelConfigPtrOutput
- func (o AlertChannelConfigPtrOutput) ApiKey() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) AuthPassword() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) AuthType() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) AuthUsername() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) BaseUrl() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Channel() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Elem() AlertChannelConfigOutput
- func (AlertChannelConfigPtrOutput) ElementType() reflect.Type
- func (o AlertChannelConfigPtrOutput) Headers() pulumi.StringMapOutput
- func (o AlertChannelConfigPtrOutput) HeadersString() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) IncludeJsonAttachment() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Key() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Payload() pulumi.StringMapOutput
- func (o AlertChannelConfigPtrOutput) PayloadString() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) PayloadType() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Recipients() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Region() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) RouteKey() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) ServiceKey() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Tags() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) Teams() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput
- func (o AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput
- func (o AlertChannelConfigPtrOutput) Url() pulumi.StringPtrOutput
- func (o AlertChannelConfigPtrOutput) UserId() pulumi.StringPtrOutput
- type AlertChannelInput
- type AlertChannelMap
- type AlertChannelMapInput
- type AlertChannelMapOutput
- func (AlertChannelMapOutput) ElementType() reflect.Type
- func (o AlertChannelMapOutput) MapIndex(k pulumi.StringInput) AlertChannelOutput
- func (o AlertChannelMapOutput) ToAlertChannelMapOutput() AlertChannelMapOutput
- func (o AlertChannelMapOutput) ToAlertChannelMapOutputWithContext(ctx context.Context) AlertChannelMapOutput
- type AlertChannelOutput
- func (o AlertChannelOutput) AccountId() pulumi.IntOutput
- func (o AlertChannelOutput) Config() AlertChannelConfigPtrOutput
- func (AlertChannelOutput) ElementType() reflect.Type
- func (o AlertChannelOutput) Name() pulumi.StringOutput
- func (o AlertChannelOutput) ToAlertChannelOutput() AlertChannelOutput
- func (o AlertChannelOutput) ToAlertChannelOutputWithContext(ctx context.Context) AlertChannelOutput
- func (o AlertChannelOutput) Type() pulumi.StringOutput
- type AlertChannelState
- type AlertCondition
- type AlertConditionArgs
- type AlertConditionArray
- type AlertConditionArrayInput
- type AlertConditionArrayOutput
- func (AlertConditionArrayOutput) ElementType() reflect.Type
- func (o AlertConditionArrayOutput) Index(i pulumi.IntInput) AlertConditionOutput
- func (o AlertConditionArrayOutput) ToAlertConditionArrayOutput() AlertConditionArrayOutput
- func (o AlertConditionArrayOutput) ToAlertConditionArrayOutputWithContext(ctx context.Context) AlertConditionArrayOutput
- type AlertConditionInput
- type AlertConditionMap
- type AlertConditionMapInput
- type AlertConditionMapOutput
- func (AlertConditionMapOutput) ElementType() reflect.Type
- func (o AlertConditionMapOutput) MapIndex(k pulumi.StringInput) AlertConditionOutput
- func (o AlertConditionMapOutput) ToAlertConditionMapOutput() AlertConditionMapOutput
- func (o AlertConditionMapOutput) ToAlertConditionMapOutputWithContext(ctx context.Context) AlertConditionMapOutput
- type AlertConditionOutput
- func (o AlertConditionOutput) ConditionScope() pulumi.StringPtrOutput
- func (AlertConditionOutput) ElementType() reflect.Type
- func (o AlertConditionOutput) Enabled() pulumi.BoolPtrOutput
- func (o AlertConditionOutput) Entities() pulumi.IntArrayOutput
- func (o AlertConditionOutput) GcMetric() pulumi.StringPtrOutput
- func (o AlertConditionOutput) Metric() pulumi.StringOutput
- func (o AlertConditionOutput) Name() pulumi.StringOutput
- func (o AlertConditionOutput) PolicyId() pulumi.IntOutput
- func (o AlertConditionOutput) RunbookUrl() pulumi.StringPtrOutput
- func (o AlertConditionOutput) Terms() AlertConditionTermArrayOutput
- func (o AlertConditionOutput) ToAlertConditionOutput() AlertConditionOutput
- func (o AlertConditionOutput) ToAlertConditionOutputWithContext(ctx context.Context) AlertConditionOutput
- func (o AlertConditionOutput) Type() pulumi.StringOutput
- func (o AlertConditionOutput) UserDefinedMetric() pulumi.StringPtrOutput
- func (o AlertConditionOutput) UserDefinedValueFunction() pulumi.StringPtrOutput
- func (o AlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput
- type AlertConditionState
- type AlertConditionTerm
- type AlertConditionTermArgs
- type AlertConditionTermArray
- type AlertConditionTermArrayInput
- type AlertConditionTermArrayOutput
- func (AlertConditionTermArrayOutput) ElementType() reflect.Type
- func (o AlertConditionTermArrayOutput) Index(i pulumi.IntInput) AlertConditionTermOutput
- func (o AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutput() AlertConditionTermArrayOutput
- func (o AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutputWithContext(ctx context.Context) AlertConditionTermArrayOutput
- type AlertConditionTermInput
- type AlertConditionTermOutput
- func (o AlertConditionTermOutput) Duration() pulumi.IntOutput
- func (AlertConditionTermOutput) ElementType() reflect.Type
- func (o AlertConditionTermOutput) Operator() pulumi.StringPtrOutput
- func (o AlertConditionTermOutput) Priority() pulumi.StringPtrOutput
- func (o AlertConditionTermOutput) Threshold() pulumi.Float64Output
- func (o AlertConditionTermOutput) TimeFunction() pulumi.StringOutput
- func (o AlertConditionTermOutput) ToAlertConditionTermOutput() AlertConditionTermOutput
- func (o AlertConditionTermOutput) ToAlertConditionTermOutputWithContext(ctx context.Context) AlertConditionTermOutput
- type AlertMutingRule
- type AlertMutingRuleArgs
- type AlertMutingRuleArray
- type AlertMutingRuleArrayInput
- type AlertMutingRuleArrayOutput
- func (AlertMutingRuleArrayOutput) ElementType() reflect.Type
- func (o AlertMutingRuleArrayOutput) Index(i pulumi.IntInput) AlertMutingRuleOutput
- func (o AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput
- func (o AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutputWithContext(ctx context.Context) AlertMutingRuleArrayOutput
- type AlertMutingRuleCondition
- type AlertMutingRuleConditionArgs
- func (AlertMutingRuleConditionArgs) ElementType() reflect.Type
- func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput
- func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionOutput
- func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput
- func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput
- type AlertMutingRuleConditionCondition
- type AlertMutingRuleConditionConditionArgs
- func (AlertMutingRuleConditionConditionArgs) ElementType() reflect.Type
- func (i AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput
- func (i AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionOutput
- type AlertMutingRuleConditionConditionArray
- func (AlertMutingRuleConditionConditionArray) ElementType() reflect.Type
- func (i AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput
- func (i AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionArrayOutput
- type AlertMutingRuleConditionConditionArrayInput
- type AlertMutingRuleConditionConditionArrayOutput
- func (AlertMutingRuleConditionConditionArrayOutput) ElementType() reflect.Type
- func (o AlertMutingRuleConditionConditionArrayOutput) Index(i pulumi.IntInput) AlertMutingRuleConditionConditionOutput
- func (o AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput
- func (o AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionArrayOutput
- type AlertMutingRuleConditionConditionInput
- type AlertMutingRuleConditionConditionOutput
- func (o AlertMutingRuleConditionConditionOutput) Attribute() pulumi.StringOutput
- func (AlertMutingRuleConditionConditionOutput) ElementType() reflect.Type
- func (o AlertMutingRuleConditionConditionOutput) Operator() pulumi.StringOutput
- func (o AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput
- func (o AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionOutput
- func (o AlertMutingRuleConditionConditionOutput) Values() pulumi.StringArrayOutput
- type AlertMutingRuleConditionInput
- type AlertMutingRuleConditionOutput
- func (o AlertMutingRuleConditionOutput) Conditions() AlertMutingRuleConditionConditionArrayOutput
- func (AlertMutingRuleConditionOutput) ElementType() reflect.Type
- func (o AlertMutingRuleConditionOutput) Operator() pulumi.StringOutput
- func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput
- func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionOutput
- func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput
- func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput
- type AlertMutingRuleConditionPtrInput
- type AlertMutingRuleConditionPtrOutput
- func (o AlertMutingRuleConditionPtrOutput) Conditions() AlertMutingRuleConditionConditionArrayOutput
- func (o AlertMutingRuleConditionPtrOutput) Elem() AlertMutingRuleConditionOutput
- func (AlertMutingRuleConditionPtrOutput) ElementType() reflect.Type
- func (o AlertMutingRuleConditionPtrOutput) Operator() pulumi.StringPtrOutput
- func (o AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput
- func (o AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput
- type AlertMutingRuleInput
- type AlertMutingRuleMap
- type AlertMutingRuleMapInput
- type AlertMutingRuleMapOutput
- func (AlertMutingRuleMapOutput) ElementType() reflect.Type
- func (o AlertMutingRuleMapOutput) MapIndex(k pulumi.StringInput) AlertMutingRuleOutput
- func (o AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput
- func (o AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutputWithContext(ctx context.Context) AlertMutingRuleMapOutput
- type AlertMutingRuleOutput
- func (o AlertMutingRuleOutput) AccountId() pulumi.IntOutput
- func (o AlertMutingRuleOutput) Condition() AlertMutingRuleConditionOutput
- func (o AlertMutingRuleOutput) Description() pulumi.StringPtrOutput
- func (AlertMutingRuleOutput) ElementType() reflect.Type
- func (o AlertMutingRuleOutput) Enabled() pulumi.BoolOutput
- func (o AlertMutingRuleOutput) Name() pulumi.StringOutput
- func (o AlertMutingRuleOutput) Schedule() AlertMutingRuleSchedulePtrOutput
- func (o AlertMutingRuleOutput) ToAlertMutingRuleOutput() AlertMutingRuleOutput
- func (o AlertMutingRuleOutput) ToAlertMutingRuleOutputWithContext(ctx context.Context) AlertMutingRuleOutput
- type AlertMutingRuleSchedule
- type AlertMutingRuleScheduleArgs
- func (AlertMutingRuleScheduleArgs) ElementType() reflect.Type
- func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput
- func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutputWithContext(ctx context.Context) AlertMutingRuleScheduleOutput
- func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput
- func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput
- type AlertMutingRuleScheduleInput
- type AlertMutingRuleScheduleOutput
- func (AlertMutingRuleScheduleOutput) ElementType() reflect.Type
- func (o AlertMutingRuleScheduleOutput) EndRepeat() pulumi.StringPtrOutput
- func (o AlertMutingRuleScheduleOutput) EndTime() pulumi.StringPtrOutput
- func (o AlertMutingRuleScheduleOutput) Repeat() pulumi.StringPtrOutput
- func (o AlertMutingRuleScheduleOutput) RepeatCount() pulumi.IntPtrOutput
- func (o AlertMutingRuleScheduleOutput) StartTime() pulumi.StringPtrOutput
- func (o AlertMutingRuleScheduleOutput) TimeZone() pulumi.StringOutput
- func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput
- func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutputWithContext(ctx context.Context) AlertMutingRuleScheduleOutput
- func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput
- func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput
- func (o AlertMutingRuleScheduleOutput) WeeklyRepeatDays() pulumi.StringArrayOutput
- type AlertMutingRuleSchedulePtrInput
- type AlertMutingRuleSchedulePtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) Elem() AlertMutingRuleScheduleOutput
- func (AlertMutingRuleSchedulePtrOutput) ElementType() reflect.Type
- func (o AlertMutingRuleSchedulePtrOutput) EndRepeat() pulumi.StringPtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) EndTime() pulumi.StringPtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) Repeat() pulumi.StringPtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) RepeatCount() pulumi.IntPtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) StartTime() pulumi.StringPtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) TimeZone() pulumi.StringPtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput
- func (o AlertMutingRuleSchedulePtrOutput) WeeklyRepeatDays() pulumi.StringArrayOutput
- type AlertMutingRuleState
- type AlertPolicy
- type AlertPolicyArgs
- type AlertPolicyArray
- type AlertPolicyArrayInput
- type AlertPolicyArrayOutput
- func (AlertPolicyArrayOutput) ElementType() reflect.Type
- func (o AlertPolicyArrayOutput) Index(i pulumi.IntInput) AlertPolicyOutput
- func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput
- func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext(ctx context.Context) AlertPolicyArrayOutput
- type AlertPolicyChannel
- type AlertPolicyChannelArgs
- type AlertPolicyChannelArray
- type AlertPolicyChannelArrayInput
- type AlertPolicyChannelArrayOutput
- func (AlertPolicyChannelArrayOutput) ElementType() reflect.Type
- func (o AlertPolicyChannelArrayOutput) Index(i pulumi.IntInput) AlertPolicyChannelOutput
- func (o AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput
- func (o AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutputWithContext(ctx context.Context) AlertPolicyChannelArrayOutput
- type AlertPolicyChannelInput
- type AlertPolicyChannelMap
- type AlertPolicyChannelMapInput
- type AlertPolicyChannelMapOutput
- func (AlertPolicyChannelMapOutput) ElementType() reflect.Type
- func (o AlertPolicyChannelMapOutput) MapIndex(k pulumi.StringInput) AlertPolicyChannelOutput
- func (o AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput
- func (o AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutputWithContext(ctx context.Context) AlertPolicyChannelMapOutput
- type AlertPolicyChannelOutput
- func (o AlertPolicyChannelOutput) AccountId() pulumi.IntOutput
- func (o AlertPolicyChannelOutput) ChannelIds() pulumi.IntArrayOutput
- func (AlertPolicyChannelOutput) ElementType() reflect.Type
- func (o AlertPolicyChannelOutput) PolicyId() pulumi.IntOutput
- func (o AlertPolicyChannelOutput) ToAlertPolicyChannelOutput() AlertPolicyChannelOutput
- func (o AlertPolicyChannelOutput) ToAlertPolicyChannelOutputWithContext(ctx context.Context) AlertPolicyChannelOutput
- type AlertPolicyChannelState
- type AlertPolicyInput
- type AlertPolicyMap
- type AlertPolicyMapInput
- type AlertPolicyMapOutput
- func (AlertPolicyMapOutput) ElementType() reflect.Type
- func (o AlertPolicyMapOutput) MapIndex(k pulumi.StringInput) AlertPolicyOutput
- func (o AlertPolicyMapOutput) ToAlertPolicyMapOutput() AlertPolicyMapOutput
- func (o AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext(ctx context.Context) AlertPolicyMapOutput
- type AlertPolicyOutput
- func (o AlertPolicyOutput) AccountId() pulumi.IntOutput
- func (o AlertPolicyOutput) ChannelIds() pulumi.IntArrayOutput
- func (AlertPolicyOutput) ElementType() reflect.Type
- func (o AlertPolicyOutput) IncidentPreference() pulumi.StringPtrOutput
- func (o AlertPolicyOutput) Name() pulumi.StringOutput
- func (o AlertPolicyOutput) ToAlertPolicyOutput() AlertPolicyOutput
- func (o AlertPolicyOutput) ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput
- type AlertPolicyState
- type ApiAccessKey
- type ApiAccessKeyArgs
- type ApiAccessKeyArray
- type ApiAccessKeyArrayInput
- type ApiAccessKeyArrayOutput
- func (ApiAccessKeyArrayOutput) ElementType() reflect.Type
- func (o ApiAccessKeyArrayOutput) Index(i pulumi.IntInput) ApiAccessKeyOutput
- func (o ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput
- func (o ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutputWithContext(ctx context.Context) ApiAccessKeyArrayOutput
- type ApiAccessKeyInput
- type ApiAccessKeyMap
- type ApiAccessKeyMapInput
- type ApiAccessKeyMapOutput
- func (ApiAccessKeyMapOutput) ElementType() reflect.Type
- func (o ApiAccessKeyMapOutput) MapIndex(k pulumi.StringInput) ApiAccessKeyOutput
- func (o ApiAccessKeyMapOutput) ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput
- func (o ApiAccessKeyMapOutput) ToApiAccessKeyMapOutputWithContext(ctx context.Context) ApiAccessKeyMapOutput
- type ApiAccessKeyOutput
- func (o ApiAccessKeyOutput) AccountId() pulumi.IntOutput
- func (ApiAccessKeyOutput) ElementType() reflect.Type
- func (o ApiAccessKeyOutput) IngestType() pulumi.StringOutput
- func (o ApiAccessKeyOutput) Key() pulumi.StringOutput
- func (o ApiAccessKeyOutput) KeyType() pulumi.StringOutput
- func (o ApiAccessKeyOutput) Name() pulumi.StringOutput
- func (o ApiAccessKeyOutput) Notes() pulumi.StringOutput
- func (o ApiAccessKeyOutput) ToApiAccessKeyOutput() ApiAccessKeyOutput
- func (o ApiAccessKeyOutput) ToApiAccessKeyOutputWithContext(ctx context.Context) ApiAccessKeyOutput
- func (o ApiAccessKeyOutput) UserId() pulumi.IntOutput
- type ApiAccessKeyState
- type Dashboard
- type DashboardArgs
- type DashboardArray
- type DashboardArrayInput
- type DashboardArrayOutput
- func (DashboardArrayOutput) ElementType() reflect.Type
- func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
- type DashboardFilter
- type DashboardFilterArgs
- func (DashboardFilterArgs) ElementType() reflect.Type
- func (i DashboardFilterArgs) ToDashboardFilterOutput() DashboardFilterOutput
- func (i DashboardFilterArgs) ToDashboardFilterOutputWithContext(ctx context.Context) DashboardFilterOutput
- func (i DashboardFilterArgs) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput
- func (i DashboardFilterArgs) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput
- type DashboardFilterInput
- type DashboardFilterOutput
- func (o DashboardFilterOutput) Attributes() pulumi.StringArrayOutput
- func (DashboardFilterOutput) ElementType() reflect.Type
- func (o DashboardFilterOutput) EventTypes() pulumi.StringArrayOutput
- func (o DashboardFilterOutput) ToDashboardFilterOutput() DashboardFilterOutput
- func (o DashboardFilterOutput) ToDashboardFilterOutputWithContext(ctx context.Context) DashboardFilterOutput
- func (o DashboardFilterOutput) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput
- func (o DashboardFilterOutput) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput
- type DashboardFilterPtrInput
- type DashboardFilterPtrOutput
- func (o DashboardFilterPtrOutput) Attributes() pulumi.StringArrayOutput
- func (o DashboardFilterPtrOutput) Elem() DashboardFilterOutput
- func (DashboardFilterPtrOutput) ElementType() reflect.Type
- func (o DashboardFilterPtrOutput) EventTypes() pulumi.StringArrayOutput
- func (o DashboardFilterPtrOutput) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput
- func (o DashboardFilterPtrOutput) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput
- type DashboardInput
- type DashboardMap
- type DashboardMapInput
- type DashboardMapOutput
- type DashboardOutput
- func (o DashboardOutput) DashboardUrl() pulumi.StringOutput
- func (o DashboardOutput) Editable() pulumi.StringPtrOutput
- func (DashboardOutput) ElementType() reflect.Type
- func (o DashboardOutput) Filter() DashboardFilterPtrOutput
- func (o DashboardOutput) GridColumnCount() pulumi.IntPtrOutput
- func (o DashboardOutput) Icon() pulumi.StringPtrOutput
- func (o DashboardOutput) Title() pulumi.StringOutput
- func (o DashboardOutput) ToDashboardOutput() DashboardOutput
- func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
- func (o DashboardOutput) Visibility() pulumi.StringPtrOutput
- func (o DashboardOutput) Widgets() DashboardWidgetArrayOutput
- type DashboardState
- type DashboardWidget
- type DashboardWidgetArgs
- type DashboardWidgetArray
- type DashboardWidgetArrayInput
- type DashboardWidgetArrayOutput
- func (DashboardWidgetArrayOutput) ElementType() reflect.Type
- func (o DashboardWidgetArrayOutput) Index(i pulumi.IntInput) DashboardWidgetOutput
- func (o DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutput() DashboardWidgetArrayOutput
- func (o DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutputWithContext(ctx context.Context) DashboardWidgetArrayOutput
- type DashboardWidgetCompareWith
- type DashboardWidgetCompareWithArgs
- func (DashboardWidgetCompareWithArgs) ElementType() reflect.Type
- func (i DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput
- func (i DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutputWithContext(ctx context.Context) DashboardWidgetCompareWithOutput
- type DashboardWidgetCompareWithArray
- func (DashboardWidgetCompareWithArray) ElementType() reflect.Type
- func (i DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput
- func (i DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutputWithContext(ctx context.Context) DashboardWidgetCompareWithArrayOutput
- type DashboardWidgetCompareWithArrayInput
- type DashboardWidgetCompareWithArrayOutput
- func (DashboardWidgetCompareWithArrayOutput) ElementType() reflect.Type
- func (o DashboardWidgetCompareWithArrayOutput) Index(i pulumi.IntInput) DashboardWidgetCompareWithOutput
- func (o DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput
- func (o DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutputWithContext(ctx context.Context) DashboardWidgetCompareWithArrayOutput
- type DashboardWidgetCompareWithInput
- type DashboardWidgetCompareWithOutput
- func (DashboardWidgetCompareWithOutput) ElementType() reflect.Type
- func (o DashboardWidgetCompareWithOutput) OffsetDuration() pulumi.StringOutput
- func (o DashboardWidgetCompareWithOutput) Presentation() DashboardWidgetCompareWithPresentationOutput
- func (o DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput
- func (o DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutputWithContext(ctx context.Context) DashboardWidgetCompareWithOutput
- type DashboardWidgetCompareWithPresentation
- type DashboardWidgetCompareWithPresentationArgs
- func (DashboardWidgetCompareWithPresentationArgs) ElementType() reflect.Type
- func (i DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput
- func (i DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutputWithContext(ctx context.Context) DashboardWidgetCompareWithPresentationOutput
- type DashboardWidgetCompareWithPresentationInput
- type DashboardWidgetCompareWithPresentationOutput
- func (o DashboardWidgetCompareWithPresentationOutput) Color() pulumi.StringOutput
- func (DashboardWidgetCompareWithPresentationOutput) ElementType() reflect.Type
- func (o DashboardWidgetCompareWithPresentationOutput) Name() pulumi.StringOutput
- func (o DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput
- func (o DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutputWithContext(ctx context.Context) DashboardWidgetCompareWithPresentationOutput
- type DashboardWidgetInput
- type DashboardWidgetMetric
- type DashboardWidgetMetricArgs
- type DashboardWidgetMetricArray
- func (DashboardWidgetMetricArray) ElementType() reflect.Type
- func (i DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput
- func (i DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutputWithContext(ctx context.Context) DashboardWidgetMetricArrayOutput
- type DashboardWidgetMetricArrayInput
- type DashboardWidgetMetricArrayOutput
- func (DashboardWidgetMetricArrayOutput) ElementType() reflect.Type
- func (o DashboardWidgetMetricArrayOutput) Index(i pulumi.IntInput) DashboardWidgetMetricOutput
- func (o DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput
- func (o DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutputWithContext(ctx context.Context) DashboardWidgetMetricArrayOutput
- type DashboardWidgetMetricInput
- type DashboardWidgetMetricOutput
- func (DashboardWidgetMetricOutput) ElementType() reflect.Type
- func (o DashboardWidgetMetricOutput) Name() pulumi.StringOutput
- func (o DashboardWidgetMetricOutput) Scope() pulumi.StringPtrOutput
- func (o DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutput() DashboardWidgetMetricOutput
- func (o DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutputWithContext(ctx context.Context) DashboardWidgetMetricOutput
- func (o DashboardWidgetMetricOutput) Units() pulumi.StringPtrOutput
- func (o DashboardWidgetMetricOutput) Values() pulumi.StringArrayOutput
- type DashboardWidgetOutput
- func (o DashboardWidgetOutput) AccountId() pulumi.IntPtrOutput
- func (o DashboardWidgetOutput) Column() pulumi.IntOutput
- func (o DashboardWidgetOutput) CompareWiths() DashboardWidgetCompareWithArrayOutput
- func (o DashboardWidgetOutput) DrilldownDashboardId() pulumi.IntPtrOutput
- func (o DashboardWidgetOutput) Duration() pulumi.IntPtrOutput
- func (DashboardWidgetOutput) ElementType() reflect.Type
- func (o DashboardWidgetOutput) EndTime() pulumi.IntPtrOutput
- func (o DashboardWidgetOutput) EntityIds() pulumi.IntArrayOutput
- func (o DashboardWidgetOutput) Facet() pulumi.StringPtrOutput
- func (o DashboardWidgetOutput) Height() pulumi.IntPtrOutput
- func (o DashboardWidgetOutput) Limit() pulumi.IntPtrOutput
- func (o DashboardWidgetOutput) Metrics() DashboardWidgetMetricArrayOutput
- func (o DashboardWidgetOutput) Notes() pulumi.StringPtrOutput
- func (o DashboardWidgetOutput) Nrql() pulumi.StringPtrOutput
- func (o DashboardWidgetOutput) OrderBy() pulumi.StringPtrOutput
- func (o DashboardWidgetOutput) RawMetricName() pulumi.StringPtrOutput
- func (o DashboardWidgetOutput) Row() pulumi.IntOutput
- func (o DashboardWidgetOutput) Source() pulumi.StringPtrOutput
- func (o DashboardWidgetOutput) ThresholdRed() pulumi.Float64PtrOutput
- func (o DashboardWidgetOutput) ThresholdYellow() pulumi.Float64PtrOutput
- func (o DashboardWidgetOutput) Title() pulumi.StringOutput
- func (o DashboardWidgetOutput) ToDashboardWidgetOutput() DashboardWidgetOutput
- func (o DashboardWidgetOutput) ToDashboardWidgetOutputWithContext(ctx context.Context) DashboardWidgetOutput
- func (o DashboardWidgetOutput) Visualization() pulumi.StringOutput
- func (o DashboardWidgetOutput) WidgetId() pulumi.IntPtrOutput
- func (o DashboardWidgetOutput) Width() pulumi.IntPtrOutput
- type EntityTags
- type EntityTagsArgs
- type EntityTagsArray
- type EntityTagsArrayInput
- type EntityTagsArrayOutput
- func (EntityTagsArrayOutput) ElementType() reflect.Type
- func (o EntityTagsArrayOutput) Index(i pulumi.IntInput) EntityTagsOutput
- func (o EntityTagsArrayOutput) ToEntityTagsArrayOutput() EntityTagsArrayOutput
- func (o EntityTagsArrayOutput) ToEntityTagsArrayOutputWithContext(ctx context.Context) EntityTagsArrayOutput
- type EntityTagsInput
- type EntityTagsMap
- type EntityTagsMapInput
- type EntityTagsMapOutput
- func (EntityTagsMapOutput) ElementType() reflect.Type
- func (o EntityTagsMapOutput) MapIndex(k pulumi.StringInput) EntityTagsOutput
- func (o EntityTagsMapOutput) ToEntityTagsMapOutput() EntityTagsMapOutput
- func (o EntityTagsMapOutput) ToEntityTagsMapOutputWithContext(ctx context.Context) EntityTagsMapOutput
- type EntityTagsOutput
- func (EntityTagsOutput) ElementType() reflect.Type
- func (o EntityTagsOutput) Guid() pulumi.StringOutput
- func (o EntityTagsOutput) Tags() EntityTagsTagArrayOutput
- func (o EntityTagsOutput) ToEntityTagsOutput() EntityTagsOutput
- func (o EntityTagsOutput) ToEntityTagsOutputWithContext(ctx context.Context) EntityTagsOutput
- type EntityTagsState
- type EntityTagsTag
- type EntityTagsTagArgs
- type EntityTagsTagArray
- type EntityTagsTagArrayInput
- type EntityTagsTagArrayOutput
- func (EntityTagsTagArrayOutput) ElementType() reflect.Type
- func (o EntityTagsTagArrayOutput) Index(i pulumi.IntInput) EntityTagsTagOutput
- func (o EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutput() EntityTagsTagArrayOutput
- func (o EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutputWithContext(ctx context.Context) EntityTagsTagArrayOutput
- type EntityTagsTagInput
- type EntityTagsTagOutput
- func (EntityTagsTagOutput) ElementType() reflect.Type
- func (o EntityTagsTagOutput) Key() pulumi.StringOutput
- func (o EntityTagsTagOutput) ToEntityTagsTagOutput() EntityTagsTagOutput
- func (o EntityTagsTagOutput) ToEntityTagsTagOutputWithContext(ctx context.Context) EntityTagsTagOutput
- func (o EntityTagsTagOutput) Values() pulumi.StringArrayOutput
- type EventsToMetricsRule
- type EventsToMetricsRuleArgs
- type EventsToMetricsRuleArray
- type EventsToMetricsRuleArrayInput
- type EventsToMetricsRuleArrayOutput
- func (EventsToMetricsRuleArrayOutput) ElementType() reflect.Type
- func (o EventsToMetricsRuleArrayOutput) Index(i pulumi.IntInput) EventsToMetricsRuleOutput
- func (o EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput
- func (o EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutputWithContext(ctx context.Context) EventsToMetricsRuleArrayOutput
- type EventsToMetricsRuleInput
- type EventsToMetricsRuleMap
- type EventsToMetricsRuleMapInput
- type EventsToMetricsRuleMapOutput
- func (EventsToMetricsRuleMapOutput) ElementType() reflect.Type
- func (o EventsToMetricsRuleMapOutput) MapIndex(k pulumi.StringInput) EventsToMetricsRuleOutput
- func (o EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput
- func (o EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutputWithContext(ctx context.Context) EventsToMetricsRuleMapOutput
- type EventsToMetricsRuleOutput
- func (o EventsToMetricsRuleOutput) AccountId() pulumi.IntOutput
- func (o EventsToMetricsRuleOutput) Description() pulumi.StringPtrOutput
- func (EventsToMetricsRuleOutput) ElementType() reflect.Type
- func (o EventsToMetricsRuleOutput) Enabled() pulumi.BoolPtrOutput
- func (o EventsToMetricsRuleOutput) Name() pulumi.StringOutput
- func (o EventsToMetricsRuleOutput) Nrql() pulumi.StringOutput
- func (o EventsToMetricsRuleOutput) RuleId() pulumi.StringOutput
- func (o EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput
- func (o EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutputWithContext(ctx context.Context) EventsToMetricsRuleOutput
- type EventsToMetricsRuleState
- type GetAccountArgs
- type GetAccountOutputArgs
- type GetAccountResult
- type GetAccountResultOutput
- func (o GetAccountResultOutput) AccountId() pulumi.IntPtrOutput
- func (GetAccountResultOutput) ElementType() reflect.Type
- func (o GetAccountResultOutput) Id() pulumi.StringOutput
- func (o GetAccountResultOutput) Name() pulumi.StringPtrOutput
- func (o GetAccountResultOutput) Scope() pulumi.StringPtrOutput
- func (o GetAccountResultOutput) ToGetAccountResultOutput() GetAccountResultOutput
- func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context.Context) GetAccountResultOutput
- type GetAlertChannelConfig
- type GetAlertChannelConfigArgs
- type GetAlertChannelConfigInput
- type GetAlertChannelConfigOutput
- func (o GetAlertChannelConfigOutput) ApiKey() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) AuthPassword() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) AuthType() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) AuthUsername() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) BaseUrl() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) Channel() pulumi.StringPtrOutput
- func (GetAlertChannelConfigOutput) ElementType() reflect.Type
- func (o GetAlertChannelConfigOutput) Headers() pulumi.StringMapOutput
- func (o GetAlertChannelConfigOutput) IncludeJsonAttachment() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) Key() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) Payload() pulumi.StringMapOutput
- func (o GetAlertChannelConfigOutput) PayloadString() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) PayloadType() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) Recipients() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) Region() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) RouteKey() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) ServiceKey() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) Tags() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) Teams() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutput() GetAlertChannelConfigOutput
- func (o GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutputWithContext(ctx context.Context) GetAlertChannelConfigOutput
- func (o GetAlertChannelConfigOutput) Url() pulumi.StringPtrOutput
- func (o GetAlertChannelConfigOutput) UserId() pulumi.StringPtrOutput
- type GetApplicationArgs
- type GetApplicationOutputArgs
- type GetApplicationResult
- type GetApplicationResultOutput
- func (GetApplicationResultOutput) ElementType() reflect.Type
- func (o GetApplicationResultOutput) HostIds() pulumi.IntArrayOutput
- func (o GetApplicationResultOutput) Id() pulumi.StringOutput
- func (o GetApplicationResultOutput) InstanceIds() pulumi.IntArrayOutput
- func (o GetApplicationResultOutput) Name() pulumi.StringOutput
- func (o GetApplicationResultOutput) ToGetApplicationResultOutput() GetApplicationResultOutput
- func (o GetApplicationResultOutput) ToGetApplicationResultOutputWithContext(ctx context.Context) GetApplicationResultOutput
- type GetCloudAccountArgs
- type GetCloudAccountOutputArgs
- type GetCloudAccountResult
- type GetCloudAccountResultOutput
- func (o GetCloudAccountResultOutput) AccountId() pulumi.IntPtrOutput
- func (o GetCloudAccountResultOutput) CloudProvider() pulumi.StringOutput
- func (GetCloudAccountResultOutput) ElementType() reflect.Type
- func (o GetCloudAccountResultOutput) Id() pulumi.StringOutput
- func (o GetCloudAccountResultOutput) Name() pulumi.StringOutput
- func (o GetCloudAccountResultOutput) ToGetCloudAccountResultOutput() GetCloudAccountResultOutput
- func (o GetCloudAccountResultOutput) ToGetCloudAccountResultOutputWithContext(ctx context.Context) GetCloudAccountResultOutput
- type GetEntityArgs
- type GetEntityOutputArgs
- type GetEntityResult
- type GetEntityResultOutput
- func (o GetEntityResultOutput) AccountId() pulumi.IntOutput
- func (o GetEntityResultOutput) ApplicationId() pulumi.IntOutput
- func (o GetEntityResultOutput) Domain() pulumi.StringOutput
- func (GetEntityResultOutput) ElementType() reflect.Type
- func (o GetEntityResultOutput) Guid() pulumi.StringOutput
- func (o GetEntityResultOutput) Id() pulumi.StringOutput
- func (o GetEntityResultOutput) IgnoreCase() pulumi.BoolPtrOutput
- func (o GetEntityResultOutput) Name() pulumi.StringOutput
- func (o GetEntityResultOutput) ServingApmApplicationId() pulumi.IntOutput
- func (o GetEntityResultOutput) Tag() GetEntityTagPtrOutput
- func (o GetEntityResultOutput) ToGetEntityResultOutput() GetEntityResultOutput
- func (o GetEntityResultOutput) ToGetEntityResultOutputWithContext(ctx context.Context) GetEntityResultOutput
- func (o GetEntityResultOutput) Type() pulumi.StringOutput
- type GetEntityTag
- type GetEntityTagArgs
- func (GetEntityTagArgs) ElementType() reflect.Type
- func (i GetEntityTagArgs) ToGetEntityTagOutput() GetEntityTagOutput
- func (i GetEntityTagArgs) ToGetEntityTagOutputWithContext(ctx context.Context) GetEntityTagOutput
- func (i GetEntityTagArgs) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput
- func (i GetEntityTagArgs) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput
- type GetEntityTagInput
- type GetEntityTagOutput
- func (GetEntityTagOutput) ElementType() reflect.Type
- func (o GetEntityTagOutput) Key() pulumi.StringOutput
- func (o GetEntityTagOutput) ToGetEntityTagOutput() GetEntityTagOutput
- func (o GetEntityTagOutput) ToGetEntityTagOutputWithContext(ctx context.Context) GetEntityTagOutput
- func (o GetEntityTagOutput) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput
- func (o GetEntityTagOutput) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput
- func (o GetEntityTagOutput) Value() pulumi.StringOutput
- type GetEntityTagPtrInput
- type GetEntityTagPtrOutput
- func (o GetEntityTagPtrOutput) Elem() GetEntityTagOutput
- func (GetEntityTagPtrOutput) ElementType() reflect.Type
- func (o GetEntityTagPtrOutput) Key() pulumi.StringPtrOutput
- func (o GetEntityTagPtrOutput) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput
- func (o GetEntityTagPtrOutput) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput
- func (o GetEntityTagPtrOutput) Value() pulumi.StringPtrOutput
- type GetKeyTransactionArgs
- type GetKeyTransactionOutputArgs
- type GetKeyTransactionResult
- type GetKeyTransactionResultOutput
- func (GetKeyTransactionResultOutput) ElementType() reflect.Type
- func (o GetKeyTransactionResultOutput) Id() pulumi.StringOutput
- func (o GetKeyTransactionResultOutput) Name() pulumi.StringOutput
- func (o GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutput() GetKeyTransactionResultOutput
- func (o GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutputWithContext(ctx context.Context) GetKeyTransactionResultOutput
- type InfraAlertCondition
- type InfraAlertConditionArgs
- type InfraAlertConditionArray
- type InfraAlertConditionArrayInput
- type InfraAlertConditionArrayOutput
- func (InfraAlertConditionArrayOutput) ElementType() reflect.Type
- func (o InfraAlertConditionArrayOutput) Index(i pulumi.IntInput) InfraAlertConditionOutput
- func (o InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput
- func (o InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutputWithContext(ctx context.Context) InfraAlertConditionArrayOutput
- type InfraAlertConditionCritical
- type InfraAlertConditionCriticalArgs
- func (InfraAlertConditionCriticalArgs) ElementType() reflect.Type
- func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput
- func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutputWithContext(ctx context.Context) InfraAlertConditionCriticalOutput
- func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput
- func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput
- type InfraAlertConditionCriticalInput
- type InfraAlertConditionCriticalOutput
- func (o InfraAlertConditionCriticalOutput) Duration() pulumi.IntOutput
- func (InfraAlertConditionCriticalOutput) ElementType() reflect.Type
- func (o InfraAlertConditionCriticalOutput) TimeFunction() pulumi.StringPtrOutput
- func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput
- func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutputWithContext(ctx context.Context) InfraAlertConditionCriticalOutput
- func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput
- func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput
- func (o InfraAlertConditionCriticalOutput) Value() pulumi.Float64PtrOutput
- type InfraAlertConditionCriticalPtrInput
- type InfraAlertConditionCriticalPtrOutput
- func (o InfraAlertConditionCriticalPtrOutput) Duration() pulumi.IntPtrOutput
- func (o InfraAlertConditionCriticalPtrOutput) Elem() InfraAlertConditionCriticalOutput
- func (InfraAlertConditionCriticalPtrOutput) ElementType() reflect.Type
- func (o InfraAlertConditionCriticalPtrOutput) TimeFunction() pulumi.StringPtrOutput
- func (o InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput
- func (o InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput
- func (o InfraAlertConditionCriticalPtrOutput) Value() pulumi.Float64PtrOutput
- type InfraAlertConditionInput
- type InfraAlertConditionMap
- type InfraAlertConditionMapInput
- type InfraAlertConditionMapOutput
- func (InfraAlertConditionMapOutput) ElementType() reflect.Type
- func (o InfraAlertConditionMapOutput) MapIndex(k pulumi.StringInput) InfraAlertConditionOutput
- func (o InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput
- func (o InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutputWithContext(ctx context.Context) InfraAlertConditionMapOutput
- type InfraAlertConditionOutput
- func (o InfraAlertConditionOutput) Comparison() pulumi.StringPtrOutput
- func (o InfraAlertConditionOutput) CreatedAt() pulumi.IntOutput
- func (o InfraAlertConditionOutput) Critical() InfraAlertConditionCriticalPtrOutput
- func (o InfraAlertConditionOutput) Description() pulumi.StringPtrOutput
- func (InfraAlertConditionOutput) ElementType() reflect.Type
- func (o InfraAlertConditionOutput) Enabled() pulumi.BoolPtrOutput
- func (o InfraAlertConditionOutput) Event() pulumi.StringOutput
- func (o InfraAlertConditionOutput) IntegrationProvider() pulumi.StringPtrOutput
- func (o InfraAlertConditionOutput) Name() pulumi.StringOutput
- func (o InfraAlertConditionOutput) PolicyId() pulumi.IntOutput
- func (o InfraAlertConditionOutput) ProcessWhere() pulumi.StringPtrOutput
- func (o InfraAlertConditionOutput) RunbookUrl() pulumi.StringPtrOutput
- func (o InfraAlertConditionOutput) Select() pulumi.StringPtrOutput
- func (o InfraAlertConditionOutput) ToInfraAlertConditionOutput() InfraAlertConditionOutput
- func (o InfraAlertConditionOutput) ToInfraAlertConditionOutputWithContext(ctx context.Context) InfraAlertConditionOutput
- func (o InfraAlertConditionOutput) Type() pulumi.StringOutput
- func (o InfraAlertConditionOutput) UpdatedAt() pulumi.IntOutput
- func (o InfraAlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput
- func (o InfraAlertConditionOutput) Warning() InfraAlertConditionWarningPtrOutput
- func (o InfraAlertConditionOutput) Where() pulumi.StringPtrOutput
- type InfraAlertConditionState
- type InfraAlertConditionWarning
- type InfraAlertConditionWarningArgs
- func (InfraAlertConditionWarningArgs) ElementType() reflect.Type
- func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput
- func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutputWithContext(ctx context.Context) InfraAlertConditionWarningOutput
- func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput
- func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput
- type InfraAlertConditionWarningInput
- type InfraAlertConditionWarningOutput
- func (o InfraAlertConditionWarningOutput) Duration() pulumi.IntOutput
- func (InfraAlertConditionWarningOutput) ElementType() reflect.Type
- func (o InfraAlertConditionWarningOutput) TimeFunction() pulumi.StringPtrOutput
- func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput
- func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutputWithContext(ctx context.Context) InfraAlertConditionWarningOutput
- func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput
- func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput
- func (o InfraAlertConditionWarningOutput) Value() pulumi.Float64PtrOutput
- type InfraAlertConditionWarningPtrInput
- type InfraAlertConditionWarningPtrOutput
- func (o InfraAlertConditionWarningPtrOutput) Duration() pulumi.IntPtrOutput
- func (o InfraAlertConditionWarningPtrOutput) Elem() InfraAlertConditionWarningOutput
- func (InfraAlertConditionWarningPtrOutput) ElementType() reflect.Type
- func (o InfraAlertConditionWarningPtrOutput) TimeFunction() pulumi.StringPtrOutput
- func (o InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput
- func (o InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput
- func (o InfraAlertConditionWarningPtrOutput) Value() pulumi.Float64PtrOutput
- type LookupAlertChannelArgs
- type LookupAlertChannelOutputArgs
- type LookupAlertChannelResult
- type LookupAlertChannelResultOutput
- func (o LookupAlertChannelResultOutput) Config() GetAlertChannelConfigOutput
- func (LookupAlertChannelResultOutput) ElementType() reflect.Type
- func (o LookupAlertChannelResultOutput) Id() pulumi.StringOutput
- func (o LookupAlertChannelResultOutput) Name() pulumi.StringOutput
- func (o LookupAlertChannelResultOutput) PolicyIds() pulumi.IntArrayOutput
- func (o LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutput() LookupAlertChannelResultOutput
- func (o LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutputWithContext(ctx context.Context) LookupAlertChannelResultOutput
- func (o LookupAlertChannelResultOutput) Type() pulumi.StringOutput
- type LookupAlertPolicyArgs
- type LookupAlertPolicyOutputArgs
- type LookupAlertPolicyResult
- type LookupAlertPolicyResultOutput
- func (o LookupAlertPolicyResultOutput) AccountId() pulumi.IntOutput
- func (o LookupAlertPolicyResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupAlertPolicyResultOutput) ElementType() reflect.Type
- func (o LookupAlertPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupAlertPolicyResultOutput) IncidentPreference() pulumi.StringPtrOutput
- func (o LookupAlertPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutput() LookupAlertPolicyResultOutput
- func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutputWithContext(ctx context.Context) LookupAlertPolicyResultOutput
- func (o LookupAlertPolicyResultOutput) UpdatedAt() pulumi.StringOutput
- type NotificationChannel
- type NotificationChannelArgs
- type NotificationChannelArray
- type NotificationChannelArrayInput
- type NotificationChannelArrayOutput
- func (NotificationChannelArrayOutput) ElementType() reflect.Type
- func (o NotificationChannelArrayOutput) Index(i pulumi.IntInput) NotificationChannelOutput
- func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput
- func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext(ctx context.Context) NotificationChannelArrayOutput
- type NotificationChannelInput
- type NotificationChannelMap
- type NotificationChannelMapInput
- type NotificationChannelMapOutput
- func (NotificationChannelMapOutput) ElementType() reflect.Type
- func (o NotificationChannelMapOutput) MapIndex(k pulumi.StringInput) NotificationChannelOutput
- func (o NotificationChannelMapOutput) ToNotificationChannelMapOutput() NotificationChannelMapOutput
- func (o NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext(ctx context.Context) NotificationChannelMapOutput
- type NotificationChannelOutput
- func (o NotificationChannelOutput) DestinationId() pulumi.StringOutput
- func (NotificationChannelOutput) ElementType() reflect.Type
- func (o NotificationChannelOutput) Name() pulumi.StringOutput
- func (o NotificationChannelOutput) Product() pulumi.StringOutput
- func (o NotificationChannelOutput) Properties() NotificationChannelPropertyArrayOutput
- func (o NotificationChannelOutput) ToNotificationChannelOutput() NotificationChannelOutput
- func (o NotificationChannelOutput) ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput
- func (o NotificationChannelOutput) Type() pulumi.StringOutput
- type NotificationChannelProperty
- type NotificationChannelPropertyArgs
- func (NotificationChannelPropertyArgs) ElementType() reflect.Type
- func (i NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput
- func (i NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutputWithContext(ctx context.Context) NotificationChannelPropertyOutput
- type NotificationChannelPropertyArray
- func (NotificationChannelPropertyArray) ElementType() reflect.Type
- func (i NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput
- func (i NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutputWithContext(ctx context.Context) NotificationChannelPropertyArrayOutput
- type NotificationChannelPropertyArrayInput
- type NotificationChannelPropertyArrayOutput
- func (NotificationChannelPropertyArrayOutput) ElementType() reflect.Type
- func (o NotificationChannelPropertyArrayOutput) Index(i pulumi.IntInput) NotificationChannelPropertyOutput
- func (o NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput
- func (o NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutputWithContext(ctx context.Context) NotificationChannelPropertyArrayOutput
- type NotificationChannelPropertyInput
- type NotificationChannelPropertyOutput
- func (o NotificationChannelPropertyOutput) DisplayValue() pulumi.StringPtrOutput
- func (NotificationChannelPropertyOutput) ElementType() reflect.Type
- func (o NotificationChannelPropertyOutput) Key() pulumi.StringOutput
- func (o NotificationChannelPropertyOutput) Label() pulumi.StringPtrOutput
- func (o NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput
- func (o NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutputWithContext(ctx context.Context) NotificationChannelPropertyOutput
- func (o NotificationChannelPropertyOutput) Value() pulumi.StringOutput
- type NotificationChannelState
- type NotificationDestination
- type NotificationDestinationArgs
- type NotificationDestinationArray
- func (NotificationDestinationArray) ElementType() reflect.Type
- func (i NotificationDestinationArray) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput
- func (i NotificationDestinationArray) ToNotificationDestinationArrayOutputWithContext(ctx context.Context) NotificationDestinationArrayOutput
- type NotificationDestinationArrayInput
- type NotificationDestinationArrayOutput
- func (NotificationDestinationArrayOutput) ElementType() reflect.Type
- func (o NotificationDestinationArrayOutput) Index(i pulumi.IntInput) NotificationDestinationOutput
- func (o NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput
- func (o NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutputWithContext(ctx context.Context) NotificationDestinationArrayOutput
- type NotificationDestinationInput
- type NotificationDestinationMap
- func (NotificationDestinationMap) ElementType() reflect.Type
- func (i NotificationDestinationMap) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput
- func (i NotificationDestinationMap) ToNotificationDestinationMapOutputWithContext(ctx context.Context) NotificationDestinationMapOutput
- type NotificationDestinationMapInput
- type NotificationDestinationMapOutput
- func (NotificationDestinationMapOutput) ElementType() reflect.Type
- func (o NotificationDestinationMapOutput) MapIndex(k pulumi.StringInput) NotificationDestinationOutput
- func (o NotificationDestinationMapOutput) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput
- func (o NotificationDestinationMapOutput) ToNotificationDestinationMapOutputWithContext(ctx context.Context) NotificationDestinationMapOutput
- type NotificationDestinationOutput
- func (o NotificationDestinationOutput) Auth() pulumi.StringMapOutput
- func (NotificationDestinationOutput) ElementType() reflect.Type
- func (o NotificationDestinationOutput) Name() pulumi.StringOutput
- func (o NotificationDestinationOutput) Properties() NotificationDestinationPropertyArrayOutput
- func (o NotificationDestinationOutput) ToNotificationDestinationOutput() NotificationDestinationOutput
- func (o NotificationDestinationOutput) ToNotificationDestinationOutputWithContext(ctx context.Context) NotificationDestinationOutput
- func (o NotificationDestinationOutput) Type() pulumi.StringOutput
- type NotificationDestinationProperty
- type NotificationDestinationPropertyArgs
- func (NotificationDestinationPropertyArgs) ElementType() reflect.Type
- func (i NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput
- func (i NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutputWithContext(ctx context.Context) NotificationDestinationPropertyOutput
- type NotificationDestinationPropertyArray
- func (NotificationDestinationPropertyArray) ElementType() reflect.Type
- func (i NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput
- func (i NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) NotificationDestinationPropertyArrayOutput
- type NotificationDestinationPropertyArrayInput
- type NotificationDestinationPropertyArrayOutput
- func (NotificationDestinationPropertyArrayOutput) ElementType() reflect.Type
- func (o NotificationDestinationPropertyArrayOutput) Index(i pulumi.IntInput) NotificationDestinationPropertyOutput
- func (o NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput
- func (o NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) NotificationDestinationPropertyArrayOutput
- type NotificationDestinationPropertyInput
- type NotificationDestinationPropertyOutput
- func (o NotificationDestinationPropertyOutput) DisplayValue() pulumi.StringPtrOutput
- func (NotificationDestinationPropertyOutput) ElementType() reflect.Type
- func (o NotificationDestinationPropertyOutput) Key() pulumi.StringOutput
- func (o NotificationDestinationPropertyOutput) Label() pulumi.StringPtrOutput
- func (o NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput
- func (o NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutputWithContext(ctx context.Context) NotificationDestinationPropertyOutput
- func (o NotificationDestinationPropertyOutput) Value() pulumi.StringOutput
- type NotificationDestinationState
- type NrqlAlertCondition
- type NrqlAlertConditionArgs
- type NrqlAlertConditionArray
- type NrqlAlertConditionArrayInput
- type NrqlAlertConditionArrayOutput
- func (NrqlAlertConditionArrayOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionArrayOutput) Index(i pulumi.IntInput) NrqlAlertConditionOutput
- func (o NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput
- func (o NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutputWithContext(ctx context.Context) NrqlAlertConditionArrayOutput
- type NrqlAlertConditionCritical
- type NrqlAlertConditionCriticalArgs
- func (NrqlAlertConditionCriticalArgs) ElementType() reflect.Type
- func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput
- func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalOutput
- func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput
- func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput
- type NrqlAlertConditionCriticalInput
- type NrqlAlertConditionCriticalOutput
- func (o NrqlAlertConditionCriticalOutput) Duration() pulumi.IntPtrOutputdeprecated
- func (NrqlAlertConditionCriticalOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionCriticalOutput) Operator() pulumi.StringPtrOutput
- func (o NrqlAlertConditionCriticalOutput) Threshold() pulumi.Float64Output
- func (o NrqlAlertConditionCriticalOutput) ThresholdDuration() pulumi.IntPtrOutput
- func (o NrqlAlertConditionCriticalOutput) ThresholdOccurrences() pulumi.StringPtrOutput
- func (o NrqlAlertConditionCriticalOutput) TimeFunction() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput
- func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalOutput
- func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput
- func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput
- type NrqlAlertConditionCriticalPtrInput
- type NrqlAlertConditionCriticalPtrOutput
- func (o NrqlAlertConditionCriticalPtrOutput) Duration() pulumi.IntPtrOutputdeprecated
- func (o NrqlAlertConditionCriticalPtrOutput) Elem() NrqlAlertConditionCriticalOutput
- func (NrqlAlertConditionCriticalPtrOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionCriticalPtrOutput) Operator() pulumi.StringPtrOutput
- func (o NrqlAlertConditionCriticalPtrOutput) Threshold() pulumi.Float64PtrOutput
- func (o NrqlAlertConditionCriticalPtrOutput) ThresholdDuration() pulumi.IntPtrOutput
- func (o NrqlAlertConditionCriticalPtrOutput) ThresholdOccurrences() pulumi.StringPtrOutput
- func (o NrqlAlertConditionCriticalPtrOutput) TimeFunction() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput
- func (o NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput
- type NrqlAlertConditionInput
- type NrqlAlertConditionMap
- type NrqlAlertConditionMapInput
- type NrqlAlertConditionMapOutput
- func (NrqlAlertConditionMapOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionMapOutput) MapIndex(k pulumi.StringInput) NrqlAlertConditionOutput
- func (o NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput
- func (o NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutputWithContext(ctx context.Context) NrqlAlertConditionMapOutput
- type NrqlAlertConditionNrql
- type NrqlAlertConditionNrqlArgs
- func (NrqlAlertConditionNrqlArgs) ElementType() reflect.Type
- func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput
- func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlOutput
- func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput
- func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput
- type NrqlAlertConditionNrqlInput
- type NrqlAlertConditionNrqlOutput
- func (NrqlAlertConditionNrqlOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionNrqlOutput) EvaluationOffset() pulumi.IntPtrOutputdeprecated
- func (o NrqlAlertConditionNrqlOutput) Query() pulumi.StringOutput
- func (o NrqlAlertConditionNrqlOutput) SinceValue() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput
- func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlOutput
- func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput
- func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput
- type NrqlAlertConditionNrqlPtrInput
- type NrqlAlertConditionNrqlPtrOutput
- func (o NrqlAlertConditionNrqlPtrOutput) Elem() NrqlAlertConditionNrqlOutput
- func (NrqlAlertConditionNrqlPtrOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionNrqlPtrOutput) EvaluationOffset() pulumi.IntPtrOutputdeprecated
- func (o NrqlAlertConditionNrqlPtrOutput) Query() pulumi.StringPtrOutput
- func (o NrqlAlertConditionNrqlPtrOutput) SinceValue() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput
- func (o NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput
- type NrqlAlertConditionOutput
- func (o NrqlAlertConditionOutput) AccountId() pulumi.IntOutput
- func (o NrqlAlertConditionOutput) AggregationDelay() pulumi.StringPtrOutput
- func (o NrqlAlertConditionOutput) AggregationMethod() pulumi.StringPtrOutput
- func (o NrqlAlertConditionOutput) AggregationTimer() pulumi.StringPtrOutput
- func (o NrqlAlertConditionOutput) AggregationWindow() pulumi.IntOutput
- func (o NrqlAlertConditionOutput) BaselineDirection() pulumi.StringPtrOutput
- func (o NrqlAlertConditionOutput) CloseViolationsOnExpiration() pulumi.BoolPtrOutput
- func (o NrqlAlertConditionOutput) Critical() NrqlAlertConditionCriticalPtrOutput
- func (o NrqlAlertConditionOutput) Description() pulumi.StringPtrOutput
- func (NrqlAlertConditionOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionOutput) Enabled() pulumi.BoolPtrOutput
- func (o NrqlAlertConditionOutput) EntityGuid() pulumi.StringOutput
- func (o NrqlAlertConditionOutput) ExpirationDuration() pulumi.IntPtrOutput
- func (o NrqlAlertConditionOutput) FillOption() pulumi.StringPtrOutput
- func (o NrqlAlertConditionOutput) FillValue() pulumi.Float64PtrOutput
- func (o NrqlAlertConditionOutput) Name() pulumi.StringOutput
- func (o NrqlAlertConditionOutput) Nrql() NrqlAlertConditionNrqlOutput
- func (o NrqlAlertConditionOutput) OpenViolationOnExpiration() pulumi.BoolPtrOutput
- func (o NrqlAlertConditionOutput) PolicyId() pulumi.IntOutput
- func (o NrqlAlertConditionOutput) RunbookUrl() pulumi.StringPtrOutput
- func (o NrqlAlertConditionOutput) SlideBy() pulumi.IntPtrOutput
- func (o NrqlAlertConditionOutput) Terms() NrqlAlertConditionTermArrayOutputdeprecated
- func (o NrqlAlertConditionOutput) ToNrqlAlertConditionOutput() NrqlAlertConditionOutput
- func (o NrqlAlertConditionOutput) ToNrqlAlertConditionOutputWithContext(ctx context.Context) NrqlAlertConditionOutput
- func (o NrqlAlertConditionOutput) Type() pulumi.StringPtrOutput
- func (o NrqlAlertConditionOutput) ValueFunction() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionOutput) ViolationTimeLimit() pulumi.StringOutputdeprecated
- func (o NrqlAlertConditionOutput) ViolationTimeLimitSeconds() pulumi.IntPtrOutput
- func (o NrqlAlertConditionOutput) Warning() NrqlAlertConditionWarningPtrOutput
- type NrqlAlertConditionState
- type NrqlAlertConditionTerm
- type NrqlAlertConditionTermArgs
- type NrqlAlertConditionTermArray
- func (NrqlAlertConditionTermArray) ElementType() reflect.Type
- func (i NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput
- func (i NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutputWithContext(ctx context.Context) NrqlAlertConditionTermArrayOutput
- type NrqlAlertConditionTermArrayInput
- type NrqlAlertConditionTermArrayOutput
- func (NrqlAlertConditionTermArrayOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionTermArrayOutput) Index(i pulumi.IntInput) NrqlAlertConditionTermOutput
- func (o NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput
- func (o NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutputWithContext(ctx context.Context) NrqlAlertConditionTermArrayOutput
- type NrqlAlertConditionTermInput
- type NrqlAlertConditionTermOutput
- func (o NrqlAlertConditionTermOutput) Duration() pulumi.IntPtrOutputdeprecated
- func (NrqlAlertConditionTermOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionTermOutput) Operator() pulumi.StringPtrOutput
- func (o NrqlAlertConditionTermOutput) Priority() pulumi.StringPtrOutput
- func (o NrqlAlertConditionTermOutput) Threshold() pulumi.Float64Output
- func (o NrqlAlertConditionTermOutput) ThresholdDuration() pulumi.IntPtrOutput
- func (o NrqlAlertConditionTermOutput) ThresholdOccurrences() pulumi.StringPtrOutput
- func (o NrqlAlertConditionTermOutput) TimeFunction() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput
- func (o NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutputWithContext(ctx context.Context) NrqlAlertConditionTermOutput
- type NrqlAlertConditionWarning
- type NrqlAlertConditionWarningArgs
- func (NrqlAlertConditionWarningArgs) ElementType() reflect.Type
- func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput
- func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutputWithContext(ctx context.Context) NrqlAlertConditionWarningOutput
- func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput
- func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput
- type NrqlAlertConditionWarningInput
- type NrqlAlertConditionWarningOutput
- func (o NrqlAlertConditionWarningOutput) Duration() pulumi.IntPtrOutputdeprecated
- func (NrqlAlertConditionWarningOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionWarningOutput) Operator() pulumi.StringPtrOutput
- func (o NrqlAlertConditionWarningOutput) Threshold() pulumi.Float64Output
- func (o NrqlAlertConditionWarningOutput) ThresholdDuration() pulumi.IntPtrOutput
- func (o NrqlAlertConditionWarningOutput) ThresholdOccurrences() pulumi.StringPtrOutput
- func (o NrqlAlertConditionWarningOutput) TimeFunction() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput
- func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutputWithContext(ctx context.Context) NrqlAlertConditionWarningOutput
- func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput
- func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput
- type NrqlAlertConditionWarningPtrInput
- type NrqlAlertConditionWarningPtrOutput
- func (o NrqlAlertConditionWarningPtrOutput) Duration() pulumi.IntPtrOutputdeprecated
- func (o NrqlAlertConditionWarningPtrOutput) Elem() NrqlAlertConditionWarningOutput
- func (NrqlAlertConditionWarningPtrOutput) ElementType() reflect.Type
- func (o NrqlAlertConditionWarningPtrOutput) Operator() pulumi.StringPtrOutput
- func (o NrqlAlertConditionWarningPtrOutput) Threshold() pulumi.Float64PtrOutput
- func (o NrqlAlertConditionWarningPtrOutput) ThresholdDuration() pulumi.IntPtrOutput
- func (o NrqlAlertConditionWarningPtrOutput) ThresholdOccurrences() pulumi.StringPtrOutput
- func (o NrqlAlertConditionWarningPtrOutput) TimeFunction() pulumi.StringPtrOutputdeprecated
- func (o NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput
- func (o NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput
- type NrqlDropRule
- type NrqlDropRuleArgs
- type NrqlDropRuleArray
- type NrqlDropRuleArrayInput
- type NrqlDropRuleArrayOutput
- func (NrqlDropRuleArrayOutput) ElementType() reflect.Type
- func (o NrqlDropRuleArrayOutput) Index(i pulumi.IntInput) NrqlDropRuleOutput
- func (o NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutput() NrqlDropRuleArrayOutput
- func (o NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutputWithContext(ctx context.Context) NrqlDropRuleArrayOutput
- type NrqlDropRuleInput
- type NrqlDropRuleMap
- type NrqlDropRuleMapInput
- type NrqlDropRuleMapOutput
- func (NrqlDropRuleMapOutput) ElementType() reflect.Type
- func (o NrqlDropRuleMapOutput) MapIndex(k pulumi.StringInput) NrqlDropRuleOutput
- func (o NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutput() NrqlDropRuleMapOutput
- func (o NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutputWithContext(ctx context.Context) NrqlDropRuleMapOutput
- type NrqlDropRuleOutput
- func (o NrqlDropRuleOutput) AccountId() pulumi.IntOutput
- func (o NrqlDropRuleOutput) Action() pulumi.StringOutput
- func (o NrqlDropRuleOutput) Description() pulumi.StringPtrOutput
- func (NrqlDropRuleOutput) ElementType() reflect.Type
- func (o NrqlDropRuleOutput) Nrql() pulumi.StringOutput
- func (o NrqlDropRuleOutput) RuleId() pulumi.StringOutput
- func (o NrqlDropRuleOutput) ToNrqlDropRuleOutput() NrqlDropRuleOutput
- func (o NrqlDropRuleOutput) ToNrqlDropRuleOutputWithContext(ctx context.Context) NrqlDropRuleOutput
- type NrqlDropRuleState
- type OneDashboard
- type OneDashboardArgs
- type OneDashboardArray
- type OneDashboardArrayInput
- type OneDashboardArrayOutput
- func (OneDashboardArrayOutput) ElementType() reflect.Type
- func (o OneDashboardArrayOutput) Index(i pulumi.IntInput) OneDashboardOutput
- func (o OneDashboardArrayOutput) ToOneDashboardArrayOutput() OneDashboardArrayOutput
- func (o OneDashboardArrayOutput) ToOneDashboardArrayOutputWithContext(ctx context.Context) OneDashboardArrayOutput
- type OneDashboardInput
- type OneDashboardMap
- type OneDashboardMapInput
- type OneDashboardMapOutput
- func (OneDashboardMapOutput) ElementType() reflect.Type
- func (o OneDashboardMapOutput) MapIndex(k pulumi.StringInput) OneDashboardOutput
- func (o OneDashboardMapOutput) ToOneDashboardMapOutput() OneDashboardMapOutput
- func (o OneDashboardMapOutput) ToOneDashboardMapOutputWithContext(ctx context.Context) OneDashboardMapOutput
- type OneDashboardOutput
- func (o OneDashboardOutput) AccountId() pulumi.IntOutput
- func (o OneDashboardOutput) Description() pulumi.StringPtrOutput
- func (OneDashboardOutput) ElementType() reflect.Type
- func (o OneDashboardOutput) Guid() pulumi.StringOutput
- func (o OneDashboardOutput) Name() pulumi.StringOutput
- func (o OneDashboardOutput) Pages() OneDashboardPageArrayOutput
- func (o OneDashboardOutput) Permalink() pulumi.StringOutput
- func (o OneDashboardOutput) Permissions() pulumi.StringPtrOutput
- func (o OneDashboardOutput) ToOneDashboardOutput() OneDashboardOutput
- func (o OneDashboardOutput) ToOneDashboardOutputWithContext(ctx context.Context) OneDashboardOutput
- type OneDashboardPage
- type OneDashboardPageArgs
- type OneDashboardPageArray
- type OneDashboardPageArrayInput
- type OneDashboardPageArrayOutput
- func (OneDashboardPageArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageArrayOutput) Index(i pulumi.IntInput) OneDashboardPageOutput
- func (o OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput
- func (o OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutputWithContext(ctx context.Context) OneDashboardPageArrayOutput
- type OneDashboardPageInput
- type OneDashboardPageOutput
- func (o OneDashboardPageOutput) Description() pulumi.StringPtrOutput
- func (OneDashboardPageOutput) ElementType() reflect.Type
- func (o OneDashboardPageOutput) Guid() pulumi.StringPtrOutput
- func (o OneDashboardPageOutput) Name() pulumi.StringOutput
- func (o OneDashboardPageOutput) ToOneDashboardPageOutput() OneDashboardPageOutput
- func (o OneDashboardPageOutput) ToOneDashboardPageOutputWithContext(ctx context.Context) OneDashboardPageOutput
- func (o OneDashboardPageOutput) WidgetAreas() OneDashboardPageWidgetAreaArrayOutput
- func (o OneDashboardPageOutput) WidgetBars() OneDashboardPageWidgetBarArrayOutput
- func (o OneDashboardPageOutput) WidgetBillboards() OneDashboardPageWidgetBillboardArrayOutput
- func (o OneDashboardPageOutput) WidgetBullets() OneDashboardPageWidgetBulletArrayOutput
- func (o OneDashboardPageOutput) WidgetFunnels() OneDashboardPageWidgetFunnelArrayOutput
- func (o OneDashboardPageOutput) WidgetHeatmaps() OneDashboardPageWidgetHeatmapArrayOutput
- func (o OneDashboardPageOutput) WidgetHistograms() OneDashboardPageWidgetHistogramArrayOutput
- func (o OneDashboardPageOutput) WidgetJsons() OneDashboardPageWidgetJsonArrayOutput
- func (o OneDashboardPageOutput) WidgetLines() OneDashboardPageWidgetLineArrayOutput
- func (o OneDashboardPageOutput) WidgetLogTables() OneDashboardPageWidgetLogTableArrayOutput
- func (o OneDashboardPageOutput) WidgetMarkdowns() OneDashboardPageWidgetMarkdownArrayOutput
- func (o OneDashboardPageOutput) WidgetPies() OneDashboardPageWidgetPyArrayOutput
- func (o OneDashboardPageOutput) WidgetStackedBars() OneDashboardPageWidgetStackedBarArrayOutput
- func (o OneDashboardPageOutput) WidgetTables() OneDashboardPageWidgetTableArrayOutput
- type OneDashboardPageWidgetArea
- type OneDashboardPageWidgetAreaArgs
- func (OneDashboardPageWidgetAreaArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput
- func (i OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaOutput
- type OneDashboardPageWidgetAreaArray
- func (OneDashboardPageWidgetAreaArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput
- func (i OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaArrayOutput
- type OneDashboardPageWidgetAreaArrayInput
- type OneDashboardPageWidgetAreaArrayOutput
- func (OneDashboardPageWidgetAreaArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetAreaArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetAreaOutput
- func (o OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput
- func (o OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaArrayOutput
- type OneDashboardPageWidgetAreaInput
- type OneDashboardPageWidgetAreaNrqlQuery
- type OneDashboardPageWidgetAreaNrqlQueryArgs
- func (OneDashboardPageWidgetAreaNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput
- func (i OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput
- type OneDashboardPageWidgetAreaNrqlQueryArray
- func (OneDashboardPageWidgetAreaNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput
- type OneDashboardPageWidgetAreaNrqlQueryArrayInput
- type OneDashboardPageWidgetAreaNrqlQueryArrayOutput
- func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetAreaNrqlQueryOutput
- func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput
- type OneDashboardPageWidgetAreaNrqlQueryInput
- type OneDashboardPageWidgetAreaNrqlQueryOutput
- func (o OneDashboardPageWidgetAreaNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetAreaNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetAreaNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput
- func (o OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput
- type OneDashboardPageWidgetAreaOutput
- func (o OneDashboardPageWidgetAreaOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetAreaOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetAreaOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetAreaOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetAreaOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetAreaOutput) NrqlQueries() OneDashboardPageWidgetAreaNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetAreaOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetAreaOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput
- func (o OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaOutput
- func (o OneDashboardPageWidgetAreaOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetBar
- type OneDashboardPageWidgetBarArgs
- func (OneDashboardPageWidgetBarArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput
- func (i OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarOutput
- type OneDashboardPageWidgetBarArray
- func (OneDashboardPageWidgetBarArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput
- func (i OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarArrayOutput
- type OneDashboardPageWidgetBarArrayInput
- type OneDashboardPageWidgetBarArrayOutput
- func (OneDashboardPageWidgetBarArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBarArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetBarOutput
- func (o OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput
- func (o OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarArrayOutput
- type OneDashboardPageWidgetBarInput
- type OneDashboardPageWidgetBarNrqlQuery
- type OneDashboardPageWidgetBarNrqlQueryArgs
- func (OneDashboardPageWidgetBarNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput
- func (i OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryOutput
- type OneDashboardPageWidgetBarNrqlQueryArray
- func (OneDashboardPageWidgetBarNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput
- type OneDashboardPageWidgetBarNrqlQueryArrayInput
- type OneDashboardPageWidgetBarNrqlQueryArrayOutput
- func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetBarNrqlQueryOutput
- func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput
- type OneDashboardPageWidgetBarNrqlQueryInput
- type OneDashboardPageWidgetBarNrqlQueryOutput
- func (o OneDashboardPageWidgetBarNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetBarNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBarNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput
- func (o OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryOutput
- type OneDashboardPageWidgetBarOutput
- func (o OneDashboardPageWidgetBarOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetBarOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBarOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetBarOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetBarOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetBarOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetBarOutput) LinkedEntityGuids() pulumi.StringArrayOutput
- func (o OneDashboardPageWidgetBarOutput) NrqlQueries() OneDashboardPageWidgetBarNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetBarOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetBarOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput
- func (o OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarOutput
- func (o OneDashboardPageWidgetBarOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetBillboard
- type OneDashboardPageWidgetBillboardArgs
- func (OneDashboardPageWidgetBillboardArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput
- func (i OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardOutput
- type OneDashboardPageWidgetBillboardArray
- func (OneDashboardPageWidgetBillboardArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput
- func (i OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardArrayOutput
- type OneDashboardPageWidgetBillboardArrayInput
- type OneDashboardPageWidgetBillboardArrayOutput
- func (OneDashboardPageWidgetBillboardArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBillboardArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetBillboardOutput
- func (o OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput
- func (o OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardArrayOutput
- type OneDashboardPageWidgetBillboardInput
- type OneDashboardPageWidgetBillboardNrqlQuery
- type OneDashboardPageWidgetBillboardNrqlQueryArgs
- func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput
- func (i OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput
- type OneDashboardPageWidgetBillboardNrqlQueryArray
- func (OneDashboardPageWidgetBillboardNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
- type OneDashboardPageWidgetBillboardNrqlQueryArrayInput
- type OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
- func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetBillboardNrqlQueryOutput
- func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
- type OneDashboardPageWidgetBillboardNrqlQueryInput
- type OneDashboardPageWidgetBillboardNrqlQueryOutput
- func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput
- func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput
- type OneDashboardPageWidgetBillboardOutput
- func (o OneDashboardPageWidgetBillboardOutput) Column() pulumi.IntOutput
- func (o OneDashboardPageWidgetBillboardOutput) Critical() pulumi.StringPtrOutput
- func (OneDashboardPageWidgetBillboardOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBillboardOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetBillboardOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetBillboardOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetBillboardOutput) NrqlQueries() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetBillboardOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetBillboardOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput
- func (o OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardOutput
- func (o OneDashboardPageWidgetBillboardOutput) Warning() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetBillboardOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetBullet
- type OneDashboardPageWidgetBulletArgs
- func (OneDashboardPageWidgetBulletArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput
- func (i OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletOutput
- type OneDashboardPageWidgetBulletArray
- func (OneDashboardPageWidgetBulletArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput
- func (i OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletArrayOutput
- type OneDashboardPageWidgetBulletArrayInput
- type OneDashboardPageWidgetBulletArrayOutput
- func (OneDashboardPageWidgetBulletArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBulletArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetBulletOutput
- func (o OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput
- func (o OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletArrayOutput
- type OneDashboardPageWidgetBulletInput
- type OneDashboardPageWidgetBulletNrqlQuery
- type OneDashboardPageWidgetBulletNrqlQueryArgs
- func (OneDashboardPageWidgetBulletNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput
- func (i OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput
- type OneDashboardPageWidgetBulletNrqlQueryArray
- func (OneDashboardPageWidgetBulletNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput
- type OneDashboardPageWidgetBulletNrqlQueryArrayInput
- type OneDashboardPageWidgetBulletNrqlQueryArrayOutput
- func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetBulletNrqlQueryOutput
- func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput
- type OneDashboardPageWidgetBulletNrqlQueryInput
- type OneDashboardPageWidgetBulletNrqlQueryOutput
- func (o OneDashboardPageWidgetBulletNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetBulletNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBulletNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput
- func (o OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput
- type OneDashboardPageWidgetBulletOutput
- func (o OneDashboardPageWidgetBulletOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetBulletOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetBulletOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetBulletOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetBulletOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetBulletOutput) Limit() pulumi.Float64Output
- func (o OneDashboardPageWidgetBulletOutput) NrqlQueries() OneDashboardPageWidgetBulletNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetBulletOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetBulletOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput
- func (o OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletOutput
- func (o OneDashboardPageWidgetBulletOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetFunnel
- type OneDashboardPageWidgetFunnelArgs
- func (OneDashboardPageWidgetFunnelArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput
- func (i OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelOutput
- type OneDashboardPageWidgetFunnelArray
- func (OneDashboardPageWidgetFunnelArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput
- func (i OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelArrayOutput
- type OneDashboardPageWidgetFunnelArrayInput
- type OneDashboardPageWidgetFunnelArrayOutput
- func (OneDashboardPageWidgetFunnelArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetFunnelArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetFunnelOutput
- func (o OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput
- func (o OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelArrayOutput
- type OneDashboardPageWidgetFunnelInput
- type OneDashboardPageWidgetFunnelNrqlQuery
- type OneDashboardPageWidgetFunnelNrqlQueryArgs
- func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput
- func (i OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput
- type OneDashboardPageWidgetFunnelNrqlQueryArray
- func (OneDashboardPageWidgetFunnelNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
- type OneDashboardPageWidgetFunnelNrqlQueryArrayInput
- type OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
- func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetFunnelNrqlQueryOutput
- func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
- type OneDashboardPageWidgetFunnelNrqlQueryInput
- type OneDashboardPageWidgetFunnelNrqlQueryOutput
- func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput
- func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput
- type OneDashboardPageWidgetFunnelOutput
- func (o OneDashboardPageWidgetFunnelOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetFunnelOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetFunnelOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetFunnelOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetFunnelOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetFunnelOutput) NrqlQueries() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetFunnelOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetFunnelOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput
- func (o OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelOutput
- func (o OneDashboardPageWidgetFunnelOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetHeatmap
- type OneDashboardPageWidgetHeatmapArgs
- func (OneDashboardPageWidgetHeatmapArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput
- func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput
- type OneDashboardPageWidgetHeatmapArray
- func (OneDashboardPageWidgetHeatmapArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput
- func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput
- type OneDashboardPageWidgetHeatmapArrayInput
- type OneDashboardPageWidgetHeatmapArrayOutput
- func (OneDashboardPageWidgetHeatmapArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHeatmapArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetHeatmapOutput
- func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput
- func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput
- type OneDashboardPageWidgetHeatmapInput
- type OneDashboardPageWidgetHeatmapNrqlQuery
- type OneDashboardPageWidgetHeatmapNrqlQueryArgs
- func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput
- func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput
- type OneDashboardPageWidgetHeatmapNrqlQueryArray
- func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
- type OneDashboardPageWidgetHeatmapNrqlQueryArrayInput
- type OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
- func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetHeatmapNrqlQueryOutput
- func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
- type OneDashboardPageWidgetHeatmapNrqlQueryInput
- type OneDashboardPageWidgetHeatmapNrqlQueryOutput
- func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput
- func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput
- type OneDashboardPageWidgetHeatmapOutput
- func (o OneDashboardPageWidgetHeatmapOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetHeatmapOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHeatmapOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetHeatmapOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetHeatmapOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetHeatmapOutput) NrqlQueries() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetHeatmapOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetHeatmapOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput
- func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput
- func (o OneDashboardPageWidgetHeatmapOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetHistogram
- type OneDashboardPageWidgetHistogramArgs
- func (OneDashboardPageWidgetHistogramArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput
- func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput
- type OneDashboardPageWidgetHistogramArray
- func (OneDashboardPageWidgetHistogramArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput
- func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput
- type OneDashboardPageWidgetHistogramArrayInput
- type OneDashboardPageWidgetHistogramArrayOutput
- func (OneDashboardPageWidgetHistogramArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHistogramArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetHistogramOutput
- func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput
- func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput
- type OneDashboardPageWidgetHistogramInput
- type OneDashboardPageWidgetHistogramNrqlQuery
- type OneDashboardPageWidgetHistogramNrqlQueryArgs
- func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput
- func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput
- type OneDashboardPageWidgetHistogramNrqlQueryArray
- func (OneDashboardPageWidgetHistogramNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
- type OneDashboardPageWidgetHistogramNrqlQueryArrayInput
- type OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
- func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetHistogramNrqlQueryOutput
- func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
- type OneDashboardPageWidgetHistogramNrqlQueryInput
- type OneDashboardPageWidgetHistogramNrqlQueryOutput
- func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput
- func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput
- type OneDashboardPageWidgetHistogramOutput
- func (o OneDashboardPageWidgetHistogramOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetHistogramOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetHistogramOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetHistogramOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetHistogramOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetHistogramOutput) NrqlQueries() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetHistogramOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetHistogramOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput
- func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput
- func (o OneDashboardPageWidgetHistogramOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetJson
- type OneDashboardPageWidgetJsonArgs
- func (OneDashboardPageWidgetJsonArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput
- func (i OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonOutput
- type OneDashboardPageWidgetJsonArray
- func (OneDashboardPageWidgetJsonArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput
- func (i OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonArrayOutput
- type OneDashboardPageWidgetJsonArrayInput
- type OneDashboardPageWidgetJsonArrayOutput
- func (OneDashboardPageWidgetJsonArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetJsonArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetJsonOutput
- func (o OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput
- func (o OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonArrayOutput
- type OneDashboardPageWidgetJsonInput
- type OneDashboardPageWidgetJsonNrqlQuery
- type OneDashboardPageWidgetJsonNrqlQueryArgs
- func (OneDashboardPageWidgetJsonNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput
- func (i OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput
- type OneDashboardPageWidgetJsonNrqlQueryArray
- func (OneDashboardPageWidgetJsonNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput
- type OneDashboardPageWidgetJsonNrqlQueryArrayInput
- type OneDashboardPageWidgetJsonNrqlQueryArrayOutput
- func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetJsonNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetJsonNrqlQueryOutput
- func (o OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput
- type OneDashboardPageWidgetJsonNrqlQueryInput
- type OneDashboardPageWidgetJsonNrqlQueryOutput
- func (o OneDashboardPageWidgetJsonNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetJsonNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetJsonNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput
- func (o OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput
- type OneDashboardPageWidgetJsonOutput
- func (o OneDashboardPageWidgetJsonOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetJsonOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetJsonOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetJsonOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetJsonOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetJsonOutput) NrqlQueries() OneDashboardPageWidgetJsonNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetJsonOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetJsonOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput
- func (o OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonOutput
- func (o OneDashboardPageWidgetJsonOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetLine
- type OneDashboardPageWidgetLineArgs
- func (OneDashboardPageWidgetLineArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput
- func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput
- type OneDashboardPageWidgetLineArray
- func (OneDashboardPageWidgetLineArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput
- func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput
- type OneDashboardPageWidgetLineArrayInput
- type OneDashboardPageWidgetLineArrayOutput
- func (OneDashboardPageWidgetLineArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLineArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetLineOutput
- func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput
- func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput
- type OneDashboardPageWidgetLineInput
- type OneDashboardPageWidgetLineNrqlQuery
- type OneDashboardPageWidgetLineNrqlQueryArgs
- func (OneDashboardPageWidgetLineNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput
- func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput
- type OneDashboardPageWidgetLineNrqlQueryArray
- func (OneDashboardPageWidgetLineNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput
- type OneDashboardPageWidgetLineNrqlQueryArrayInput
- type OneDashboardPageWidgetLineNrqlQueryArrayOutput
- func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetLineNrqlQueryOutput
- func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput
- type OneDashboardPageWidgetLineNrqlQueryInput
- type OneDashboardPageWidgetLineNrqlQueryOutput
- func (o OneDashboardPageWidgetLineNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetLineNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLineNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput
- func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput
- type OneDashboardPageWidgetLineOutput
- func (o OneDashboardPageWidgetLineOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetLineOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLineOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetLineOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetLineOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetLineOutput) NrqlQueries() OneDashboardPageWidgetLineNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetLineOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetLineOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput
- func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput
- func (o OneDashboardPageWidgetLineOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetLogTable
- type OneDashboardPageWidgetLogTableArgs
- func (OneDashboardPageWidgetLogTableArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput
- func (i OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableOutput
- type OneDashboardPageWidgetLogTableArray
- func (OneDashboardPageWidgetLogTableArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput
- func (i OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableArrayOutput
- type OneDashboardPageWidgetLogTableArrayInput
- type OneDashboardPageWidgetLogTableArrayOutput
- func (OneDashboardPageWidgetLogTableArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLogTableArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetLogTableOutput
- func (o OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput
- func (o OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableArrayOutput
- type OneDashboardPageWidgetLogTableInput
- type OneDashboardPageWidgetLogTableNrqlQuery
- type OneDashboardPageWidgetLogTableNrqlQueryArgs
- func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput
- func (i OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput
- type OneDashboardPageWidgetLogTableNrqlQueryArray
- func (OneDashboardPageWidgetLogTableNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
- type OneDashboardPageWidgetLogTableNrqlQueryArrayInput
- type OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
- func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetLogTableNrqlQueryOutput
- func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
- type OneDashboardPageWidgetLogTableNrqlQueryInput
- type OneDashboardPageWidgetLogTableNrqlQueryOutput
- func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput
- func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput
- type OneDashboardPageWidgetLogTableOutput
- func (o OneDashboardPageWidgetLogTableOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetLogTableOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetLogTableOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetLogTableOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetLogTableOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetLogTableOutput) NrqlQueries() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetLogTableOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetLogTableOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput
- func (o OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableOutput
- func (o OneDashboardPageWidgetLogTableOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetMarkdown
- type OneDashboardPageWidgetMarkdownArgs
- func (OneDashboardPageWidgetMarkdownArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput
- func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput
- type OneDashboardPageWidgetMarkdownArray
- func (OneDashboardPageWidgetMarkdownArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput
- func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput
- type OneDashboardPageWidgetMarkdownArrayInput
- type OneDashboardPageWidgetMarkdownArrayOutput
- func (OneDashboardPageWidgetMarkdownArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetMarkdownArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetMarkdownOutput
- func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput
- func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput
- type OneDashboardPageWidgetMarkdownInput
- type OneDashboardPageWidgetMarkdownOutput
- func (o OneDashboardPageWidgetMarkdownOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetMarkdownOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetMarkdownOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetMarkdownOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetMarkdownOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetMarkdownOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetMarkdownOutput) Text() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetMarkdownOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput
- func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput
- func (o OneDashboardPageWidgetMarkdownOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetPy
- type OneDashboardPageWidgetPyArgs
- func (OneDashboardPageWidgetPyArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput
- func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput
- type OneDashboardPageWidgetPyArray
- func (OneDashboardPageWidgetPyArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput
- func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput
- type OneDashboardPageWidgetPyArrayInput
- type OneDashboardPageWidgetPyArrayOutput
- func (OneDashboardPageWidgetPyArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetPyArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetPyOutput
- func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput
- func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput
- type OneDashboardPageWidgetPyInput
- type OneDashboardPageWidgetPyNrqlQuery
- type OneDashboardPageWidgetPyNrqlQueryArgs
- func (OneDashboardPageWidgetPyNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput
- func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput
- type OneDashboardPageWidgetPyNrqlQueryArray
- func (OneDashboardPageWidgetPyNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput
- type OneDashboardPageWidgetPyNrqlQueryArrayInput
- type OneDashboardPageWidgetPyNrqlQueryArrayOutput
- func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetPyNrqlQueryOutput
- func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput
- type OneDashboardPageWidgetPyNrqlQueryInput
- type OneDashboardPageWidgetPyNrqlQueryOutput
- func (o OneDashboardPageWidgetPyNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetPyNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetPyNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput
- func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput
- type OneDashboardPageWidgetPyOutput
- func (o OneDashboardPageWidgetPyOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetPyOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetPyOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetPyOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetPyOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetPyOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetPyOutput) LinkedEntityGuids() pulumi.StringArrayOutput
- func (o OneDashboardPageWidgetPyOutput) NrqlQueries() OneDashboardPageWidgetPyNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetPyOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetPyOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput
- func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput
- func (o OneDashboardPageWidgetPyOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetStackedBar
- type OneDashboardPageWidgetStackedBarArgs
- func (OneDashboardPageWidgetStackedBarArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput
- func (i OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarOutput
- type OneDashboardPageWidgetStackedBarArray
- func (OneDashboardPageWidgetStackedBarArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput
- func (i OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarArrayOutput
- type OneDashboardPageWidgetStackedBarArrayInput
- type OneDashboardPageWidgetStackedBarArrayOutput
- func (OneDashboardPageWidgetStackedBarArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetStackedBarArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetStackedBarOutput
- func (o OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput
- func (o OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarArrayOutput
- type OneDashboardPageWidgetStackedBarInput
- type OneDashboardPageWidgetStackedBarNrqlQuery
- type OneDashboardPageWidgetStackedBarNrqlQueryArgs
- func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput
- func (i OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput
- type OneDashboardPageWidgetStackedBarNrqlQueryArray
- func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
- type OneDashboardPageWidgetStackedBarNrqlQueryArrayInput
- type OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
- func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetStackedBarNrqlQueryOutput
- func (o OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
- type OneDashboardPageWidgetStackedBarNrqlQueryInput
- type OneDashboardPageWidgetStackedBarNrqlQueryOutput
- func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput
- func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput
- type OneDashboardPageWidgetStackedBarOutput
- func (o OneDashboardPageWidgetStackedBarOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetStackedBarOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetStackedBarOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetStackedBarOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetStackedBarOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetStackedBarOutput) NrqlQueries() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetStackedBarOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetStackedBarOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput
- func (o OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarOutput
- func (o OneDashboardPageWidgetStackedBarOutput) Width() pulumi.IntPtrOutput
- type OneDashboardPageWidgetTable
- type OneDashboardPageWidgetTableArgs
- func (OneDashboardPageWidgetTableArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput
- func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput
- type OneDashboardPageWidgetTableArray
- func (OneDashboardPageWidgetTableArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput
- func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput
- type OneDashboardPageWidgetTableArrayInput
- type OneDashboardPageWidgetTableArrayOutput
- func (OneDashboardPageWidgetTableArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetTableArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetTableOutput
- func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput
- func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput
- type OneDashboardPageWidgetTableInput
- type OneDashboardPageWidgetTableNrqlQuery
- type OneDashboardPageWidgetTableNrqlQueryArgs
- func (OneDashboardPageWidgetTableNrqlQueryArgs) ElementType() reflect.Type
- func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput
- func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput
- type OneDashboardPageWidgetTableNrqlQueryArray
- func (OneDashboardPageWidgetTableNrqlQueryArray) ElementType() reflect.Type
- func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput
- func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput
- type OneDashboardPageWidgetTableNrqlQueryArrayInput
- type OneDashboardPageWidgetTableNrqlQueryArrayOutput
- func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetTableNrqlQueryOutput
- func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput
- type OneDashboardPageWidgetTableNrqlQueryInput
- type OneDashboardPageWidgetTableNrqlQueryOutput
- func (o OneDashboardPageWidgetTableNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
- func (OneDashboardPageWidgetTableNrqlQueryOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetTableNrqlQueryOutput) Query() pulumi.StringOutput
- func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput
- func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput
- type OneDashboardPageWidgetTableOutput
- func (o OneDashboardPageWidgetTableOutput) Column() pulumi.IntOutput
- func (OneDashboardPageWidgetTableOutput) ElementType() reflect.Type
- func (o OneDashboardPageWidgetTableOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetTableOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardPageWidgetTableOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardPageWidgetTableOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
- func (o OneDashboardPageWidgetTableOutput) LinkedEntityGuids() pulumi.StringArrayOutput
- func (o OneDashboardPageWidgetTableOutput) NrqlQueries() OneDashboardPageWidgetTableNrqlQueryArrayOutput
- func (o OneDashboardPageWidgetTableOutput) Row() pulumi.IntOutput
- func (o OneDashboardPageWidgetTableOutput) Title() pulumi.StringOutput
- func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput
- func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput
- func (o OneDashboardPageWidgetTableOutput) Width() pulumi.IntPtrOutput
- type OneDashboardRaw
- type OneDashboardRawArgs
- type OneDashboardRawArray
- type OneDashboardRawArrayInput
- type OneDashboardRawArrayOutput
- func (OneDashboardRawArrayOutput) ElementType() reflect.Type
- func (o OneDashboardRawArrayOutput) Index(i pulumi.IntInput) OneDashboardRawOutput
- func (o OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutput() OneDashboardRawArrayOutput
- func (o OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutputWithContext(ctx context.Context) OneDashboardRawArrayOutput
- type OneDashboardRawInput
- type OneDashboardRawMap
- type OneDashboardRawMapInput
- type OneDashboardRawMapOutput
- func (OneDashboardRawMapOutput) ElementType() reflect.Type
- func (o OneDashboardRawMapOutput) MapIndex(k pulumi.StringInput) OneDashboardRawOutput
- func (o OneDashboardRawMapOutput) ToOneDashboardRawMapOutput() OneDashboardRawMapOutput
- func (o OneDashboardRawMapOutput) ToOneDashboardRawMapOutputWithContext(ctx context.Context) OneDashboardRawMapOutput
- type OneDashboardRawOutput
- func (o OneDashboardRawOutput) AccountId() pulumi.IntOutput
- func (o OneDashboardRawOutput) Description() pulumi.StringPtrOutput
- func (OneDashboardRawOutput) ElementType() reflect.Type
- func (o OneDashboardRawOutput) Guid() pulumi.StringOutput
- func (o OneDashboardRawOutput) Name() pulumi.StringOutput
- func (o OneDashboardRawOutput) Pages() OneDashboardRawPageArrayOutput
- func (o OneDashboardRawOutput) Permalink() pulumi.StringOutput
- func (o OneDashboardRawOutput) Permissions() pulumi.StringPtrOutput
- func (o OneDashboardRawOutput) ToOneDashboardRawOutput() OneDashboardRawOutput
- func (o OneDashboardRawOutput) ToOneDashboardRawOutputWithContext(ctx context.Context) OneDashboardRawOutput
- type OneDashboardRawPage
- type OneDashboardRawPageArgs
- type OneDashboardRawPageArray
- type OneDashboardRawPageArrayInput
- type OneDashboardRawPageArrayOutput
- func (OneDashboardRawPageArrayOutput) ElementType() reflect.Type
- func (o OneDashboardRawPageArrayOutput) Index(i pulumi.IntInput) OneDashboardRawPageOutput
- func (o OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutput() OneDashboardRawPageArrayOutput
- func (o OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutputWithContext(ctx context.Context) OneDashboardRawPageArrayOutput
- type OneDashboardRawPageInput
- type OneDashboardRawPageOutput
- func (o OneDashboardRawPageOutput) Description() pulumi.StringPtrOutput
- func (OneDashboardRawPageOutput) ElementType() reflect.Type
- func (o OneDashboardRawPageOutput) Guid() pulumi.StringPtrOutput
- func (o OneDashboardRawPageOutput) Name() pulumi.StringOutput
- func (o OneDashboardRawPageOutput) ToOneDashboardRawPageOutput() OneDashboardRawPageOutput
- func (o OneDashboardRawPageOutput) ToOneDashboardRawPageOutputWithContext(ctx context.Context) OneDashboardRawPageOutput
- func (o OneDashboardRawPageOutput) Widgets() OneDashboardRawPageWidgetArrayOutput
- type OneDashboardRawPageWidget
- type OneDashboardRawPageWidgetArgs
- func (OneDashboardRawPageWidgetArgs) ElementType() reflect.Type
- func (i OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput
- func (i OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetOutput
- type OneDashboardRawPageWidgetArray
- func (OneDashboardRawPageWidgetArray) ElementType() reflect.Type
- func (i OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput
- func (i OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetArrayOutput
- type OneDashboardRawPageWidgetArrayInput
- type OneDashboardRawPageWidgetArrayOutput
- func (OneDashboardRawPageWidgetArrayOutput) ElementType() reflect.Type
- func (o OneDashboardRawPageWidgetArrayOutput) Index(i pulumi.IntInput) OneDashboardRawPageWidgetOutput
- func (o OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput
- func (o OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetArrayOutput
- type OneDashboardRawPageWidgetInput
- type OneDashboardRawPageWidgetOutput
- func (o OneDashboardRawPageWidgetOutput) Column() pulumi.IntOutput
- func (o OneDashboardRawPageWidgetOutput) Configuration() pulumi.StringOutput
- func (OneDashboardRawPageWidgetOutput) ElementType() reflect.Type
- func (o OneDashboardRawPageWidgetOutput) Height() pulumi.IntPtrOutput
- func (o OneDashboardRawPageWidgetOutput) Id() pulumi.StringPtrOutput
- func (o OneDashboardRawPageWidgetOutput) LinkedEntityGuids() pulumi.StringArrayOutput
- func (o OneDashboardRawPageWidgetOutput) Row() pulumi.IntOutput
- func (o OneDashboardRawPageWidgetOutput) Title() pulumi.StringOutput
- func (o OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput
- func (o OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetOutput
- func (o OneDashboardRawPageWidgetOutput) VisualizationId() pulumi.StringOutput
- func (o OneDashboardRawPageWidgetOutput) Width() pulumi.IntPtrOutput
- type OneDashboardRawState
- type OneDashboardState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) AdminApiKey() pulumi.StringPtrOutput
- func (o ProviderOutput) ApiKey() pulumi.StringPtrOutput
- func (o ProviderOutput) ApiUrl() pulumi.StringPtrOutputdeprecated
- func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) InfrastructureApiUrl() pulumi.StringPtrOutputdeprecated
- func (o ProviderOutput) InsightsInsertKey() pulumi.StringPtrOutput
- func (o ProviderOutput) InsightsInsertUrl() pulumi.StringPtrOutput
- func (o ProviderOutput) InsightsQueryUrl() pulumi.StringPtrOutput
- func (o ProviderOutput) NerdgraphApiUrl() pulumi.StringPtrOutputdeprecated
- func (o ProviderOutput) Region() pulumi.StringPtrOutput
- func (o ProviderOutput) SyntheticsApiUrl() pulumi.StringPtrOutputdeprecated
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- type ServiceLevel
- type ServiceLevelArgs
- type ServiceLevelArray
- type ServiceLevelArrayInput
- type ServiceLevelArrayOutput
- func (ServiceLevelArrayOutput) ElementType() reflect.Type
- func (o ServiceLevelArrayOutput) Index(i pulumi.IntInput) ServiceLevelOutput
- func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutput() ServiceLevelArrayOutput
- func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutputWithContext(ctx context.Context) ServiceLevelArrayOutput
- type ServiceLevelEvents
- type ServiceLevelEventsArgs
- func (ServiceLevelEventsArgs) ElementType() reflect.Type
- func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutput() ServiceLevelEventsOutput
- func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput
- func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput
- func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput
- type ServiceLevelEventsBadEvents
- type ServiceLevelEventsBadEventsArgs
- func (ServiceLevelEventsBadEventsArgs) ElementType() reflect.Type
- func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput
- func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput
- func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput
- func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput
- type ServiceLevelEventsBadEventsInput
- type ServiceLevelEventsBadEventsOutput
- func (ServiceLevelEventsBadEventsOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsBadEventsOutput) From() pulumi.StringOutput
- func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput
- func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput
- func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput
- func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput
- func (o ServiceLevelEventsBadEventsOutput) Where() pulumi.StringPtrOutput
- type ServiceLevelEventsBadEventsPtrInput
- type ServiceLevelEventsBadEventsPtrOutput
- func (o ServiceLevelEventsBadEventsPtrOutput) Elem() ServiceLevelEventsBadEventsOutput
- func (ServiceLevelEventsBadEventsPtrOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsBadEventsPtrOutput) From() pulumi.StringPtrOutput
- func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput
- func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput
- func (o ServiceLevelEventsBadEventsPtrOutput) Where() pulumi.StringPtrOutput
- type ServiceLevelEventsGoodEvents
- type ServiceLevelEventsGoodEventsArgs
- func (ServiceLevelEventsGoodEventsArgs) ElementType() reflect.Type
- func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput
- func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput
- func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput
- func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput
- type ServiceLevelEventsGoodEventsInput
- type ServiceLevelEventsGoodEventsOutput
- func (ServiceLevelEventsGoodEventsOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsGoodEventsOutput) From() pulumi.StringOutput
- func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput
- func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput
- func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput
- func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput
- func (o ServiceLevelEventsGoodEventsOutput) Where() pulumi.StringPtrOutput
- type ServiceLevelEventsGoodEventsPtrInput
- type ServiceLevelEventsGoodEventsPtrOutput
- func (o ServiceLevelEventsGoodEventsPtrOutput) Elem() ServiceLevelEventsGoodEventsOutput
- func (ServiceLevelEventsGoodEventsPtrOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsGoodEventsPtrOutput) From() pulumi.StringPtrOutput
- func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput
- func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput
- func (o ServiceLevelEventsGoodEventsPtrOutput) Where() pulumi.StringPtrOutput
- type ServiceLevelEventsInput
- type ServiceLevelEventsOutput
- func (o ServiceLevelEventsOutput) AccountId() pulumi.IntOutput
- func (o ServiceLevelEventsOutput) BadEvents() ServiceLevelEventsBadEventsPtrOutput
- func (ServiceLevelEventsOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsOutput) GoodEvents() ServiceLevelEventsGoodEventsPtrOutput
- func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutput() ServiceLevelEventsOutput
- func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput
- func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput
- func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput
- func (o ServiceLevelEventsOutput) ValidEvents() ServiceLevelEventsValidEventsOutput
- type ServiceLevelEventsPtrInput
- type ServiceLevelEventsPtrOutput
- func (o ServiceLevelEventsPtrOutput) AccountId() pulumi.IntPtrOutput
- func (o ServiceLevelEventsPtrOutput) BadEvents() ServiceLevelEventsBadEventsPtrOutput
- func (o ServiceLevelEventsPtrOutput) Elem() ServiceLevelEventsOutput
- func (ServiceLevelEventsPtrOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsPtrOutput) GoodEvents() ServiceLevelEventsGoodEventsPtrOutput
- func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput
- func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput
- func (o ServiceLevelEventsPtrOutput) ValidEvents() ServiceLevelEventsValidEventsPtrOutput
- type ServiceLevelEventsValidEvents
- type ServiceLevelEventsValidEventsArgs
- func (ServiceLevelEventsValidEventsArgs) ElementType() reflect.Type
- func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput
- func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput
- func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput
- func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput
- type ServiceLevelEventsValidEventsInput
- type ServiceLevelEventsValidEventsOutput
- func (ServiceLevelEventsValidEventsOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsValidEventsOutput) From() pulumi.StringOutput
- func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput
- func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput
- func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput
- func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput
- func (o ServiceLevelEventsValidEventsOutput) Where() pulumi.StringPtrOutput
- type ServiceLevelEventsValidEventsPtrInput
- type ServiceLevelEventsValidEventsPtrOutput
- func (o ServiceLevelEventsValidEventsPtrOutput) Elem() ServiceLevelEventsValidEventsOutput
- func (ServiceLevelEventsValidEventsPtrOutput) ElementType() reflect.Type
- func (o ServiceLevelEventsValidEventsPtrOutput) From() pulumi.StringPtrOutput
- func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput
- func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput
- func (o ServiceLevelEventsValidEventsPtrOutput) Where() pulumi.StringPtrOutput
- type ServiceLevelInput
- type ServiceLevelMap
- type ServiceLevelMapInput
- type ServiceLevelMapOutput
- func (ServiceLevelMapOutput) ElementType() reflect.Type
- func (o ServiceLevelMapOutput) MapIndex(k pulumi.StringInput) ServiceLevelOutput
- func (o ServiceLevelMapOutput) ToServiceLevelMapOutput() ServiceLevelMapOutput
- func (o ServiceLevelMapOutput) ToServiceLevelMapOutputWithContext(ctx context.Context) ServiceLevelMapOutput
- type ServiceLevelObjective
- type ServiceLevelObjectiveArgs
- func (ServiceLevelObjectiveArgs) ElementType() reflect.Type
- func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput
- func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput
- func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput
- func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput
- type ServiceLevelObjectiveInput
- type ServiceLevelObjectiveOutput
- func (o ServiceLevelObjectiveOutput) Description() pulumi.StringPtrOutput
- func (ServiceLevelObjectiveOutput) ElementType() reflect.Type
- func (o ServiceLevelObjectiveOutput) Name() pulumi.StringPtrOutput
- func (o ServiceLevelObjectiveOutput) Target() pulumi.Float64Output
- func (o ServiceLevelObjectiveOutput) TimeWindow() ServiceLevelObjectiveTimeWindowOutput
- func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput
- func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput
- func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput
- func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput
- type ServiceLevelObjectivePtrInput
- type ServiceLevelObjectivePtrOutput
- func (o ServiceLevelObjectivePtrOutput) Description() pulumi.StringPtrOutput
- func (o ServiceLevelObjectivePtrOutput) Elem() ServiceLevelObjectiveOutput
- func (ServiceLevelObjectivePtrOutput) ElementType() reflect.Type
- func (o ServiceLevelObjectivePtrOutput) Name() pulumi.StringPtrOutput
- func (o ServiceLevelObjectivePtrOutput) Target() pulumi.Float64PtrOutput
- func (o ServiceLevelObjectivePtrOutput) TimeWindow() ServiceLevelObjectiveTimeWindowPtrOutput
- func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput
- func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput
- type ServiceLevelObjectiveTimeWindow
- type ServiceLevelObjectiveTimeWindowArgs
- func (ServiceLevelObjectiveTimeWindowArgs) ElementType() reflect.Type
- func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput
- func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput
- func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput
- func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput
- type ServiceLevelObjectiveTimeWindowInput
- type ServiceLevelObjectiveTimeWindowOutput
- func (ServiceLevelObjectiveTimeWindowOutput) ElementType() reflect.Type
- func (o ServiceLevelObjectiveTimeWindowOutput) Rolling() ServiceLevelObjectiveTimeWindowRollingOutput
- func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput
- func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput
- func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput
- func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput
- type ServiceLevelObjectiveTimeWindowPtrInput
- type ServiceLevelObjectiveTimeWindowPtrOutput
- func (o ServiceLevelObjectiveTimeWindowPtrOutput) Elem() ServiceLevelObjectiveTimeWindowOutput
- func (ServiceLevelObjectiveTimeWindowPtrOutput) ElementType() reflect.Type
- func (o ServiceLevelObjectiveTimeWindowPtrOutput) Rolling() ServiceLevelObjectiveTimeWindowRollingPtrOutput
- func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput
- func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput
- type ServiceLevelObjectiveTimeWindowRolling
- type ServiceLevelObjectiveTimeWindowRollingArgs
- func (ServiceLevelObjectiveTimeWindowRollingArgs) ElementType() reflect.Type
- func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput
- func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput
- func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput
- func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput
- type ServiceLevelObjectiveTimeWindowRollingInput
- type ServiceLevelObjectiveTimeWindowRollingOutput
- func (o ServiceLevelObjectiveTimeWindowRollingOutput) Count() pulumi.IntOutput
- func (ServiceLevelObjectiveTimeWindowRollingOutput) ElementType() reflect.Type
- func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput
- func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput
- func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput
- func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput
- func (o ServiceLevelObjectiveTimeWindowRollingOutput) Unit() pulumi.StringOutput
- type ServiceLevelObjectiveTimeWindowRollingPtrInput
- type ServiceLevelObjectiveTimeWindowRollingPtrOutput
- func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) Count() pulumi.IntPtrOutput
- func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) Elem() ServiceLevelObjectiveTimeWindowRollingOutput
- func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ElementType() reflect.Type
- func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput
- func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput
- func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) Unit() pulumi.StringPtrOutput
- type ServiceLevelOutput
- func (o ServiceLevelOutput) Description() pulumi.StringPtrOutput
- func (ServiceLevelOutput) ElementType() reflect.Type
- func (o ServiceLevelOutput) Events() ServiceLevelEventsOutput
- func (o ServiceLevelOutput) Guid() pulumi.StringOutput
- func (o ServiceLevelOutput) Name() pulumi.StringOutput
- func (o ServiceLevelOutput) Objective() ServiceLevelObjectiveOutput
- func (o ServiceLevelOutput) SliGuid() pulumi.StringOutput
- func (o ServiceLevelOutput) SliId() pulumi.StringOutput
- func (o ServiceLevelOutput) ToServiceLevelOutput() ServiceLevelOutput
- func (o ServiceLevelOutput) ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput
- type ServiceLevelState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type AlertChannel ¶
type AlertChannel struct { pulumi.CustomResourceState // Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntOutput `pulumi:"accountId"` // A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details. Config AlertChannelConfigPtrOutput `pulumi:"config"` // The name of the channel. Name pulumi.StringOutput `pulumi:"name"` // The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`. Type pulumi.StringOutput `pulumi:"type"` }
Use this resource to create and manage New Relic alert channels.
## Example Usage ### Email ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{ Config: &AlertChannelConfigArgs{ IncludeJsonAttachment: pulumi.String("true"), Recipients: pulumi.String("foo@example.com"), }, Type: pulumi.String("email"), }) if err != nil { return err } return nil }) }
``` ## Additional Examples
##### Slack ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{ Config: &AlertChannelConfigArgs{ Channel: pulumi.String("example-alerts-channel"), Url: pulumi.String("https://hooks.slack.com/services/XXXXXXX/XXXXXXX/XXXXXXXXXX"), }, Type: pulumi.String("slack"), }) if err != nil { return err } return nil }) }
```
### OpsGenie ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{ Config: &AlertChannelConfigArgs{ ApiKey: pulumi.String("abc123"), Recipients: pulumi.String("user1@domain.com, user2@domain.com"), Tags: pulumi.String("tag1, tag2"), Teams: pulumi.String("team1, team2"), }, Type: pulumi.String("opsgenie"), }) if err != nil { return err } return nil }) }
```
### PagerDuty ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{ Config: &AlertChannelConfigArgs{ ServiceKey: pulumi.String("abc123"), }, Type: pulumi.String("pagerduty"), }) if err != nil { return err } return nil }) }
```
### VictorOps ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{ Config: &AlertChannelConfigArgs{ Key: pulumi.String("abc123"), RouteKey: pulumi.String("/example"), }, Type: pulumi.String("victorops"), }) if err != nil { return err } return nil }) }
```
### Webhook ```go package main
import (
"fmt" "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{ Type: pulumi.String("webhook"), Config: &AlertChannelConfigArgs{ BaseUrl: pulumi.String("http://www.test.com"), PayloadType: pulumi.String("application/json"), Payload: pulumi.StringMap{ "condition_name": pulumi.String(fmt.Sprintf("$CONDITION_NAME")), "policy_name": pulumi.String(fmt.Sprintf("$POLICY_NAME")), }, Headers: pulumi.StringMap{ "header1": pulumi.Any(value1), "header2": pulumi.Any(value2), }, }, }) if err != nil { return err } return nil }) }
```
### Webhook with complex payload ```go package main
import (
"fmt" "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertChannel(ctx, "foo", &newrelic.AlertChannelArgs{ Config: &AlertChannelConfigArgs{ BaseUrl: pulumi.String("http://www.test.com"), PayloadString: pulumi.String(fmt.Sprintf(`{ "my_custom_values": { "condition_name": "$CONDITION_NAME", "policy_name": "$POLICY_NAME" } }
`)),
PayloadType: pulumi.String("application/json"), }, Type: pulumi.String("webhook"), }) if err != nil { return err } return nil }) }
```
## Import
Alert channels can be imported using the `id`, e.g. bash
```sh
$ pulumi import newrelic:index/alertChannel:AlertChannel main <id>
```
func GetAlertChannel ¶
func GetAlertChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlertChannelState, opts ...pulumi.ResourceOption) (*AlertChannel, error)
GetAlertChannel gets an existing AlertChannel 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 NewAlertChannel ¶
func NewAlertChannel(ctx *pulumi.Context, name string, args *AlertChannelArgs, opts ...pulumi.ResourceOption) (*AlertChannel, error)
NewAlertChannel registers a new resource with the given unique name, arguments, and options.
func (*AlertChannel) ElementType ¶
func (*AlertChannel) ElementType() reflect.Type
func (*AlertChannel) ToAlertChannelOutput ¶
func (i *AlertChannel) ToAlertChannelOutput() AlertChannelOutput
func (*AlertChannel) ToAlertChannelOutputWithContext ¶
func (i *AlertChannel) ToAlertChannelOutputWithContext(ctx context.Context) AlertChannelOutput
type AlertChannelArgs ¶
type AlertChannelArgs struct { // Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details. Config AlertChannelConfigPtrInput // The name of the channel. Name pulumi.StringPtrInput // The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`. Type pulumi.StringInput }
The set of arguments for constructing a AlertChannel resource.
func (AlertChannelArgs) ElementType ¶
func (AlertChannelArgs) ElementType() reflect.Type
type AlertChannelArray ¶
type AlertChannelArray []AlertChannelInput
func (AlertChannelArray) ElementType ¶
func (AlertChannelArray) ElementType() reflect.Type
func (AlertChannelArray) ToAlertChannelArrayOutput ¶
func (i AlertChannelArray) ToAlertChannelArrayOutput() AlertChannelArrayOutput
func (AlertChannelArray) ToAlertChannelArrayOutputWithContext ¶
func (i AlertChannelArray) ToAlertChannelArrayOutputWithContext(ctx context.Context) AlertChannelArrayOutput
type AlertChannelArrayInput ¶
type AlertChannelArrayInput interface { pulumi.Input ToAlertChannelArrayOutput() AlertChannelArrayOutput ToAlertChannelArrayOutputWithContext(context.Context) AlertChannelArrayOutput }
AlertChannelArrayInput is an input type that accepts AlertChannelArray and AlertChannelArrayOutput values. You can construct a concrete instance of `AlertChannelArrayInput` via:
AlertChannelArray{ AlertChannelArgs{...} }
type AlertChannelArrayOutput ¶
type AlertChannelArrayOutput struct{ *pulumi.OutputState }
func (AlertChannelArrayOutput) ElementType ¶
func (AlertChannelArrayOutput) ElementType() reflect.Type
func (AlertChannelArrayOutput) Index ¶
func (o AlertChannelArrayOutput) Index(i pulumi.IntInput) AlertChannelOutput
func (AlertChannelArrayOutput) ToAlertChannelArrayOutput ¶
func (o AlertChannelArrayOutput) ToAlertChannelArrayOutput() AlertChannelArrayOutput
func (AlertChannelArrayOutput) ToAlertChannelArrayOutputWithContext ¶
func (o AlertChannelArrayOutput) ToAlertChannelArrayOutputWithContext(ctx context.Context) AlertChannelArrayOutput
type AlertChannelConfig ¶
type AlertChannelConfig struct { // The API key for integrating with OpsGenie. ApiKey *string `pulumi:"apiKey"` // Specifies an authentication password for use with a channel. Supported by the `webhook` channel type. AuthPassword *string `pulumi:"authPassword"` // Specifies an authentication method for use with a channel. Supported by the `webhook` channel type. Only HTTP basic authentication is currently supported via the value `BASIC`. AuthType *string `pulumi:"authType"` // Specifies an authentication username for use with a channel. Supported by the `webhook` channel type. AuthUsername *string `pulumi:"authUsername"` // The base URL of the webhook destination. BaseUrl *string `pulumi:"baseUrl"` // The Slack channel to send notifications to. // * `opsgenie` Channel *string `pulumi:"channel"` // A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload. Headers map[string]string `pulumi:"headers"` // Use instead of `headers` if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `headers`. HeadersString *string `pulumi:"headersString"` // `true` or `false`. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients. // * `webhook` IncludeJsonAttachment *string `pulumi:"includeJsonAttachment"` // The key for integrating with VictorOps. Key *string `pulumi:"key"` // A map of key/value pairs that represents the webhook payload. Must provide `payloadType` if setting this argument. Payload map[string]string `pulumi:"payload"` // Use instead of `payload` if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `payload`. PayloadString *string `pulumi:"payloadString"` // Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. // * `pagerduty` PayloadType *string `pulumi:"payloadType"` // A set of recipients for targeting notifications. Multiple values are comma separated. Recipients *string `pulumi:"recipients"` // The data center region to store your data. Valid values are `US` and `EU`. Default is `US`. Region *string `pulumi:"region"` // The route key for integrating with VictorOps. // * `slack` RouteKey *string `pulumi:"routeKey"` // Specifies the service key for integrating with Pagerduty. // * `victorops` ServiceKey *string `pulumi:"serviceKey"` // A set of tags for targeting notifications. Multiple values are comma separated. Tags *string `pulumi:"tags"` // A set of teams for targeting notifications. Multiple values are comma separated. Teams *string `pulumi:"teams"` // [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). Url *string `pulumi:"url"` UserId *string `pulumi:"userId"` }
type AlertChannelConfigArgs ¶
type AlertChannelConfigArgs struct { // The API key for integrating with OpsGenie. ApiKey pulumi.StringPtrInput `pulumi:"apiKey"` // Specifies an authentication password for use with a channel. Supported by the `webhook` channel type. AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` // Specifies an authentication method for use with a channel. Supported by the `webhook` channel type. Only HTTP basic authentication is currently supported via the value `BASIC`. AuthType pulumi.StringPtrInput `pulumi:"authType"` // Specifies an authentication username for use with a channel. Supported by the `webhook` channel type. AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` // The base URL of the webhook destination. BaseUrl pulumi.StringPtrInput `pulumi:"baseUrl"` // The Slack channel to send notifications to. // * `opsgenie` Channel pulumi.StringPtrInput `pulumi:"channel"` // A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload. Headers pulumi.StringMapInput `pulumi:"headers"` // Use instead of `headers` if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `headers`. HeadersString pulumi.StringPtrInput `pulumi:"headersString"` // `true` or `false`. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients. // * `webhook` IncludeJsonAttachment pulumi.StringPtrInput `pulumi:"includeJsonAttachment"` // The key for integrating with VictorOps. Key pulumi.StringPtrInput `pulumi:"key"` // A map of key/value pairs that represents the webhook payload. Must provide `payloadType` if setting this argument. Payload pulumi.StringMapInput `pulumi:"payload"` // Use instead of `payload` if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `payload`. PayloadString pulumi.StringPtrInput `pulumi:"payloadString"` // Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. // * `pagerduty` PayloadType pulumi.StringPtrInput `pulumi:"payloadType"` // A set of recipients for targeting notifications. Multiple values are comma separated. Recipients pulumi.StringPtrInput `pulumi:"recipients"` // The data center region to store your data. Valid values are `US` and `EU`. Default is `US`. Region pulumi.StringPtrInput `pulumi:"region"` // The route key for integrating with VictorOps. // * `slack` RouteKey pulumi.StringPtrInput `pulumi:"routeKey"` // Specifies the service key for integrating with Pagerduty. // * `victorops` ServiceKey pulumi.StringPtrInput `pulumi:"serviceKey"` // A set of tags for targeting notifications. Multiple values are comma separated. Tags pulumi.StringPtrInput `pulumi:"tags"` // A set of teams for targeting notifications. Multiple values are comma separated. Teams pulumi.StringPtrInput `pulumi:"teams"` // [Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack). Url pulumi.StringPtrInput `pulumi:"url"` UserId pulumi.StringPtrInput `pulumi:"userId"` }
func (AlertChannelConfigArgs) ElementType ¶
func (AlertChannelConfigArgs) ElementType() reflect.Type
func (AlertChannelConfigArgs) ToAlertChannelConfigOutput ¶
func (i AlertChannelConfigArgs) ToAlertChannelConfigOutput() AlertChannelConfigOutput
func (AlertChannelConfigArgs) ToAlertChannelConfigOutputWithContext ¶
func (i AlertChannelConfigArgs) ToAlertChannelConfigOutputWithContext(ctx context.Context) AlertChannelConfigOutput
func (AlertChannelConfigArgs) ToAlertChannelConfigPtrOutput ¶
func (i AlertChannelConfigArgs) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput
func (AlertChannelConfigArgs) ToAlertChannelConfigPtrOutputWithContext ¶
func (i AlertChannelConfigArgs) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput
type AlertChannelConfigInput ¶
type AlertChannelConfigInput interface { pulumi.Input ToAlertChannelConfigOutput() AlertChannelConfigOutput ToAlertChannelConfigOutputWithContext(context.Context) AlertChannelConfigOutput }
AlertChannelConfigInput is an input type that accepts AlertChannelConfigArgs and AlertChannelConfigOutput values. You can construct a concrete instance of `AlertChannelConfigInput` via:
AlertChannelConfigArgs{...}
type AlertChannelConfigOutput ¶
type AlertChannelConfigOutput struct{ *pulumi.OutputState }
func (AlertChannelConfigOutput) ApiKey ¶
func (o AlertChannelConfigOutput) ApiKey() pulumi.StringPtrOutput
The API key for integrating with OpsGenie.
func (AlertChannelConfigOutput) AuthPassword ¶
func (o AlertChannelConfigOutput) AuthPassword() pulumi.StringPtrOutput
Specifies an authentication password for use with a channel. Supported by the `webhook` channel type.
func (AlertChannelConfigOutput) AuthType ¶
func (o AlertChannelConfigOutput) AuthType() pulumi.StringPtrOutput
Specifies an authentication method for use with a channel. Supported by the `webhook` channel type. Only HTTP basic authentication is currently supported via the value `BASIC`.
func (AlertChannelConfigOutput) AuthUsername ¶
func (o AlertChannelConfigOutput) AuthUsername() pulumi.StringPtrOutput
Specifies an authentication username for use with a channel. Supported by the `webhook` channel type.
func (AlertChannelConfigOutput) BaseUrl ¶
func (o AlertChannelConfigOutput) BaseUrl() pulumi.StringPtrOutput
The base URL of the webhook destination.
func (AlertChannelConfigOutput) Channel ¶
func (o AlertChannelConfigOutput) Channel() pulumi.StringPtrOutput
The Slack channel to send notifications to. * `opsgenie`
func (AlertChannelConfigOutput) ElementType ¶
func (AlertChannelConfigOutput) ElementType() reflect.Type
func (AlertChannelConfigOutput) Headers ¶
func (o AlertChannelConfigOutput) Headers() pulumi.StringMapOutput
A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.
func (AlertChannelConfigOutput) HeadersString ¶
func (o AlertChannelConfigOutput) HeadersString() pulumi.StringPtrOutput
Use instead of `headers` if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `headers`.
func (AlertChannelConfigOutput) IncludeJsonAttachment ¶
func (o AlertChannelConfigOutput) IncludeJsonAttachment() pulumi.StringPtrOutput
`true` or `false`. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients. * `webhook`
func (AlertChannelConfigOutput) Key ¶
func (o AlertChannelConfigOutput) Key() pulumi.StringPtrOutput
The key for integrating with VictorOps.
func (AlertChannelConfigOutput) Payload ¶
func (o AlertChannelConfigOutput) Payload() pulumi.StringMapOutput
A map of key/value pairs that represents the webhook payload. Must provide `payloadType` if setting this argument.
func (AlertChannelConfigOutput) PayloadString ¶
func (o AlertChannelConfigOutput) PayloadString() pulumi.StringPtrOutput
Use instead of `payload` if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `payload`.
func (AlertChannelConfigOutput) PayloadType ¶
func (o AlertChannelConfigOutput) PayloadType() pulumi.StringPtrOutput
Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. * `pagerduty`
func (AlertChannelConfigOutput) Recipients ¶
func (o AlertChannelConfigOutput) Recipients() pulumi.StringPtrOutput
A set of recipients for targeting notifications. Multiple values are comma separated.
func (AlertChannelConfigOutput) Region ¶
func (o AlertChannelConfigOutput) Region() pulumi.StringPtrOutput
The data center region to store your data. Valid values are `US` and `EU`. Default is `US`.
func (AlertChannelConfigOutput) RouteKey ¶
func (o AlertChannelConfigOutput) RouteKey() pulumi.StringPtrOutput
The route key for integrating with VictorOps. * `slack`
func (AlertChannelConfigOutput) ServiceKey ¶
func (o AlertChannelConfigOutput) ServiceKey() pulumi.StringPtrOutput
Specifies the service key for integrating with Pagerduty. * `victorops`
func (AlertChannelConfigOutput) Tags ¶
func (o AlertChannelConfigOutput) Tags() pulumi.StringPtrOutput
A set of tags for targeting notifications. Multiple values are comma separated.
func (AlertChannelConfigOutput) Teams ¶
func (o AlertChannelConfigOutput) Teams() pulumi.StringPtrOutput
A set of teams for targeting notifications. Multiple values are comma separated.
func (AlertChannelConfigOutput) ToAlertChannelConfigOutput ¶
func (o AlertChannelConfigOutput) ToAlertChannelConfigOutput() AlertChannelConfigOutput
func (AlertChannelConfigOutput) ToAlertChannelConfigOutputWithContext ¶
func (o AlertChannelConfigOutput) ToAlertChannelConfigOutputWithContext(ctx context.Context) AlertChannelConfigOutput
func (AlertChannelConfigOutput) ToAlertChannelConfigPtrOutput ¶
func (o AlertChannelConfigOutput) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput
func (AlertChannelConfigOutput) ToAlertChannelConfigPtrOutputWithContext ¶
func (o AlertChannelConfigOutput) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput
func (AlertChannelConfigOutput) Url ¶
func (o AlertChannelConfigOutput) Url() pulumi.StringPtrOutput
[Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack).
func (AlertChannelConfigOutput) UserId ¶
func (o AlertChannelConfigOutput) UserId() pulumi.StringPtrOutput
type AlertChannelConfigPtrInput ¶
type AlertChannelConfigPtrInput interface { pulumi.Input ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput ToAlertChannelConfigPtrOutputWithContext(context.Context) AlertChannelConfigPtrOutput }
AlertChannelConfigPtrInput is an input type that accepts AlertChannelConfigArgs, AlertChannelConfigPtr and AlertChannelConfigPtrOutput values. You can construct a concrete instance of `AlertChannelConfigPtrInput` via:
AlertChannelConfigArgs{...} or: nil
func AlertChannelConfigPtr ¶
func AlertChannelConfigPtr(v *AlertChannelConfigArgs) AlertChannelConfigPtrInput
type AlertChannelConfigPtrOutput ¶
type AlertChannelConfigPtrOutput struct{ *pulumi.OutputState }
func (AlertChannelConfigPtrOutput) ApiKey ¶
func (o AlertChannelConfigPtrOutput) ApiKey() pulumi.StringPtrOutput
The API key for integrating with OpsGenie.
func (AlertChannelConfigPtrOutput) AuthPassword ¶
func (o AlertChannelConfigPtrOutput) AuthPassword() pulumi.StringPtrOutput
Specifies an authentication password for use with a channel. Supported by the `webhook` channel type.
func (AlertChannelConfigPtrOutput) AuthType ¶
func (o AlertChannelConfigPtrOutput) AuthType() pulumi.StringPtrOutput
Specifies an authentication method for use with a channel. Supported by the `webhook` channel type. Only HTTP basic authentication is currently supported via the value `BASIC`.
func (AlertChannelConfigPtrOutput) AuthUsername ¶
func (o AlertChannelConfigPtrOutput) AuthUsername() pulumi.StringPtrOutput
Specifies an authentication username for use with a channel. Supported by the `webhook` channel type.
func (AlertChannelConfigPtrOutput) BaseUrl ¶
func (o AlertChannelConfigPtrOutput) BaseUrl() pulumi.StringPtrOutput
The base URL of the webhook destination.
func (AlertChannelConfigPtrOutput) Channel ¶
func (o AlertChannelConfigPtrOutput) Channel() pulumi.StringPtrOutput
The Slack channel to send notifications to. * `opsgenie`
func (AlertChannelConfigPtrOutput) Elem ¶
func (o AlertChannelConfigPtrOutput) Elem() AlertChannelConfigOutput
func (AlertChannelConfigPtrOutput) ElementType ¶
func (AlertChannelConfigPtrOutput) ElementType() reflect.Type
func (AlertChannelConfigPtrOutput) Headers ¶
func (o AlertChannelConfigPtrOutput) Headers() pulumi.StringMapOutput
A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.
func (AlertChannelConfigPtrOutput) HeadersString ¶
func (o AlertChannelConfigPtrOutput) HeadersString() pulumi.StringPtrOutput
Use instead of `headers` if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `headers`.
func (AlertChannelConfigPtrOutput) IncludeJsonAttachment ¶
func (o AlertChannelConfigPtrOutput) IncludeJsonAttachment() pulumi.StringPtrOutput
`true` or `false`. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients. * `webhook`
func (AlertChannelConfigPtrOutput) Key ¶
func (o AlertChannelConfigPtrOutput) Key() pulumi.StringPtrOutput
The key for integrating with VictorOps.
func (AlertChannelConfigPtrOutput) Payload ¶
func (o AlertChannelConfigPtrOutput) Payload() pulumi.StringMapOutput
A map of key/value pairs that represents the webhook payload. Must provide `payloadType` if setting this argument.
func (AlertChannelConfigPtrOutput) PayloadString ¶
func (o AlertChannelConfigPtrOutput) PayloadString() pulumi.StringPtrOutput
Use instead of `payload` if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with `payload`.
func (AlertChannelConfigPtrOutput) PayloadType ¶
func (o AlertChannelConfigPtrOutput) PayloadType() pulumi.StringPtrOutput
Can either be `application/json` or `application/x-www-form-urlencoded`. The `payloadType` argument is _required_ if `payload` is set. * `pagerduty`
func (AlertChannelConfigPtrOutput) Recipients ¶
func (o AlertChannelConfigPtrOutput) Recipients() pulumi.StringPtrOutput
A set of recipients for targeting notifications. Multiple values are comma separated.
func (AlertChannelConfigPtrOutput) Region ¶
func (o AlertChannelConfigPtrOutput) Region() pulumi.StringPtrOutput
The data center region to store your data. Valid values are `US` and `EU`. Default is `US`.
func (AlertChannelConfigPtrOutput) RouteKey ¶
func (o AlertChannelConfigPtrOutput) RouteKey() pulumi.StringPtrOutput
The route key for integrating with VictorOps. * `slack`
func (AlertChannelConfigPtrOutput) ServiceKey ¶
func (o AlertChannelConfigPtrOutput) ServiceKey() pulumi.StringPtrOutput
Specifies the service key for integrating with Pagerduty. * `victorops`
func (AlertChannelConfigPtrOutput) Tags ¶
func (o AlertChannelConfigPtrOutput) Tags() pulumi.StringPtrOutput
A set of tags for targeting notifications. Multiple values are comma separated.
func (AlertChannelConfigPtrOutput) Teams ¶
func (o AlertChannelConfigPtrOutput) Teams() pulumi.StringPtrOutput
A set of teams for targeting notifications. Multiple values are comma separated.
func (AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutput ¶
func (o AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutput() AlertChannelConfigPtrOutput
func (AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutputWithContext ¶
func (o AlertChannelConfigPtrOutput) ToAlertChannelConfigPtrOutputWithContext(ctx context.Context) AlertChannelConfigPtrOutput
func (AlertChannelConfigPtrOutput) Url ¶
func (o AlertChannelConfigPtrOutput) Url() pulumi.StringPtrOutput
[Slack Webhook URL](https://slack.com/intl/en-es/help/articles/115005265063-Incoming-webhooks-for-Slack).
func (AlertChannelConfigPtrOutput) UserId ¶
func (o AlertChannelConfigPtrOutput) UserId() pulumi.StringPtrOutput
type AlertChannelInput ¶
type AlertChannelInput interface { pulumi.Input ToAlertChannelOutput() AlertChannelOutput ToAlertChannelOutputWithContext(ctx context.Context) AlertChannelOutput }
type AlertChannelMap ¶
type AlertChannelMap map[string]AlertChannelInput
func (AlertChannelMap) ElementType ¶
func (AlertChannelMap) ElementType() reflect.Type
func (AlertChannelMap) ToAlertChannelMapOutput ¶
func (i AlertChannelMap) ToAlertChannelMapOutput() AlertChannelMapOutput
func (AlertChannelMap) ToAlertChannelMapOutputWithContext ¶
func (i AlertChannelMap) ToAlertChannelMapOutputWithContext(ctx context.Context) AlertChannelMapOutput
type AlertChannelMapInput ¶
type AlertChannelMapInput interface { pulumi.Input ToAlertChannelMapOutput() AlertChannelMapOutput ToAlertChannelMapOutputWithContext(context.Context) AlertChannelMapOutput }
AlertChannelMapInput is an input type that accepts AlertChannelMap and AlertChannelMapOutput values. You can construct a concrete instance of `AlertChannelMapInput` via:
AlertChannelMap{ "key": AlertChannelArgs{...} }
type AlertChannelMapOutput ¶
type AlertChannelMapOutput struct{ *pulumi.OutputState }
func (AlertChannelMapOutput) ElementType ¶
func (AlertChannelMapOutput) ElementType() reflect.Type
func (AlertChannelMapOutput) MapIndex ¶
func (o AlertChannelMapOutput) MapIndex(k pulumi.StringInput) AlertChannelOutput
func (AlertChannelMapOutput) ToAlertChannelMapOutput ¶
func (o AlertChannelMapOutput) ToAlertChannelMapOutput() AlertChannelMapOutput
func (AlertChannelMapOutput) ToAlertChannelMapOutputWithContext ¶
func (o AlertChannelMapOutput) ToAlertChannelMapOutputWithContext(ctx context.Context) AlertChannelMapOutput
type AlertChannelOutput ¶
type AlertChannelOutput struct{ *pulumi.OutputState }
func (AlertChannelOutput) AccountId ¶ added in v4.15.0
func (o AlertChannelOutput) AccountId() pulumi.IntOutput
Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used.
func (AlertChannelOutput) Config ¶ added in v4.15.0
func (o AlertChannelOutput) Config() AlertChannelConfigPtrOutput
A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details.
func (AlertChannelOutput) ElementType ¶
func (AlertChannelOutput) ElementType() reflect.Type
func (AlertChannelOutput) Name ¶ added in v4.15.0
func (o AlertChannelOutput) Name() pulumi.StringOutput
The name of the channel.
func (AlertChannelOutput) ToAlertChannelOutput ¶
func (o AlertChannelOutput) ToAlertChannelOutput() AlertChannelOutput
func (AlertChannelOutput) ToAlertChannelOutputWithContext ¶
func (o AlertChannelOutput) ToAlertChannelOutputWithContext(ctx context.Context) AlertChannelOutput
func (AlertChannelOutput) Type ¶ added in v4.15.0
func (o AlertChannelOutput) Type() pulumi.StringOutput
The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`.
type AlertChannelState ¶
type AlertChannelState struct { // Determines the New Relic account where the alert channel will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // A nested block that describes an alert channel configuration. Only one config block is permitted per alert channel definition. See Nested config blocks below for details. Config AlertChannelConfigPtrInput // The name of the channel. Name pulumi.StringPtrInput // The type of channel. One of: `email`, `slack`, `opsgenie`, `pagerduty`, `victorops`, or `webhook`. Type pulumi.StringPtrInput }
func (AlertChannelState) ElementType ¶
func (AlertChannelState) ElementType() reflect.Type
type AlertCondition ¶
type AlertCondition struct { pulumi.CustomResourceState // `application` or `instance`. Choose `application` for most scenarios. If you are using the JVM plugin in New Relic, the `instance` setting allows your condition to trigger [for specific app instances](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/scope-alert-thresholds-specific-instances). ConditionScope pulumi.StringPtrOutput `pulumi:"conditionScope"` // Whether the condition is enabled or not. Defaults to true. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The instance IDs associated with this condition. Entities pulumi.IntArrayOutput `pulumi:"entities"` // A valid Garbage Collection metric e.g. `GC/G1 Young Generation`. GcMetric pulumi.StringPtrOutput `pulumi:"gcMetric"` // The metric field accepts parameters based on the `type` set. One of these metrics based on `type`: // * `apmAppMetric` // * `apdex` // * `errorPercentage` // * `responseTimeBackground` // * `responseTimeWeb` // * `throughputBackground` // * `throughputWeb` // * `userDefined` // * `apmJvmMetric` // * `cpuUtilizationTime` // * `deadlockedThreads` // * `gcCpuTime` // * `heapMemoryUsage` // * `apmKtMetric` // * `apdex` // * `errorCount` // * `errorPercentage` // * `responseTime` // * `throughput` // * `browserMetric` // * `ajaxResponseTime` // * `ajaxThroughput` // * `domProcessing` // * `endUserApdex` // * `network` // * `pageRendering` // * `pageViewThroughput` // * `pageViewsWithJsErrors` // * `requestQueuing` // * `totalPageLoad` // * `userDefined` // * `webApplication` // * `mobileMetric` // * `database` // * `images` // * `json` // * `mobileCrashRate` // * `networkErrorPercentage` // * `network` // * `statusErrorPercentage` // * `userDefined` // * `viewLoading` Metric pulumi.StringOutput `pulumi:"metric"` // The title of the condition. Must be between 1 and 64 characters, inclusive. Name pulumi.StringOutput `pulumi:"name"` // The ID of the policy where this condition should be used. PolicyId pulumi.IntOutput `pulumi:"policyId"` // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrOutput `pulumi:"runbookUrl"` // A list of terms for this condition. See Terms below for details. Terms AlertConditionTermArrayOutput `pulumi:"terms"` // The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric` Type pulumi.StringOutput `pulumi:"type"` // A custom metric to be evaluated. UserDefinedMetric pulumi.StringPtrOutput `pulumi:"userDefinedMetric"` // One of: `average`, `min`, `max`, `total`, or `sampleSize`. UserDefinedValueFunction pulumi.StringPtrOutput `pulumi:"userDefinedValueFunction"` // Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`. ViolationCloseTimer pulumi.IntPtrOutput `pulumi:"violationCloseTimer"` }
Use this resource to create and manage alert conditions for APM, Browser, and Mobile in New Relic.
> **NOTE:** The NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. Other condition types may be deprecated in the future and receive fewer product updates.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := newrelic.GetEntity(ctx, &GetEntityArgs{ Name: "my-app", Type: pulumi.StringRef("APPLICATION"), Domain: pulumi.StringRef("APM"), }, nil) if err != nil { return err } fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil) if err != nil { return err } _, err = newrelic.NewAlertCondition(ctx, "fooAlertCondition", &newrelic.AlertConditionArgs{ PolicyId: fooAlertPolicy.ID(), Type: pulumi.String("apm_app_metric"), Entities: pulumi.IntArray{ pulumi.Int(app.ApplicationId), }, Metric: pulumi.String("apdex"), RunbookUrl: pulumi.String("https://www.example.com"), ConditionScope: pulumi.String("application"), Terms: AlertConditionTermArray{ &AlertConditionTermArgs{ Duration: pulumi.Int(5), Operator: pulumi.String("below"), Priority: pulumi.String("critical"), Threshold: pulumi.Float64(0.75), TimeFunction: pulumi.String("all"), }, }, }) if err != nil { return err } return nil }) }
``` ## Terms
The `term` mapping supports the following arguments:
- `duration` - (Required) In minutes, must be in the range of `5` to `120`, inclusive.
- `operator` - (Optional) `above`, `below`, or `equal`. Defaults to `equal`.
- `priority` - (Optional) `critical` or `warning`. Defaults to `critical`. Terms must include at least one `critical` priority term
- `threshold` - (Required) Must be 0 or greater.
- `timeFunction` - (Required) `all` or `any`.
## Import
Alert conditions can be imported using notation `alert_policy_id:alert_condition_id`, e.g.
```sh
$ pulumi import newrelic:index/alertCondition:AlertCondition main 123456:6789012345
```
func GetAlertCondition ¶
func GetAlertCondition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlertConditionState, opts ...pulumi.ResourceOption) (*AlertCondition, error)
GetAlertCondition gets an existing AlertCondition 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 NewAlertCondition ¶
func NewAlertCondition(ctx *pulumi.Context, name string, args *AlertConditionArgs, opts ...pulumi.ResourceOption) (*AlertCondition, error)
NewAlertCondition registers a new resource with the given unique name, arguments, and options.
func (*AlertCondition) ElementType ¶
func (*AlertCondition) ElementType() reflect.Type
func (*AlertCondition) ToAlertConditionOutput ¶
func (i *AlertCondition) ToAlertConditionOutput() AlertConditionOutput
func (*AlertCondition) ToAlertConditionOutputWithContext ¶
func (i *AlertCondition) ToAlertConditionOutputWithContext(ctx context.Context) AlertConditionOutput
type AlertConditionArgs ¶
type AlertConditionArgs struct { // `application` or `instance`. Choose `application` for most scenarios. If you are using the JVM plugin in New Relic, the `instance` setting allows your condition to trigger [for specific app instances](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/scope-alert-thresholds-specific-instances). ConditionScope pulumi.StringPtrInput // Whether the condition is enabled or not. Defaults to true. Enabled pulumi.BoolPtrInput // The instance IDs associated with this condition. Entities pulumi.IntArrayInput // A valid Garbage Collection metric e.g. `GC/G1 Young Generation`. GcMetric pulumi.StringPtrInput // The metric field accepts parameters based on the `type` set. One of these metrics based on `type`: // * `apmAppMetric` // * `apdex` // * `errorPercentage` // * `responseTimeBackground` // * `responseTimeWeb` // * `throughputBackground` // * `throughputWeb` // * `userDefined` // * `apmJvmMetric` // * `cpuUtilizationTime` // * `deadlockedThreads` // * `gcCpuTime` // * `heapMemoryUsage` // * `apmKtMetric` // * `apdex` // * `errorCount` // * `errorPercentage` // * `responseTime` // * `throughput` // * `browserMetric` // * `ajaxResponseTime` // * `ajaxThroughput` // * `domProcessing` // * `endUserApdex` // * `network` // * `pageRendering` // * `pageViewThroughput` // * `pageViewsWithJsErrors` // * `requestQueuing` // * `totalPageLoad` // * `userDefined` // * `webApplication` // * `mobileMetric` // * `database` // * `images` // * `json` // * `mobileCrashRate` // * `networkErrorPercentage` // * `network` // * `statusErrorPercentage` // * `userDefined` // * `viewLoading` Metric pulumi.StringInput // The title of the condition. Must be between 1 and 64 characters, inclusive. Name pulumi.StringPtrInput // The ID of the policy where this condition should be used. PolicyId pulumi.IntInput // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrInput // A list of terms for this condition. See Terms below for details. Terms AlertConditionTermArrayInput // The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric` Type pulumi.StringInput // A custom metric to be evaluated. UserDefinedMetric pulumi.StringPtrInput // One of: `average`, `min`, `max`, `total`, or `sampleSize`. UserDefinedValueFunction pulumi.StringPtrInput // Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`. ViolationCloseTimer pulumi.IntPtrInput }
The set of arguments for constructing a AlertCondition resource.
func (AlertConditionArgs) ElementType ¶
func (AlertConditionArgs) ElementType() reflect.Type
type AlertConditionArray ¶
type AlertConditionArray []AlertConditionInput
func (AlertConditionArray) ElementType ¶
func (AlertConditionArray) ElementType() reflect.Type
func (AlertConditionArray) ToAlertConditionArrayOutput ¶
func (i AlertConditionArray) ToAlertConditionArrayOutput() AlertConditionArrayOutput
func (AlertConditionArray) ToAlertConditionArrayOutputWithContext ¶
func (i AlertConditionArray) ToAlertConditionArrayOutputWithContext(ctx context.Context) AlertConditionArrayOutput
type AlertConditionArrayInput ¶
type AlertConditionArrayInput interface { pulumi.Input ToAlertConditionArrayOutput() AlertConditionArrayOutput ToAlertConditionArrayOutputWithContext(context.Context) AlertConditionArrayOutput }
AlertConditionArrayInput is an input type that accepts AlertConditionArray and AlertConditionArrayOutput values. You can construct a concrete instance of `AlertConditionArrayInput` via:
AlertConditionArray{ AlertConditionArgs{...} }
type AlertConditionArrayOutput ¶
type AlertConditionArrayOutput struct{ *pulumi.OutputState }
func (AlertConditionArrayOutput) ElementType ¶
func (AlertConditionArrayOutput) ElementType() reflect.Type
func (AlertConditionArrayOutput) Index ¶
func (o AlertConditionArrayOutput) Index(i pulumi.IntInput) AlertConditionOutput
func (AlertConditionArrayOutput) ToAlertConditionArrayOutput ¶
func (o AlertConditionArrayOutput) ToAlertConditionArrayOutput() AlertConditionArrayOutput
func (AlertConditionArrayOutput) ToAlertConditionArrayOutputWithContext ¶
func (o AlertConditionArrayOutput) ToAlertConditionArrayOutputWithContext(ctx context.Context) AlertConditionArrayOutput
type AlertConditionInput ¶
type AlertConditionInput interface { pulumi.Input ToAlertConditionOutput() AlertConditionOutput ToAlertConditionOutputWithContext(ctx context.Context) AlertConditionOutput }
type AlertConditionMap ¶
type AlertConditionMap map[string]AlertConditionInput
func (AlertConditionMap) ElementType ¶
func (AlertConditionMap) ElementType() reflect.Type
func (AlertConditionMap) ToAlertConditionMapOutput ¶
func (i AlertConditionMap) ToAlertConditionMapOutput() AlertConditionMapOutput
func (AlertConditionMap) ToAlertConditionMapOutputWithContext ¶
func (i AlertConditionMap) ToAlertConditionMapOutputWithContext(ctx context.Context) AlertConditionMapOutput
type AlertConditionMapInput ¶
type AlertConditionMapInput interface { pulumi.Input ToAlertConditionMapOutput() AlertConditionMapOutput ToAlertConditionMapOutputWithContext(context.Context) AlertConditionMapOutput }
AlertConditionMapInput is an input type that accepts AlertConditionMap and AlertConditionMapOutput values. You can construct a concrete instance of `AlertConditionMapInput` via:
AlertConditionMap{ "key": AlertConditionArgs{...} }
type AlertConditionMapOutput ¶
type AlertConditionMapOutput struct{ *pulumi.OutputState }
func (AlertConditionMapOutput) ElementType ¶
func (AlertConditionMapOutput) ElementType() reflect.Type
func (AlertConditionMapOutput) MapIndex ¶
func (o AlertConditionMapOutput) MapIndex(k pulumi.StringInput) AlertConditionOutput
func (AlertConditionMapOutput) ToAlertConditionMapOutput ¶
func (o AlertConditionMapOutput) ToAlertConditionMapOutput() AlertConditionMapOutput
func (AlertConditionMapOutput) ToAlertConditionMapOutputWithContext ¶
func (o AlertConditionMapOutput) ToAlertConditionMapOutputWithContext(ctx context.Context) AlertConditionMapOutput
type AlertConditionOutput ¶
type AlertConditionOutput struct{ *pulumi.OutputState }
func (AlertConditionOutput) ConditionScope ¶ added in v4.15.0
func (o AlertConditionOutput) ConditionScope() pulumi.StringPtrOutput
`application` or `instance`. Choose `application` for most scenarios. If you are using the JVM plugin in New Relic, the `instance` setting allows your condition to trigger [for specific app instances](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/scope-alert-thresholds-specific-instances).
func (AlertConditionOutput) ElementType ¶
func (AlertConditionOutput) ElementType() reflect.Type
func (AlertConditionOutput) Enabled ¶ added in v4.15.0
func (o AlertConditionOutput) Enabled() pulumi.BoolPtrOutput
Whether the condition is enabled or not. Defaults to true.
func (AlertConditionOutput) Entities ¶ added in v4.15.0
func (o AlertConditionOutput) Entities() pulumi.IntArrayOutput
The instance IDs associated with this condition.
func (AlertConditionOutput) GcMetric ¶ added in v4.15.0
func (o AlertConditionOutput) GcMetric() pulumi.StringPtrOutput
A valid Garbage Collection metric e.g. `GC/G1 Young Generation`.
func (AlertConditionOutput) Metric ¶ added in v4.15.0
func (o AlertConditionOutput) Metric() pulumi.StringOutput
The metric field accepts parameters based on the `type` set. One of these metrics based on `type`: * `apmAppMetric` * `apdex` * `errorPercentage` * `responseTimeBackground` * `responseTimeWeb` * `throughputBackground` * `throughputWeb` * `userDefined` * `apmJvmMetric` * `cpuUtilizationTime` * `deadlockedThreads` * `gcCpuTime` * `heapMemoryUsage` * `apmKtMetric` * `apdex` * `errorCount` * `errorPercentage` * `responseTime` * `throughput` * `browserMetric` * `ajaxResponseTime` * `ajaxThroughput` * `domProcessing` * `endUserApdex` * `network` * `pageRendering` * `pageViewThroughput` * `pageViewsWithJsErrors` * `requestQueuing` * `totalPageLoad` * `userDefined` * `webApplication` * `mobileMetric` * `database` * `images` * `json` * `mobileCrashRate` * `networkErrorPercentage` * `network` * `statusErrorPercentage` * `userDefined` * `viewLoading`
func (AlertConditionOutput) Name ¶ added in v4.15.0
func (o AlertConditionOutput) Name() pulumi.StringOutput
The title of the condition. Must be between 1 and 64 characters, inclusive.
func (AlertConditionOutput) PolicyId ¶ added in v4.15.0
func (o AlertConditionOutput) PolicyId() pulumi.IntOutput
The ID of the policy where this condition should be used.
func (AlertConditionOutput) RunbookUrl ¶ added in v4.15.0
func (o AlertConditionOutput) RunbookUrl() pulumi.StringPtrOutput
Runbook URL to display in notifications.
func (AlertConditionOutput) Terms ¶ added in v4.15.0
func (o AlertConditionOutput) Terms() AlertConditionTermArrayOutput
A list of terms for this condition. See Terms below for details.
func (AlertConditionOutput) ToAlertConditionOutput ¶
func (o AlertConditionOutput) ToAlertConditionOutput() AlertConditionOutput
func (AlertConditionOutput) ToAlertConditionOutputWithContext ¶
func (o AlertConditionOutput) ToAlertConditionOutputWithContext(ctx context.Context) AlertConditionOutput
func (AlertConditionOutput) Type ¶ added in v4.15.0
func (o AlertConditionOutput) Type() pulumi.StringOutput
The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric`
func (AlertConditionOutput) UserDefinedMetric ¶ added in v4.15.0
func (o AlertConditionOutput) UserDefinedMetric() pulumi.StringPtrOutput
A custom metric to be evaluated.
func (AlertConditionOutput) UserDefinedValueFunction ¶ added in v4.15.0
func (o AlertConditionOutput) UserDefinedValueFunction() pulumi.StringPtrOutput
One of: `average`, `min`, `max`, `total`, or `sampleSize`.
func (AlertConditionOutput) ViolationCloseTimer ¶ added in v4.15.0
func (o AlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput
Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`.
type AlertConditionState ¶
type AlertConditionState struct { // `application` or `instance`. Choose `application` for most scenarios. If you are using the JVM plugin in New Relic, the `instance` setting allows your condition to trigger [for specific app instances](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/scope-alert-thresholds-specific-instances). ConditionScope pulumi.StringPtrInput // Whether the condition is enabled or not. Defaults to true. Enabled pulumi.BoolPtrInput // The instance IDs associated with this condition. Entities pulumi.IntArrayInput // A valid Garbage Collection metric e.g. `GC/G1 Young Generation`. GcMetric pulumi.StringPtrInput // The metric field accepts parameters based on the `type` set. One of these metrics based on `type`: // * `apmAppMetric` // * `apdex` // * `errorPercentage` // * `responseTimeBackground` // * `responseTimeWeb` // * `throughputBackground` // * `throughputWeb` // * `userDefined` // * `apmJvmMetric` // * `cpuUtilizationTime` // * `deadlockedThreads` // * `gcCpuTime` // * `heapMemoryUsage` // * `apmKtMetric` // * `apdex` // * `errorCount` // * `errorPercentage` // * `responseTime` // * `throughput` // * `browserMetric` // * `ajaxResponseTime` // * `ajaxThroughput` // * `domProcessing` // * `endUserApdex` // * `network` // * `pageRendering` // * `pageViewThroughput` // * `pageViewsWithJsErrors` // * `requestQueuing` // * `totalPageLoad` // * `userDefined` // * `webApplication` // * `mobileMetric` // * `database` // * `images` // * `json` // * `mobileCrashRate` // * `networkErrorPercentage` // * `network` // * `statusErrorPercentage` // * `userDefined` // * `viewLoading` Metric pulumi.StringPtrInput // The title of the condition. Must be between 1 and 64 characters, inclusive. Name pulumi.StringPtrInput // The ID of the policy where this condition should be used. PolicyId pulumi.IntPtrInput // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrInput // A list of terms for this condition. See Terms below for details. Terms AlertConditionTermArrayInput // The type of condition. One of: `apmAppMetric`, `apmJvmMetric`, `apmKtMetric`, `browserMetric`, `mobileMetric` Type pulumi.StringPtrInput // A custom metric to be evaluated. UserDefinedMetric pulumi.StringPtrInput // One of: `average`, `min`, `max`, `total`, or `sampleSize`. UserDefinedValueFunction pulumi.StringPtrInput // Automatically close instance-based violations, including JVM health metric violations, after the number of hours specified. Must be: `1`, `2`, `4`, `8`, `12` or `24`. ViolationCloseTimer pulumi.IntPtrInput }
func (AlertConditionState) ElementType ¶
func (AlertConditionState) ElementType() reflect.Type
type AlertConditionTerm ¶
type AlertConditionTermArgs ¶
type AlertConditionTermArgs struct { Duration pulumi.IntInput `pulumi:"duration"` Operator pulumi.StringPtrInput `pulumi:"operator"` Priority pulumi.StringPtrInput `pulumi:"priority"` Threshold pulumi.Float64Input `pulumi:"threshold"` TimeFunction pulumi.StringInput `pulumi:"timeFunction"` }
func (AlertConditionTermArgs) ElementType ¶
func (AlertConditionTermArgs) ElementType() reflect.Type
func (AlertConditionTermArgs) ToAlertConditionTermOutput ¶
func (i AlertConditionTermArgs) ToAlertConditionTermOutput() AlertConditionTermOutput
func (AlertConditionTermArgs) ToAlertConditionTermOutputWithContext ¶
func (i AlertConditionTermArgs) ToAlertConditionTermOutputWithContext(ctx context.Context) AlertConditionTermOutput
type AlertConditionTermArray ¶
type AlertConditionTermArray []AlertConditionTermInput
func (AlertConditionTermArray) ElementType ¶
func (AlertConditionTermArray) ElementType() reflect.Type
func (AlertConditionTermArray) ToAlertConditionTermArrayOutput ¶
func (i AlertConditionTermArray) ToAlertConditionTermArrayOutput() AlertConditionTermArrayOutput
func (AlertConditionTermArray) ToAlertConditionTermArrayOutputWithContext ¶
func (i AlertConditionTermArray) ToAlertConditionTermArrayOutputWithContext(ctx context.Context) AlertConditionTermArrayOutput
type AlertConditionTermArrayInput ¶
type AlertConditionTermArrayInput interface { pulumi.Input ToAlertConditionTermArrayOutput() AlertConditionTermArrayOutput ToAlertConditionTermArrayOutputWithContext(context.Context) AlertConditionTermArrayOutput }
AlertConditionTermArrayInput is an input type that accepts AlertConditionTermArray and AlertConditionTermArrayOutput values. You can construct a concrete instance of `AlertConditionTermArrayInput` via:
AlertConditionTermArray{ AlertConditionTermArgs{...} }
type AlertConditionTermArrayOutput ¶
type AlertConditionTermArrayOutput struct{ *pulumi.OutputState }
func (AlertConditionTermArrayOutput) ElementType ¶
func (AlertConditionTermArrayOutput) ElementType() reflect.Type
func (AlertConditionTermArrayOutput) Index ¶
func (o AlertConditionTermArrayOutput) Index(i pulumi.IntInput) AlertConditionTermOutput
func (AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutput ¶
func (o AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutput() AlertConditionTermArrayOutput
func (AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutputWithContext ¶
func (o AlertConditionTermArrayOutput) ToAlertConditionTermArrayOutputWithContext(ctx context.Context) AlertConditionTermArrayOutput
type AlertConditionTermInput ¶
type AlertConditionTermInput interface { pulumi.Input ToAlertConditionTermOutput() AlertConditionTermOutput ToAlertConditionTermOutputWithContext(context.Context) AlertConditionTermOutput }
AlertConditionTermInput is an input type that accepts AlertConditionTermArgs and AlertConditionTermOutput values. You can construct a concrete instance of `AlertConditionTermInput` via:
AlertConditionTermArgs{...}
type AlertConditionTermOutput ¶
type AlertConditionTermOutput struct{ *pulumi.OutputState }
func (AlertConditionTermOutput) Duration ¶
func (o AlertConditionTermOutput) Duration() pulumi.IntOutput
func (AlertConditionTermOutput) ElementType ¶
func (AlertConditionTermOutput) ElementType() reflect.Type
func (AlertConditionTermOutput) Operator ¶
func (o AlertConditionTermOutput) Operator() pulumi.StringPtrOutput
func (AlertConditionTermOutput) Priority ¶
func (o AlertConditionTermOutput) Priority() pulumi.StringPtrOutput
func (AlertConditionTermOutput) Threshold ¶
func (o AlertConditionTermOutput) Threshold() pulumi.Float64Output
func (AlertConditionTermOutput) TimeFunction ¶
func (o AlertConditionTermOutput) TimeFunction() pulumi.StringOutput
func (AlertConditionTermOutput) ToAlertConditionTermOutput ¶
func (o AlertConditionTermOutput) ToAlertConditionTermOutput() AlertConditionTermOutput
func (AlertConditionTermOutput) ToAlertConditionTermOutputWithContext ¶
func (o AlertConditionTermOutput) ToAlertConditionTermOutputWithContext(ctx context.Context) AlertConditionTermOutput
type AlertMutingRule ¶
type AlertMutingRule struct { pulumi.CustomResourceState // The account id of the MutingRule. AccountId pulumi.IntOutput `pulumi:"accountId"` // The condition that defines which violations to target. See Nested condition blocks below for details. Condition AlertMutingRuleConditionOutput `pulumi:"condition"` // The description of the MutingRule. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether the MutingRule is enabled. Enabled pulumi.BoolOutput `pulumi:"enabled"` // The name of the MutingRule. Name pulumi.StringOutput `pulumi:"name"` // Specify a schedule for enabling the MutingRule. See Schedule below for details Schedule AlertMutingRuleSchedulePtrOutput `pulumi:"schedule"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertMutingRule(ctx, "foo", &newrelic.AlertMutingRuleArgs{ Condition: &AlertMutingRuleConditionArgs{ Conditions: AlertMutingRuleConditionConditionArray{ &AlertMutingRuleConditionConditionArgs{ Attribute: pulumi.String("product"), Operator: pulumi.String("EQUALS"), Values: pulumi.StringArray{ pulumi.String("APM"), }, }, &AlertMutingRuleConditionConditionArgs{ Attribute: pulumi.String("targetId"), Operator: pulumi.String("EQUALS"), Values: pulumi.StringArray{ pulumi.String("Muted"), }, }, }, Operator: pulumi.String("AND"), }, Description: pulumi.String("muting rule test."), Enabled: pulumi.Bool(true), Schedule: &AlertMutingRuleScheduleArgs{ EndTime: pulumi.String("2021-01-28T16:30:00"), Repeat: pulumi.String("WEEKLY"), RepeatCount: pulumi.Int(42), StartTime: pulumi.String("2021-01-28T15:30:00"), TimeZone: pulumi.String("America/Los_Angeles"), WeeklyRepeatDays: pulumi.StringArray{ pulumi.String("MONDAY"), pulumi.String("WEDNESDAY"), pulumi.String("FRIDAY"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Alert conditions can be imported using a composite ID of `<account_id>:<muting_rule_id>`, e.g.
```sh
$ pulumi import newrelic:index/alertMutingRule:AlertMutingRule foo 538291:6789035
```
func GetAlertMutingRule ¶
func GetAlertMutingRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlertMutingRuleState, opts ...pulumi.ResourceOption) (*AlertMutingRule, error)
GetAlertMutingRule gets an existing AlertMutingRule 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 NewAlertMutingRule ¶
func NewAlertMutingRule(ctx *pulumi.Context, name string, args *AlertMutingRuleArgs, opts ...pulumi.ResourceOption) (*AlertMutingRule, error)
NewAlertMutingRule registers a new resource with the given unique name, arguments, and options.
func (*AlertMutingRule) ElementType ¶
func (*AlertMutingRule) ElementType() reflect.Type
func (*AlertMutingRule) ToAlertMutingRuleOutput ¶
func (i *AlertMutingRule) ToAlertMutingRuleOutput() AlertMutingRuleOutput
func (*AlertMutingRule) ToAlertMutingRuleOutputWithContext ¶
func (i *AlertMutingRule) ToAlertMutingRuleOutputWithContext(ctx context.Context) AlertMutingRuleOutput
type AlertMutingRuleArgs ¶
type AlertMutingRuleArgs struct { // The account id of the MutingRule. AccountId pulumi.IntPtrInput // The condition that defines which violations to target. See Nested condition blocks below for details. Condition AlertMutingRuleConditionInput // The description of the MutingRule. Description pulumi.StringPtrInput // Whether the MutingRule is enabled. Enabled pulumi.BoolInput // The name of the MutingRule. Name pulumi.StringPtrInput // Specify a schedule for enabling the MutingRule. See Schedule below for details Schedule AlertMutingRuleSchedulePtrInput }
The set of arguments for constructing a AlertMutingRule resource.
func (AlertMutingRuleArgs) ElementType ¶
func (AlertMutingRuleArgs) ElementType() reflect.Type
type AlertMutingRuleArray ¶
type AlertMutingRuleArray []AlertMutingRuleInput
func (AlertMutingRuleArray) ElementType ¶
func (AlertMutingRuleArray) ElementType() reflect.Type
func (AlertMutingRuleArray) ToAlertMutingRuleArrayOutput ¶
func (i AlertMutingRuleArray) ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput
func (AlertMutingRuleArray) ToAlertMutingRuleArrayOutputWithContext ¶
func (i AlertMutingRuleArray) ToAlertMutingRuleArrayOutputWithContext(ctx context.Context) AlertMutingRuleArrayOutput
type AlertMutingRuleArrayInput ¶
type AlertMutingRuleArrayInput interface { pulumi.Input ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput ToAlertMutingRuleArrayOutputWithContext(context.Context) AlertMutingRuleArrayOutput }
AlertMutingRuleArrayInput is an input type that accepts AlertMutingRuleArray and AlertMutingRuleArrayOutput values. You can construct a concrete instance of `AlertMutingRuleArrayInput` via:
AlertMutingRuleArray{ AlertMutingRuleArgs{...} }
type AlertMutingRuleArrayOutput ¶
type AlertMutingRuleArrayOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleArrayOutput) ElementType ¶
func (AlertMutingRuleArrayOutput) ElementType() reflect.Type
func (AlertMutingRuleArrayOutput) Index ¶
func (o AlertMutingRuleArrayOutput) Index(i pulumi.IntInput) AlertMutingRuleOutput
func (AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutput ¶
func (o AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutput() AlertMutingRuleArrayOutput
func (AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutputWithContext ¶
func (o AlertMutingRuleArrayOutput) ToAlertMutingRuleArrayOutputWithContext(ctx context.Context) AlertMutingRuleArrayOutput
type AlertMutingRuleCondition ¶
type AlertMutingRuleCondition struct { // The individual MutingRuleConditions within the group. See Nested conditions blocks below for details. Conditions []AlertMutingRuleConditionCondition `pulumi:"conditions"` // The operator used to combine all the MutingRuleConditions within the group. Operator string `pulumi:"operator"` }
type AlertMutingRuleConditionArgs ¶
type AlertMutingRuleConditionArgs struct { // The individual MutingRuleConditions within the group. See Nested conditions blocks below for details. Conditions AlertMutingRuleConditionConditionArrayInput `pulumi:"conditions"` // The operator used to combine all the MutingRuleConditions within the group. Operator pulumi.StringInput `pulumi:"operator"` }
func (AlertMutingRuleConditionArgs) ElementType ¶
func (AlertMutingRuleConditionArgs) ElementType() reflect.Type
func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutput ¶
func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput
func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutputWithContext ¶
func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionOutput
func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutput ¶
func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput
func (AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutputWithContext ¶
func (i AlertMutingRuleConditionArgs) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput
type AlertMutingRuleConditionCondition ¶
type AlertMutingRuleConditionCondition struct { // The attribute on a violation. Valid values are `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName` Attribute string `pulumi:"attribute"` // The operator used to compare the attribute's value with the supplied value(s). Valid values are `ANY`, `CONTAINS`, `ENDS_WITH`, `EQUALS`, `IN`, `IS_BLANK`, `IS_NOT_BLANK`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_EQUALS`, `NOT_IN`, `NOT_STARTS_WITH`, `STARTS_WITH` Operator string `pulumi:"operator"` // The value(s) to compare against the attribute's value. Values []string `pulumi:"values"` }
type AlertMutingRuleConditionConditionArgs ¶
type AlertMutingRuleConditionConditionArgs struct { // The attribute on a violation. Valid values are `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName` Attribute pulumi.StringInput `pulumi:"attribute"` // The operator used to compare the attribute's value with the supplied value(s). Valid values are `ANY`, `CONTAINS`, `ENDS_WITH`, `EQUALS`, `IN`, `IS_BLANK`, `IS_NOT_BLANK`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_EQUALS`, `NOT_IN`, `NOT_STARTS_WITH`, `STARTS_WITH` Operator pulumi.StringInput `pulumi:"operator"` // The value(s) to compare against the attribute's value. Values pulumi.StringArrayInput `pulumi:"values"` }
func (AlertMutingRuleConditionConditionArgs) ElementType ¶
func (AlertMutingRuleConditionConditionArgs) ElementType() reflect.Type
func (AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutput ¶
func (i AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput
func (AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutputWithContext ¶
func (i AlertMutingRuleConditionConditionArgs) ToAlertMutingRuleConditionConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionOutput
type AlertMutingRuleConditionConditionArray ¶
type AlertMutingRuleConditionConditionArray []AlertMutingRuleConditionConditionInput
func (AlertMutingRuleConditionConditionArray) ElementType ¶
func (AlertMutingRuleConditionConditionArray) ElementType() reflect.Type
func (AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutput ¶
func (i AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput
func (AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutputWithContext ¶
func (i AlertMutingRuleConditionConditionArray) ToAlertMutingRuleConditionConditionArrayOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionArrayOutput
type AlertMutingRuleConditionConditionArrayInput ¶
type AlertMutingRuleConditionConditionArrayInput interface { pulumi.Input ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput ToAlertMutingRuleConditionConditionArrayOutputWithContext(context.Context) AlertMutingRuleConditionConditionArrayOutput }
AlertMutingRuleConditionConditionArrayInput is an input type that accepts AlertMutingRuleConditionConditionArray and AlertMutingRuleConditionConditionArrayOutput values. You can construct a concrete instance of `AlertMutingRuleConditionConditionArrayInput` via:
AlertMutingRuleConditionConditionArray{ AlertMutingRuleConditionConditionArgs{...} }
type AlertMutingRuleConditionConditionArrayOutput ¶
type AlertMutingRuleConditionConditionArrayOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleConditionConditionArrayOutput) ElementType ¶
func (AlertMutingRuleConditionConditionArrayOutput) ElementType() reflect.Type
func (AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutput ¶
func (o AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutput() AlertMutingRuleConditionConditionArrayOutput
func (AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutputWithContext ¶
func (o AlertMutingRuleConditionConditionArrayOutput) ToAlertMutingRuleConditionConditionArrayOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionArrayOutput
type AlertMutingRuleConditionConditionInput ¶
type AlertMutingRuleConditionConditionInput interface { pulumi.Input ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput ToAlertMutingRuleConditionConditionOutputWithContext(context.Context) AlertMutingRuleConditionConditionOutput }
AlertMutingRuleConditionConditionInput is an input type that accepts AlertMutingRuleConditionConditionArgs and AlertMutingRuleConditionConditionOutput values. You can construct a concrete instance of `AlertMutingRuleConditionConditionInput` via:
AlertMutingRuleConditionConditionArgs{...}
type AlertMutingRuleConditionConditionOutput ¶
type AlertMutingRuleConditionConditionOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleConditionConditionOutput) Attribute ¶
func (o AlertMutingRuleConditionConditionOutput) Attribute() pulumi.StringOutput
The attribute on a violation. Valid values are `accountId`, `conditionId`, `conditionName`, `conditionRunbookUrl`, `conditionType`, `entity.guid`, `nrqlEventType`, `nrqlQuery`, `policyId`, `policyName`, `product`, `tags.<NAME>`, `targetId`, `targetName`
func (AlertMutingRuleConditionConditionOutput) ElementType ¶
func (AlertMutingRuleConditionConditionOutput) ElementType() reflect.Type
func (AlertMutingRuleConditionConditionOutput) Operator ¶
func (o AlertMutingRuleConditionConditionOutput) Operator() pulumi.StringOutput
The operator used to compare the attribute's value with the supplied value(s). Valid values are `ANY`, `CONTAINS`, `ENDS_WITH`, `EQUALS`, `IN`, `IS_BLANK`, `IS_NOT_BLANK`, `NOT_CONTAINS`, `NOT_ENDS_WITH`, `NOT_EQUALS`, `NOT_IN`, `NOT_STARTS_WITH`, `STARTS_WITH`
func (AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutput ¶
func (o AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutput() AlertMutingRuleConditionConditionOutput
func (AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutputWithContext ¶
func (o AlertMutingRuleConditionConditionOutput) ToAlertMutingRuleConditionConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionConditionOutput
func (AlertMutingRuleConditionConditionOutput) Values ¶
func (o AlertMutingRuleConditionConditionOutput) Values() pulumi.StringArrayOutput
The value(s) to compare against the attribute's value.
type AlertMutingRuleConditionInput ¶
type AlertMutingRuleConditionInput interface { pulumi.Input ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput ToAlertMutingRuleConditionOutputWithContext(context.Context) AlertMutingRuleConditionOutput }
AlertMutingRuleConditionInput is an input type that accepts AlertMutingRuleConditionArgs and AlertMutingRuleConditionOutput values. You can construct a concrete instance of `AlertMutingRuleConditionInput` via:
AlertMutingRuleConditionArgs{...}
type AlertMutingRuleConditionOutput ¶
type AlertMutingRuleConditionOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleConditionOutput) Conditions ¶
func (o AlertMutingRuleConditionOutput) Conditions() AlertMutingRuleConditionConditionArrayOutput
The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
func (AlertMutingRuleConditionOutput) ElementType ¶
func (AlertMutingRuleConditionOutput) ElementType() reflect.Type
func (AlertMutingRuleConditionOutput) Operator ¶
func (o AlertMutingRuleConditionOutput) Operator() pulumi.StringOutput
The operator used to combine all the MutingRuleConditions within the group.
func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutput ¶
func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutput() AlertMutingRuleConditionOutput
func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutputWithContext ¶
func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionOutputWithContext(ctx context.Context) AlertMutingRuleConditionOutput
func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutput ¶
func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput
func (AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutputWithContext ¶
func (o AlertMutingRuleConditionOutput) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput
type AlertMutingRuleConditionPtrInput ¶
type AlertMutingRuleConditionPtrInput interface { pulumi.Input ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput ToAlertMutingRuleConditionPtrOutputWithContext(context.Context) AlertMutingRuleConditionPtrOutput }
AlertMutingRuleConditionPtrInput is an input type that accepts AlertMutingRuleConditionArgs, AlertMutingRuleConditionPtr and AlertMutingRuleConditionPtrOutput values. You can construct a concrete instance of `AlertMutingRuleConditionPtrInput` via:
AlertMutingRuleConditionArgs{...} or: nil
func AlertMutingRuleConditionPtr ¶
func AlertMutingRuleConditionPtr(v *AlertMutingRuleConditionArgs) AlertMutingRuleConditionPtrInput
type AlertMutingRuleConditionPtrOutput ¶
type AlertMutingRuleConditionPtrOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleConditionPtrOutput) Conditions ¶
func (o AlertMutingRuleConditionPtrOutput) Conditions() AlertMutingRuleConditionConditionArrayOutput
The individual MutingRuleConditions within the group. See Nested conditions blocks below for details.
func (AlertMutingRuleConditionPtrOutput) Elem ¶
func (o AlertMutingRuleConditionPtrOutput) Elem() AlertMutingRuleConditionOutput
func (AlertMutingRuleConditionPtrOutput) ElementType ¶
func (AlertMutingRuleConditionPtrOutput) ElementType() reflect.Type
func (AlertMutingRuleConditionPtrOutput) Operator ¶
func (o AlertMutingRuleConditionPtrOutput) Operator() pulumi.StringPtrOutput
The operator used to combine all the MutingRuleConditions within the group.
func (AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutput ¶
func (o AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutput() AlertMutingRuleConditionPtrOutput
func (AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutputWithContext ¶
func (o AlertMutingRuleConditionPtrOutput) ToAlertMutingRuleConditionPtrOutputWithContext(ctx context.Context) AlertMutingRuleConditionPtrOutput
type AlertMutingRuleInput ¶
type AlertMutingRuleInput interface { pulumi.Input ToAlertMutingRuleOutput() AlertMutingRuleOutput ToAlertMutingRuleOutputWithContext(ctx context.Context) AlertMutingRuleOutput }
type AlertMutingRuleMap ¶
type AlertMutingRuleMap map[string]AlertMutingRuleInput
func (AlertMutingRuleMap) ElementType ¶
func (AlertMutingRuleMap) ElementType() reflect.Type
func (AlertMutingRuleMap) ToAlertMutingRuleMapOutput ¶
func (i AlertMutingRuleMap) ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput
func (AlertMutingRuleMap) ToAlertMutingRuleMapOutputWithContext ¶
func (i AlertMutingRuleMap) ToAlertMutingRuleMapOutputWithContext(ctx context.Context) AlertMutingRuleMapOutput
type AlertMutingRuleMapInput ¶
type AlertMutingRuleMapInput interface { pulumi.Input ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput ToAlertMutingRuleMapOutputWithContext(context.Context) AlertMutingRuleMapOutput }
AlertMutingRuleMapInput is an input type that accepts AlertMutingRuleMap and AlertMutingRuleMapOutput values. You can construct a concrete instance of `AlertMutingRuleMapInput` via:
AlertMutingRuleMap{ "key": AlertMutingRuleArgs{...} }
type AlertMutingRuleMapOutput ¶
type AlertMutingRuleMapOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleMapOutput) ElementType ¶
func (AlertMutingRuleMapOutput) ElementType() reflect.Type
func (AlertMutingRuleMapOutput) MapIndex ¶
func (o AlertMutingRuleMapOutput) MapIndex(k pulumi.StringInput) AlertMutingRuleOutput
func (AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutput ¶
func (o AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutput() AlertMutingRuleMapOutput
func (AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutputWithContext ¶
func (o AlertMutingRuleMapOutput) ToAlertMutingRuleMapOutputWithContext(ctx context.Context) AlertMutingRuleMapOutput
type AlertMutingRuleOutput ¶
type AlertMutingRuleOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleOutput) AccountId ¶ added in v4.15.0
func (o AlertMutingRuleOutput) AccountId() pulumi.IntOutput
The account id of the MutingRule.
func (AlertMutingRuleOutput) Condition ¶ added in v4.15.0
func (o AlertMutingRuleOutput) Condition() AlertMutingRuleConditionOutput
The condition that defines which violations to target. See Nested condition blocks below for details.
func (AlertMutingRuleOutput) Description ¶ added in v4.15.0
func (o AlertMutingRuleOutput) Description() pulumi.StringPtrOutput
The description of the MutingRule.
func (AlertMutingRuleOutput) ElementType ¶
func (AlertMutingRuleOutput) ElementType() reflect.Type
func (AlertMutingRuleOutput) Enabled ¶ added in v4.15.0
func (o AlertMutingRuleOutput) Enabled() pulumi.BoolOutput
Whether the MutingRule is enabled.
func (AlertMutingRuleOutput) Name ¶ added in v4.15.0
func (o AlertMutingRuleOutput) Name() pulumi.StringOutput
The name of the MutingRule.
func (AlertMutingRuleOutput) Schedule ¶ added in v4.15.0
func (o AlertMutingRuleOutput) Schedule() AlertMutingRuleSchedulePtrOutput
Specify a schedule for enabling the MutingRule. See Schedule below for details
func (AlertMutingRuleOutput) ToAlertMutingRuleOutput ¶
func (o AlertMutingRuleOutput) ToAlertMutingRuleOutput() AlertMutingRuleOutput
func (AlertMutingRuleOutput) ToAlertMutingRuleOutputWithContext ¶
func (o AlertMutingRuleOutput) ToAlertMutingRuleOutputWithContext(ctx context.Context) AlertMutingRuleOutput
type AlertMutingRuleSchedule ¶
type AlertMutingRuleSchedule struct { // The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount` EndRepeat *string `pulumi:"endRepeat"` // The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00' EndTime *string `pulumi:"endTime"` // The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY Repeat *string `pulumi:"repeat"` // The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat` RepeatCount *int `pulumi:"repeatCount"` // The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00' StartTime *string `pulumi:"startTime"` TimeZone string `pulumi:"timeZone"` // The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY'] WeeklyRepeatDays []string `pulumi:"weeklyRepeatDays"` }
type AlertMutingRuleScheduleArgs ¶
type AlertMutingRuleScheduleArgs struct { // The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount` EndRepeat pulumi.StringPtrInput `pulumi:"endRepeat"` // The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00' EndTime pulumi.StringPtrInput `pulumi:"endTime"` // The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY Repeat pulumi.StringPtrInput `pulumi:"repeat"` // The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat` RepeatCount pulumi.IntPtrInput `pulumi:"repeatCount"` // The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00' StartTime pulumi.StringPtrInput `pulumi:"startTime"` TimeZone pulumi.StringInput `pulumi:"timeZone"` // The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY'] WeeklyRepeatDays pulumi.StringArrayInput `pulumi:"weeklyRepeatDays"` }
func (AlertMutingRuleScheduleArgs) ElementType ¶
func (AlertMutingRuleScheduleArgs) ElementType() reflect.Type
func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutput ¶
func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput
func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutputWithContext ¶
func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleScheduleOutputWithContext(ctx context.Context) AlertMutingRuleScheduleOutput
func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutput ¶
func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput
func (AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutputWithContext ¶
func (i AlertMutingRuleScheduleArgs) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput
type AlertMutingRuleScheduleInput ¶
type AlertMutingRuleScheduleInput interface { pulumi.Input ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput ToAlertMutingRuleScheduleOutputWithContext(context.Context) AlertMutingRuleScheduleOutput }
AlertMutingRuleScheduleInput is an input type that accepts AlertMutingRuleScheduleArgs and AlertMutingRuleScheduleOutput values. You can construct a concrete instance of `AlertMutingRuleScheduleInput` via:
AlertMutingRuleScheduleArgs{...}
type AlertMutingRuleScheduleOutput ¶
type AlertMutingRuleScheduleOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleScheduleOutput) ElementType ¶
func (AlertMutingRuleScheduleOutput) ElementType() reflect.Type
func (AlertMutingRuleScheduleOutput) EndRepeat ¶
func (o AlertMutingRuleScheduleOutput) EndRepeat() pulumi.StringPtrOutput
The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount`
func (AlertMutingRuleScheduleOutput) EndTime ¶
func (o AlertMutingRuleScheduleOutput) EndTime() pulumi.StringPtrOutput
The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'
func (AlertMutingRuleScheduleOutput) Repeat ¶
func (o AlertMutingRuleScheduleOutput) Repeat() pulumi.StringPtrOutput
The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY
func (AlertMutingRuleScheduleOutput) RepeatCount ¶
func (o AlertMutingRuleScheduleOutput) RepeatCount() pulumi.IntPtrOutput
The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat`
func (AlertMutingRuleScheduleOutput) StartTime ¶
func (o AlertMutingRuleScheduleOutput) StartTime() pulumi.StringPtrOutput
The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'
func (AlertMutingRuleScheduleOutput) TimeZone ¶
func (o AlertMutingRuleScheduleOutput) TimeZone() pulumi.StringOutput
func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutput ¶
func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutput() AlertMutingRuleScheduleOutput
func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutputWithContext ¶
func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleScheduleOutputWithContext(ctx context.Context) AlertMutingRuleScheduleOutput
func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutput ¶
func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput
func (AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutputWithContext ¶
func (o AlertMutingRuleScheduleOutput) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput
func (AlertMutingRuleScheduleOutput) WeeklyRepeatDays ¶
func (o AlertMutingRuleScheduleOutput) WeeklyRepeatDays() pulumi.StringArrayOutput
The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']
type AlertMutingRuleSchedulePtrInput ¶
type AlertMutingRuleSchedulePtrInput interface { pulumi.Input ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput ToAlertMutingRuleSchedulePtrOutputWithContext(context.Context) AlertMutingRuleSchedulePtrOutput }
AlertMutingRuleSchedulePtrInput is an input type that accepts AlertMutingRuleScheduleArgs, AlertMutingRuleSchedulePtr and AlertMutingRuleSchedulePtrOutput values. You can construct a concrete instance of `AlertMutingRuleSchedulePtrInput` via:
AlertMutingRuleScheduleArgs{...} or: nil
func AlertMutingRuleSchedulePtr ¶
func AlertMutingRuleSchedulePtr(v *AlertMutingRuleScheduleArgs) AlertMutingRuleSchedulePtrInput
type AlertMutingRuleSchedulePtrOutput ¶
type AlertMutingRuleSchedulePtrOutput struct{ *pulumi.OutputState }
func (AlertMutingRuleSchedulePtrOutput) Elem ¶
func (o AlertMutingRuleSchedulePtrOutput) Elem() AlertMutingRuleScheduleOutput
func (AlertMutingRuleSchedulePtrOutput) ElementType ¶
func (AlertMutingRuleSchedulePtrOutput) ElementType() reflect.Type
func (AlertMutingRuleSchedulePtrOutput) EndRepeat ¶
func (o AlertMutingRuleSchedulePtrOutput) EndRepeat() pulumi.StringPtrOutput
The datetime stamp when the muting rule schedule stops repeating. This is in local ISO 8601 format without an offset. Example: '2020-07-10T15:00:00'. Conflicts with `repeatCount`
func (AlertMutingRuleSchedulePtrOutput) EndTime ¶
func (o AlertMutingRuleSchedulePtrOutput) EndTime() pulumi.StringPtrOutput
The datetime stamp that represents when the muting rule ends. This is in local ISO 8601 format without an offset. Example: '2020-07-15T14:30:00'
func (AlertMutingRuleSchedulePtrOutput) Repeat ¶
func (o AlertMutingRuleSchedulePtrOutput) Repeat() pulumi.StringPtrOutput
The frequency the muting rule schedule repeats. If it does not repeat, omit this field. Options are DAILY, WEEKLY, MONTHLY
func (AlertMutingRuleSchedulePtrOutput) RepeatCount ¶
func (o AlertMutingRuleSchedulePtrOutput) RepeatCount() pulumi.IntPtrOutput
The number of times the muting rule schedule repeats. This includes the original schedule. For example, a repeatCount of 2 will recur one time. Conflicts with `endRepeat`
func (AlertMutingRuleSchedulePtrOutput) StartTime ¶
func (o AlertMutingRuleSchedulePtrOutput) StartTime() pulumi.StringPtrOutput
The datetime stamp that represents when the muting rule starts. This is in local ISO 8601 format without an offset. Example: '2020-07-08T14:30:00'
func (AlertMutingRuleSchedulePtrOutput) TimeZone ¶
func (o AlertMutingRuleSchedulePtrOutput) TimeZone() pulumi.StringPtrOutput
func (AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutput ¶
func (o AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutput() AlertMutingRuleSchedulePtrOutput
func (AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutputWithContext ¶
func (o AlertMutingRuleSchedulePtrOutput) ToAlertMutingRuleSchedulePtrOutputWithContext(ctx context.Context) AlertMutingRuleSchedulePtrOutput
func (AlertMutingRuleSchedulePtrOutput) WeeklyRepeatDays ¶
func (o AlertMutingRuleSchedulePtrOutput) WeeklyRepeatDays() pulumi.StringArrayOutput
The day(s) of the week that a muting rule should repeat when the repeat field is set to 'WEEKLY'. Example: ['MONDAY', 'WEDNESDAY']
type AlertMutingRuleState ¶
type AlertMutingRuleState struct { // The account id of the MutingRule. AccountId pulumi.IntPtrInput // The condition that defines which violations to target. See Nested condition blocks below for details. Condition AlertMutingRuleConditionPtrInput // The description of the MutingRule. Description pulumi.StringPtrInput // Whether the MutingRule is enabled. Enabled pulumi.BoolPtrInput // The name of the MutingRule. Name pulumi.StringPtrInput // Specify a schedule for enabling the MutingRule. See Schedule below for details Schedule AlertMutingRuleSchedulePtrInput }
func (AlertMutingRuleState) ElementType ¶
func (AlertMutingRuleState) ElementType() reflect.Type
type AlertPolicy ¶
type AlertPolicy struct { pulumi.CustomResourceState // The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`. AccountId pulumi.IntOutput `pulumi:"accountId"` // An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs _cannot_ be imported. ChannelIds pulumi.IntArrayOutput `pulumi:"channelIds"` // The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`. IncidentPreference pulumi.StringPtrOutput `pulumi:"incidentPreference"` // The name of the policy. Name pulumi.StringOutput `pulumi:"name"` }
Use this resource to create and manage New Relic alert policies.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewAlertPolicy(ctx, "foo", &newrelic.AlertPolicyArgs{ IncidentPreference: pulumi.String("PER_POLICY"), }) if err != nil { return err } return nil }) }
``` ### Provision multiple notification channels and add those channels to a policy
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { slackChannel, err := newrelic.NewAlertChannel(ctx, "slackChannel", &newrelic.AlertChannelArgs{ Type: pulumi.String("slack"), Config: &AlertChannelConfigArgs{ Url: pulumi.String("https://hooks.slack.com/services/xxxxxxx/yyyyyyyy"), Channel: pulumi.String("example-alerts-channel"), }, }) if err != nil { return err } emailChannel, err := newrelic.NewAlertChannel(ctx, "emailChannel", &newrelic.AlertChannelArgs{ Type: pulumi.String("email"), Config: &AlertChannelConfigArgs{ Recipients: pulumi.String("example@testing.com"), IncludeJsonAttachment: pulumi.String("1"), }, }) if err != nil { return err } _, err = newrelic.NewAlertPolicy(ctx, "policyWithChannels", &newrelic.AlertPolicyArgs{ IncidentPreference: pulumi.String("PER_CONDITION"), ChannelIds: pulumi.IntArray{ slackChannel.ID(), emailChannel.ID(), }, }) if err != nil { return err } return nil }) }
``` ### Reference existing notification channels and add those channel to a policy ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { slackChannel, err := newrelic.LookupAlertChannel(ctx, &GetAlertChannelArgs{ Name: "slack-channel-notification", }, nil) if err != nil { return err } emailChannel, err := newrelic.LookupAlertChannel(ctx, &GetAlertChannelArgs{ Name: "test@example.com", }, nil) if err != nil { return err } _, err = newrelic.NewAlertPolicy(ctx, "policyWithChannels", &newrelic.AlertPolicyArgs{ IncidentPreference: pulumi.String("PER_CONDITION"), ChannelIds: pulumi.IntArray{ pulumi.String(slackChannel.Id), pulumi.String(emailChannel.Id), }, }) if err != nil { return err } return nil }) }
```
## Import
Alert policies can be imported using a composite ID of `<id>:<account_id>`, where `account_id` is the account number scoped to the alert policy resource. Example import
```sh
$ pulumi import newrelic:index/alertPolicy:AlertPolicy foo 23423556:4593020
```
Please note that channel IDs (`channel_ids`) _cannot_ be imported due channels being a separate resource. However, to add channels to an imported alert policy, you can import the policy, add the `channel_ids` attribute with the associated channel IDs, then run `terraform apply`. This will result in the original alert policy being destroyed and a new alert policy being created along with the channels being added to the policy.
func GetAlertPolicy ¶
func GetAlertPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlertPolicyState, opts ...pulumi.ResourceOption) (*AlertPolicy, error)
GetAlertPolicy gets an existing AlertPolicy 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 NewAlertPolicy ¶
func NewAlertPolicy(ctx *pulumi.Context, name string, args *AlertPolicyArgs, opts ...pulumi.ResourceOption) (*AlertPolicy, error)
NewAlertPolicy registers a new resource with the given unique name, arguments, and options.
func (*AlertPolicy) ElementType ¶
func (*AlertPolicy) ElementType() reflect.Type
func (*AlertPolicy) ToAlertPolicyOutput ¶
func (i *AlertPolicy) ToAlertPolicyOutput() AlertPolicyOutput
func (*AlertPolicy) ToAlertPolicyOutputWithContext ¶
func (i *AlertPolicy) ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput
type AlertPolicyArgs ¶
type AlertPolicyArgs struct { // The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`. AccountId pulumi.IntPtrInput // An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs _cannot_ be imported. ChannelIds pulumi.IntArrayInput // The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`. IncidentPreference pulumi.StringPtrInput // The name of the policy. Name pulumi.StringPtrInput }
The set of arguments for constructing a AlertPolicy resource.
func (AlertPolicyArgs) ElementType ¶
func (AlertPolicyArgs) ElementType() reflect.Type
type AlertPolicyArray ¶
type AlertPolicyArray []AlertPolicyInput
func (AlertPolicyArray) ElementType ¶
func (AlertPolicyArray) ElementType() reflect.Type
func (AlertPolicyArray) ToAlertPolicyArrayOutput ¶
func (i AlertPolicyArray) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput
func (AlertPolicyArray) ToAlertPolicyArrayOutputWithContext ¶
func (i AlertPolicyArray) ToAlertPolicyArrayOutputWithContext(ctx context.Context) AlertPolicyArrayOutput
type AlertPolicyArrayInput ¶
type AlertPolicyArrayInput interface { pulumi.Input ToAlertPolicyArrayOutput() AlertPolicyArrayOutput ToAlertPolicyArrayOutputWithContext(context.Context) AlertPolicyArrayOutput }
AlertPolicyArrayInput is an input type that accepts AlertPolicyArray and AlertPolicyArrayOutput values. You can construct a concrete instance of `AlertPolicyArrayInput` via:
AlertPolicyArray{ AlertPolicyArgs{...} }
type AlertPolicyArrayOutput ¶
type AlertPolicyArrayOutput struct{ *pulumi.OutputState }
func (AlertPolicyArrayOutput) ElementType ¶
func (AlertPolicyArrayOutput) ElementType() reflect.Type
func (AlertPolicyArrayOutput) Index ¶
func (o AlertPolicyArrayOutput) Index(i pulumi.IntInput) AlertPolicyOutput
func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutput ¶
func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput
func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext ¶
func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext(ctx context.Context) AlertPolicyArrayOutput
type AlertPolicyChannel ¶
type AlertPolicyChannel struct { pulumi.CustomResourceState // Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntOutput `pulumi:"accountId"` // Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state. ChannelIds pulumi.IntArrayOutput `pulumi:"channelIds"` // The ID of the policy. PolicyId pulumi.IntOutput `pulumi:"policyId"` }
Use this resource to map alert policies to alert channels in New Relic.
## Example Usage
The example below will apply multiple alert channels to an existing New Relic alert policy.
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.LookupAlertPolicy(ctx, &GetAlertPolicyArgs{ Name: "my-alert-policy", }, nil) if err != nil { return err } emailChannel, err := newrelic.NewAlertChannel(ctx, "emailChannel", &newrelic.AlertChannelArgs{ Type: pulumi.String("email"), Config: &AlertChannelConfigArgs{ Recipients: pulumi.String("foo@example.com"), IncludeJsonAttachment: pulumi.String("1"), }, }) if err != nil { return err } slackChannel, err := newrelic.NewAlertChannel(ctx, "slackChannel", &newrelic.AlertChannelArgs{ Type: pulumi.String("slack"), Config: &AlertChannelConfigArgs{ Channel: pulumi.String("#example-channel"), Url: pulumi.String("http://example-org.slack.com"), }, }) if err != nil { return err } _, err = newrelic.NewAlertPolicyChannel(ctx, "foo", &newrelic.AlertPolicyChannelArgs{ PolicyId: pulumi.Any(newrelic_alert_policy.Example_policy.Id), ChannelIds: pulumi.IntArray{ emailChannel.ID(), slackChannel.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
Alert policy channels can be imported using the following notation`<policyID>:<channelID>:<channelID>`, e.g.
```sh
$ pulumi import newrelic:index/alertPolicyChannel:AlertPolicyChannel foo 123456:3462754:2938324
```
When importing `newrelic_alert_policy_channel` resource, the attribute `channel_ids`\* will be set in your Terraform state. You can import multiple channels as long as those channel IDs are included as part of the import ID hash.
func GetAlertPolicyChannel ¶
func GetAlertPolicyChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlertPolicyChannelState, opts ...pulumi.ResourceOption) (*AlertPolicyChannel, error)
GetAlertPolicyChannel gets an existing AlertPolicyChannel 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 NewAlertPolicyChannel ¶
func NewAlertPolicyChannel(ctx *pulumi.Context, name string, args *AlertPolicyChannelArgs, opts ...pulumi.ResourceOption) (*AlertPolicyChannel, error)
NewAlertPolicyChannel registers a new resource with the given unique name, arguments, and options.
func (*AlertPolicyChannel) ElementType ¶
func (*AlertPolicyChannel) ElementType() reflect.Type
func (*AlertPolicyChannel) ToAlertPolicyChannelOutput ¶
func (i *AlertPolicyChannel) ToAlertPolicyChannelOutput() AlertPolicyChannelOutput
func (*AlertPolicyChannel) ToAlertPolicyChannelOutputWithContext ¶
func (i *AlertPolicyChannel) ToAlertPolicyChannelOutputWithContext(ctx context.Context) AlertPolicyChannelOutput
type AlertPolicyChannelArgs ¶
type AlertPolicyChannelArgs struct { // Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state. ChannelIds pulumi.IntArrayInput // The ID of the policy. PolicyId pulumi.IntInput }
The set of arguments for constructing a AlertPolicyChannel resource.
func (AlertPolicyChannelArgs) ElementType ¶
func (AlertPolicyChannelArgs) ElementType() reflect.Type
type AlertPolicyChannelArray ¶
type AlertPolicyChannelArray []AlertPolicyChannelInput
func (AlertPolicyChannelArray) ElementType ¶
func (AlertPolicyChannelArray) ElementType() reflect.Type
func (AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutput ¶
func (i AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput
func (AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutputWithContext ¶
func (i AlertPolicyChannelArray) ToAlertPolicyChannelArrayOutputWithContext(ctx context.Context) AlertPolicyChannelArrayOutput
type AlertPolicyChannelArrayInput ¶
type AlertPolicyChannelArrayInput interface { pulumi.Input ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput ToAlertPolicyChannelArrayOutputWithContext(context.Context) AlertPolicyChannelArrayOutput }
AlertPolicyChannelArrayInput is an input type that accepts AlertPolicyChannelArray and AlertPolicyChannelArrayOutput values. You can construct a concrete instance of `AlertPolicyChannelArrayInput` via:
AlertPolicyChannelArray{ AlertPolicyChannelArgs{...} }
type AlertPolicyChannelArrayOutput ¶
type AlertPolicyChannelArrayOutput struct{ *pulumi.OutputState }
func (AlertPolicyChannelArrayOutput) ElementType ¶
func (AlertPolicyChannelArrayOutput) ElementType() reflect.Type
func (AlertPolicyChannelArrayOutput) Index ¶
func (o AlertPolicyChannelArrayOutput) Index(i pulumi.IntInput) AlertPolicyChannelOutput
func (AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutput ¶
func (o AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutput() AlertPolicyChannelArrayOutput
func (AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutputWithContext ¶
func (o AlertPolicyChannelArrayOutput) ToAlertPolicyChannelArrayOutputWithContext(ctx context.Context) AlertPolicyChannelArrayOutput
type AlertPolicyChannelInput ¶
type AlertPolicyChannelInput interface { pulumi.Input ToAlertPolicyChannelOutput() AlertPolicyChannelOutput ToAlertPolicyChannelOutputWithContext(ctx context.Context) AlertPolicyChannelOutput }
type AlertPolicyChannelMap ¶
type AlertPolicyChannelMap map[string]AlertPolicyChannelInput
func (AlertPolicyChannelMap) ElementType ¶
func (AlertPolicyChannelMap) ElementType() reflect.Type
func (AlertPolicyChannelMap) ToAlertPolicyChannelMapOutput ¶
func (i AlertPolicyChannelMap) ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput
func (AlertPolicyChannelMap) ToAlertPolicyChannelMapOutputWithContext ¶
func (i AlertPolicyChannelMap) ToAlertPolicyChannelMapOutputWithContext(ctx context.Context) AlertPolicyChannelMapOutput
type AlertPolicyChannelMapInput ¶
type AlertPolicyChannelMapInput interface { pulumi.Input ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput ToAlertPolicyChannelMapOutputWithContext(context.Context) AlertPolicyChannelMapOutput }
AlertPolicyChannelMapInput is an input type that accepts AlertPolicyChannelMap and AlertPolicyChannelMapOutput values. You can construct a concrete instance of `AlertPolicyChannelMapInput` via:
AlertPolicyChannelMap{ "key": AlertPolicyChannelArgs{...} }
type AlertPolicyChannelMapOutput ¶
type AlertPolicyChannelMapOutput struct{ *pulumi.OutputState }
func (AlertPolicyChannelMapOutput) ElementType ¶
func (AlertPolicyChannelMapOutput) ElementType() reflect.Type
func (AlertPolicyChannelMapOutput) MapIndex ¶
func (o AlertPolicyChannelMapOutput) MapIndex(k pulumi.StringInput) AlertPolicyChannelOutput
func (AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutput ¶
func (o AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutput() AlertPolicyChannelMapOutput
func (AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutputWithContext ¶
func (o AlertPolicyChannelMapOutput) ToAlertPolicyChannelMapOutputWithContext(ctx context.Context) AlertPolicyChannelMapOutput
type AlertPolicyChannelOutput ¶
type AlertPolicyChannelOutput struct{ *pulumi.OutputState }
func (AlertPolicyChannelOutput) AccountId ¶ added in v4.15.0
func (o AlertPolicyChannelOutput) AccountId() pulumi.IntOutput
Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used.
func (AlertPolicyChannelOutput) ChannelIds ¶ added in v4.15.0
func (o AlertPolicyChannelOutput) ChannelIds() pulumi.IntArrayOutput
Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state.
func (AlertPolicyChannelOutput) ElementType ¶
func (AlertPolicyChannelOutput) ElementType() reflect.Type
func (AlertPolicyChannelOutput) PolicyId ¶ added in v4.15.0
func (o AlertPolicyChannelOutput) PolicyId() pulumi.IntOutput
The ID of the policy.
func (AlertPolicyChannelOutput) ToAlertPolicyChannelOutput ¶
func (o AlertPolicyChannelOutput) ToAlertPolicyChannelOutput() AlertPolicyChannelOutput
func (AlertPolicyChannelOutput) ToAlertPolicyChannelOutputWithContext ¶
func (o AlertPolicyChannelOutput) ToAlertPolicyChannelOutputWithContext(ctx context.Context) AlertPolicyChannelOutput
type AlertPolicyChannelState ¶
type AlertPolicyChannelState struct { // Determines the New Relic account where the alert policy channel will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // Array of channel IDs to apply to the specified policy. We recommended sorting channel IDs in ascending order to avoid drift in your state. ChannelIds pulumi.IntArrayInput // The ID of the policy. PolicyId pulumi.IntPtrInput }
func (AlertPolicyChannelState) ElementType ¶
func (AlertPolicyChannelState) ElementType() reflect.Type
type AlertPolicyInput ¶
type AlertPolicyInput interface { pulumi.Input ToAlertPolicyOutput() AlertPolicyOutput ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput }
type AlertPolicyMap ¶
type AlertPolicyMap map[string]AlertPolicyInput
func (AlertPolicyMap) ElementType ¶
func (AlertPolicyMap) ElementType() reflect.Type
func (AlertPolicyMap) ToAlertPolicyMapOutput ¶
func (i AlertPolicyMap) ToAlertPolicyMapOutput() AlertPolicyMapOutput
func (AlertPolicyMap) ToAlertPolicyMapOutputWithContext ¶
func (i AlertPolicyMap) ToAlertPolicyMapOutputWithContext(ctx context.Context) AlertPolicyMapOutput
type AlertPolicyMapInput ¶
type AlertPolicyMapInput interface { pulumi.Input ToAlertPolicyMapOutput() AlertPolicyMapOutput ToAlertPolicyMapOutputWithContext(context.Context) AlertPolicyMapOutput }
AlertPolicyMapInput is an input type that accepts AlertPolicyMap and AlertPolicyMapOutput values. You can construct a concrete instance of `AlertPolicyMapInput` via:
AlertPolicyMap{ "key": AlertPolicyArgs{...} }
type AlertPolicyMapOutput ¶
type AlertPolicyMapOutput struct{ *pulumi.OutputState }
func (AlertPolicyMapOutput) ElementType ¶
func (AlertPolicyMapOutput) ElementType() reflect.Type
func (AlertPolicyMapOutput) MapIndex ¶
func (o AlertPolicyMapOutput) MapIndex(k pulumi.StringInput) AlertPolicyOutput
func (AlertPolicyMapOutput) ToAlertPolicyMapOutput ¶
func (o AlertPolicyMapOutput) ToAlertPolicyMapOutput() AlertPolicyMapOutput
func (AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext ¶
func (o AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext(ctx context.Context) AlertPolicyMapOutput
type AlertPolicyOutput ¶
type AlertPolicyOutput struct{ *pulumi.OutputState }
func (AlertPolicyOutput) AccountId ¶ added in v4.15.0
func (o AlertPolicyOutput) AccountId() pulumi.IntOutput
The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
func (AlertPolicyOutput) ChannelIds ¶ added in v4.15.0
func (o AlertPolicyOutput) ChannelIds() pulumi.IntArrayOutput
An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs _cannot_ be imported.
func (AlertPolicyOutput) ElementType ¶
func (AlertPolicyOutput) ElementType() reflect.Type
func (AlertPolicyOutput) IncidentPreference ¶ added in v4.15.0
func (o AlertPolicyOutput) IncidentPreference() pulumi.StringPtrOutput
The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`.
func (AlertPolicyOutput) Name ¶ added in v4.15.0
func (o AlertPolicyOutput) Name() pulumi.StringOutput
The name of the policy.
func (AlertPolicyOutput) ToAlertPolicyOutput ¶
func (o AlertPolicyOutput) ToAlertPolicyOutput() AlertPolicyOutput
func (AlertPolicyOutput) ToAlertPolicyOutputWithContext ¶
func (o AlertPolicyOutput) ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput
type AlertPolicyState ¶
type AlertPolicyState struct { // The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`. AccountId pulumi.IntPtrInput // An array of channel IDs (integers) to assign to the policy. Adding or removing channel IDs from this array will result in a new alert policy resource being created and the old one being destroyed. Also note that channel IDs _cannot_ be imported. ChannelIds pulumi.IntArrayInput // The rollup strategy for the policy. Options include: `PER_POLICY`, `PER_CONDITION`, or `PER_CONDITION_AND_TARGET`. The default is `PER_POLICY`. IncidentPreference pulumi.StringPtrInput // The name of the policy. Name pulumi.StringPtrInput }
func (AlertPolicyState) ElementType ¶
func (AlertPolicyState) ElementType() reflect.Type
type ApiAccessKey ¶
type ApiAccessKey struct { pulumi.CustomResourceState // The New Relic account ID of the account you wish to create the API access key. AccountId pulumi.IntOutput `pulumi:"accountId"` // Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive. IngestType pulumi.StringOutput `pulumi:"ingestType"` // The actual API key. This attribute is masked and not be visible in your terminal, CI, etc. Key pulumi.StringOutput `pulumi:"key"` // What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive. KeyType pulumi.StringOutput `pulumi:"keyType"` // The name of the key. Name pulumi.StringOutput `pulumi:"name"` // Any notes about this ingest key. Notes pulumi.StringOutput `pulumi:"notes"` // Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account. UserId pulumi.IntOutput `pulumi:"userId"` }
Use this resource to programmatically create and manage the following types of keys: - [User API keys](https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys#user-api-key) - License (or ingest) keys, including:
- General [license key](https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/license-key) used for APM
- [Browser license key](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/copy-browser-monitoring-license-key-app-id)
Please visit the New Relic article ['Use NerdGraph to manage license keys and User API keys'](https://docs.newrelic.com/docs/apis/nerdgraph/examples/use-nerdgraph-manage-license-keys-user-keys) for more information.
> **IMPORTANT!** Please be very careful when updating existing `ApiAccessKey` resources as only `newrelic_api_access_key.name` and `newrelic_api_access_key.notes` are updatable. All other resource attributes will force a resource recreation which will invalidate the previous API key(s).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewApiAccessKey(ctx, "foobar", &newrelic.ApiAccessKeyArgs{ AccountId: pulumi.Int(1234567), IngestType: pulumi.String("LICENSE"), KeyType: pulumi.String("INGEST"), Notes: pulumi.String("To be used with service X"), }) if err != nil { return err } return nil }) }
```
## Import
Existing API access keys can be imported using a composite ID of `<api_access_key_id>:<key_type>`. `<key_type>` will be either `INGEST` or `USER`. For example
```sh
$ pulumi import newrelic:index/apiAccessKey:ApiAccessKey foobar "1234567:INGEST"
```
func GetApiAccessKey ¶
func GetApiAccessKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApiAccessKeyState, opts ...pulumi.ResourceOption) (*ApiAccessKey, error)
GetApiAccessKey gets an existing ApiAccessKey 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 NewApiAccessKey ¶
func NewApiAccessKey(ctx *pulumi.Context, name string, args *ApiAccessKeyArgs, opts ...pulumi.ResourceOption) (*ApiAccessKey, error)
NewApiAccessKey registers a new resource with the given unique name, arguments, and options.
func (*ApiAccessKey) ElementType ¶
func (*ApiAccessKey) ElementType() reflect.Type
func (*ApiAccessKey) ToApiAccessKeyOutput ¶
func (i *ApiAccessKey) ToApiAccessKeyOutput() ApiAccessKeyOutput
func (*ApiAccessKey) ToApiAccessKeyOutputWithContext ¶
func (i *ApiAccessKey) ToApiAccessKeyOutputWithContext(ctx context.Context) ApiAccessKeyOutput
type ApiAccessKeyArgs ¶
type ApiAccessKeyArgs struct { // The New Relic account ID of the account you wish to create the API access key. AccountId pulumi.IntInput // Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive. IngestType pulumi.StringPtrInput // What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive. KeyType pulumi.StringInput // The name of the key. Name pulumi.StringPtrInput // Any notes about this ingest key. Notes pulumi.StringPtrInput // Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account. UserId pulumi.IntPtrInput }
The set of arguments for constructing a ApiAccessKey resource.
func (ApiAccessKeyArgs) ElementType ¶
func (ApiAccessKeyArgs) ElementType() reflect.Type
type ApiAccessKeyArray ¶
type ApiAccessKeyArray []ApiAccessKeyInput
func (ApiAccessKeyArray) ElementType ¶
func (ApiAccessKeyArray) ElementType() reflect.Type
func (ApiAccessKeyArray) ToApiAccessKeyArrayOutput ¶
func (i ApiAccessKeyArray) ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput
func (ApiAccessKeyArray) ToApiAccessKeyArrayOutputWithContext ¶
func (i ApiAccessKeyArray) ToApiAccessKeyArrayOutputWithContext(ctx context.Context) ApiAccessKeyArrayOutput
type ApiAccessKeyArrayInput ¶
type ApiAccessKeyArrayInput interface { pulumi.Input ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput ToApiAccessKeyArrayOutputWithContext(context.Context) ApiAccessKeyArrayOutput }
ApiAccessKeyArrayInput is an input type that accepts ApiAccessKeyArray and ApiAccessKeyArrayOutput values. You can construct a concrete instance of `ApiAccessKeyArrayInput` via:
ApiAccessKeyArray{ ApiAccessKeyArgs{...} }
type ApiAccessKeyArrayOutput ¶
type ApiAccessKeyArrayOutput struct{ *pulumi.OutputState }
func (ApiAccessKeyArrayOutput) ElementType ¶
func (ApiAccessKeyArrayOutput) ElementType() reflect.Type
func (ApiAccessKeyArrayOutput) Index ¶
func (o ApiAccessKeyArrayOutput) Index(i pulumi.IntInput) ApiAccessKeyOutput
func (ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutput ¶
func (o ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutput() ApiAccessKeyArrayOutput
func (ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutputWithContext ¶
func (o ApiAccessKeyArrayOutput) ToApiAccessKeyArrayOutputWithContext(ctx context.Context) ApiAccessKeyArrayOutput
type ApiAccessKeyInput ¶
type ApiAccessKeyInput interface { pulumi.Input ToApiAccessKeyOutput() ApiAccessKeyOutput ToApiAccessKeyOutputWithContext(ctx context.Context) ApiAccessKeyOutput }
type ApiAccessKeyMap ¶
type ApiAccessKeyMap map[string]ApiAccessKeyInput
func (ApiAccessKeyMap) ElementType ¶
func (ApiAccessKeyMap) ElementType() reflect.Type
func (ApiAccessKeyMap) ToApiAccessKeyMapOutput ¶
func (i ApiAccessKeyMap) ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput
func (ApiAccessKeyMap) ToApiAccessKeyMapOutputWithContext ¶
func (i ApiAccessKeyMap) ToApiAccessKeyMapOutputWithContext(ctx context.Context) ApiAccessKeyMapOutput
type ApiAccessKeyMapInput ¶
type ApiAccessKeyMapInput interface { pulumi.Input ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput ToApiAccessKeyMapOutputWithContext(context.Context) ApiAccessKeyMapOutput }
ApiAccessKeyMapInput is an input type that accepts ApiAccessKeyMap and ApiAccessKeyMapOutput values. You can construct a concrete instance of `ApiAccessKeyMapInput` via:
ApiAccessKeyMap{ "key": ApiAccessKeyArgs{...} }
type ApiAccessKeyMapOutput ¶
type ApiAccessKeyMapOutput struct{ *pulumi.OutputState }
func (ApiAccessKeyMapOutput) ElementType ¶
func (ApiAccessKeyMapOutput) ElementType() reflect.Type
func (ApiAccessKeyMapOutput) MapIndex ¶
func (o ApiAccessKeyMapOutput) MapIndex(k pulumi.StringInput) ApiAccessKeyOutput
func (ApiAccessKeyMapOutput) ToApiAccessKeyMapOutput ¶
func (o ApiAccessKeyMapOutput) ToApiAccessKeyMapOutput() ApiAccessKeyMapOutput
func (ApiAccessKeyMapOutput) ToApiAccessKeyMapOutputWithContext ¶
func (o ApiAccessKeyMapOutput) ToApiAccessKeyMapOutputWithContext(ctx context.Context) ApiAccessKeyMapOutput
type ApiAccessKeyOutput ¶
type ApiAccessKeyOutput struct{ *pulumi.OutputState }
func (ApiAccessKeyOutput) AccountId ¶ added in v4.15.0
func (o ApiAccessKeyOutput) AccountId() pulumi.IntOutput
The New Relic account ID of the account you wish to create the API access key.
func (ApiAccessKeyOutput) ElementType ¶
func (ApiAccessKeyOutput) ElementType() reflect.Type
func (ApiAccessKeyOutput) IngestType ¶ added in v4.15.0
func (o ApiAccessKeyOutput) IngestType() pulumi.StringOutput
Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive.
func (ApiAccessKeyOutput) Key ¶ added in v4.15.0
func (o ApiAccessKeyOutput) Key() pulumi.StringOutput
The actual API key. This attribute is masked and not be visible in your terminal, CI, etc.
func (ApiAccessKeyOutput) KeyType ¶ added in v4.15.0
func (o ApiAccessKeyOutput) KeyType() pulumi.StringOutput
What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive.
func (ApiAccessKeyOutput) Name ¶ added in v4.15.0
func (o ApiAccessKeyOutput) Name() pulumi.StringOutput
The name of the key.
func (ApiAccessKeyOutput) Notes ¶ added in v4.15.0
func (o ApiAccessKeyOutput) Notes() pulumi.StringOutput
Any notes about this ingest key.
func (ApiAccessKeyOutput) ToApiAccessKeyOutput ¶
func (o ApiAccessKeyOutput) ToApiAccessKeyOutput() ApiAccessKeyOutput
func (ApiAccessKeyOutput) ToApiAccessKeyOutputWithContext ¶
func (o ApiAccessKeyOutput) ToApiAccessKeyOutputWithContext(ctx context.Context) ApiAccessKeyOutput
func (ApiAccessKeyOutput) UserId ¶ added in v4.15.0
func (o ApiAccessKeyOutput) UserId() pulumi.IntOutput
Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account.
type ApiAccessKeyState ¶
type ApiAccessKeyState struct { // The New Relic account ID of the account you wish to create the API access key. AccountId pulumi.IntPtrInput // Required if `keyType = INGEST`. Valid options are `BROWSER` or `LICENSE`, case-sensitive. IngestType pulumi.StringPtrInput // The actual API key. This attribute is masked and not be visible in your terminal, CI, etc. Key pulumi.StringPtrInput // What type of API key to create. Valid options are `INGEST` or `USER`, case-sensitive. KeyType pulumi.StringPtrInput // The name of the key. Name pulumi.StringPtrInput // Any notes about this ingest key. Notes pulumi.StringPtrInput // Required if `keyType = USER`. The New Relic user ID yous wish to create the API access key for in an account. UserId pulumi.IntPtrInput }
func (ApiAccessKeyState) ElementType ¶
func (ApiAccessKeyState) ElementType() reflect.Type
type Dashboard ¶
type Dashboard struct { pulumi.CustomResourceState // The URL for viewing the dashboard. DashboardUrl pulumi.StringOutput `pulumi:"dashboardUrl"` // Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or // read_only. Defaults to editable_by_all. Editable pulumi.StringPtrOutput `pulumi:"editable"` // A nested block that describes a dashboard filter. Exactly one nested filter block is allowed. Filter DashboardFilterPtrOutput `pulumi:"filter"` // New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid. GridColumnCount pulumi.IntPtrOutput `pulumi:"gridColumnCount"` // The icon for the dashboard. Icon pulumi.StringPtrOutput `pulumi:"icon"` // The title of the dashboard. Title pulumi.StringOutput `pulumi:"title"` // Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all. Visibility pulumi.StringPtrOutput `pulumi:"visibility"` // A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition. Widgets DashboardWidgetArrayOutput `pulumi:"widgets"` }
New Relic legacy Dashboards reached end of life Wednesday July 28, 2021.
**This resource has been removed.**
For more information, [click here](https://discuss.newrelic.com/t/important-insights-dashboard-api-end-of-life/149357)
func GetDashboard ¶
func GetDashboard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)
GetDashboard gets an existing Dashboard 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 NewDashboard ¶
func NewDashboard(ctx *pulumi.Context, name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)
NewDashboard registers a new resource with the given unique name, arguments, and options.
func (*Dashboard) ElementType ¶
func (*Dashboard) ToDashboardOutput ¶
func (i *Dashboard) ToDashboardOutput() DashboardOutput
func (*Dashboard) ToDashboardOutputWithContext ¶
func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
type DashboardArgs ¶
type DashboardArgs struct { // Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or // read_only. Defaults to editable_by_all. Editable pulumi.StringPtrInput // A nested block that describes a dashboard filter. Exactly one nested filter block is allowed. Filter DashboardFilterPtrInput // New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid. GridColumnCount pulumi.IntPtrInput // The icon for the dashboard. Icon pulumi.StringPtrInput // The title of the dashboard. Title pulumi.StringInput // Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all. Visibility pulumi.StringPtrInput // A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition. Widgets DashboardWidgetArrayInput }
The set of arguments for constructing a Dashboard resource.
func (DashboardArgs) ElementType ¶
func (DashboardArgs) ElementType() reflect.Type
type DashboardArray ¶
type DashboardArray []DashboardInput
func (DashboardArray) ElementType ¶
func (DashboardArray) ElementType() reflect.Type
func (DashboardArray) ToDashboardArrayOutput ¶
func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArray) ToDashboardArrayOutputWithContext ¶
func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardArrayInput ¶
type DashboardArrayInput interface { pulumi.Input ToDashboardArrayOutput() DashboardArrayOutput ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput }
DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:
DashboardArray{ DashboardArgs{...} }
type DashboardArrayOutput ¶
type DashboardArrayOutput struct{ *pulumi.OutputState }
func (DashboardArrayOutput) ElementType ¶
func (DashboardArrayOutput) ElementType() reflect.Type
func (DashboardArrayOutput) Index ¶
func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
func (DashboardArrayOutput) ToDashboardArrayOutput ¶
func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArrayOutput) ToDashboardArrayOutputWithContext ¶
func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardFilter ¶
type DashboardFilterArgs ¶
type DashboardFilterArgs struct { Attributes pulumi.StringArrayInput `pulumi:"attributes"` EventTypes pulumi.StringArrayInput `pulumi:"eventTypes"` }
func (DashboardFilterArgs) ElementType ¶
func (DashboardFilterArgs) ElementType() reflect.Type
func (DashboardFilterArgs) ToDashboardFilterOutput ¶
func (i DashboardFilterArgs) ToDashboardFilterOutput() DashboardFilterOutput
func (DashboardFilterArgs) ToDashboardFilterOutputWithContext ¶
func (i DashboardFilterArgs) ToDashboardFilterOutputWithContext(ctx context.Context) DashboardFilterOutput
func (DashboardFilterArgs) ToDashboardFilterPtrOutput ¶
func (i DashboardFilterArgs) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput
func (DashboardFilterArgs) ToDashboardFilterPtrOutputWithContext ¶
func (i DashboardFilterArgs) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput
type DashboardFilterInput ¶
type DashboardFilterInput interface { pulumi.Input ToDashboardFilterOutput() DashboardFilterOutput ToDashboardFilterOutputWithContext(context.Context) DashboardFilterOutput }
DashboardFilterInput is an input type that accepts DashboardFilterArgs and DashboardFilterOutput values. You can construct a concrete instance of `DashboardFilterInput` via:
DashboardFilterArgs{...}
type DashboardFilterOutput ¶
type DashboardFilterOutput struct{ *pulumi.OutputState }
func (DashboardFilterOutput) Attributes ¶
func (o DashboardFilterOutput) Attributes() pulumi.StringArrayOutput
func (DashboardFilterOutput) ElementType ¶
func (DashboardFilterOutput) ElementType() reflect.Type
func (DashboardFilterOutput) EventTypes ¶
func (o DashboardFilterOutput) EventTypes() pulumi.StringArrayOutput
func (DashboardFilterOutput) ToDashboardFilterOutput ¶
func (o DashboardFilterOutput) ToDashboardFilterOutput() DashboardFilterOutput
func (DashboardFilterOutput) ToDashboardFilterOutputWithContext ¶
func (o DashboardFilterOutput) ToDashboardFilterOutputWithContext(ctx context.Context) DashboardFilterOutput
func (DashboardFilterOutput) ToDashboardFilterPtrOutput ¶
func (o DashboardFilterOutput) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput
func (DashboardFilterOutput) ToDashboardFilterPtrOutputWithContext ¶
func (o DashboardFilterOutput) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput
type DashboardFilterPtrInput ¶
type DashboardFilterPtrInput interface { pulumi.Input ToDashboardFilterPtrOutput() DashboardFilterPtrOutput ToDashboardFilterPtrOutputWithContext(context.Context) DashboardFilterPtrOutput }
DashboardFilterPtrInput is an input type that accepts DashboardFilterArgs, DashboardFilterPtr and DashboardFilterPtrOutput values. You can construct a concrete instance of `DashboardFilterPtrInput` via:
DashboardFilterArgs{...} or: nil
func DashboardFilterPtr ¶
func DashboardFilterPtr(v *DashboardFilterArgs) DashboardFilterPtrInput
type DashboardFilterPtrOutput ¶
type DashboardFilterPtrOutput struct{ *pulumi.OutputState }
func (DashboardFilterPtrOutput) Attributes ¶
func (o DashboardFilterPtrOutput) Attributes() pulumi.StringArrayOutput
func (DashboardFilterPtrOutput) Elem ¶
func (o DashboardFilterPtrOutput) Elem() DashboardFilterOutput
func (DashboardFilterPtrOutput) ElementType ¶
func (DashboardFilterPtrOutput) ElementType() reflect.Type
func (DashboardFilterPtrOutput) EventTypes ¶
func (o DashboardFilterPtrOutput) EventTypes() pulumi.StringArrayOutput
func (DashboardFilterPtrOutput) ToDashboardFilterPtrOutput ¶
func (o DashboardFilterPtrOutput) ToDashboardFilterPtrOutput() DashboardFilterPtrOutput
func (DashboardFilterPtrOutput) ToDashboardFilterPtrOutputWithContext ¶
func (o DashboardFilterPtrOutput) ToDashboardFilterPtrOutputWithContext(ctx context.Context) DashboardFilterPtrOutput
type DashboardInput ¶
type DashboardInput interface { pulumi.Input ToDashboardOutput() DashboardOutput ToDashboardOutputWithContext(ctx context.Context) DashboardOutput }
type DashboardMap ¶
type DashboardMap map[string]DashboardInput
func (DashboardMap) ElementType ¶
func (DashboardMap) ElementType() reflect.Type
func (DashboardMap) ToDashboardMapOutput ¶
func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMap) ToDashboardMapOutputWithContext ¶
func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardMapInput ¶
type DashboardMapInput interface { pulumi.Input ToDashboardMapOutput() DashboardMapOutput ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput }
DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:
DashboardMap{ "key": DashboardArgs{...} }
type DashboardMapOutput ¶
type DashboardMapOutput struct{ *pulumi.OutputState }
func (DashboardMapOutput) ElementType ¶
func (DashboardMapOutput) ElementType() reflect.Type
func (DashboardMapOutput) MapIndex ¶
func (o DashboardMapOutput) MapIndex(k pulumi.StringInput) DashboardOutput
func (DashboardMapOutput) ToDashboardMapOutput ¶
func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMapOutput) ToDashboardMapOutputWithContext ¶
func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardOutput ¶
type DashboardOutput struct{ *pulumi.OutputState }
func (DashboardOutput) DashboardUrl ¶ added in v4.15.0
func (o DashboardOutput) DashboardUrl() pulumi.StringOutput
The URL for viewing the dashboard.
func (DashboardOutput) Editable ¶ added in v4.15.0
func (o DashboardOutput) Editable() pulumi.StringPtrOutput
Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or read_only. Defaults to editable_by_all.
func (DashboardOutput) ElementType ¶
func (DashboardOutput) ElementType() reflect.Type
func (DashboardOutput) Filter ¶ added in v4.15.0
func (o DashboardOutput) Filter() DashboardFilterPtrOutput
A nested block that describes a dashboard filter. Exactly one nested filter block is allowed.
func (DashboardOutput) GridColumnCount ¶ added in v4.15.0
func (o DashboardOutput) GridColumnCount() pulumi.IntPtrOutput
New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid.
func (DashboardOutput) Icon ¶ added in v4.15.0
func (o DashboardOutput) Icon() pulumi.StringPtrOutput
The icon for the dashboard.
func (DashboardOutput) Title ¶ added in v4.15.0
func (o DashboardOutput) Title() pulumi.StringOutput
The title of the dashboard.
func (DashboardOutput) ToDashboardOutput ¶
func (o DashboardOutput) ToDashboardOutput() DashboardOutput
func (DashboardOutput) ToDashboardOutputWithContext ¶
func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
func (DashboardOutput) Visibility ¶ added in v4.15.0
func (o DashboardOutput) Visibility() pulumi.StringPtrOutput
Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all.
func (DashboardOutput) Widgets ¶ added in v4.15.0
func (o DashboardOutput) Widgets() DashboardWidgetArrayOutput
A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition.
type DashboardState ¶
type DashboardState struct { // The URL for viewing the dashboard. DashboardUrl pulumi.StringPtrInput // Determines who can edit the dashboard in an account. Valid values are all, editable_by_all, editable_by_owner, or // read_only. Defaults to editable_by_all. Editable pulumi.StringPtrInput // A nested block that describes a dashboard filter. Exactly one nested filter block is allowed. Filter DashboardFilterPtrInput // New Relic One supports a 3 column grid or a 12 column grid. New Relic Insights supports a 3 column grid. GridColumnCount pulumi.IntPtrInput // The icon for the dashboard. Icon pulumi.StringPtrInput // The title of the dashboard. Title pulumi.StringPtrInput // Determines who can see the dashboard in an account. Valid values are all or owner. Defaults to all. Visibility pulumi.StringPtrInput // A nested block that describes a visualization. Up to 300 widget blocks are allowed in a dashboard definition. Widgets DashboardWidgetArrayInput }
func (DashboardState) ElementType ¶
func (DashboardState) ElementType() reflect.Type
type DashboardWidget ¶
type DashboardWidget struct { AccountId *int `pulumi:"accountId"` Column int `pulumi:"column"` CompareWiths []DashboardWidgetCompareWith `pulumi:"compareWiths"` DrilldownDashboardId *int `pulumi:"drilldownDashboardId"` Duration *int `pulumi:"duration"` EndTime *int `pulumi:"endTime"` EntityIds []int `pulumi:"entityIds"` Facet *string `pulumi:"facet"` Height *int `pulumi:"height"` Limit *int `pulumi:"limit"` Metrics []DashboardWidgetMetric `pulumi:"metrics"` Notes *string `pulumi:"notes"` Nrql *string `pulumi:"nrql"` OrderBy *string `pulumi:"orderBy"` RawMetricName *string `pulumi:"rawMetricName"` Row int `pulumi:"row"` Source *string `pulumi:"source"` ThresholdRed *float64 `pulumi:"thresholdRed"` ThresholdYellow *float64 `pulumi:"thresholdYellow"` Title string `pulumi:"title"` Visualization string `pulumi:"visualization"` WidgetId *int `pulumi:"widgetId"` Width *int `pulumi:"width"` }
type DashboardWidgetArgs ¶
type DashboardWidgetArgs struct { AccountId pulumi.IntPtrInput `pulumi:"accountId"` Column pulumi.IntInput `pulumi:"column"` CompareWiths DashboardWidgetCompareWithArrayInput `pulumi:"compareWiths"` DrilldownDashboardId pulumi.IntPtrInput `pulumi:"drilldownDashboardId"` Duration pulumi.IntPtrInput `pulumi:"duration"` EndTime pulumi.IntPtrInput `pulumi:"endTime"` EntityIds pulumi.IntArrayInput `pulumi:"entityIds"` Facet pulumi.StringPtrInput `pulumi:"facet"` Height pulumi.IntPtrInput `pulumi:"height"` Limit pulumi.IntPtrInput `pulumi:"limit"` Metrics DashboardWidgetMetricArrayInput `pulumi:"metrics"` Notes pulumi.StringPtrInput `pulumi:"notes"` Nrql pulumi.StringPtrInput `pulumi:"nrql"` OrderBy pulumi.StringPtrInput `pulumi:"orderBy"` RawMetricName pulumi.StringPtrInput `pulumi:"rawMetricName"` Row pulumi.IntInput `pulumi:"row"` Source pulumi.StringPtrInput `pulumi:"source"` ThresholdRed pulumi.Float64PtrInput `pulumi:"thresholdRed"` ThresholdYellow pulumi.Float64PtrInput `pulumi:"thresholdYellow"` Title pulumi.StringInput `pulumi:"title"` Visualization pulumi.StringInput `pulumi:"visualization"` WidgetId pulumi.IntPtrInput `pulumi:"widgetId"` Width pulumi.IntPtrInput `pulumi:"width"` }
func (DashboardWidgetArgs) ElementType ¶
func (DashboardWidgetArgs) ElementType() reflect.Type
func (DashboardWidgetArgs) ToDashboardWidgetOutput ¶
func (i DashboardWidgetArgs) ToDashboardWidgetOutput() DashboardWidgetOutput
func (DashboardWidgetArgs) ToDashboardWidgetOutputWithContext ¶
func (i DashboardWidgetArgs) ToDashboardWidgetOutputWithContext(ctx context.Context) DashboardWidgetOutput
type DashboardWidgetArray ¶
type DashboardWidgetArray []DashboardWidgetInput
func (DashboardWidgetArray) ElementType ¶
func (DashboardWidgetArray) ElementType() reflect.Type
func (DashboardWidgetArray) ToDashboardWidgetArrayOutput ¶
func (i DashboardWidgetArray) ToDashboardWidgetArrayOutput() DashboardWidgetArrayOutput
func (DashboardWidgetArray) ToDashboardWidgetArrayOutputWithContext ¶
func (i DashboardWidgetArray) ToDashboardWidgetArrayOutputWithContext(ctx context.Context) DashboardWidgetArrayOutput
type DashboardWidgetArrayInput ¶
type DashboardWidgetArrayInput interface { pulumi.Input ToDashboardWidgetArrayOutput() DashboardWidgetArrayOutput ToDashboardWidgetArrayOutputWithContext(context.Context) DashboardWidgetArrayOutput }
DashboardWidgetArrayInput is an input type that accepts DashboardWidgetArray and DashboardWidgetArrayOutput values. You can construct a concrete instance of `DashboardWidgetArrayInput` via:
DashboardWidgetArray{ DashboardWidgetArgs{...} }
type DashboardWidgetArrayOutput ¶
type DashboardWidgetArrayOutput struct{ *pulumi.OutputState }
func (DashboardWidgetArrayOutput) ElementType ¶
func (DashboardWidgetArrayOutput) ElementType() reflect.Type
func (DashboardWidgetArrayOutput) Index ¶
func (o DashboardWidgetArrayOutput) Index(i pulumi.IntInput) DashboardWidgetOutput
func (DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutput ¶
func (o DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutput() DashboardWidgetArrayOutput
func (DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutputWithContext ¶
func (o DashboardWidgetArrayOutput) ToDashboardWidgetArrayOutputWithContext(ctx context.Context) DashboardWidgetArrayOutput
type DashboardWidgetCompareWith ¶
type DashboardWidgetCompareWith struct { OffsetDuration string `pulumi:"offsetDuration"` Presentation DashboardWidgetCompareWithPresentation `pulumi:"presentation"` }
type DashboardWidgetCompareWithArgs ¶
type DashboardWidgetCompareWithArgs struct { OffsetDuration pulumi.StringInput `pulumi:"offsetDuration"` Presentation DashboardWidgetCompareWithPresentationInput `pulumi:"presentation"` }
func (DashboardWidgetCompareWithArgs) ElementType ¶
func (DashboardWidgetCompareWithArgs) ElementType() reflect.Type
func (DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutput ¶
func (i DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput
func (DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutputWithContext ¶
func (i DashboardWidgetCompareWithArgs) ToDashboardWidgetCompareWithOutputWithContext(ctx context.Context) DashboardWidgetCompareWithOutput
type DashboardWidgetCompareWithArray ¶
type DashboardWidgetCompareWithArray []DashboardWidgetCompareWithInput
func (DashboardWidgetCompareWithArray) ElementType ¶
func (DashboardWidgetCompareWithArray) ElementType() reflect.Type
func (DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutput ¶
func (i DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput
func (DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutputWithContext ¶
func (i DashboardWidgetCompareWithArray) ToDashboardWidgetCompareWithArrayOutputWithContext(ctx context.Context) DashboardWidgetCompareWithArrayOutput
type DashboardWidgetCompareWithArrayInput ¶
type DashboardWidgetCompareWithArrayInput interface { pulumi.Input ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput ToDashboardWidgetCompareWithArrayOutputWithContext(context.Context) DashboardWidgetCompareWithArrayOutput }
DashboardWidgetCompareWithArrayInput is an input type that accepts DashboardWidgetCompareWithArray and DashboardWidgetCompareWithArrayOutput values. You can construct a concrete instance of `DashboardWidgetCompareWithArrayInput` via:
DashboardWidgetCompareWithArray{ DashboardWidgetCompareWithArgs{...} }
type DashboardWidgetCompareWithArrayOutput ¶
type DashboardWidgetCompareWithArrayOutput struct{ *pulumi.OutputState }
func (DashboardWidgetCompareWithArrayOutput) ElementType ¶
func (DashboardWidgetCompareWithArrayOutput) ElementType() reflect.Type
func (DashboardWidgetCompareWithArrayOutput) Index ¶
func (o DashboardWidgetCompareWithArrayOutput) Index(i pulumi.IntInput) DashboardWidgetCompareWithOutput
func (DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutput ¶
func (o DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutput() DashboardWidgetCompareWithArrayOutput
func (DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutputWithContext ¶
func (o DashboardWidgetCompareWithArrayOutput) ToDashboardWidgetCompareWithArrayOutputWithContext(ctx context.Context) DashboardWidgetCompareWithArrayOutput
type DashboardWidgetCompareWithInput ¶
type DashboardWidgetCompareWithInput interface { pulumi.Input ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput ToDashboardWidgetCompareWithOutputWithContext(context.Context) DashboardWidgetCompareWithOutput }
DashboardWidgetCompareWithInput is an input type that accepts DashboardWidgetCompareWithArgs and DashboardWidgetCompareWithOutput values. You can construct a concrete instance of `DashboardWidgetCompareWithInput` via:
DashboardWidgetCompareWithArgs{...}
type DashboardWidgetCompareWithOutput ¶
type DashboardWidgetCompareWithOutput struct{ *pulumi.OutputState }
func (DashboardWidgetCompareWithOutput) ElementType ¶
func (DashboardWidgetCompareWithOutput) ElementType() reflect.Type
func (DashboardWidgetCompareWithOutput) OffsetDuration ¶
func (o DashboardWidgetCompareWithOutput) OffsetDuration() pulumi.StringOutput
func (DashboardWidgetCompareWithOutput) Presentation ¶
func (o DashboardWidgetCompareWithOutput) Presentation() DashboardWidgetCompareWithPresentationOutput
func (DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutput ¶
func (o DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutput() DashboardWidgetCompareWithOutput
func (DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutputWithContext ¶
func (o DashboardWidgetCompareWithOutput) ToDashboardWidgetCompareWithOutputWithContext(ctx context.Context) DashboardWidgetCompareWithOutput
type DashboardWidgetCompareWithPresentationArgs ¶
type DashboardWidgetCompareWithPresentationArgs struct { Color pulumi.StringInput `pulumi:"color"` Name pulumi.StringInput `pulumi:"name"` }
func (DashboardWidgetCompareWithPresentationArgs) ElementType ¶
func (DashboardWidgetCompareWithPresentationArgs) ElementType() reflect.Type
func (DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutput ¶
func (i DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput
func (DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutputWithContext ¶
func (i DashboardWidgetCompareWithPresentationArgs) ToDashboardWidgetCompareWithPresentationOutputWithContext(ctx context.Context) DashboardWidgetCompareWithPresentationOutput
type DashboardWidgetCompareWithPresentationInput ¶
type DashboardWidgetCompareWithPresentationInput interface { pulumi.Input ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput ToDashboardWidgetCompareWithPresentationOutputWithContext(context.Context) DashboardWidgetCompareWithPresentationOutput }
DashboardWidgetCompareWithPresentationInput is an input type that accepts DashboardWidgetCompareWithPresentationArgs and DashboardWidgetCompareWithPresentationOutput values. You can construct a concrete instance of `DashboardWidgetCompareWithPresentationInput` via:
DashboardWidgetCompareWithPresentationArgs{...}
type DashboardWidgetCompareWithPresentationOutput ¶
type DashboardWidgetCompareWithPresentationOutput struct{ *pulumi.OutputState }
func (DashboardWidgetCompareWithPresentationOutput) Color ¶
func (o DashboardWidgetCompareWithPresentationOutput) Color() pulumi.StringOutput
func (DashboardWidgetCompareWithPresentationOutput) ElementType ¶
func (DashboardWidgetCompareWithPresentationOutput) ElementType() reflect.Type
func (DashboardWidgetCompareWithPresentationOutput) Name ¶
func (o DashboardWidgetCompareWithPresentationOutput) Name() pulumi.StringOutput
func (DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutput ¶
func (o DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutput() DashboardWidgetCompareWithPresentationOutput
func (DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutputWithContext ¶
func (o DashboardWidgetCompareWithPresentationOutput) ToDashboardWidgetCompareWithPresentationOutputWithContext(ctx context.Context) DashboardWidgetCompareWithPresentationOutput
type DashboardWidgetInput ¶
type DashboardWidgetInput interface { pulumi.Input ToDashboardWidgetOutput() DashboardWidgetOutput ToDashboardWidgetOutputWithContext(context.Context) DashboardWidgetOutput }
DashboardWidgetInput is an input type that accepts DashboardWidgetArgs and DashboardWidgetOutput values. You can construct a concrete instance of `DashboardWidgetInput` via:
DashboardWidgetArgs{...}
type DashboardWidgetMetric ¶
type DashboardWidgetMetricArgs ¶
type DashboardWidgetMetricArgs struct { Name pulumi.StringInput `pulumi:"name"` Scope pulumi.StringPtrInput `pulumi:"scope"` Units pulumi.StringPtrInput `pulumi:"units"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (DashboardWidgetMetricArgs) ElementType ¶
func (DashboardWidgetMetricArgs) ElementType() reflect.Type
func (DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutput ¶
func (i DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutput() DashboardWidgetMetricOutput
func (DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutputWithContext ¶
func (i DashboardWidgetMetricArgs) ToDashboardWidgetMetricOutputWithContext(ctx context.Context) DashboardWidgetMetricOutput
type DashboardWidgetMetricArray ¶
type DashboardWidgetMetricArray []DashboardWidgetMetricInput
func (DashboardWidgetMetricArray) ElementType ¶
func (DashboardWidgetMetricArray) ElementType() reflect.Type
func (DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutput ¶
func (i DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput
func (DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutputWithContext ¶
func (i DashboardWidgetMetricArray) ToDashboardWidgetMetricArrayOutputWithContext(ctx context.Context) DashboardWidgetMetricArrayOutput
type DashboardWidgetMetricArrayInput ¶
type DashboardWidgetMetricArrayInput interface { pulumi.Input ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput ToDashboardWidgetMetricArrayOutputWithContext(context.Context) DashboardWidgetMetricArrayOutput }
DashboardWidgetMetricArrayInput is an input type that accepts DashboardWidgetMetricArray and DashboardWidgetMetricArrayOutput values. You can construct a concrete instance of `DashboardWidgetMetricArrayInput` via:
DashboardWidgetMetricArray{ DashboardWidgetMetricArgs{...} }
type DashboardWidgetMetricArrayOutput ¶
type DashboardWidgetMetricArrayOutput struct{ *pulumi.OutputState }
func (DashboardWidgetMetricArrayOutput) ElementType ¶
func (DashboardWidgetMetricArrayOutput) ElementType() reflect.Type
func (DashboardWidgetMetricArrayOutput) Index ¶
func (o DashboardWidgetMetricArrayOutput) Index(i pulumi.IntInput) DashboardWidgetMetricOutput
func (DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutput ¶
func (o DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutput() DashboardWidgetMetricArrayOutput
func (DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutputWithContext ¶
func (o DashboardWidgetMetricArrayOutput) ToDashboardWidgetMetricArrayOutputWithContext(ctx context.Context) DashboardWidgetMetricArrayOutput
type DashboardWidgetMetricInput ¶
type DashboardWidgetMetricInput interface { pulumi.Input ToDashboardWidgetMetricOutput() DashboardWidgetMetricOutput ToDashboardWidgetMetricOutputWithContext(context.Context) DashboardWidgetMetricOutput }
DashboardWidgetMetricInput is an input type that accepts DashboardWidgetMetricArgs and DashboardWidgetMetricOutput values. You can construct a concrete instance of `DashboardWidgetMetricInput` via:
DashboardWidgetMetricArgs{...}
type DashboardWidgetMetricOutput ¶
type DashboardWidgetMetricOutput struct{ *pulumi.OutputState }
func (DashboardWidgetMetricOutput) ElementType ¶
func (DashboardWidgetMetricOutput) ElementType() reflect.Type
func (DashboardWidgetMetricOutput) Name ¶
func (o DashboardWidgetMetricOutput) Name() pulumi.StringOutput
func (DashboardWidgetMetricOutput) Scope ¶
func (o DashboardWidgetMetricOutput) Scope() pulumi.StringPtrOutput
func (DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutput ¶
func (o DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutput() DashboardWidgetMetricOutput
func (DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutputWithContext ¶
func (o DashboardWidgetMetricOutput) ToDashboardWidgetMetricOutputWithContext(ctx context.Context) DashboardWidgetMetricOutput
func (DashboardWidgetMetricOutput) Units ¶
func (o DashboardWidgetMetricOutput) Units() pulumi.StringPtrOutput
func (DashboardWidgetMetricOutput) Values ¶
func (o DashboardWidgetMetricOutput) Values() pulumi.StringArrayOutput
type DashboardWidgetOutput ¶
type DashboardWidgetOutput struct{ *pulumi.OutputState }
func (DashboardWidgetOutput) AccountId ¶
func (o DashboardWidgetOutput) AccountId() pulumi.IntPtrOutput
func (DashboardWidgetOutput) Column ¶
func (o DashboardWidgetOutput) Column() pulumi.IntOutput
func (DashboardWidgetOutput) CompareWiths ¶
func (o DashboardWidgetOutput) CompareWiths() DashboardWidgetCompareWithArrayOutput
func (DashboardWidgetOutput) DrilldownDashboardId ¶
func (o DashboardWidgetOutput) DrilldownDashboardId() pulumi.IntPtrOutput
func (DashboardWidgetOutput) Duration ¶
func (o DashboardWidgetOutput) Duration() pulumi.IntPtrOutput
func (DashboardWidgetOutput) ElementType ¶
func (DashboardWidgetOutput) ElementType() reflect.Type
func (DashboardWidgetOutput) EndTime ¶
func (o DashboardWidgetOutput) EndTime() pulumi.IntPtrOutput
func (DashboardWidgetOutput) EntityIds ¶
func (o DashboardWidgetOutput) EntityIds() pulumi.IntArrayOutput
func (DashboardWidgetOutput) Facet ¶
func (o DashboardWidgetOutput) Facet() pulumi.StringPtrOutput
func (DashboardWidgetOutput) Height ¶
func (o DashboardWidgetOutput) Height() pulumi.IntPtrOutput
func (DashboardWidgetOutput) Limit ¶
func (o DashboardWidgetOutput) Limit() pulumi.IntPtrOutput
func (DashboardWidgetOutput) Metrics ¶
func (o DashboardWidgetOutput) Metrics() DashboardWidgetMetricArrayOutput
func (DashboardWidgetOutput) Notes ¶
func (o DashboardWidgetOutput) Notes() pulumi.StringPtrOutput
func (DashboardWidgetOutput) Nrql ¶
func (o DashboardWidgetOutput) Nrql() pulumi.StringPtrOutput
func (DashboardWidgetOutput) OrderBy ¶
func (o DashboardWidgetOutput) OrderBy() pulumi.StringPtrOutput
func (DashboardWidgetOutput) RawMetricName ¶
func (o DashboardWidgetOutput) RawMetricName() pulumi.StringPtrOutput
func (DashboardWidgetOutput) Row ¶
func (o DashboardWidgetOutput) Row() pulumi.IntOutput
func (DashboardWidgetOutput) Source ¶
func (o DashboardWidgetOutput) Source() pulumi.StringPtrOutput
func (DashboardWidgetOutput) ThresholdRed ¶
func (o DashboardWidgetOutput) ThresholdRed() pulumi.Float64PtrOutput
func (DashboardWidgetOutput) ThresholdYellow ¶
func (o DashboardWidgetOutput) ThresholdYellow() pulumi.Float64PtrOutput
func (DashboardWidgetOutput) Title ¶
func (o DashboardWidgetOutput) Title() pulumi.StringOutput
func (DashboardWidgetOutput) ToDashboardWidgetOutput ¶
func (o DashboardWidgetOutput) ToDashboardWidgetOutput() DashboardWidgetOutput
func (DashboardWidgetOutput) ToDashboardWidgetOutputWithContext ¶
func (o DashboardWidgetOutput) ToDashboardWidgetOutputWithContext(ctx context.Context) DashboardWidgetOutput
func (DashboardWidgetOutput) Visualization ¶
func (o DashboardWidgetOutput) Visualization() pulumi.StringOutput
func (DashboardWidgetOutput) WidgetId ¶
func (o DashboardWidgetOutput) WidgetId() pulumi.IntPtrOutput
func (DashboardWidgetOutput) Width ¶
func (o DashboardWidgetOutput) Width() pulumi.IntPtrOutput
type EntityTags ¶
type EntityTags struct { pulumi.CustomResourceState // The guid of the entity to tag. Guid pulumi.StringOutput `pulumi:"guid"` // A nested block that describes an entity tag. See Nested tag blocks below for details. Tags EntityTagsTagArrayOutput `pulumi:"tags"` }
Use this resource to create, update, and delete tags for a New Relic One entity.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooEntity, err := newrelic.GetEntity(ctx, &GetEntityArgs{ Name: "Example application", Type: pulumi.StringRef("APPLICATION"), Domain: pulumi.StringRef("APM"), }, nil) if err != nil { return err } _, err = newrelic.NewEntityTags(ctx, "fooEntityTags", &newrelic.EntityTagsArgs{ Guid: pulumi.String(fooEntity.Guid), Tags: EntityTagsTagArray{ &EntityTagsTagArgs{ Key: pulumi.String("my-key"), Values: pulumi.StringArray{ pulumi.String("my-value"), pulumi.String("my-other-value"), }, }, &EntityTagsTagArgs{ Key: pulumi.String("my-key-2"), Values: pulumi.StringArray{ pulumi.String("my-value-2"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
New Relic One entity tags can be imported using a concatenated string of the format ¶
`<guid>`, e.g. bash
```sh
$ pulumi import newrelic:index/entityTags:EntityTags foo MjUyMDUyOHxBUE18QVBRTElDQVRJT058MjE1MDM3Nzk1
```
func GetEntityTags ¶
func GetEntityTags(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EntityTagsState, opts ...pulumi.ResourceOption) (*EntityTags, error)
GetEntityTags gets an existing EntityTags 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 NewEntityTags ¶
func NewEntityTags(ctx *pulumi.Context, name string, args *EntityTagsArgs, opts ...pulumi.ResourceOption) (*EntityTags, error)
NewEntityTags registers a new resource with the given unique name, arguments, and options.
func (*EntityTags) ElementType ¶
func (*EntityTags) ElementType() reflect.Type
func (*EntityTags) ToEntityTagsOutput ¶
func (i *EntityTags) ToEntityTagsOutput() EntityTagsOutput
func (*EntityTags) ToEntityTagsOutputWithContext ¶
func (i *EntityTags) ToEntityTagsOutputWithContext(ctx context.Context) EntityTagsOutput
type EntityTagsArgs ¶
type EntityTagsArgs struct { // The guid of the entity to tag. Guid pulumi.StringInput // A nested block that describes an entity tag. See Nested tag blocks below for details. Tags EntityTagsTagArrayInput }
The set of arguments for constructing a EntityTags resource.
func (EntityTagsArgs) ElementType ¶
func (EntityTagsArgs) ElementType() reflect.Type
type EntityTagsArray ¶
type EntityTagsArray []EntityTagsInput
func (EntityTagsArray) ElementType ¶
func (EntityTagsArray) ElementType() reflect.Type
func (EntityTagsArray) ToEntityTagsArrayOutput ¶
func (i EntityTagsArray) ToEntityTagsArrayOutput() EntityTagsArrayOutput
func (EntityTagsArray) ToEntityTagsArrayOutputWithContext ¶
func (i EntityTagsArray) ToEntityTagsArrayOutputWithContext(ctx context.Context) EntityTagsArrayOutput
type EntityTagsArrayInput ¶
type EntityTagsArrayInput interface { pulumi.Input ToEntityTagsArrayOutput() EntityTagsArrayOutput ToEntityTagsArrayOutputWithContext(context.Context) EntityTagsArrayOutput }
EntityTagsArrayInput is an input type that accepts EntityTagsArray and EntityTagsArrayOutput values. You can construct a concrete instance of `EntityTagsArrayInput` via:
EntityTagsArray{ EntityTagsArgs{...} }
type EntityTagsArrayOutput ¶
type EntityTagsArrayOutput struct{ *pulumi.OutputState }
func (EntityTagsArrayOutput) ElementType ¶
func (EntityTagsArrayOutput) ElementType() reflect.Type
func (EntityTagsArrayOutput) Index ¶
func (o EntityTagsArrayOutput) Index(i pulumi.IntInput) EntityTagsOutput
func (EntityTagsArrayOutput) ToEntityTagsArrayOutput ¶
func (o EntityTagsArrayOutput) ToEntityTagsArrayOutput() EntityTagsArrayOutput
func (EntityTagsArrayOutput) ToEntityTagsArrayOutputWithContext ¶
func (o EntityTagsArrayOutput) ToEntityTagsArrayOutputWithContext(ctx context.Context) EntityTagsArrayOutput
type EntityTagsInput ¶
type EntityTagsInput interface { pulumi.Input ToEntityTagsOutput() EntityTagsOutput ToEntityTagsOutputWithContext(ctx context.Context) EntityTagsOutput }
type EntityTagsMap ¶
type EntityTagsMap map[string]EntityTagsInput
func (EntityTagsMap) ElementType ¶
func (EntityTagsMap) ElementType() reflect.Type
func (EntityTagsMap) ToEntityTagsMapOutput ¶
func (i EntityTagsMap) ToEntityTagsMapOutput() EntityTagsMapOutput
func (EntityTagsMap) ToEntityTagsMapOutputWithContext ¶
func (i EntityTagsMap) ToEntityTagsMapOutputWithContext(ctx context.Context) EntityTagsMapOutput
type EntityTagsMapInput ¶
type EntityTagsMapInput interface { pulumi.Input ToEntityTagsMapOutput() EntityTagsMapOutput ToEntityTagsMapOutputWithContext(context.Context) EntityTagsMapOutput }
EntityTagsMapInput is an input type that accepts EntityTagsMap and EntityTagsMapOutput values. You can construct a concrete instance of `EntityTagsMapInput` via:
EntityTagsMap{ "key": EntityTagsArgs{...} }
type EntityTagsMapOutput ¶
type EntityTagsMapOutput struct{ *pulumi.OutputState }
func (EntityTagsMapOutput) ElementType ¶
func (EntityTagsMapOutput) ElementType() reflect.Type
func (EntityTagsMapOutput) MapIndex ¶
func (o EntityTagsMapOutput) MapIndex(k pulumi.StringInput) EntityTagsOutput
func (EntityTagsMapOutput) ToEntityTagsMapOutput ¶
func (o EntityTagsMapOutput) ToEntityTagsMapOutput() EntityTagsMapOutput
func (EntityTagsMapOutput) ToEntityTagsMapOutputWithContext ¶
func (o EntityTagsMapOutput) ToEntityTagsMapOutputWithContext(ctx context.Context) EntityTagsMapOutput
type EntityTagsOutput ¶
type EntityTagsOutput struct{ *pulumi.OutputState }
func (EntityTagsOutput) ElementType ¶
func (EntityTagsOutput) ElementType() reflect.Type
func (EntityTagsOutput) Guid ¶ added in v4.15.0
func (o EntityTagsOutput) Guid() pulumi.StringOutput
The guid of the entity to tag.
func (EntityTagsOutput) Tags ¶ added in v4.15.0
func (o EntityTagsOutput) Tags() EntityTagsTagArrayOutput
A nested block that describes an entity tag. See Nested tag blocks below for details.
func (EntityTagsOutput) ToEntityTagsOutput ¶
func (o EntityTagsOutput) ToEntityTagsOutput() EntityTagsOutput
func (EntityTagsOutput) ToEntityTagsOutputWithContext ¶
func (o EntityTagsOutput) ToEntityTagsOutputWithContext(ctx context.Context) EntityTagsOutput
type EntityTagsState ¶
type EntityTagsState struct { // The guid of the entity to tag. Guid pulumi.StringPtrInput // A nested block that describes an entity tag. See Nested tag blocks below for details. Tags EntityTagsTagArrayInput }
func (EntityTagsState) ElementType ¶
func (EntityTagsState) ElementType() reflect.Type
type EntityTagsTag ¶
type EntityTagsTagArgs ¶
type EntityTagsTagArgs struct { // The tag key. Key pulumi.StringInput `pulumi:"key"` // The tag values. Values pulumi.StringArrayInput `pulumi:"values"` }
func (EntityTagsTagArgs) ElementType ¶
func (EntityTagsTagArgs) ElementType() reflect.Type
func (EntityTagsTagArgs) ToEntityTagsTagOutput ¶
func (i EntityTagsTagArgs) ToEntityTagsTagOutput() EntityTagsTagOutput
func (EntityTagsTagArgs) ToEntityTagsTagOutputWithContext ¶
func (i EntityTagsTagArgs) ToEntityTagsTagOutputWithContext(ctx context.Context) EntityTagsTagOutput
type EntityTagsTagArray ¶
type EntityTagsTagArray []EntityTagsTagInput
func (EntityTagsTagArray) ElementType ¶
func (EntityTagsTagArray) ElementType() reflect.Type
func (EntityTagsTagArray) ToEntityTagsTagArrayOutput ¶
func (i EntityTagsTagArray) ToEntityTagsTagArrayOutput() EntityTagsTagArrayOutput
func (EntityTagsTagArray) ToEntityTagsTagArrayOutputWithContext ¶
func (i EntityTagsTagArray) ToEntityTagsTagArrayOutputWithContext(ctx context.Context) EntityTagsTagArrayOutput
type EntityTagsTagArrayInput ¶
type EntityTagsTagArrayInput interface { pulumi.Input ToEntityTagsTagArrayOutput() EntityTagsTagArrayOutput ToEntityTagsTagArrayOutputWithContext(context.Context) EntityTagsTagArrayOutput }
EntityTagsTagArrayInput is an input type that accepts EntityTagsTagArray and EntityTagsTagArrayOutput values. You can construct a concrete instance of `EntityTagsTagArrayInput` via:
EntityTagsTagArray{ EntityTagsTagArgs{...} }
type EntityTagsTagArrayOutput ¶
type EntityTagsTagArrayOutput struct{ *pulumi.OutputState }
func (EntityTagsTagArrayOutput) ElementType ¶
func (EntityTagsTagArrayOutput) ElementType() reflect.Type
func (EntityTagsTagArrayOutput) Index ¶
func (o EntityTagsTagArrayOutput) Index(i pulumi.IntInput) EntityTagsTagOutput
func (EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutput ¶
func (o EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutput() EntityTagsTagArrayOutput
func (EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutputWithContext ¶
func (o EntityTagsTagArrayOutput) ToEntityTagsTagArrayOutputWithContext(ctx context.Context) EntityTagsTagArrayOutput
type EntityTagsTagInput ¶
type EntityTagsTagInput interface { pulumi.Input ToEntityTagsTagOutput() EntityTagsTagOutput ToEntityTagsTagOutputWithContext(context.Context) EntityTagsTagOutput }
EntityTagsTagInput is an input type that accepts EntityTagsTagArgs and EntityTagsTagOutput values. You can construct a concrete instance of `EntityTagsTagInput` via:
EntityTagsTagArgs{...}
type EntityTagsTagOutput ¶
type EntityTagsTagOutput struct{ *pulumi.OutputState }
func (EntityTagsTagOutput) ElementType ¶
func (EntityTagsTagOutput) ElementType() reflect.Type
func (EntityTagsTagOutput) Key ¶
func (o EntityTagsTagOutput) Key() pulumi.StringOutput
The tag key.
func (EntityTagsTagOutput) ToEntityTagsTagOutput ¶
func (o EntityTagsTagOutput) ToEntityTagsTagOutput() EntityTagsTagOutput
func (EntityTagsTagOutput) ToEntityTagsTagOutputWithContext ¶
func (o EntityTagsTagOutput) ToEntityTagsTagOutputWithContext(ctx context.Context) EntityTagsTagOutput
func (EntityTagsTagOutput) Values ¶
func (o EntityTagsTagOutput) Values() pulumi.StringArrayOutput
The tag values.
type EventsToMetricsRule ¶
type EventsToMetricsRule struct { pulumi.CustomResourceState // Account with the event and where the metrics will be put. AccountId pulumi.IntOutput `pulumi:"accountId"` // Provides additional information about the rule. Description pulumi.StringPtrOutput `pulumi:"description"` // True means this rule is enabled. False means the rule is currently not creating metrics. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The name of the rule. This must be unique within an account. Name pulumi.StringOutput `pulumi:"name"` // Explains how to create metrics from events. Nrql pulumi.StringOutput `pulumi:"nrql"` // The id, uniquely identifying the rule. RuleId pulumi.StringOutput `pulumi:"ruleId"` }
Use this resource to create, update, and delete New Relic Events to Metrics rules.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewEventsToMetricsRule(ctx, "foo", &newrelic.EventsToMetricsRuleArgs{ AccountId: pulumi.Int(12345), Description: pulumi.String("Example description"), Nrql: pulumi.String("SELECT uniqueCount(account_id) AS ``Transaction.account_id`` FROM Transaction FACET appName, name"), }) if err != nil { return err } return nil }) }
```
## Import
New Relic Events to Metrics rules can be imported using a concatenated string of the format ¶
`<account_id>:<rule_id>`, e.g. bash
```sh
$ pulumi import newrelic:index/eventsToMetricsRule:EventsToMetricsRule foo 12345:34567
```
func GetEventsToMetricsRule ¶
func GetEventsToMetricsRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventsToMetricsRuleState, opts ...pulumi.ResourceOption) (*EventsToMetricsRule, error)
GetEventsToMetricsRule gets an existing EventsToMetricsRule 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 NewEventsToMetricsRule ¶
func NewEventsToMetricsRule(ctx *pulumi.Context, name string, args *EventsToMetricsRuleArgs, opts ...pulumi.ResourceOption) (*EventsToMetricsRule, error)
NewEventsToMetricsRule registers a new resource with the given unique name, arguments, and options.
func (*EventsToMetricsRule) ElementType ¶
func (*EventsToMetricsRule) ElementType() reflect.Type
func (*EventsToMetricsRule) ToEventsToMetricsRuleOutput ¶
func (i *EventsToMetricsRule) ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput
func (*EventsToMetricsRule) ToEventsToMetricsRuleOutputWithContext ¶
func (i *EventsToMetricsRule) ToEventsToMetricsRuleOutputWithContext(ctx context.Context) EventsToMetricsRuleOutput
type EventsToMetricsRuleArgs ¶
type EventsToMetricsRuleArgs struct { // Account with the event and where the metrics will be put. AccountId pulumi.IntPtrInput // Provides additional information about the rule. Description pulumi.StringPtrInput // True means this rule is enabled. False means the rule is currently not creating metrics. Enabled pulumi.BoolPtrInput // The name of the rule. This must be unique within an account. Name pulumi.StringPtrInput // Explains how to create metrics from events. Nrql pulumi.StringInput }
The set of arguments for constructing a EventsToMetricsRule resource.
func (EventsToMetricsRuleArgs) ElementType ¶
func (EventsToMetricsRuleArgs) ElementType() reflect.Type
type EventsToMetricsRuleArray ¶
type EventsToMetricsRuleArray []EventsToMetricsRuleInput
func (EventsToMetricsRuleArray) ElementType ¶
func (EventsToMetricsRuleArray) ElementType() reflect.Type
func (EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutput ¶
func (i EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput
func (EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutputWithContext ¶
func (i EventsToMetricsRuleArray) ToEventsToMetricsRuleArrayOutputWithContext(ctx context.Context) EventsToMetricsRuleArrayOutput
type EventsToMetricsRuleArrayInput ¶
type EventsToMetricsRuleArrayInput interface { pulumi.Input ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput ToEventsToMetricsRuleArrayOutputWithContext(context.Context) EventsToMetricsRuleArrayOutput }
EventsToMetricsRuleArrayInput is an input type that accepts EventsToMetricsRuleArray and EventsToMetricsRuleArrayOutput values. You can construct a concrete instance of `EventsToMetricsRuleArrayInput` via:
EventsToMetricsRuleArray{ EventsToMetricsRuleArgs{...} }
type EventsToMetricsRuleArrayOutput ¶
type EventsToMetricsRuleArrayOutput struct{ *pulumi.OutputState }
func (EventsToMetricsRuleArrayOutput) ElementType ¶
func (EventsToMetricsRuleArrayOutput) ElementType() reflect.Type
func (EventsToMetricsRuleArrayOutput) Index ¶
func (o EventsToMetricsRuleArrayOutput) Index(i pulumi.IntInput) EventsToMetricsRuleOutput
func (EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutput ¶
func (o EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutput() EventsToMetricsRuleArrayOutput
func (EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutputWithContext ¶
func (o EventsToMetricsRuleArrayOutput) ToEventsToMetricsRuleArrayOutputWithContext(ctx context.Context) EventsToMetricsRuleArrayOutput
type EventsToMetricsRuleInput ¶
type EventsToMetricsRuleInput interface { pulumi.Input ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput ToEventsToMetricsRuleOutputWithContext(ctx context.Context) EventsToMetricsRuleOutput }
type EventsToMetricsRuleMap ¶
type EventsToMetricsRuleMap map[string]EventsToMetricsRuleInput
func (EventsToMetricsRuleMap) ElementType ¶
func (EventsToMetricsRuleMap) ElementType() reflect.Type
func (EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutput ¶
func (i EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput
func (EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutputWithContext ¶
func (i EventsToMetricsRuleMap) ToEventsToMetricsRuleMapOutputWithContext(ctx context.Context) EventsToMetricsRuleMapOutput
type EventsToMetricsRuleMapInput ¶
type EventsToMetricsRuleMapInput interface { pulumi.Input ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput ToEventsToMetricsRuleMapOutputWithContext(context.Context) EventsToMetricsRuleMapOutput }
EventsToMetricsRuleMapInput is an input type that accepts EventsToMetricsRuleMap and EventsToMetricsRuleMapOutput values. You can construct a concrete instance of `EventsToMetricsRuleMapInput` via:
EventsToMetricsRuleMap{ "key": EventsToMetricsRuleArgs{...} }
type EventsToMetricsRuleMapOutput ¶
type EventsToMetricsRuleMapOutput struct{ *pulumi.OutputState }
func (EventsToMetricsRuleMapOutput) ElementType ¶
func (EventsToMetricsRuleMapOutput) ElementType() reflect.Type
func (EventsToMetricsRuleMapOutput) MapIndex ¶
func (o EventsToMetricsRuleMapOutput) MapIndex(k pulumi.StringInput) EventsToMetricsRuleOutput
func (EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutput ¶
func (o EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutput() EventsToMetricsRuleMapOutput
func (EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutputWithContext ¶
func (o EventsToMetricsRuleMapOutput) ToEventsToMetricsRuleMapOutputWithContext(ctx context.Context) EventsToMetricsRuleMapOutput
type EventsToMetricsRuleOutput ¶
type EventsToMetricsRuleOutput struct{ *pulumi.OutputState }
func (EventsToMetricsRuleOutput) AccountId ¶ added in v4.15.0
func (o EventsToMetricsRuleOutput) AccountId() pulumi.IntOutput
Account with the event and where the metrics will be put.
func (EventsToMetricsRuleOutput) Description ¶ added in v4.15.0
func (o EventsToMetricsRuleOutput) Description() pulumi.StringPtrOutput
Provides additional information about the rule.
func (EventsToMetricsRuleOutput) ElementType ¶
func (EventsToMetricsRuleOutput) ElementType() reflect.Type
func (EventsToMetricsRuleOutput) Enabled ¶ added in v4.15.0
func (o EventsToMetricsRuleOutput) Enabled() pulumi.BoolPtrOutput
True means this rule is enabled. False means the rule is currently not creating metrics.
func (EventsToMetricsRuleOutput) Name ¶ added in v4.15.0
func (o EventsToMetricsRuleOutput) Name() pulumi.StringOutput
The name of the rule. This must be unique within an account.
func (EventsToMetricsRuleOutput) Nrql ¶ added in v4.15.0
func (o EventsToMetricsRuleOutput) Nrql() pulumi.StringOutput
Explains how to create metrics from events.
func (EventsToMetricsRuleOutput) RuleId ¶ added in v4.15.0
func (o EventsToMetricsRuleOutput) RuleId() pulumi.StringOutput
The id, uniquely identifying the rule.
func (EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutput ¶
func (o EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutput() EventsToMetricsRuleOutput
func (EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutputWithContext ¶
func (o EventsToMetricsRuleOutput) ToEventsToMetricsRuleOutputWithContext(ctx context.Context) EventsToMetricsRuleOutput
type EventsToMetricsRuleState ¶
type EventsToMetricsRuleState struct { // Account with the event and where the metrics will be put. AccountId pulumi.IntPtrInput // Provides additional information about the rule. Description pulumi.StringPtrInput // True means this rule is enabled. False means the rule is currently not creating metrics. Enabled pulumi.BoolPtrInput // The name of the rule. This must be unique within an account. Name pulumi.StringPtrInput // Explains how to create metrics from events. Nrql pulumi.StringPtrInput // The id, uniquely identifying the rule. RuleId pulumi.StringPtrInput }
func (EventsToMetricsRuleState) ElementType ¶
func (EventsToMetricsRuleState) ElementType() reflect.Type
type GetAccountArgs ¶
type GetAccountArgs struct { // The account ID in New Relic. AccountId *int `pulumi:"accountId"` // The account name in New Relic. Name *string `pulumi:"name"` // The scope of the account in New Relic. Valid values are "global" and "inRegion". Defaults to "inRegion". Scope *string `pulumi:"scope"` }
A collection of arguments for invoking getAccount.
type GetAccountOutputArgs ¶ added in v4.7.0
type GetAccountOutputArgs struct { // The account ID in New Relic. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // The account name in New Relic. Name pulumi.StringPtrInput `pulumi:"name"` // The scope of the account in New Relic. Valid values are "global" and "inRegion". Defaults to "inRegion". Scope pulumi.StringPtrInput `pulumi:"scope"` }
A collection of arguments for invoking getAccount.
func (GetAccountOutputArgs) ElementType ¶ added in v4.7.0
func (GetAccountOutputArgs) ElementType() reflect.Type
type GetAccountResult ¶
type GetAccountResult struct { AccountId *int `pulumi:"accountId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name *string `pulumi:"name"` Scope *string `pulumi:"scope"` }
A collection of values returned by getAccount.
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, args *GetAccountArgs, opts ...pulumi.InvokeOption) (*GetAccountResult, error)
Use this data source to get information about a specific account in New Relic. Accounts can be located by ID or name. Exactly one of the two attributes is required.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.GetAccount(ctx, &GetAccountArgs{ Scope: pulumi.StringRef("global"), }, nil) if err != nil { return err } return nil }) }
```
type GetAccountResultOutput ¶ added in v4.7.0
type GetAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccount.
func GetAccountOutput ¶ added in v4.7.0
func GetAccountOutput(ctx *pulumi.Context, args GetAccountOutputArgs, opts ...pulumi.InvokeOption) GetAccountResultOutput
func (GetAccountResultOutput) AccountId ¶ added in v4.7.0
func (o GetAccountResultOutput) AccountId() pulumi.IntPtrOutput
func (GetAccountResultOutput) ElementType ¶ added in v4.7.0
func (GetAccountResultOutput) ElementType() reflect.Type
func (GetAccountResultOutput) Id ¶ added in v4.7.0
func (o GetAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAccountResultOutput) Name ¶ added in v4.7.0
func (o GetAccountResultOutput) Name() pulumi.StringPtrOutput
func (GetAccountResultOutput) Scope ¶ added in v4.7.0
func (o GetAccountResultOutput) Scope() pulumi.StringPtrOutput
func (GetAccountResultOutput) ToGetAccountResultOutput ¶ added in v4.7.0
func (o GetAccountResultOutput) ToGetAccountResultOutput() GetAccountResultOutput
func (GetAccountResultOutput) ToGetAccountResultOutputWithContext ¶ added in v4.7.0
func (o GetAccountResultOutput) ToGetAccountResultOutputWithContext(ctx context.Context) GetAccountResultOutput
type GetAlertChannelConfig ¶
type GetAlertChannelConfig struct { ApiKey *string `pulumi:"apiKey"` AuthPassword *string `pulumi:"authPassword"` AuthType *string `pulumi:"authType"` AuthUsername *string `pulumi:"authUsername"` BaseUrl *string `pulumi:"baseUrl"` Channel *string `pulumi:"channel"` Headers map[string]string `pulumi:"headers"` IncludeJsonAttachment *string `pulumi:"includeJsonAttachment"` Key *string `pulumi:"key"` Payload map[string]string `pulumi:"payload"` PayloadString *string `pulumi:"payloadString"` PayloadType *string `pulumi:"payloadType"` Recipients *string `pulumi:"recipients"` Region *string `pulumi:"region"` RouteKey *string `pulumi:"routeKey"` ServiceKey *string `pulumi:"serviceKey"` Tags *string `pulumi:"tags"` Teams *string `pulumi:"teams"` Url *string `pulumi:"url"` UserId *string `pulumi:"userId"` }
type GetAlertChannelConfigArgs ¶
type GetAlertChannelConfigArgs struct { ApiKey pulumi.StringPtrInput `pulumi:"apiKey"` AuthPassword pulumi.StringPtrInput `pulumi:"authPassword"` AuthType pulumi.StringPtrInput `pulumi:"authType"` AuthUsername pulumi.StringPtrInput `pulumi:"authUsername"` BaseUrl pulumi.StringPtrInput `pulumi:"baseUrl"` Channel pulumi.StringPtrInput `pulumi:"channel"` Headers pulumi.StringMapInput `pulumi:"headers"` IncludeJsonAttachment pulumi.StringPtrInput `pulumi:"includeJsonAttachment"` Key pulumi.StringPtrInput `pulumi:"key"` Payload pulumi.StringMapInput `pulumi:"payload"` PayloadString pulumi.StringPtrInput `pulumi:"payloadString"` PayloadType pulumi.StringPtrInput `pulumi:"payloadType"` Recipients pulumi.StringPtrInput `pulumi:"recipients"` Region pulumi.StringPtrInput `pulumi:"region"` RouteKey pulumi.StringPtrInput `pulumi:"routeKey"` ServiceKey pulumi.StringPtrInput `pulumi:"serviceKey"` Tags pulumi.StringPtrInput `pulumi:"tags"` Teams pulumi.StringPtrInput `pulumi:"teams"` Url pulumi.StringPtrInput `pulumi:"url"` UserId pulumi.StringPtrInput `pulumi:"userId"` }
func (GetAlertChannelConfigArgs) ElementType ¶
func (GetAlertChannelConfigArgs) ElementType() reflect.Type
func (GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutput ¶
func (i GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutput() GetAlertChannelConfigOutput
func (GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutputWithContext ¶
func (i GetAlertChannelConfigArgs) ToGetAlertChannelConfigOutputWithContext(ctx context.Context) GetAlertChannelConfigOutput
type GetAlertChannelConfigInput ¶
type GetAlertChannelConfigInput interface { pulumi.Input ToGetAlertChannelConfigOutput() GetAlertChannelConfigOutput ToGetAlertChannelConfigOutputWithContext(context.Context) GetAlertChannelConfigOutput }
GetAlertChannelConfigInput is an input type that accepts GetAlertChannelConfigArgs and GetAlertChannelConfigOutput values. You can construct a concrete instance of `GetAlertChannelConfigInput` via:
GetAlertChannelConfigArgs{...}
type GetAlertChannelConfigOutput ¶
type GetAlertChannelConfigOutput struct{ *pulumi.OutputState }
func (GetAlertChannelConfigOutput) ApiKey ¶
func (o GetAlertChannelConfigOutput) ApiKey() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) AuthPassword ¶
func (o GetAlertChannelConfigOutput) AuthPassword() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) AuthType ¶
func (o GetAlertChannelConfigOutput) AuthType() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) AuthUsername ¶
func (o GetAlertChannelConfigOutput) AuthUsername() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) BaseUrl ¶
func (o GetAlertChannelConfigOutput) BaseUrl() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) Channel ¶
func (o GetAlertChannelConfigOutput) Channel() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) ElementType ¶
func (GetAlertChannelConfigOutput) ElementType() reflect.Type
func (GetAlertChannelConfigOutput) Headers ¶
func (o GetAlertChannelConfigOutput) Headers() pulumi.StringMapOutput
func (GetAlertChannelConfigOutput) IncludeJsonAttachment ¶
func (o GetAlertChannelConfigOutput) IncludeJsonAttachment() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) Key ¶
func (o GetAlertChannelConfigOutput) Key() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) Payload ¶
func (o GetAlertChannelConfigOutput) Payload() pulumi.StringMapOutput
func (GetAlertChannelConfigOutput) PayloadString ¶ added in v4.14.0
func (o GetAlertChannelConfigOutput) PayloadString() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) PayloadType ¶
func (o GetAlertChannelConfigOutput) PayloadType() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) Recipients ¶
func (o GetAlertChannelConfigOutput) Recipients() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) Region ¶
func (o GetAlertChannelConfigOutput) Region() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) RouteKey ¶
func (o GetAlertChannelConfigOutput) RouteKey() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) ServiceKey ¶
func (o GetAlertChannelConfigOutput) ServiceKey() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) Tags ¶
func (o GetAlertChannelConfigOutput) Tags() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) Teams ¶
func (o GetAlertChannelConfigOutput) Teams() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutput ¶
func (o GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutput() GetAlertChannelConfigOutput
func (GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutputWithContext ¶
func (o GetAlertChannelConfigOutput) ToGetAlertChannelConfigOutputWithContext(ctx context.Context) GetAlertChannelConfigOutput
func (GetAlertChannelConfigOutput) Url ¶
func (o GetAlertChannelConfigOutput) Url() pulumi.StringPtrOutput
func (GetAlertChannelConfigOutput) UserId ¶
func (o GetAlertChannelConfigOutput) UserId() pulumi.StringPtrOutput
type GetApplicationArgs ¶
type GetApplicationArgs struct { // The name of the application in New Relic. Name string `pulumi:"name"` }
A collection of arguments for invoking getApplication.
type GetApplicationOutputArgs ¶ added in v4.7.0
type GetApplicationOutputArgs struct { // The name of the application in New Relic. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getApplication.
func (GetApplicationOutputArgs) ElementType ¶ added in v4.7.0
func (GetApplicationOutputArgs) ElementType() reflect.Type
type GetApplicationResult ¶
type GetApplicationResult struct { // A list of host IDs associated with the application. HostIds []int `pulumi:"hostIds"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of instance IDs associated with the application. InstanceIds []int `pulumi:"instanceIds"` Name string `pulumi:"name"` }
A collection of values returned by getApplication.
func GetApplication ¶
func GetApplication(ctx *pulumi.Context, args *GetApplicationArgs, opts ...pulumi.InvokeOption) (*GetApplicationResult, error)
#### DEPRECATED! Use at your own risk. Use the `getEntity` data source instead. This feature may be removed in the next major release
Use this data source to get information about a specific application in New Relic that already exists.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := newrelic.GetApplication(ctx, &GetApplicationArgs{ Name: "my-app", }, nil) if err != nil { return err } fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil) if err != nil { return err } _, err = newrelic.NewAlertCondition(ctx, "fooAlertCondition", &newrelic.AlertConditionArgs{ PolicyId: fooAlertPolicy.ID(), Type: pulumi.String("apm_app_metric"), Entities: pulumi.IntArray{ pulumi.String(app.Id), }, Metric: pulumi.String("apdex"), RunbookUrl: pulumi.String("https://www.example.com"), Terms: AlertConditionTermArray{ &AlertConditionTermArgs{ Duration: pulumi.Int(5), Operator: pulumi.String("below"), Priority: pulumi.String("critical"), Threshold: pulumi.Float64(0.75), TimeFunction: pulumi.String("all"), }, }, }) if err != nil { return err } return nil }) }
```
type GetApplicationResultOutput ¶ added in v4.7.0
type GetApplicationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getApplication.
func GetApplicationOutput ¶ added in v4.7.0
func GetApplicationOutput(ctx *pulumi.Context, args GetApplicationOutputArgs, opts ...pulumi.InvokeOption) GetApplicationResultOutput
func (GetApplicationResultOutput) ElementType ¶ added in v4.7.0
func (GetApplicationResultOutput) ElementType() reflect.Type
func (GetApplicationResultOutput) HostIds ¶ added in v4.7.0
func (o GetApplicationResultOutput) HostIds() pulumi.IntArrayOutput
A list of host IDs associated with the application.
func (GetApplicationResultOutput) Id ¶ added in v4.7.0
func (o GetApplicationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetApplicationResultOutput) InstanceIds ¶ added in v4.7.0
func (o GetApplicationResultOutput) InstanceIds() pulumi.IntArrayOutput
A list of instance IDs associated with the application.
func (GetApplicationResultOutput) Name ¶ added in v4.7.0
func (o GetApplicationResultOutput) Name() pulumi.StringOutput
func (GetApplicationResultOutput) ToGetApplicationResultOutput ¶ added in v4.7.0
func (o GetApplicationResultOutput) ToGetApplicationResultOutput() GetApplicationResultOutput
func (GetApplicationResultOutput) ToGetApplicationResultOutputWithContext ¶ added in v4.7.0
func (o GetApplicationResultOutput) ToGetApplicationResultOutputWithContext(ctx context.Context) GetApplicationResultOutput
type GetCloudAccountArgs ¶ added in v4.12.0
type GetCloudAccountArgs struct { // The account ID in New Relic. AccountId *int `pulumi:"accountId"` // The cloud provider of the account (aws, gcp, azure, etc) CloudProvider string `pulumi:"cloudProvider"` // The cloud account name in New Relic. Name string `pulumi:"name"` }
A collection of arguments for invoking getCloudAccount.
type GetCloudAccountOutputArgs ¶ added in v4.12.0
type GetCloudAccountOutputArgs struct { // The account ID in New Relic. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // The cloud provider of the account (aws, gcp, azure, etc) CloudProvider pulumi.StringInput `pulumi:"cloudProvider"` // The cloud account name in New Relic. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getCloudAccount.
func (GetCloudAccountOutputArgs) ElementType ¶ added in v4.12.0
func (GetCloudAccountOutputArgs) ElementType() reflect.Type
type GetCloudAccountResult ¶ added in v4.12.0
type GetCloudAccountResult struct { AccountId *int `pulumi:"accountId"` CloudProvider string `pulumi:"cloudProvider"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getCloudAccount.
func GetCloudAccount ¶ added in v4.12.0
func GetCloudAccount(ctx *pulumi.Context, args *GetCloudAccountArgs, opts ...pulumi.InvokeOption) (*GetCloudAccountResult, error)
Use this data source to get information about a specific cloud account linked to New Relic. Accounts can be located by a combination of New Relic Account ID, name and cloud provider (aws, gcp, azure, etc). Name and cloud provider are required attributes. If no accountId is specified on the resource the provider level accountId will be used.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.GetCloudAccount(ctx, &GetCloudAccountArgs{ AccountId: pulumi.IntRef(12345), CloudProvider: "aws", Name: "my aws account", }, nil) if err != nil { return err } return nil }) }
```
type GetCloudAccountResultOutput ¶ added in v4.12.0
type GetCloudAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCloudAccount.
func GetCloudAccountOutput ¶ added in v4.12.0
func GetCloudAccountOutput(ctx *pulumi.Context, args GetCloudAccountOutputArgs, opts ...pulumi.InvokeOption) GetCloudAccountResultOutput
func (GetCloudAccountResultOutput) AccountId ¶ added in v4.12.0
func (o GetCloudAccountResultOutput) AccountId() pulumi.IntPtrOutput
func (GetCloudAccountResultOutput) CloudProvider ¶ added in v4.12.0
func (o GetCloudAccountResultOutput) CloudProvider() pulumi.StringOutput
func (GetCloudAccountResultOutput) ElementType ¶ added in v4.12.0
func (GetCloudAccountResultOutput) ElementType() reflect.Type
func (GetCloudAccountResultOutput) Id ¶ added in v4.12.0
func (o GetCloudAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCloudAccountResultOutput) Name ¶ added in v4.12.0
func (o GetCloudAccountResultOutput) Name() pulumi.StringOutput
func (GetCloudAccountResultOutput) ToGetCloudAccountResultOutput ¶ added in v4.12.0
func (o GetCloudAccountResultOutput) ToGetCloudAccountResultOutput() GetCloudAccountResultOutput
func (GetCloudAccountResultOutput) ToGetCloudAccountResultOutputWithContext ¶ added in v4.12.0
func (o GetCloudAccountResultOutput) ToGetCloudAccountResultOutputWithContext(ctx context.Context) GetCloudAccountResultOutput
type GetEntityArgs ¶
type GetEntityArgs struct { // The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and VIZ. If not specified, all domains are searched. Domain *string `pulumi:"domain"` // Ignore case of the `name` when searching for the entity. Defaults to false. IgnoreCase *bool `pulumi:"ignoreCase"` // The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned. Name string `pulumi:"name"` Tag *GetEntityTag `pulumi:"tag"` // The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD. Type *string `pulumi:"type"` }
A collection of arguments for invoking getEntity.
type GetEntityOutputArgs ¶ added in v4.7.0
type GetEntityOutputArgs struct { // The entity's domain. Valid values are APM, BROWSER, INFRA, MOBILE, SYNTH, and VIZ. If not specified, all domains are searched. Domain pulumi.StringPtrInput `pulumi:"domain"` // Ignore case of the `name` when searching for the entity. Defaults to false. IgnoreCase pulumi.BoolPtrInput `pulumi:"ignoreCase"` // The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned. Name pulumi.StringInput `pulumi:"name"` Tag GetEntityTagPtrInput `pulumi:"tag"` // The entity's type. Valid values are APPLICATION, DASHBOARD, HOST, MONITOR, and WORKLOAD. Type pulumi.StringPtrInput `pulumi:"type"` }
A collection of arguments for invoking getEntity.
func (GetEntityOutputArgs) ElementType ¶ added in v4.7.0
func (GetEntityOutputArgs) ElementType() reflect.Type
type GetEntityResult ¶
type GetEntityResult struct { // The New Relic account ID associated with this entity. AccountId int `pulumi:"accountId"` // The domain-specific application ID of the entity. Only returned for APM and Browser applications. ApplicationId int `pulumi:"applicationId"` Domain string `pulumi:"domain"` // The unique GUID of the entity. Guid string `pulumi:"guid"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IgnoreCase *bool `pulumi:"ignoreCase"` Name string `pulumi:"name"` ServingApmApplicationId int `pulumi:"servingApmApplicationId"` Tag *GetEntityTag `pulumi:"tag"` Type string `pulumi:"type"` }
A collection of values returned by getEntity.
func GetEntity ¶
func GetEntity(ctx *pulumi.Context, args *GetEntityArgs, opts ...pulumi.InvokeOption) (*GetEntityResult, error)
Use this data source to get information about a specific entity in New Relic One that already exists.
type GetEntityResultOutput ¶ added in v4.7.0
type GetEntityResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEntity.
func GetEntityOutput ¶ added in v4.7.0
func GetEntityOutput(ctx *pulumi.Context, args GetEntityOutputArgs, opts ...pulumi.InvokeOption) GetEntityResultOutput
func (GetEntityResultOutput) AccountId ¶ added in v4.7.0
func (o GetEntityResultOutput) AccountId() pulumi.IntOutput
The New Relic account ID associated with this entity.
func (GetEntityResultOutput) ApplicationId ¶ added in v4.7.0
func (o GetEntityResultOutput) ApplicationId() pulumi.IntOutput
The domain-specific application ID of the entity. Only returned for APM and Browser applications.
func (GetEntityResultOutput) Domain ¶ added in v4.7.0
func (o GetEntityResultOutput) Domain() pulumi.StringOutput
func (GetEntityResultOutput) ElementType ¶ added in v4.7.0
func (GetEntityResultOutput) ElementType() reflect.Type
func (GetEntityResultOutput) Guid ¶ added in v4.7.0
func (o GetEntityResultOutput) Guid() pulumi.StringOutput
The unique GUID of the entity.
func (GetEntityResultOutput) Id ¶ added in v4.7.0
func (o GetEntityResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEntityResultOutput) IgnoreCase ¶ added in v4.7.0
func (o GetEntityResultOutput) IgnoreCase() pulumi.BoolPtrOutput
func (GetEntityResultOutput) Name ¶ added in v4.7.0
func (o GetEntityResultOutput) Name() pulumi.StringOutput
func (GetEntityResultOutput) ServingApmApplicationId ¶ added in v4.7.0
func (o GetEntityResultOutput) ServingApmApplicationId() pulumi.IntOutput
func (GetEntityResultOutput) Tag ¶ added in v4.7.0
func (o GetEntityResultOutput) Tag() GetEntityTagPtrOutput
func (GetEntityResultOutput) ToGetEntityResultOutput ¶ added in v4.7.0
func (o GetEntityResultOutput) ToGetEntityResultOutput() GetEntityResultOutput
func (GetEntityResultOutput) ToGetEntityResultOutputWithContext ¶ added in v4.7.0
func (o GetEntityResultOutput) ToGetEntityResultOutputWithContext(ctx context.Context) GetEntityResultOutput
func (GetEntityResultOutput) Type ¶ added in v4.7.0
func (o GetEntityResultOutput) Type() pulumi.StringOutput
type GetEntityTag ¶
type GetEntityTagArgs ¶
type GetEntityTagArgs struct { Key pulumi.StringInput `pulumi:"key"` Value pulumi.StringInput `pulumi:"value"` }
func (GetEntityTagArgs) ElementType ¶
func (GetEntityTagArgs) ElementType() reflect.Type
func (GetEntityTagArgs) ToGetEntityTagOutput ¶
func (i GetEntityTagArgs) ToGetEntityTagOutput() GetEntityTagOutput
func (GetEntityTagArgs) ToGetEntityTagOutputWithContext ¶
func (i GetEntityTagArgs) ToGetEntityTagOutputWithContext(ctx context.Context) GetEntityTagOutput
func (GetEntityTagArgs) ToGetEntityTagPtrOutput ¶ added in v4.7.0
func (i GetEntityTagArgs) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput
func (GetEntityTagArgs) ToGetEntityTagPtrOutputWithContext ¶ added in v4.7.0
func (i GetEntityTagArgs) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput
type GetEntityTagInput ¶
type GetEntityTagInput interface { pulumi.Input ToGetEntityTagOutput() GetEntityTagOutput ToGetEntityTagOutputWithContext(context.Context) GetEntityTagOutput }
GetEntityTagInput is an input type that accepts GetEntityTagArgs and GetEntityTagOutput values. You can construct a concrete instance of `GetEntityTagInput` via:
GetEntityTagArgs{...}
type GetEntityTagOutput ¶
type GetEntityTagOutput struct{ *pulumi.OutputState }
func (GetEntityTagOutput) ElementType ¶
func (GetEntityTagOutput) ElementType() reflect.Type
func (GetEntityTagOutput) Key ¶
func (o GetEntityTagOutput) Key() pulumi.StringOutput
func (GetEntityTagOutput) ToGetEntityTagOutput ¶
func (o GetEntityTagOutput) ToGetEntityTagOutput() GetEntityTagOutput
func (GetEntityTagOutput) ToGetEntityTagOutputWithContext ¶
func (o GetEntityTagOutput) ToGetEntityTagOutputWithContext(ctx context.Context) GetEntityTagOutput
func (GetEntityTagOutput) ToGetEntityTagPtrOutput ¶ added in v4.7.0
func (o GetEntityTagOutput) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput
func (GetEntityTagOutput) ToGetEntityTagPtrOutputWithContext ¶ added in v4.7.0
func (o GetEntityTagOutput) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput
func (GetEntityTagOutput) Value ¶
func (o GetEntityTagOutput) Value() pulumi.StringOutput
type GetEntityTagPtrInput ¶ added in v4.7.0
type GetEntityTagPtrInput interface { pulumi.Input ToGetEntityTagPtrOutput() GetEntityTagPtrOutput ToGetEntityTagPtrOutputWithContext(context.Context) GetEntityTagPtrOutput }
GetEntityTagPtrInput is an input type that accepts GetEntityTagArgs, GetEntityTagPtr and GetEntityTagPtrOutput values. You can construct a concrete instance of `GetEntityTagPtrInput` via:
GetEntityTagArgs{...} or: nil
func GetEntityTagPtr ¶ added in v4.7.0
func GetEntityTagPtr(v *GetEntityTagArgs) GetEntityTagPtrInput
type GetEntityTagPtrOutput ¶ added in v4.7.0
type GetEntityTagPtrOutput struct{ *pulumi.OutputState }
func (GetEntityTagPtrOutput) Elem ¶ added in v4.7.0
func (o GetEntityTagPtrOutput) Elem() GetEntityTagOutput
func (GetEntityTagPtrOutput) ElementType ¶ added in v4.7.0
func (GetEntityTagPtrOutput) ElementType() reflect.Type
func (GetEntityTagPtrOutput) Key ¶ added in v4.7.0
func (o GetEntityTagPtrOutput) Key() pulumi.StringPtrOutput
func (GetEntityTagPtrOutput) ToGetEntityTagPtrOutput ¶ added in v4.7.0
func (o GetEntityTagPtrOutput) ToGetEntityTagPtrOutput() GetEntityTagPtrOutput
func (GetEntityTagPtrOutput) ToGetEntityTagPtrOutputWithContext ¶ added in v4.7.0
func (o GetEntityTagPtrOutput) ToGetEntityTagPtrOutputWithContext(ctx context.Context) GetEntityTagPtrOutput
func (GetEntityTagPtrOutput) Value ¶ added in v4.7.0
func (o GetEntityTagPtrOutput) Value() pulumi.StringPtrOutput
type GetKeyTransactionArgs ¶
type GetKeyTransactionArgs struct { // The name of the key transaction in New Relic. Name string `pulumi:"name"` }
A collection of arguments for invoking getKeyTransaction.
type GetKeyTransactionOutputArgs ¶ added in v4.7.0
type GetKeyTransactionOutputArgs struct { // The name of the key transaction in New Relic. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getKeyTransaction.
func (GetKeyTransactionOutputArgs) ElementType ¶ added in v4.7.0
func (GetKeyTransactionOutputArgs) ElementType() reflect.Type
type GetKeyTransactionResult ¶
type GetKeyTransactionResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` }
A collection of values returned by getKeyTransaction.
func GetKeyTransaction ¶
func GetKeyTransaction(ctx *pulumi.Context, args *GetKeyTransactionArgs, opts ...pulumi.InvokeOption) (*GetKeyTransactionResult, error)
Use this data source to get information about a specific key transaction in New Relic that already exists.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { txn, err := newrelic.GetKeyTransaction(ctx, &GetKeyTransactionArgs{ Name: "txn", }, nil) if err != nil { return err } fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil) if err != nil { return err } _, err = newrelic.NewAlertCondition(ctx, "fooAlertCondition", &newrelic.AlertConditionArgs{ PolicyId: fooAlertPolicy.ID(), Type: pulumi.String("apm_kt_metric"), Entities: pulumi.IntArray{ pulumi.String(txn.Id), }, Metric: pulumi.String("error_percentage"), RunbookUrl: pulumi.String("https://www.example.com"), Terms: AlertConditionTermArray{ &AlertConditionTermArgs{ Duration: pulumi.Int(5), Operator: pulumi.String("below"), Priority: pulumi.String("critical"), Threshold: pulumi.Float64(0.75), TimeFunction: pulumi.String("all"), }, }, }) if err != nil { return err } return nil }) }
```
type GetKeyTransactionResultOutput ¶ added in v4.7.0
type GetKeyTransactionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getKeyTransaction.
func GetKeyTransactionOutput ¶ added in v4.7.0
func GetKeyTransactionOutput(ctx *pulumi.Context, args GetKeyTransactionOutputArgs, opts ...pulumi.InvokeOption) GetKeyTransactionResultOutput
func (GetKeyTransactionResultOutput) ElementType ¶ added in v4.7.0
func (GetKeyTransactionResultOutput) ElementType() reflect.Type
func (GetKeyTransactionResultOutput) Id ¶ added in v4.7.0
func (o GetKeyTransactionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetKeyTransactionResultOutput) Name ¶ added in v4.7.0
func (o GetKeyTransactionResultOutput) Name() pulumi.StringOutput
func (GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutput ¶ added in v4.7.0
func (o GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutput() GetKeyTransactionResultOutput
func (GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutputWithContext ¶ added in v4.7.0
func (o GetKeyTransactionResultOutput) ToGetKeyTransactionResultOutputWithContext(ctx context.Context) GetKeyTransactionResultOutput
type InfraAlertCondition ¶
type InfraAlertCondition struct { pulumi.CustomResourceState // The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infraMetric` and `infraProcessRunning` condition types. Comparison pulumi.StringPtrOutput `pulumi:"comparison"` // The timestamp the alert condition was created. CreatedAt pulumi.IntOutput `pulumi:"createdAt"` // Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details. Critical InfraAlertConditionCriticalPtrOutput `pulumi:"critical"` // The description of the Infrastructure alert condition. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infraMetric` condition type. Event pulumi.StringOutput `pulumi:"event"` // For alerts on integrations, use this instead of `event`. Supported by the `infraMetric` condition type. IntegrationProvider pulumi.StringPtrOutput `pulumi:"integrationProvider"` // The Infrastructure alert condition's name. Name pulumi.StringOutput `pulumi:"name"` // The ID of the alert policy where this condition should be used. PolicyId pulumi.IntOutput `pulumi:"policyId"` // Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infraProcessRunning` condition type. ProcessWhere pulumi.StringPtrOutput `pulumi:"processWhere"` // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrOutput `pulumi:"runbookUrl"` // The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infraMetric` condition type. Select pulumi.StringPtrOutput `pulumi:"select"` // The type of Infrastructure alert condition. Valid values are `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`. Type pulumi.StringOutput `pulumi:"type"` // The timestamp the alert condition was last updated. UpdatedAt pulumi.IntOutput `pulumi:"updatedAt"` // Determines how much time will pass (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided. ViolationCloseTimer pulumi.IntPtrOutput `pulumi:"violationCloseTimer"` // Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details. Warning InfraAlertConditionWarningPtrOutput `pulumi:"warning"` // If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`. Where pulumi.StringPtrOutput `pulumi:"where"` }
Use this resource to create and manage Infrastructure alert conditions in New Relic.
> **NOTE:** The NrqlAlertCondition resource is preferred for configuring alerts conditions. In most cases feature parity can be achieved with a NRQL query. Other condition types may be deprecated in the future and receive fewer product updates.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foo, err := newrelic.NewAlertPolicy(ctx, "foo", nil) if err != nil { return err } _, err = newrelic.NewInfraAlertCondition(ctx, "highDiskUsage", &newrelic.InfraAlertConditionArgs{ PolicyId: foo.ID(), Description: pulumi.String(fmt.Sprintf("Warning if disk usage goes above 80%v and critical alert if goes above 90%v", "%", "%")), Type: pulumi.String("infra_metric"), Event: pulumi.String("StorageSample"), Select: pulumi.String("diskUsedPercent"), Comparison: pulumi.String("above"), Where: pulumi.String(fmt.Sprintf("(hostname LIKE '%vfrontend%v')", "%", "%")), Critical: &InfraAlertConditionCriticalArgs{ Duration: pulumi.Int(25), Value: pulumi.Float64(90), TimeFunction: pulumi.String("all"), }, Warning: &InfraAlertConditionWarningArgs{ Duration: pulumi.Int(10), Value: pulumi.Float64(80), TimeFunction: pulumi.String("all"), }, }) if err != nil { return err } _, err = newrelic.NewInfraAlertCondition(ctx, "highDbConnCount", &newrelic.InfraAlertConditionArgs{ PolicyId: foo.ID(), Description: pulumi.String("Critical alert when the number of database connections goes above 90"), Type: pulumi.String("infra_metric"), Event: pulumi.String("DatastoreSample"), Select: pulumi.String("provider.databaseConnections.Average"), Comparison: pulumi.String("above"), Where: pulumi.String(fmt.Sprintf("(hostname LIKE '%vdb%v')", "%", "%")), IntegrationProvider: pulumi.String("RdsDbInstance"), Critical: &InfraAlertConditionCriticalArgs{ Duration: pulumi.Int(25), Value: pulumi.Float64(90), TimeFunction: pulumi.String("all"), }, }) if err != nil { return err } _, err = newrelic.NewInfraAlertCondition(ctx, "processNotRunning", &newrelic.InfraAlertConditionArgs{ PolicyId: foo.ID(), Description: pulumi.String("Critical alert when ruby isn't running"), Type: pulumi.String("infra_process_running"), Comparison: pulumi.String("equal"), Where: pulumi.String("hostname = 'web01'"), ProcessWhere: pulumi.String("commandName = '/usr/bin/ruby'"), Critical: &InfraAlertConditionCriticalArgs{ Duration: pulumi.Int(5), Value: pulumi.Float64(0), }, }) if err != nil { return err } _, err = newrelic.NewInfraAlertCondition(ctx, "hostNotReporting", &newrelic.InfraAlertConditionArgs{ PolicyId: foo.ID(), Description: pulumi.String("Critical alert when the host is not reporting"), Type: pulumi.String("infra_host_not_reporting"), Where: pulumi.String(fmt.Sprintf("(hostname LIKE '%vfrontend%v')", "%", "%")), Critical: &InfraAlertConditionCriticalArgs{ Duration: pulumi.Int(5), }, }) if err != nil { return err } return nil }) }
``` ## Thresholds
The `critical` and `warning` threshold mapping supports the following arguments:
- `duration` - (Required) Identifies the number of minutes the threshold must be passed or met for the alert to trigger. Threshold durations must be between 1 and 60 minutes (inclusive).
- `value` - (Optional) Threshold value, computed against the `comparison` operator. Supported by `infraMetric` and `infraProcessRunning` alert condition types.
- `timeFunction` - (Optional) Indicates if the condition needs to be sustained or to just break the threshold once; `all` or `any`. Supported by the `infraMetric` alert condition type.
## Import
Infrastructure alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>`, e.g.
```sh
$ pulumi import newrelic:index/infraAlertCondition:InfraAlertCondition main 12345:67890
```
func GetInfraAlertCondition ¶
func GetInfraAlertCondition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InfraAlertConditionState, opts ...pulumi.ResourceOption) (*InfraAlertCondition, error)
GetInfraAlertCondition gets an existing InfraAlertCondition 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 NewInfraAlertCondition ¶
func NewInfraAlertCondition(ctx *pulumi.Context, name string, args *InfraAlertConditionArgs, opts ...pulumi.ResourceOption) (*InfraAlertCondition, error)
NewInfraAlertCondition registers a new resource with the given unique name, arguments, and options.
func (*InfraAlertCondition) ElementType ¶
func (*InfraAlertCondition) ElementType() reflect.Type
func (*InfraAlertCondition) ToInfraAlertConditionOutput ¶
func (i *InfraAlertCondition) ToInfraAlertConditionOutput() InfraAlertConditionOutput
func (*InfraAlertCondition) ToInfraAlertConditionOutputWithContext ¶
func (i *InfraAlertCondition) ToInfraAlertConditionOutputWithContext(ctx context.Context) InfraAlertConditionOutput
type InfraAlertConditionArgs ¶
type InfraAlertConditionArgs struct { // The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infraMetric` and `infraProcessRunning` condition types. Comparison pulumi.StringPtrInput // Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details. Critical InfraAlertConditionCriticalPtrInput // The description of the Infrastructure alert condition. Description pulumi.StringPtrInput // Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrInput // The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infraMetric` condition type. Event pulumi.StringPtrInput // For alerts on integrations, use this instead of `event`. Supported by the `infraMetric` condition type. IntegrationProvider pulumi.StringPtrInput // The Infrastructure alert condition's name. Name pulumi.StringPtrInput // The ID of the alert policy where this condition should be used. PolicyId pulumi.IntInput // Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infraProcessRunning` condition type. ProcessWhere pulumi.StringPtrInput // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrInput // The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infraMetric` condition type. Select pulumi.StringPtrInput // The type of Infrastructure alert condition. Valid values are `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`. Type pulumi.StringInput // Determines how much time will pass (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided. ViolationCloseTimer pulumi.IntPtrInput // Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details. Warning InfraAlertConditionWarningPtrInput // If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`. Where pulumi.StringPtrInput }
The set of arguments for constructing a InfraAlertCondition resource.
func (InfraAlertConditionArgs) ElementType ¶
func (InfraAlertConditionArgs) ElementType() reflect.Type
type InfraAlertConditionArray ¶
type InfraAlertConditionArray []InfraAlertConditionInput
func (InfraAlertConditionArray) ElementType ¶
func (InfraAlertConditionArray) ElementType() reflect.Type
func (InfraAlertConditionArray) ToInfraAlertConditionArrayOutput ¶
func (i InfraAlertConditionArray) ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput
func (InfraAlertConditionArray) ToInfraAlertConditionArrayOutputWithContext ¶
func (i InfraAlertConditionArray) ToInfraAlertConditionArrayOutputWithContext(ctx context.Context) InfraAlertConditionArrayOutput
type InfraAlertConditionArrayInput ¶
type InfraAlertConditionArrayInput interface { pulumi.Input ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput ToInfraAlertConditionArrayOutputWithContext(context.Context) InfraAlertConditionArrayOutput }
InfraAlertConditionArrayInput is an input type that accepts InfraAlertConditionArray and InfraAlertConditionArrayOutput values. You can construct a concrete instance of `InfraAlertConditionArrayInput` via:
InfraAlertConditionArray{ InfraAlertConditionArgs{...} }
type InfraAlertConditionArrayOutput ¶
type InfraAlertConditionArrayOutput struct{ *pulumi.OutputState }
func (InfraAlertConditionArrayOutput) ElementType ¶
func (InfraAlertConditionArrayOutput) ElementType() reflect.Type
func (InfraAlertConditionArrayOutput) Index ¶
func (o InfraAlertConditionArrayOutput) Index(i pulumi.IntInput) InfraAlertConditionOutput
func (InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutput ¶
func (o InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutput() InfraAlertConditionArrayOutput
func (InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutputWithContext ¶
func (o InfraAlertConditionArrayOutput) ToInfraAlertConditionArrayOutputWithContext(ctx context.Context) InfraAlertConditionArrayOutput
type InfraAlertConditionCriticalArgs ¶
type InfraAlertConditionCriticalArgs struct { Duration pulumi.IntInput `pulumi:"duration"` TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"` Value pulumi.Float64PtrInput `pulumi:"value"` }
func (InfraAlertConditionCriticalArgs) ElementType ¶
func (InfraAlertConditionCriticalArgs) ElementType() reflect.Type
func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutput ¶
func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput
func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutputWithContext ¶
func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalOutputWithContext(ctx context.Context) InfraAlertConditionCriticalOutput
func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutput ¶
func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput
func (InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutputWithContext ¶
func (i InfraAlertConditionCriticalArgs) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput
type InfraAlertConditionCriticalInput ¶
type InfraAlertConditionCriticalInput interface { pulumi.Input ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput ToInfraAlertConditionCriticalOutputWithContext(context.Context) InfraAlertConditionCriticalOutput }
InfraAlertConditionCriticalInput is an input type that accepts InfraAlertConditionCriticalArgs and InfraAlertConditionCriticalOutput values. You can construct a concrete instance of `InfraAlertConditionCriticalInput` via:
InfraAlertConditionCriticalArgs{...}
type InfraAlertConditionCriticalOutput ¶
type InfraAlertConditionCriticalOutput struct{ *pulumi.OutputState }
func (InfraAlertConditionCriticalOutput) Duration ¶
func (o InfraAlertConditionCriticalOutput) Duration() pulumi.IntOutput
func (InfraAlertConditionCriticalOutput) ElementType ¶
func (InfraAlertConditionCriticalOutput) ElementType() reflect.Type
func (InfraAlertConditionCriticalOutput) TimeFunction ¶
func (o InfraAlertConditionCriticalOutput) TimeFunction() pulumi.StringPtrOutput
func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutput ¶
func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutput() InfraAlertConditionCriticalOutput
func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutputWithContext ¶
func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalOutputWithContext(ctx context.Context) InfraAlertConditionCriticalOutput
func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutput ¶
func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput
func (InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutputWithContext ¶
func (o InfraAlertConditionCriticalOutput) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput
func (InfraAlertConditionCriticalOutput) Value ¶
func (o InfraAlertConditionCriticalOutput) Value() pulumi.Float64PtrOutput
type InfraAlertConditionCriticalPtrInput ¶
type InfraAlertConditionCriticalPtrInput interface { pulumi.Input ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput ToInfraAlertConditionCriticalPtrOutputWithContext(context.Context) InfraAlertConditionCriticalPtrOutput }
InfraAlertConditionCriticalPtrInput is an input type that accepts InfraAlertConditionCriticalArgs, InfraAlertConditionCriticalPtr and InfraAlertConditionCriticalPtrOutput values. You can construct a concrete instance of `InfraAlertConditionCriticalPtrInput` via:
InfraAlertConditionCriticalArgs{...} or: nil
func InfraAlertConditionCriticalPtr ¶
func InfraAlertConditionCriticalPtr(v *InfraAlertConditionCriticalArgs) InfraAlertConditionCriticalPtrInput
type InfraAlertConditionCriticalPtrOutput ¶
type InfraAlertConditionCriticalPtrOutput struct{ *pulumi.OutputState }
func (InfraAlertConditionCriticalPtrOutput) Duration ¶
func (o InfraAlertConditionCriticalPtrOutput) Duration() pulumi.IntPtrOutput
func (InfraAlertConditionCriticalPtrOutput) ElementType ¶
func (InfraAlertConditionCriticalPtrOutput) ElementType() reflect.Type
func (InfraAlertConditionCriticalPtrOutput) TimeFunction ¶
func (o InfraAlertConditionCriticalPtrOutput) TimeFunction() pulumi.StringPtrOutput
func (InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutput ¶
func (o InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutput() InfraAlertConditionCriticalPtrOutput
func (InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutputWithContext ¶
func (o InfraAlertConditionCriticalPtrOutput) ToInfraAlertConditionCriticalPtrOutputWithContext(ctx context.Context) InfraAlertConditionCriticalPtrOutput
func (InfraAlertConditionCriticalPtrOutput) Value ¶
func (o InfraAlertConditionCriticalPtrOutput) Value() pulumi.Float64PtrOutput
type InfraAlertConditionInput ¶
type InfraAlertConditionInput interface { pulumi.Input ToInfraAlertConditionOutput() InfraAlertConditionOutput ToInfraAlertConditionOutputWithContext(ctx context.Context) InfraAlertConditionOutput }
type InfraAlertConditionMap ¶
type InfraAlertConditionMap map[string]InfraAlertConditionInput
func (InfraAlertConditionMap) ElementType ¶
func (InfraAlertConditionMap) ElementType() reflect.Type
func (InfraAlertConditionMap) ToInfraAlertConditionMapOutput ¶
func (i InfraAlertConditionMap) ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput
func (InfraAlertConditionMap) ToInfraAlertConditionMapOutputWithContext ¶
func (i InfraAlertConditionMap) ToInfraAlertConditionMapOutputWithContext(ctx context.Context) InfraAlertConditionMapOutput
type InfraAlertConditionMapInput ¶
type InfraAlertConditionMapInput interface { pulumi.Input ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput ToInfraAlertConditionMapOutputWithContext(context.Context) InfraAlertConditionMapOutput }
InfraAlertConditionMapInput is an input type that accepts InfraAlertConditionMap and InfraAlertConditionMapOutput values. You can construct a concrete instance of `InfraAlertConditionMapInput` via:
InfraAlertConditionMap{ "key": InfraAlertConditionArgs{...} }
type InfraAlertConditionMapOutput ¶
type InfraAlertConditionMapOutput struct{ *pulumi.OutputState }
func (InfraAlertConditionMapOutput) ElementType ¶
func (InfraAlertConditionMapOutput) ElementType() reflect.Type
func (InfraAlertConditionMapOutput) MapIndex ¶
func (o InfraAlertConditionMapOutput) MapIndex(k pulumi.StringInput) InfraAlertConditionOutput
func (InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutput ¶
func (o InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutput() InfraAlertConditionMapOutput
func (InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutputWithContext ¶
func (o InfraAlertConditionMapOutput) ToInfraAlertConditionMapOutputWithContext(ctx context.Context) InfraAlertConditionMapOutput
type InfraAlertConditionOutput ¶
type InfraAlertConditionOutput struct{ *pulumi.OutputState }
func (InfraAlertConditionOutput) Comparison ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Comparison() pulumi.StringPtrOutput
The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infraMetric` and `infraProcessRunning` condition types.
func (InfraAlertConditionOutput) CreatedAt ¶ added in v4.15.0
func (o InfraAlertConditionOutput) CreatedAt() pulumi.IntOutput
The timestamp the alert condition was created.
func (InfraAlertConditionOutput) Critical ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Critical() InfraAlertConditionCriticalPtrOutput
Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details.
func (InfraAlertConditionOutput) Description ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Description() pulumi.StringPtrOutput
The description of the Infrastructure alert condition.
func (InfraAlertConditionOutput) ElementType ¶
func (InfraAlertConditionOutput) ElementType() reflect.Type
func (InfraAlertConditionOutput) Enabled ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Enabled() pulumi.BoolPtrOutput
Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`.
func (InfraAlertConditionOutput) Event ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Event() pulumi.StringOutput
The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infraMetric` condition type.
func (InfraAlertConditionOutput) IntegrationProvider ¶ added in v4.15.0
func (o InfraAlertConditionOutput) IntegrationProvider() pulumi.StringPtrOutput
For alerts on integrations, use this instead of `event`. Supported by the `infraMetric` condition type.
func (InfraAlertConditionOutput) Name ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Name() pulumi.StringOutput
The Infrastructure alert condition's name.
func (InfraAlertConditionOutput) PolicyId ¶ added in v4.15.0
func (o InfraAlertConditionOutput) PolicyId() pulumi.IntOutput
The ID of the alert policy where this condition should be used.
func (InfraAlertConditionOutput) ProcessWhere ¶ added in v4.15.0
func (o InfraAlertConditionOutput) ProcessWhere() pulumi.StringPtrOutput
Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infraProcessRunning` condition type.
func (InfraAlertConditionOutput) RunbookUrl ¶ added in v4.15.0
func (o InfraAlertConditionOutput) RunbookUrl() pulumi.StringPtrOutput
Runbook URL to display in notifications.
func (InfraAlertConditionOutput) Select ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Select() pulumi.StringPtrOutput
The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infraMetric` condition type.
func (InfraAlertConditionOutput) ToInfraAlertConditionOutput ¶
func (o InfraAlertConditionOutput) ToInfraAlertConditionOutput() InfraAlertConditionOutput
func (InfraAlertConditionOutput) ToInfraAlertConditionOutputWithContext ¶
func (o InfraAlertConditionOutput) ToInfraAlertConditionOutputWithContext(ctx context.Context) InfraAlertConditionOutput
func (InfraAlertConditionOutput) Type ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Type() pulumi.StringOutput
The type of Infrastructure alert condition. Valid values are `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`.
func (InfraAlertConditionOutput) UpdatedAt ¶ added in v4.15.0
func (o InfraAlertConditionOutput) UpdatedAt() pulumi.IntOutput
The timestamp the alert condition was last updated.
func (InfraAlertConditionOutput) ViolationCloseTimer ¶ added in v4.15.0
func (o InfraAlertConditionOutput) ViolationCloseTimer() pulumi.IntPtrOutput
Determines how much time will pass (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided.
func (InfraAlertConditionOutput) Warning ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Warning() InfraAlertConditionWarningPtrOutput
Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details.
func (InfraAlertConditionOutput) Where ¶ added in v4.15.0
func (o InfraAlertConditionOutput) Where() pulumi.StringPtrOutput
If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`.
type InfraAlertConditionState ¶
type InfraAlertConditionState struct { // The operator used to evaluate the threshold value. Valid values are `above`, `below`, and `equal`. Supported by the `infraMetric` and `infraProcessRunning` condition types. Comparison pulumi.StringPtrInput // The timestamp the alert condition was created. CreatedAt pulumi.IntPtrInput // Identifies the threshold parameters for opening a critical alert violation. See Thresholds below for details. Critical InfraAlertConditionCriticalPtrInput // The description of the Infrastructure alert condition. Description pulumi.StringPtrInput // Whether the condition is turned on or off. Valid values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrInput // The metric event; for example, `SystemSample` or `StorageSample`. Supported by the `infraMetric` condition type. Event pulumi.StringPtrInput // For alerts on integrations, use this instead of `event`. Supported by the `infraMetric` condition type. IntegrationProvider pulumi.StringPtrInput // The Infrastructure alert condition's name. Name pulumi.StringPtrInput // The ID of the alert policy where this condition should be used. PolicyId pulumi.IntPtrInput // Any filters applied to processes; for example: `commandName = 'java'`. Required by the `infraProcessRunning` condition type. ProcessWhere pulumi.StringPtrInput // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrInput // The attribute name to identify the metric being targeted; for example, `cpuPercent`, `diskFreePercent`, or `memoryResidentSizeBytes`. The underlying API will automatically populate this value for Infrastructure integrations (for example `diskFreePercent`), so make sure to explicitly include this value to avoid diff issues. Supported by the `infraMetric` condition type. Select pulumi.StringPtrInput // The type of Infrastructure alert condition. Valid values are `infraProcessRunning`, `infraMetric`, and `infraHostNotReporting`. Type pulumi.StringPtrInput // The timestamp the alert condition was last updated. UpdatedAt pulumi.IntPtrInput // Determines how much time will pass (in hours) before a violation is automatically closed. Valid values are `1 2 4 8 12 24 48 72`. Defaults to 24. If `0` is provided, default of `24` is used and will have configuration drift during the apply phase until a valid value is provided. ViolationCloseTimer pulumi.IntPtrInput // Identifies the threshold parameters for opening a warning alert violation. See Thresholds below for details. Warning InfraAlertConditionWarningPtrInput // If applicable, this identifies any Infrastructure host filters used; for example: `hostname LIKE '%cassandra%'`. Where pulumi.StringPtrInput }
func (InfraAlertConditionState) ElementType ¶
func (InfraAlertConditionState) ElementType() reflect.Type
type InfraAlertConditionWarningArgs ¶
type InfraAlertConditionWarningArgs struct { Duration pulumi.IntInput `pulumi:"duration"` TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"` Value pulumi.Float64PtrInput `pulumi:"value"` }
func (InfraAlertConditionWarningArgs) ElementType ¶
func (InfraAlertConditionWarningArgs) ElementType() reflect.Type
func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutput ¶
func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput
func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutputWithContext ¶
func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningOutputWithContext(ctx context.Context) InfraAlertConditionWarningOutput
func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutput ¶
func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput
func (InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutputWithContext ¶
func (i InfraAlertConditionWarningArgs) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput
type InfraAlertConditionWarningInput ¶
type InfraAlertConditionWarningInput interface { pulumi.Input ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput ToInfraAlertConditionWarningOutputWithContext(context.Context) InfraAlertConditionWarningOutput }
InfraAlertConditionWarningInput is an input type that accepts InfraAlertConditionWarningArgs and InfraAlertConditionWarningOutput values. You can construct a concrete instance of `InfraAlertConditionWarningInput` via:
InfraAlertConditionWarningArgs{...}
type InfraAlertConditionWarningOutput ¶
type InfraAlertConditionWarningOutput struct{ *pulumi.OutputState }
func (InfraAlertConditionWarningOutput) Duration ¶
func (o InfraAlertConditionWarningOutput) Duration() pulumi.IntOutput
func (InfraAlertConditionWarningOutput) ElementType ¶
func (InfraAlertConditionWarningOutput) ElementType() reflect.Type
func (InfraAlertConditionWarningOutput) TimeFunction ¶
func (o InfraAlertConditionWarningOutput) TimeFunction() pulumi.StringPtrOutput
func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutput ¶
func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutput() InfraAlertConditionWarningOutput
func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutputWithContext ¶
func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningOutputWithContext(ctx context.Context) InfraAlertConditionWarningOutput
func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutput ¶
func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput
func (InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutputWithContext ¶
func (o InfraAlertConditionWarningOutput) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput
func (InfraAlertConditionWarningOutput) Value ¶
func (o InfraAlertConditionWarningOutput) Value() pulumi.Float64PtrOutput
type InfraAlertConditionWarningPtrInput ¶
type InfraAlertConditionWarningPtrInput interface { pulumi.Input ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput ToInfraAlertConditionWarningPtrOutputWithContext(context.Context) InfraAlertConditionWarningPtrOutput }
InfraAlertConditionWarningPtrInput is an input type that accepts InfraAlertConditionWarningArgs, InfraAlertConditionWarningPtr and InfraAlertConditionWarningPtrOutput values. You can construct a concrete instance of `InfraAlertConditionWarningPtrInput` via:
InfraAlertConditionWarningArgs{...} or: nil
func InfraAlertConditionWarningPtr ¶
func InfraAlertConditionWarningPtr(v *InfraAlertConditionWarningArgs) InfraAlertConditionWarningPtrInput
type InfraAlertConditionWarningPtrOutput ¶
type InfraAlertConditionWarningPtrOutput struct{ *pulumi.OutputState }
func (InfraAlertConditionWarningPtrOutput) Duration ¶
func (o InfraAlertConditionWarningPtrOutput) Duration() pulumi.IntPtrOutput
func (InfraAlertConditionWarningPtrOutput) Elem ¶
func (o InfraAlertConditionWarningPtrOutput) Elem() InfraAlertConditionWarningOutput
func (InfraAlertConditionWarningPtrOutput) ElementType ¶
func (InfraAlertConditionWarningPtrOutput) ElementType() reflect.Type
func (InfraAlertConditionWarningPtrOutput) TimeFunction ¶
func (o InfraAlertConditionWarningPtrOutput) TimeFunction() pulumi.StringPtrOutput
func (InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutput ¶
func (o InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutput() InfraAlertConditionWarningPtrOutput
func (InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutputWithContext ¶
func (o InfraAlertConditionWarningPtrOutput) ToInfraAlertConditionWarningPtrOutputWithContext(ctx context.Context) InfraAlertConditionWarningPtrOutput
func (InfraAlertConditionWarningPtrOutput) Value ¶
func (o InfraAlertConditionWarningPtrOutput) Value() pulumi.Float64PtrOutput
type LookupAlertChannelArgs ¶
type LookupAlertChannelArgs struct { // The name of the alert channel in New Relic. Name string `pulumi:"name"` }
A collection of arguments for invoking getAlertChannel.
type LookupAlertChannelOutputArgs ¶ added in v4.7.0
type LookupAlertChannelOutputArgs struct { // The name of the alert channel in New Relic. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getAlertChannel.
func (LookupAlertChannelOutputArgs) ElementType ¶ added in v4.7.0
func (LookupAlertChannelOutputArgs) ElementType() reflect.Type
type LookupAlertChannelResult ¶
type LookupAlertChannelResult struct { // Alert channel configuration. Config GetAlertChannelConfig `pulumi:"config"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // A list of policy IDs associated with the alert channel. PolicyIds []int `pulumi:"policyIds"` // Alert channel type, either: `email`, `opsgenie`, `pagerduty`, `slack`, `victorops`, or `webhook`. Type string `pulumi:"type"` }
A collection of values returned by getAlertChannel.
func LookupAlertChannel ¶
func LookupAlertChannel(ctx *pulumi.Context, args *LookupAlertChannelArgs, opts ...pulumi.InvokeOption) (*LookupAlertChannelResult, error)
Use this data source to get information about a specific alert channel in New Relic that already exists.
type LookupAlertChannelResultOutput ¶ added in v4.7.0
type LookupAlertChannelResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlertChannel.
func LookupAlertChannelOutput ¶ added in v4.7.0
func LookupAlertChannelOutput(ctx *pulumi.Context, args LookupAlertChannelOutputArgs, opts ...pulumi.InvokeOption) LookupAlertChannelResultOutput
func (LookupAlertChannelResultOutput) Config ¶ added in v4.7.0
func (o LookupAlertChannelResultOutput) Config() GetAlertChannelConfigOutput
Alert channel configuration.
func (LookupAlertChannelResultOutput) ElementType ¶ added in v4.7.0
func (LookupAlertChannelResultOutput) ElementType() reflect.Type
func (LookupAlertChannelResultOutput) Id ¶ added in v4.7.0
func (o LookupAlertChannelResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAlertChannelResultOutput) Name ¶ added in v4.7.0
func (o LookupAlertChannelResultOutput) Name() pulumi.StringOutput
func (LookupAlertChannelResultOutput) PolicyIds ¶ added in v4.7.0
func (o LookupAlertChannelResultOutput) PolicyIds() pulumi.IntArrayOutput
A list of policy IDs associated with the alert channel.
func (LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutput ¶ added in v4.7.0
func (o LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutput() LookupAlertChannelResultOutput
func (LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutputWithContext ¶ added in v4.7.0
func (o LookupAlertChannelResultOutput) ToLookupAlertChannelResultOutputWithContext(ctx context.Context) LookupAlertChannelResultOutput
func (LookupAlertChannelResultOutput) Type ¶ added in v4.7.0
func (o LookupAlertChannelResultOutput) Type() pulumi.StringOutput
Alert channel type, either: `email`, `opsgenie`, `pagerduty`, `slack`, `victorops`, or `webhook`.
type LookupAlertPolicyArgs ¶
type LookupAlertPolicyArgs struct { AccountId *int `pulumi:"accountId"` // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. IncidentPreference *string `pulumi:"incidentPreference"` // The name of the alert policy in New Relic. Name string `pulumi:"name"` }
A collection of arguments for invoking getAlertPolicy.
type LookupAlertPolicyOutputArgs ¶ added in v4.7.0
type LookupAlertPolicyOutputArgs struct { AccountId pulumi.IntPtrInput `pulumi:"accountId"` // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. IncidentPreference pulumi.StringPtrInput `pulumi:"incidentPreference"` // The name of the alert policy in New Relic. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getAlertPolicy.
func (LookupAlertPolicyOutputArgs) ElementType ¶ added in v4.7.0
func (LookupAlertPolicyOutputArgs) ElementType() reflect.Type
type LookupAlertPolicyResult ¶
type LookupAlertPolicyResult struct { AccountId int `pulumi:"accountId"` // The time the policy was created. CreatedAt string `pulumi:"createdAt"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY. IncidentPreference *string `pulumi:"incidentPreference"` Name string `pulumi:"name"` // The time the policy was last updated. UpdatedAt string `pulumi:"updatedAt"` }
A collection of values returned by getAlertPolicy.
func LookupAlertPolicy ¶
func LookupAlertPolicy(ctx *pulumi.Context, args *LookupAlertPolicyArgs, opts ...pulumi.InvokeOption) (*LookupAlertPolicyResult, error)
Use this data source to get information about a specific alert policy in New Relic that already exists.
type LookupAlertPolicyResultOutput ¶ added in v4.7.0
type LookupAlertPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlertPolicy.
func LookupAlertPolicyOutput ¶ added in v4.7.0
func LookupAlertPolicyOutput(ctx *pulumi.Context, args LookupAlertPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupAlertPolicyResultOutput
func (LookupAlertPolicyResultOutput) AccountId ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) AccountId() pulumi.IntOutput
func (LookupAlertPolicyResultOutput) CreatedAt ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) CreatedAt() pulumi.StringOutput
The time the policy was created.
func (LookupAlertPolicyResultOutput) ElementType ¶ added in v4.7.0
func (LookupAlertPolicyResultOutput) ElementType() reflect.Type
func (LookupAlertPolicyResultOutput) Id ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAlertPolicyResultOutput) IncidentPreference ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) IncidentPreference() pulumi.StringPtrOutput
The rollup strategy for the policy. Options include: PER_POLICY, PER_CONDITION, or PER_CONDITION_AND_TARGET. The default is PER_POLICY.
func (LookupAlertPolicyResultOutput) Name ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) Name() pulumi.StringOutput
func (LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutput ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutput() LookupAlertPolicyResultOutput
func (LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutputWithContext ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) ToLookupAlertPolicyResultOutputWithContext(ctx context.Context) LookupAlertPolicyResultOutput
func (LookupAlertPolicyResultOutput) UpdatedAt ¶ added in v4.7.0
func (o LookupAlertPolicyResultOutput) UpdatedAt() pulumi.StringOutput
The time the policy was last updated.
type NotificationChannel ¶ added in v4.19.0
type NotificationChannel struct { pulumi.CustomResourceState // The id of the destination. DestinationId pulumi.StringOutput `pulumi:"destinationId"` // The name of the channel. Name pulumi.StringOutput `pulumi:"name"` // The type of product. One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`. Product pulumi.StringOutput `pulumi:"product"` // A nested block that describes a notification channel properties. Only one properties block is permitted per notification channel definition. See Nested properties blocks below for details. Properties NotificationChannelPropertyArrayOutput `pulumi:"properties"` // The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`. Type pulumi.StringOutput `pulumi:"type"` }
Use this resource to create and manage New Relic notification channels.
## Example Usage
##### Webhook ```go package main
import (
"fmt" "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{ DestinationId: pulumi.String("1234"), Product: pulumi.String("IINT"), Properties: NotificationChannelPropertyArray{ &NotificationChannelPropertyArgs{ Key: pulumi.String("payload"), Label: pulumi.String("Payload Template"), Value: pulumi.String(fmt.Sprintf("{\n \"name\": \"foo\"\n}\n")), }, }, Type: pulumi.String("WEBHOOK"), }) if err != nil { return err } return nil }) }
``` See additional examples. ## Additional Examples
##### ServiceNow ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{ DestinationId: pulumi.String("1234"), Product: pulumi.String("PD"), Properties: NotificationChannelPropertyArray{ &NotificationChannelPropertyArgs{ Key: pulumi.String("description"), Value: pulumi.String("General description"), }, &NotificationChannelPropertyArgs{ Key: pulumi.String("short_description"), Value: pulumi.String("Short description"), }, }, Type: pulumi.String("SERVICENOW_INCIDENTS"), }) if err != nil { return err } return nil }) }
```
##### Email ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{ DestinationId: pulumi.String("1234"), Product: pulumi.String("ERROR_TRACKING"), Type: pulumi.String("EMAIL"), }) if err != nil { return err } return nil }) }
```
##### PagerDuty with account integration ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{ DestinationId: pulumi.String("1234"), Product: pulumi.String("IINT"), Properties: NotificationChannelPropertyArray{ &NotificationChannelPropertyArgs{ Key: pulumi.String("summary"), Value: pulumi.String("General summary"), }, &NotificationChannelPropertyArgs{ Key: pulumi.String("service"), Value: pulumi.String("1234"), }, &NotificationChannelPropertyArgs{ Key: pulumi.String("email"), Value: pulumi.String("test@test.com"), }, }, Type: pulumi.String("PAGERDUTY_ACCOUNT_INTEGRATION"), }) if err != nil { return err } return nil }) }
```
##### PagerDuty with service integration ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationChannel(ctx, "foo", &newrelic.NotificationChannelArgs{ DestinationId: pulumi.String("1234"), Product: pulumi.String("IINT"), Properties: NotificationChannelPropertyArray{ &NotificationChannelPropertyArgs{ Key: pulumi.String("summary"), Value: pulumi.String("General summary"), }, }, Type: pulumi.String("PAGERDUTY_SERVICE_INTEGRATION"), }) if err != nil { return err } return nil }) }
```
> **NOTE:** Sensitive data such as channel API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.
func GetNotificationChannel ¶ added in v4.19.0
func GetNotificationChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationChannelState, opts ...pulumi.ResourceOption) (*NotificationChannel, error)
GetNotificationChannel gets an existing NotificationChannel 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 NewNotificationChannel ¶ added in v4.19.0
func NewNotificationChannel(ctx *pulumi.Context, name string, args *NotificationChannelArgs, opts ...pulumi.ResourceOption) (*NotificationChannel, error)
NewNotificationChannel registers a new resource with the given unique name, arguments, and options.
func (*NotificationChannel) ElementType ¶ added in v4.19.0
func (*NotificationChannel) ElementType() reflect.Type
func (*NotificationChannel) ToNotificationChannelOutput ¶ added in v4.19.0
func (i *NotificationChannel) ToNotificationChannelOutput() NotificationChannelOutput
func (*NotificationChannel) ToNotificationChannelOutputWithContext ¶ added in v4.19.0
func (i *NotificationChannel) ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput
type NotificationChannelArgs ¶ added in v4.19.0
type NotificationChannelArgs struct { // The id of the destination. DestinationId pulumi.StringInput // The name of the channel. Name pulumi.StringPtrInput // The type of product. One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`. Product pulumi.StringInput // A nested block that describes a notification channel properties. Only one properties block is permitted per notification channel definition. See Nested properties blocks below for details. Properties NotificationChannelPropertyArrayInput // The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`. Type pulumi.StringInput }
The set of arguments for constructing a NotificationChannel resource.
func (NotificationChannelArgs) ElementType ¶ added in v4.19.0
func (NotificationChannelArgs) ElementType() reflect.Type
type NotificationChannelArray ¶ added in v4.19.0
type NotificationChannelArray []NotificationChannelInput
func (NotificationChannelArray) ElementType ¶ added in v4.19.0
func (NotificationChannelArray) ElementType() reflect.Type
func (NotificationChannelArray) ToNotificationChannelArrayOutput ¶ added in v4.19.0
func (i NotificationChannelArray) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput
func (NotificationChannelArray) ToNotificationChannelArrayOutputWithContext ¶ added in v4.19.0
func (i NotificationChannelArray) ToNotificationChannelArrayOutputWithContext(ctx context.Context) NotificationChannelArrayOutput
type NotificationChannelArrayInput ¶ added in v4.19.0
type NotificationChannelArrayInput interface { pulumi.Input ToNotificationChannelArrayOutput() NotificationChannelArrayOutput ToNotificationChannelArrayOutputWithContext(context.Context) NotificationChannelArrayOutput }
NotificationChannelArrayInput is an input type that accepts NotificationChannelArray and NotificationChannelArrayOutput values. You can construct a concrete instance of `NotificationChannelArrayInput` via:
NotificationChannelArray{ NotificationChannelArgs{...} }
type NotificationChannelArrayOutput ¶ added in v4.19.0
type NotificationChannelArrayOutput struct{ *pulumi.OutputState }
func (NotificationChannelArrayOutput) ElementType ¶ added in v4.19.0
func (NotificationChannelArrayOutput) ElementType() reflect.Type
func (NotificationChannelArrayOutput) Index ¶ added in v4.19.0
func (o NotificationChannelArrayOutput) Index(i pulumi.IntInput) NotificationChannelOutput
func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutput ¶ added in v4.19.0
func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput
func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext ¶ added in v4.19.0
func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext(ctx context.Context) NotificationChannelArrayOutput
type NotificationChannelInput ¶ added in v4.19.0
type NotificationChannelInput interface { pulumi.Input ToNotificationChannelOutput() NotificationChannelOutput ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput }
type NotificationChannelMap ¶ added in v4.19.0
type NotificationChannelMap map[string]NotificationChannelInput
func (NotificationChannelMap) ElementType ¶ added in v4.19.0
func (NotificationChannelMap) ElementType() reflect.Type
func (NotificationChannelMap) ToNotificationChannelMapOutput ¶ added in v4.19.0
func (i NotificationChannelMap) ToNotificationChannelMapOutput() NotificationChannelMapOutput
func (NotificationChannelMap) ToNotificationChannelMapOutputWithContext ¶ added in v4.19.0
func (i NotificationChannelMap) ToNotificationChannelMapOutputWithContext(ctx context.Context) NotificationChannelMapOutput
type NotificationChannelMapInput ¶ added in v4.19.0
type NotificationChannelMapInput interface { pulumi.Input ToNotificationChannelMapOutput() NotificationChannelMapOutput ToNotificationChannelMapOutputWithContext(context.Context) NotificationChannelMapOutput }
NotificationChannelMapInput is an input type that accepts NotificationChannelMap and NotificationChannelMapOutput values. You can construct a concrete instance of `NotificationChannelMapInput` via:
NotificationChannelMap{ "key": NotificationChannelArgs{...} }
type NotificationChannelMapOutput ¶ added in v4.19.0
type NotificationChannelMapOutput struct{ *pulumi.OutputState }
func (NotificationChannelMapOutput) ElementType ¶ added in v4.19.0
func (NotificationChannelMapOutput) ElementType() reflect.Type
func (NotificationChannelMapOutput) MapIndex ¶ added in v4.19.0
func (o NotificationChannelMapOutput) MapIndex(k pulumi.StringInput) NotificationChannelOutput
func (NotificationChannelMapOutput) ToNotificationChannelMapOutput ¶ added in v4.19.0
func (o NotificationChannelMapOutput) ToNotificationChannelMapOutput() NotificationChannelMapOutput
func (NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext ¶ added in v4.19.0
func (o NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext(ctx context.Context) NotificationChannelMapOutput
type NotificationChannelOutput ¶ added in v4.19.0
type NotificationChannelOutput struct{ *pulumi.OutputState }
func (NotificationChannelOutput) DestinationId ¶ added in v4.19.0
func (o NotificationChannelOutput) DestinationId() pulumi.StringOutput
The id of the destination.
func (NotificationChannelOutput) ElementType ¶ added in v4.19.0
func (NotificationChannelOutput) ElementType() reflect.Type
func (NotificationChannelOutput) Name ¶ added in v4.19.0
func (o NotificationChannelOutput) Name() pulumi.StringOutput
The name of the channel.
func (NotificationChannelOutput) Product ¶ added in v4.19.0
func (o NotificationChannelOutput) Product() pulumi.StringOutput
The type of product. One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`.
func (NotificationChannelOutput) Properties ¶ added in v4.19.0
func (o NotificationChannelOutput) Properties() NotificationChannelPropertyArrayOutput
A nested block that describes a notification channel properties. Only one properties block is permitted per notification channel definition. See Nested properties blocks below for details.
func (NotificationChannelOutput) ToNotificationChannelOutput ¶ added in v4.19.0
func (o NotificationChannelOutput) ToNotificationChannelOutput() NotificationChannelOutput
func (NotificationChannelOutput) ToNotificationChannelOutputWithContext ¶ added in v4.19.0
func (o NotificationChannelOutput) ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput
func (NotificationChannelOutput) Type ¶ added in v4.19.0
func (o NotificationChannelOutput) Type() pulumi.StringOutput
The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`.
type NotificationChannelProperty ¶ added in v4.19.0
type NotificationChannelPropertyArgs ¶ added in v4.19.0
type NotificationChannelPropertyArgs struct { DisplayValue pulumi.StringPtrInput `pulumi:"displayValue"` Key pulumi.StringInput `pulumi:"key"` Label pulumi.StringPtrInput `pulumi:"label"` Value pulumi.StringInput `pulumi:"value"` }
func (NotificationChannelPropertyArgs) ElementType ¶ added in v4.19.0
func (NotificationChannelPropertyArgs) ElementType() reflect.Type
func (NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutput ¶ added in v4.19.0
func (i NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput
func (NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutputWithContext ¶ added in v4.19.0
func (i NotificationChannelPropertyArgs) ToNotificationChannelPropertyOutputWithContext(ctx context.Context) NotificationChannelPropertyOutput
type NotificationChannelPropertyArray ¶ added in v4.19.0
type NotificationChannelPropertyArray []NotificationChannelPropertyInput
func (NotificationChannelPropertyArray) ElementType ¶ added in v4.19.0
func (NotificationChannelPropertyArray) ElementType() reflect.Type
func (NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutput ¶ added in v4.19.0
func (i NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput
func (NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutputWithContext ¶ added in v4.19.0
func (i NotificationChannelPropertyArray) ToNotificationChannelPropertyArrayOutputWithContext(ctx context.Context) NotificationChannelPropertyArrayOutput
type NotificationChannelPropertyArrayInput ¶ added in v4.19.0
type NotificationChannelPropertyArrayInput interface { pulumi.Input ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput ToNotificationChannelPropertyArrayOutputWithContext(context.Context) NotificationChannelPropertyArrayOutput }
NotificationChannelPropertyArrayInput is an input type that accepts NotificationChannelPropertyArray and NotificationChannelPropertyArrayOutput values. You can construct a concrete instance of `NotificationChannelPropertyArrayInput` via:
NotificationChannelPropertyArray{ NotificationChannelPropertyArgs{...} }
type NotificationChannelPropertyArrayOutput ¶ added in v4.19.0
type NotificationChannelPropertyArrayOutput struct{ *pulumi.OutputState }
func (NotificationChannelPropertyArrayOutput) ElementType ¶ added in v4.19.0
func (NotificationChannelPropertyArrayOutput) ElementType() reflect.Type
func (NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutput ¶ added in v4.19.0
func (o NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutput() NotificationChannelPropertyArrayOutput
func (NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutputWithContext ¶ added in v4.19.0
func (o NotificationChannelPropertyArrayOutput) ToNotificationChannelPropertyArrayOutputWithContext(ctx context.Context) NotificationChannelPropertyArrayOutput
type NotificationChannelPropertyInput ¶ added in v4.19.0
type NotificationChannelPropertyInput interface { pulumi.Input ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput ToNotificationChannelPropertyOutputWithContext(context.Context) NotificationChannelPropertyOutput }
NotificationChannelPropertyInput is an input type that accepts NotificationChannelPropertyArgs and NotificationChannelPropertyOutput values. You can construct a concrete instance of `NotificationChannelPropertyInput` via:
NotificationChannelPropertyArgs{...}
type NotificationChannelPropertyOutput ¶ added in v4.19.0
type NotificationChannelPropertyOutput struct{ *pulumi.OutputState }
func (NotificationChannelPropertyOutput) DisplayValue ¶ added in v4.19.0
func (o NotificationChannelPropertyOutput) DisplayValue() pulumi.StringPtrOutput
func (NotificationChannelPropertyOutput) ElementType ¶ added in v4.19.0
func (NotificationChannelPropertyOutput) ElementType() reflect.Type
func (NotificationChannelPropertyOutput) Key ¶ added in v4.19.0
func (o NotificationChannelPropertyOutput) Key() pulumi.StringOutput
func (NotificationChannelPropertyOutput) Label ¶ added in v4.19.0
func (o NotificationChannelPropertyOutput) Label() pulumi.StringPtrOutput
func (NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutput ¶ added in v4.19.0
func (o NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutput() NotificationChannelPropertyOutput
func (NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutputWithContext ¶ added in v4.19.0
func (o NotificationChannelPropertyOutput) ToNotificationChannelPropertyOutputWithContext(ctx context.Context) NotificationChannelPropertyOutput
func (NotificationChannelPropertyOutput) Value ¶ added in v4.19.0
func (o NotificationChannelPropertyOutput) Value() pulumi.StringOutput
type NotificationChannelState ¶ added in v4.19.0
type NotificationChannelState struct { // The id of the destination. DestinationId pulumi.StringPtrInput // The name of the channel. Name pulumi.StringPtrInput // The type of product. One of: `ALERTS`, `DISCUSSIONS`, `ERROR_TRACKING`, `IINT`, `NTFC`, `PD` or `SHARING`. Product pulumi.StringPtrInput // A nested block that describes a notification channel properties. Only one properties block is permitted per notification channel definition. See Nested properties blocks below for details. Properties NotificationChannelPropertyArrayInput // The type of channel. One of: `EMAIL`, `SERVICENOW_INCIDENTS`, `WEBHOOK`, `PAGERDUTY_ACCOUNT_INTEGRATION` or `PAGERDUTY_SERVICE_INTEGRATION`. Type pulumi.StringPtrInput }
func (NotificationChannelState) ElementType ¶ added in v4.19.0
func (NotificationChannelState) ElementType() reflect.Type
type NotificationDestination ¶ added in v4.19.0
type NotificationDestination struct { pulumi.CustomResourceState // A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition. See Nested auth blocks below for details. Auth pulumi.StringMapOutput `pulumi:"auth"` // The name of the destination. Name pulumi.StringOutput `pulumi:"name"` // A nested block that describes a notification destination properties. Only one properties block is permitted per notification destination definition. See Nested properties blocks below for details. Properties NotificationDestinationPropertyArrayOutput `pulumi:"properties"` // The type of the auth. One of: `TOKEN` or `BASIC`. Type pulumi.StringOutput `pulumi:"type"` }
Use this resource to create and manage New Relic notification destinations.
## Example Usage
##### Webhook ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{ Auth: pulumi.StringMap{ "password": pulumi.String("1234"), "type": pulumi.String("BASIC"), "user": pulumi.String("user"), }, Properties: NotificationDestinationPropertyArray{ &NotificationDestinationPropertyArgs{ Key: pulumi.String("url"), Value: pulumi.String("https://webhook.site/"), }, }, Type: pulumi.String("WEBHOOK"), }) if err != nil { return err } return nil }) }
``` See additional examples. ## Additional Examples
##### ServiceNow
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{ Auth: pulumi.StringMap{ "password": pulumi.String("pass"), "type": pulumi.String("BASIC"), "user": pulumi.String("user"), }, Properties: NotificationDestinationPropertyArray{ &NotificationDestinationPropertyArgs{ Key: pulumi.String("url"), Value: pulumi.String("https://service-now.com/"), }, &NotificationDestinationPropertyArgs{ Key: pulumi.String("two_way_integration"), Value: pulumi.String("true"), }, }, Type: pulumi.String("SERVICE_NOW"), }) if err != nil { return err } return nil }) }
```
##### Email ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{ Auth: pulumi.StringMap{ "prefix": pulumi.String("prefix"), "token": pulumi.String("bearer"), "type": pulumi.String("TOKEN"), }, Properties: NotificationDestinationPropertyArray{ &NotificationDestinationPropertyArgs{ Key: pulumi.String("email"), Value: pulumi.String("email@email.com,email2@email.com"), }, }, Type: pulumi.String("EMAIL"), }) if err != nil { return err } return nil }) }
```
##### PagerDuty with service integration ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{ Auth: pulumi.StringMap{ "prefix": pulumi.String("prefix"), "token": pulumi.String("bearer"), "type": pulumi.String("TOKEN"), }, Properties: NotificationDestinationPropertyArray{ &NotificationDestinationPropertyArgs{ Key: pulumi.String("two_way_integration"), Value: pulumi.String("true"), }, }, Type: pulumi.String("PAGERDUTY_SERVICE_INTEGRATION"), }) if err != nil { return err } return nil }) }
```
##### PagerDuty with account integration ```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNotificationDestination(ctx, "foo", &newrelic.NotificationDestinationArgs{ Auth: pulumi.StringMap{ "prefix": pulumi.String("prefix"), "token": pulumi.String("bearer"), "type": pulumi.String("TOKEN"), }, Type: pulumi.String("PAGERDUTY_ACCOUNT_INTEGRATION"), }) if err != nil { return err } return nil }) }
```
> **NOTE:** Sensitive data such as destination API keys, service keys, etc are not returned from the underlying API for security reasons and may not be set in state when importing.
func GetNotificationDestination ¶ added in v4.19.0
func GetNotificationDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationDestinationState, opts ...pulumi.ResourceOption) (*NotificationDestination, error)
GetNotificationDestination gets an existing NotificationDestination 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 NewNotificationDestination ¶ added in v4.19.0
func NewNotificationDestination(ctx *pulumi.Context, name string, args *NotificationDestinationArgs, opts ...pulumi.ResourceOption) (*NotificationDestination, error)
NewNotificationDestination registers a new resource with the given unique name, arguments, and options.
func (*NotificationDestination) ElementType ¶ added in v4.19.0
func (*NotificationDestination) ElementType() reflect.Type
func (*NotificationDestination) ToNotificationDestinationOutput ¶ added in v4.19.0
func (i *NotificationDestination) ToNotificationDestinationOutput() NotificationDestinationOutput
func (*NotificationDestination) ToNotificationDestinationOutputWithContext ¶ added in v4.19.0
func (i *NotificationDestination) ToNotificationDestinationOutputWithContext(ctx context.Context) NotificationDestinationOutput
type NotificationDestinationArgs ¶ added in v4.19.0
type NotificationDestinationArgs struct { // A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition. See Nested auth blocks below for details. Auth pulumi.StringMapInput // The name of the destination. Name pulumi.StringPtrInput // A nested block that describes a notification destination properties. Only one properties block is permitted per notification destination definition. See Nested properties blocks below for details. Properties NotificationDestinationPropertyArrayInput // The type of the auth. One of: `TOKEN` or `BASIC`. Type pulumi.StringInput }
The set of arguments for constructing a NotificationDestination resource.
func (NotificationDestinationArgs) ElementType ¶ added in v4.19.0
func (NotificationDestinationArgs) ElementType() reflect.Type
type NotificationDestinationArray ¶ added in v4.19.0
type NotificationDestinationArray []NotificationDestinationInput
func (NotificationDestinationArray) ElementType ¶ added in v4.19.0
func (NotificationDestinationArray) ElementType() reflect.Type
func (NotificationDestinationArray) ToNotificationDestinationArrayOutput ¶ added in v4.19.0
func (i NotificationDestinationArray) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput
func (NotificationDestinationArray) ToNotificationDestinationArrayOutputWithContext ¶ added in v4.19.0
func (i NotificationDestinationArray) ToNotificationDestinationArrayOutputWithContext(ctx context.Context) NotificationDestinationArrayOutput
type NotificationDestinationArrayInput ¶ added in v4.19.0
type NotificationDestinationArrayInput interface { pulumi.Input ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput ToNotificationDestinationArrayOutputWithContext(context.Context) NotificationDestinationArrayOutput }
NotificationDestinationArrayInput is an input type that accepts NotificationDestinationArray and NotificationDestinationArrayOutput values. You can construct a concrete instance of `NotificationDestinationArrayInput` via:
NotificationDestinationArray{ NotificationDestinationArgs{...} }
type NotificationDestinationArrayOutput ¶ added in v4.19.0
type NotificationDestinationArrayOutput struct{ *pulumi.OutputState }
func (NotificationDestinationArrayOutput) ElementType ¶ added in v4.19.0
func (NotificationDestinationArrayOutput) ElementType() reflect.Type
func (NotificationDestinationArrayOutput) Index ¶ added in v4.19.0
func (o NotificationDestinationArrayOutput) Index(i pulumi.IntInput) NotificationDestinationOutput
func (NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutput ¶ added in v4.19.0
func (o NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutput() NotificationDestinationArrayOutput
func (NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutputWithContext ¶ added in v4.19.0
func (o NotificationDestinationArrayOutput) ToNotificationDestinationArrayOutputWithContext(ctx context.Context) NotificationDestinationArrayOutput
type NotificationDestinationInput ¶ added in v4.19.0
type NotificationDestinationInput interface { pulumi.Input ToNotificationDestinationOutput() NotificationDestinationOutput ToNotificationDestinationOutputWithContext(ctx context.Context) NotificationDestinationOutput }
type NotificationDestinationMap ¶ added in v4.19.0
type NotificationDestinationMap map[string]NotificationDestinationInput
func (NotificationDestinationMap) ElementType ¶ added in v4.19.0
func (NotificationDestinationMap) ElementType() reflect.Type
func (NotificationDestinationMap) ToNotificationDestinationMapOutput ¶ added in v4.19.0
func (i NotificationDestinationMap) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput
func (NotificationDestinationMap) ToNotificationDestinationMapOutputWithContext ¶ added in v4.19.0
func (i NotificationDestinationMap) ToNotificationDestinationMapOutputWithContext(ctx context.Context) NotificationDestinationMapOutput
type NotificationDestinationMapInput ¶ added in v4.19.0
type NotificationDestinationMapInput interface { pulumi.Input ToNotificationDestinationMapOutput() NotificationDestinationMapOutput ToNotificationDestinationMapOutputWithContext(context.Context) NotificationDestinationMapOutput }
NotificationDestinationMapInput is an input type that accepts NotificationDestinationMap and NotificationDestinationMapOutput values. You can construct a concrete instance of `NotificationDestinationMapInput` via:
NotificationDestinationMap{ "key": NotificationDestinationArgs{...} }
type NotificationDestinationMapOutput ¶ added in v4.19.0
type NotificationDestinationMapOutput struct{ *pulumi.OutputState }
func (NotificationDestinationMapOutput) ElementType ¶ added in v4.19.0
func (NotificationDestinationMapOutput) ElementType() reflect.Type
func (NotificationDestinationMapOutput) MapIndex ¶ added in v4.19.0
func (o NotificationDestinationMapOutput) MapIndex(k pulumi.StringInput) NotificationDestinationOutput
func (NotificationDestinationMapOutput) ToNotificationDestinationMapOutput ¶ added in v4.19.0
func (o NotificationDestinationMapOutput) ToNotificationDestinationMapOutput() NotificationDestinationMapOutput
func (NotificationDestinationMapOutput) ToNotificationDestinationMapOutputWithContext ¶ added in v4.19.0
func (o NotificationDestinationMapOutput) ToNotificationDestinationMapOutputWithContext(ctx context.Context) NotificationDestinationMapOutput
type NotificationDestinationOutput ¶ added in v4.19.0
type NotificationDestinationOutput struct{ *pulumi.OutputState }
func (NotificationDestinationOutput) Auth ¶ added in v4.19.0
func (o NotificationDestinationOutput) Auth() pulumi.StringMapOutput
A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition. See Nested auth blocks below for details.
func (NotificationDestinationOutput) ElementType ¶ added in v4.19.0
func (NotificationDestinationOutput) ElementType() reflect.Type
func (NotificationDestinationOutput) Name ¶ added in v4.19.0
func (o NotificationDestinationOutput) Name() pulumi.StringOutput
The name of the destination.
func (NotificationDestinationOutput) Properties ¶ added in v4.19.0
func (o NotificationDestinationOutput) Properties() NotificationDestinationPropertyArrayOutput
A nested block that describes a notification destination properties. Only one properties block is permitted per notification destination definition. See Nested properties blocks below for details.
func (NotificationDestinationOutput) ToNotificationDestinationOutput ¶ added in v4.19.0
func (o NotificationDestinationOutput) ToNotificationDestinationOutput() NotificationDestinationOutput
func (NotificationDestinationOutput) ToNotificationDestinationOutputWithContext ¶ added in v4.19.0
func (o NotificationDestinationOutput) ToNotificationDestinationOutputWithContext(ctx context.Context) NotificationDestinationOutput
func (NotificationDestinationOutput) Type ¶ added in v4.19.0
func (o NotificationDestinationOutput) Type() pulumi.StringOutput
The type of the auth. One of: `TOKEN` or `BASIC`.
type NotificationDestinationProperty ¶ added in v4.19.0
type NotificationDestinationPropertyArgs ¶ added in v4.19.0
type NotificationDestinationPropertyArgs struct { DisplayValue pulumi.StringPtrInput `pulumi:"displayValue"` Key pulumi.StringInput `pulumi:"key"` Label pulumi.StringPtrInput `pulumi:"label"` Value pulumi.StringInput `pulumi:"value"` }
func (NotificationDestinationPropertyArgs) ElementType ¶ added in v4.19.0
func (NotificationDestinationPropertyArgs) ElementType() reflect.Type
func (NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutput ¶ added in v4.19.0
func (i NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput
func (NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutputWithContext ¶ added in v4.19.0
func (i NotificationDestinationPropertyArgs) ToNotificationDestinationPropertyOutputWithContext(ctx context.Context) NotificationDestinationPropertyOutput
type NotificationDestinationPropertyArray ¶ added in v4.19.0
type NotificationDestinationPropertyArray []NotificationDestinationPropertyInput
func (NotificationDestinationPropertyArray) ElementType ¶ added in v4.19.0
func (NotificationDestinationPropertyArray) ElementType() reflect.Type
func (NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutput ¶ added in v4.19.0
func (i NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput
func (NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutputWithContext ¶ added in v4.19.0
func (i NotificationDestinationPropertyArray) ToNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) NotificationDestinationPropertyArrayOutput
type NotificationDestinationPropertyArrayInput ¶ added in v4.19.0
type NotificationDestinationPropertyArrayInput interface { pulumi.Input ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput ToNotificationDestinationPropertyArrayOutputWithContext(context.Context) NotificationDestinationPropertyArrayOutput }
NotificationDestinationPropertyArrayInput is an input type that accepts NotificationDestinationPropertyArray and NotificationDestinationPropertyArrayOutput values. You can construct a concrete instance of `NotificationDestinationPropertyArrayInput` via:
NotificationDestinationPropertyArray{ NotificationDestinationPropertyArgs{...} }
type NotificationDestinationPropertyArrayOutput ¶ added in v4.19.0
type NotificationDestinationPropertyArrayOutput struct{ *pulumi.OutputState }
func (NotificationDestinationPropertyArrayOutput) ElementType ¶ added in v4.19.0
func (NotificationDestinationPropertyArrayOutput) ElementType() reflect.Type
func (NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutput ¶ added in v4.19.0
func (o NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutput() NotificationDestinationPropertyArrayOutput
func (NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutputWithContext ¶ added in v4.19.0
func (o NotificationDestinationPropertyArrayOutput) ToNotificationDestinationPropertyArrayOutputWithContext(ctx context.Context) NotificationDestinationPropertyArrayOutput
type NotificationDestinationPropertyInput ¶ added in v4.19.0
type NotificationDestinationPropertyInput interface { pulumi.Input ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput ToNotificationDestinationPropertyOutputWithContext(context.Context) NotificationDestinationPropertyOutput }
NotificationDestinationPropertyInput is an input type that accepts NotificationDestinationPropertyArgs and NotificationDestinationPropertyOutput values. You can construct a concrete instance of `NotificationDestinationPropertyInput` via:
NotificationDestinationPropertyArgs{...}
type NotificationDestinationPropertyOutput ¶ added in v4.19.0
type NotificationDestinationPropertyOutput struct{ *pulumi.OutputState }
func (NotificationDestinationPropertyOutput) DisplayValue ¶ added in v4.19.0
func (o NotificationDestinationPropertyOutput) DisplayValue() pulumi.StringPtrOutput
func (NotificationDestinationPropertyOutput) ElementType ¶ added in v4.19.0
func (NotificationDestinationPropertyOutput) ElementType() reflect.Type
func (NotificationDestinationPropertyOutput) Key ¶ added in v4.19.0
func (o NotificationDestinationPropertyOutput) Key() pulumi.StringOutput
func (NotificationDestinationPropertyOutput) Label ¶ added in v4.19.0
func (o NotificationDestinationPropertyOutput) Label() pulumi.StringPtrOutput
func (NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutput ¶ added in v4.19.0
func (o NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutput() NotificationDestinationPropertyOutput
func (NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutputWithContext ¶ added in v4.19.0
func (o NotificationDestinationPropertyOutput) ToNotificationDestinationPropertyOutputWithContext(ctx context.Context) NotificationDestinationPropertyOutput
func (NotificationDestinationPropertyOutput) Value ¶ added in v4.19.0
func (o NotificationDestinationPropertyOutput) Value() pulumi.StringOutput
type NotificationDestinationState ¶ added in v4.19.0
type NotificationDestinationState struct { // A nested block that describes a notification destination authentication. Only one auth block is permitted per notification destination definition. See Nested auth blocks below for details. Auth pulumi.StringMapInput // The name of the destination. Name pulumi.StringPtrInput // A nested block that describes a notification destination properties. Only one properties block is permitted per notification destination definition. See Nested properties blocks below for details. Properties NotificationDestinationPropertyArrayInput // The type of the auth. One of: `TOKEN` or `BASIC`. Type pulumi.StringPtrInput }
func (NotificationDestinationState) ElementType ¶ added in v4.19.0
func (NotificationDestinationState) ElementType() reflect.Type
type NrqlAlertCondition ¶
type NrqlAlertCondition struct { pulumi.CustomResourceState // The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`. AccountId pulumi.IntOutput `pulumi:"accountId"` // How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`. AggregationDelay pulumi.StringPtrOutput `pulumi:"aggregationDelay"` // Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`. AggregationMethod pulumi.StringPtrOutput `pulumi:"aggregationMethod"` // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer pulumi.StringPtrOutput `pulumi:"aggregationTimer"` // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 seconds. AggregationWindow pulumi.IntOutput `pulumi:"aggregationWindow"` // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection pulumi.StringPtrOutput `pulumi:"baselineDirection"` // Whether to close all open violations when the signal expires. CloseViolationsOnExpiration pulumi.BoolPtrOutput `pulumi:"closeViolationsOnExpiration"` // A list containing the `critical` threshold values. See Terms below for details. Critical NrqlAlertConditionCriticalPtrOutput `pulumi:"critical"` // The description of the NRQL alert condition. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The unique entity identifier of the NRQL Condition in New Relic. EntityGuid pulumi.StringOutput `pulumi:"entityGuid"` // The amount of time (in seconds) to wait before considering the signal expired. ExpirationDuration pulumi.IntPtrOutput `pulumi:"expirationDuration"` // Which strategy to use when filling gaps in the signal. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal. FillOption pulumi.StringPtrOutput `pulumi:"fillOption"` // This value will be used for filling gaps in the signal. FillValue pulumi.Float64PtrOutput `pulumi:"fillValue"` // The title of the condition. Name pulumi.StringOutput `pulumi:"name"` // A NRQL query. See NRQL below for details. Nrql NrqlAlertConditionNrqlOutput `pulumi:"nrql"` // Whether to create a new violation to capture that the signal expired. OpenViolationOnExpiration pulumi.BoolPtrOutput `pulumi:"openViolationOnExpiration"` // The ID of the policy where this condition should be used. PolicyId pulumi.IntOutput `pulumi:"policyId"` // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrOutput `pulumi:"runbookUrl"` // Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`. SlideBy pulumi.IntPtrOutput `pulumi:"slideBy"` // **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details. // // Deprecated: use `critical` and `warning` attributes instead Terms NrqlAlertConditionTermArrayOutput `pulumi:"terms"` // The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`. Type pulumi.StringPtrOutput `pulumi:"type"` // Possible values are `singleValue`, `sum` (case insensitive). // // Deprecated: 'value_function' is deprecated. Remove this field and condition will evaluate as 'single_value' by default. To replicate 'sum' behavior, use 'slide_by'. ValueFunction pulumi.StringPtrOutput `pulumi:"valueFunction"` // **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br> // <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small> // // Deprecated: use `violation_time_limit_seconds` attribute instead ViolationTimeLimit pulumi.StringOutput `pulumi:"violationTimeLimit"` // Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br> // <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small> ViolationTimeLimitSeconds pulumi.IntPtrOutput `pulumi:"violationTimeLimitSeconds"` // A list containing the `warning` threshold values. See Terms below for details. Warning NrqlAlertConditionWarningPtrOutput `pulumi:"warning"` }
Use this resource to create and manage NRQL alert conditions in New Relic.
## Example Usage ## NRQL
The `nrql` block supports the following arguments:
- `query` - (Required) The NRQL query to execute for the condition. - `evaluationOffset` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated based on their `aggregationWindow` size. The start time depends on this value. It's recommended to set this to 3 windows. An offset of less than 3 windows will trigger violations sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 windows and an `aggregationWindow` of 60 seconds, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`. `evaluationOffset` cannot be set with `aggregationMethod`, `aggregationDelay`, or `aggregationTimer`.<br> - `sinceValue` - (Optional) **DEPRECATED:** Use `aggregationMethod` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br>
## Terms
> **NOTE:** The direct use of the `term` has been deprecated, and users should use `critical` and `warning` instead. What follows now applies to the named priority attributes for `critical` and `warning`, but for those attributes the priority is not allowed.
NRQL alert conditions support up to two terms. At least one `term` must have `priority` set to `critical` and the second optional `term` must have `priority` set to `warning`.
The `term` block supports the following arguments:
- `operator` - (Optional) Valid values are `above`, `aboveOrEquals`, `below`, `belowOrEquals`, `equals`, or `notEquals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `baseline`, the only valid option here is `above`. - `priority` - (Optional) `critical` or `warning`. Defaults to `critical`. - `threshold` - (Required) The value which will trigger a violation. <br>For _baseline_ NRQL alert conditions, the value must be in the range [1, 1000]. The value is the number of standard deviations from the baseline that the metric must exceed in order to create a violation. - `thresholdDuration` - (Optional) The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
- `thresholdOccurrences` - (Optional) The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). - `duration` - (Optional) **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). - `timeFunction` - (Optional) **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
## Additional Examples
##### Type: `baseline`
[Baseline NRQL alert conditions](https://docs.newrelic.com/docs/alerts/new-relic-alerts/defining-conditions/create-baseline-alert-conditions) are dynamic in nature and adjust to the behavior of your data. The example below demonstrates a baseline NRQL alert condition for alerting when transaction durations are above a specified threshold and dynamically adjusts based on data trends.
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooAlertPolicy, err := newrelic.NewAlertPolicy(ctx, "fooAlertPolicy", nil) if err != nil { return err } _, err = newrelic.NewAlertPolicy(ctx, "fooIndex/alertPolicyAlertPolicy", nil) if err != nil { return err } _, err = newrelic.NewNrqlAlertCondition(ctx, "fooNrqlAlertCondition", &newrelic.NrqlAlertConditionArgs{ AccountId: pulumi.Int("your_account_id"), PolicyId: fooAlertPolicy.ID(), Type: pulumi.String("static"), Description: pulumi.String("Alert when transactions are taking too long"), RunbookUrl: pulumi.String("https://www.example.com"), Enabled: pulumi.Bool(true), ViolationTimeLimitSeconds: pulumi.Int(3600), FillOption: pulumi.String("static"), FillValue: pulumi.Float64(1), AggregationWindow: pulumi.Int(60), AggregationMethod: pulumi.String("event_flow"), AggregationDelay: pulumi.String("120"), ExpirationDuration: pulumi.Int(120), OpenViolationOnExpiration: pulumi.Bool(true), CloseViolationsOnExpiration: pulumi.Bool(true), SlideBy: pulumi.Int(30), Nrql: &NrqlAlertConditionNrqlArgs{ Query: pulumi.String("SELECT average(duration) FROM Transaction where appName = 'Your App'"), }, Critical: &NrqlAlertConditionCriticalArgs{ Operator: pulumi.String("above"), Threshold: pulumi.Float64(5.5), ThresholdDuration: pulumi.Int(300), ThresholdOccurrences: pulumi.String("ALL"), }, Warning: &NrqlAlertConditionWarningArgs{ Operator: pulumi.String("above"), Threshold: pulumi.Float64(3.5), ThresholdDuration: pulumi.Int(600), ThresholdOccurrences: pulumi.String("ALL"), }, }) if err != nil { return err } return nil }) }
```
<<<<<<< HEAD ## Upgrade from 1.x to 2.x
There have been several deprecations in the `NrqlAlertCondition` resource. Users will need to make some updates in order to have a smooth upgrade.
An example resource from 1.x might look like the following.
```go package main
import (
"fmt" "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNrqlAlertCondition(ctx, "nrqlAlertCondition", &newrelic.NrqlAlertConditionArgs{ PolicyId: pulumi.Any(newrelic_alert_policy.Z.Id), Type: pulumi.String("static"), RunbookUrl: pulumi.String("https://localhost"), Enabled: pulumi.Bool(true), ValueFunction: pulumi.String("sum"), ViolationTimeLimit: pulumi.String("TWENTY_FOUR_HOURS"), Critical: &NrqlAlertConditionCriticalArgs{ Operator: pulumi.String("above"), ThresholdDuration: pulumi.Int(120), Threshold: pulumi.Float64(3), ThresholdOccurrences: pulumi.String("AT_LEAST_ONCE"), }, Nrql: &NrqlAlertConditionNrqlArgs{ Query: pulumi.String(fmt.Sprintf("SELECT count(*) FROM TransactionError WHERE appName like '%vDummy App%v' FACET appName", "%", "%")), }, }) if err != nil { return err } return nil }) }
```
After making the appropriate adjustments mentioned in the deprecation warnings, the resource now looks like the following.
```go package main
import (
"fmt" "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNrqlAlertCondition(ctx, "nrqlAlertCondition", &newrelic.NrqlAlertConditionArgs{ PolicyId: pulumi.Any(newrelic_alert_policy.Z.Id), Type: pulumi.String("static"), RunbookUrl: pulumi.String("https://localhost"), Enabled: pulumi.Bool(true), ValueFunction: pulumi.String("sum"), ViolationTimeLimitSeconds: pulumi.Int(86400), Terms: NrqlAlertConditionTermArray{ &NrqlAlertConditionTermArgs{ Priority: pulumi.String("critical"), Operator: pulumi.String("above"), Threshold: pulumi.Float64(3), Duration: pulumi.Int(5), TimeFunction: pulumi.String("any"), }, }, Nrql: &NrqlAlertConditionNrqlArgs{ Query: pulumi.String(fmt.Sprintf("SELECT count(*) FROM TransactionError WHERE appName like '%vDummy App%v' FACET appName", "%", "%")), }, }) if err != nil { return err } return nil }) }
```
## Import
NRQL alert conditions can be imported using a composite ID of `<policy_id>:<condition_id>:<conditionType>`, e.g. // For `baseline` conditions
```sh
$ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:baseline
```
// For `static` conditions
```sh
$ pulumi import newrelic:index/nrqlAlertCondition:NrqlAlertCondition foo 538291:6789035:static
```
<<<<<<< HEAD ======= >>>>>>> v2.46.1 Users can find the actual values for `policy_id` and `condition_id` from the New Relic One UI under respective policy and condition.
func GetNrqlAlertCondition ¶
func GetNrqlAlertCondition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NrqlAlertConditionState, opts ...pulumi.ResourceOption) (*NrqlAlertCondition, error)
GetNrqlAlertCondition gets an existing NrqlAlertCondition 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 NewNrqlAlertCondition ¶
func NewNrqlAlertCondition(ctx *pulumi.Context, name string, args *NrqlAlertConditionArgs, opts ...pulumi.ResourceOption) (*NrqlAlertCondition, error)
NewNrqlAlertCondition registers a new resource with the given unique name, arguments, and options.
func (*NrqlAlertCondition) ElementType ¶
func (*NrqlAlertCondition) ElementType() reflect.Type
func (*NrqlAlertCondition) ToNrqlAlertConditionOutput ¶
func (i *NrqlAlertCondition) ToNrqlAlertConditionOutput() NrqlAlertConditionOutput
func (*NrqlAlertCondition) ToNrqlAlertConditionOutputWithContext ¶
func (i *NrqlAlertCondition) ToNrqlAlertConditionOutputWithContext(ctx context.Context) NrqlAlertConditionOutput
type NrqlAlertConditionArgs ¶
type NrqlAlertConditionArgs struct { // The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`. AccountId pulumi.IntPtrInput // How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`. AggregationDelay pulumi.StringPtrInput // Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`. AggregationMethod pulumi.StringPtrInput // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer pulumi.StringPtrInput // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 seconds. AggregationWindow pulumi.IntPtrInput // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection pulumi.StringPtrInput // Whether to close all open violations when the signal expires. CloseViolationsOnExpiration pulumi.BoolPtrInput // A list containing the `critical` threshold values. See Terms below for details. Critical NrqlAlertConditionCriticalPtrInput // The description of the NRQL alert condition. Description pulumi.StringPtrInput // Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrInput // The amount of time (in seconds) to wait before considering the signal expired. ExpirationDuration pulumi.IntPtrInput // Which strategy to use when filling gaps in the signal. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal. FillOption pulumi.StringPtrInput // This value will be used for filling gaps in the signal. FillValue pulumi.Float64PtrInput // The title of the condition. Name pulumi.StringPtrInput // A NRQL query. See NRQL below for details. Nrql NrqlAlertConditionNrqlInput // Whether to create a new violation to capture that the signal expired. OpenViolationOnExpiration pulumi.BoolPtrInput // The ID of the policy where this condition should be used. PolicyId pulumi.IntInput // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrInput // Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`. SlideBy pulumi.IntPtrInput // **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details. // // Deprecated: use `critical` and `warning` attributes instead Terms NrqlAlertConditionTermArrayInput // The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`. Type pulumi.StringPtrInput // Possible values are `singleValue`, `sum` (case insensitive). // // Deprecated: 'value_function' is deprecated. Remove this field and condition will evaluate as 'single_value' by default. To replicate 'sum' behavior, use 'slide_by'. ValueFunction pulumi.StringPtrInput // **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br> // <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small> // // Deprecated: use `violation_time_limit_seconds` attribute instead ViolationTimeLimit pulumi.StringPtrInput // Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br> // <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small> ViolationTimeLimitSeconds pulumi.IntPtrInput // A list containing the `warning` threshold values. See Terms below for details. Warning NrqlAlertConditionWarningPtrInput }
The set of arguments for constructing a NrqlAlertCondition resource.
func (NrqlAlertConditionArgs) ElementType ¶
func (NrqlAlertConditionArgs) ElementType() reflect.Type
type NrqlAlertConditionArray ¶
type NrqlAlertConditionArray []NrqlAlertConditionInput
func (NrqlAlertConditionArray) ElementType ¶
func (NrqlAlertConditionArray) ElementType() reflect.Type
func (NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutput ¶
func (i NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput
func (NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutputWithContext ¶
func (i NrqlAlertConditionArray) ToNrqlAlertConditionArrayOutputWithContext(ctx context.Context) NrqlAlertConditionArrayOutput
type NrqlAlertConditionArrayInput ¶
type NrqlAlertConditionArrayInput interface { pulumi.Input ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput ToNrqlAlertConditionArrayOutputWithContext(context.Context) NrqlAlertConditionArrayOutput }
NrqlAlertConditionArrayInput is an input type that accepts NrqlAlertConditionArray and NrqlAlertConditionArrayOutput values. You can construct a concrete instance of `NrqlAlertConditionArrayInput` via:
NrqlAlertConditionArray{ NrqlAlertConditionArgs{...} }
type NrqlAlertConditionArrayOutput ¶
type NrqlAlertConditionArrayOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionArrayOutput) ElementType ¶
func (NrqlAlertConditionArrayOutput) ElementType() reflect.Type
func (NrqlAlertConditionArrayOutput) Index ¶
func (o NrqlAlertConditionArrayOutput) Index(i pulumi.IntInput) NrqlAlertConditionOutput
func (NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutput ¶
func (o NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutput() NrqlAlertConditionArrayOutput
func (NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutputWithContext ¶
func (o NrqlAlertConditionArrayOutput) ToNrqlAlertConditionArrayOutputWithContext(ctx context.Context) NrqlAlertConditionArrayOutput
type NrqlAlertConditionCritical ¶
type NrqlAlertConditionCritical struct { // **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). // // Deprecated: use `threshold_duration` attribute instead Duration *int `pulumi:"duration"` // Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`. Operator *string `pulumi:"operator"` // The value which will trigger a violation. Must be `0` or greater. Threshold float64 `pulumi:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). // <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive). ThresholdDuration *int `pulumi:"thresholdDuration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). ThresholdOccurrences *string `pulumi:"thresholdOccurrences"` // **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. // // Deprecated: use `threshold_occurrences` attribute instead TimeFunction *string `pulumi:"timeFunction"` }
type NrqlAlertConditionCriticalArgs ¶
type NrqlAlertConditionCriticalArgs struct { // **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). // // Deprecated: use `threshold_duration` attribute instead Duration pulumi.IntPtrInput `pulumi:"duration"` // Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`. Operator pulumi.StringPtrInput `pulumi:"operator"` // The value which will trigger a violation. Must be `0` or greater. Threshold pulumi.Float64Input `pulumi:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). // <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive). ThresholdDuration pulumi.IntPtrInput `pulumi:"thresholdDuration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"` // **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. // // Deprecated: use `threshold_occurrences` attribute instead TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"` }
func (NrqlAlertConditionCriticalArgs) ElementType ¶
func (NrqlAlertConditionCriticalArgs) ElementType() reflect.Type
func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutput ¶
func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput
func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutputWithContext ¶
func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalOutput
func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutput ¶
func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput
func (NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutputWithContext ¶
func (i NrqlAlertConditionCriticalArgs) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput
type NrqlAlertConditionCriticalInput ¶
type NrqlAlertConditionCriticalInput interface { pulumi.Input ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput ToNrqlAlertConditionCriticalOutputWithContext(context.Context) NrqlAlertConditionCriticalOutput }
NrqlAlertConditionCriticalInput is an input type that accepts NrqlAlertConditionCriticalArgs and NrqlAlertConditionCriticalOutput values. You can construct a concrete instance of `NrqlAlertConditionCriticalInput` via:
NrqlAlertConditionCriticalArgs{...}
type NrqlAlertConditionCriticalOutput ¶
type NrqlAlertConditionCriticalOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionCriticalOutput) Duration
deprecated
func (o NrqlAlertConditionCriticalOutput) Duration() pulumi.IntPtrOutput
**DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
Deprecated: use `threshold_duration` attribute instead
func (NrqlAlertConditionCriticalOutput) ElementType ¶
func (NrqlAlertConditionCriticalOutput) ElementType() reflect.Type
func (NrqlAlertConditionCriticalOutput) Operator ¶
func (o NrqlAlertConditionCriticalOutput) Operator() pulumi.StringPtrOutput
Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
func (NrqlAlertConditionCriticalOutput) Threshold ¶
func (o NrqlAlertConditionCriticalOutput) Threshold() pulumi.Float64Output
The value which will trigger a violation. Must be `0` or greater.
func (NrqlAlertConditionCriticalOutput) ThresholdDuration ¶
func (o NrqlAlertConditionCriticalOutput) ThresholdDuration() pulumi.IntPtrOutput
The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
func (NrqlAlertConditionCriticalOutput) ThresholdOccurrences ¶
func (o NrqlAlertConditionCriticalOutput) ThresholdOccurrences() pulumi.StringPtrOutput
The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
func (NrqlAlertConditionCriticalOutput) TimeFunction
deprecated
func (o NrqlAlertConditionCriticalOutput) TimeFunction() pulumi.StringPtrOutput
**DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
Deprecated: use `threshold_occurrences` attribute instead
func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutput ¶
func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutput() NrqlAlertConditionCriticalOutput
func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutputWithContext ¶
func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalOutput
func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutput ¶
func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput
func (NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext ¶
func (o NrqlAlertConditionCriticalOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput
type NrqlAlertConditionCriticalPtrInput ¶
type NrqlAlertConditionCriticalPtrInput interface { pulumi.Input ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput ToNrqlAlertConditionCriticalPtrOutputWithContext(context.Context) NrqlAlertConditionCriticalPtrOutput }
NrqlAlertConditionCriticalPtrInput is an input type that accepts NrqlAlertConditionCriticalArgs, NrqlAlertConditionCriticalPtr and NrqlAlertConditionCriticalPtrOutput values. You can construct a concrete instance of `NrqlAlertConditionCriticalPtrInput` via:
NrqlAlertConditionCriticalArgs{...} or: nil
func NrqlAlertConditionCriticalPtr ¶
func NrqlAlertConditionCriticalPtr(v *NrqlAlertConditionCriticalArgs) NrqlAlertConditionCriticalPtrInput
type NrqlAlertConditionCriticalPtrOutput ¶
type NrqlAlertConditionCriticalPtrOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionCriticalPtrOutput) Duration
deprecated
func (o NrqlAlertConditionCriticalPtrOutput) Duration() pulumi.IntPtrOutput
**DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
Deprecated: use `threshold_duration` attribute instead
func (NrqlAlertConditionCriticalPtrOutput) Elem ¶
func (o NrqlAlertConditionCriticalPtrOutput) Elem() NrqlAlertConditionCriticalOutput
func (NrqlAlertConditionCriticalPtrOutput) ElementType ¶
func (NrqlAlertConditionCriticalPtrOutput) ElementType() reflect.Type
func (NrqlAlertConditionCriticalPtrOutput) Operator ¶
func (o NrqlAlertConditionCriticalPtrOutput) Operator() pulumi.StringPtrOutput
Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
func (NrqlAlertConditionCriticalPtrOutput) Threshold ¶
func (o NrqlAlertConditionCriticalPtrOutput) Threshold() pulumi.Float64PtrOutput
The value which will trigger a violation. Must be `0` or greater.
func (NrqlAlertConditionCriticalPtrOutput) ThresholdDuration ¶
func (o NrqlAlertConditionCriticalPtrOutput) ThresholdDuration() pulumi.IntPtrOutput
The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
func (NrqlAlertConditionCriticalPtrOutput) ThresholdOccurrences ¶
func (o NrqlAlertConditionCriticalPtrOutput) ThresholdOccurrences() pulumi.StringPtrOutput
The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
func (NrqlAlertConditionCriticalPtrOutput) TimeFunction
deprecated
func (o NrqlAlertConditionCriticalPtrOutput) TimeFunction() pulumi.StringPtrOutput
**DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
Deprecated: use `threshold_occurrences` attribute instead
func (NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutput ¶
func (o NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutput() NrqlAlertConditionCriticalPtrOutput
func (NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext ¶
func (o NrqlAlertConditionCriticalPtrOutput) ToNrqlAlertConditionCriticalPtrOutputWithContext(ctx context.Context) NrqlAlertConditionCriticalPtrOutput
type NrqlAlertConditionInput ¶
type NrqlAlertConditionInput interface { pulumi.Input ToNrqlAlertConditionOutput() NrqlAlertConditionOutput ToNrqlAlertConditionOutputWithContext(ctx context.Context) NrqlAlertConditionOutput }
type NrqlAlertConditionMap ¶
type NrqlAlertConditionMap map[string]NrqlAlertConditionInput
func (NrqlAlertConditionMap) ElementType ¶
func (NrqlAlertConditionMap) ElementType() reflect.Type
func (NrqlAlertConditionMap) ToNrqlAlertConditionMapOutput ¶
func (i NrqlAlertConditionMap) ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput
func (NrqlAlertConditionMap) ToNrqlAlertConditionMapOutputWithContext ¶
func (i NrqlAlertConditionMap) ToNrqlAlertConditionMapOutputWithContext(ctx context.Context) NrqlAlertConditionMapOutput
type NrqlAlertConditionMapInput ¶
type NrqlAlertConditionMapInput interface { pulumi.Input ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput ToNrqlAlertConditionMapOutputWithContext(context.Context) NrqlAlertConditionMapOutput }
NrqlAlertConditionMapInput is an input type that accepts NrqlAlertConditionMap and NrqlAlertConditionMapOutput values. You can construct a concrete instance of `NrqlAlertConditionMapInput` via:
NrqlAlertConditionMap{ "key": NrqlAlertConditionArgs{...} }
type NrqlAlertConditionMapOutput ¶
type NrqlAlertConditionMapOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionMapOutput) ElementType ¶
func (NrqlAlertConditionMapOutput) ElementType() reflect.Type
func (NrqlAlertConditionMapOutput) MapIndex ¶
func (o NrqlAlertConditionMapOutput) MapIndex(k pulumi.StringInput) NrqlAlertConditionOutput
func (NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutput ¶
func (o NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutput() NrqlAlertConditionMapOutput
func (NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutputWithContext ¶
func (o NrqlAlertConditionMapOutput) ToNrqlAlertConditionMapOutputWithContext(ctx context.Context) NrqlAlertConditionMapOutput
type NrqlAlertConditionNrql ¶
type NrqlAlertConditionNrql struct { // Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated in one-minute time windows. The start time depends on this value. It's recommended to set this to 3 minutes. An offset of less than 3 minutes will trigger violations sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 minutes, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`.<br> // <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small> // // Deprecated: use `aggregation_method` attribute instead EvaluationOffset *int `pulumi:"evaluationOffset"` // The NRQL query to execute for the condition. Query string `pulumi:"query"` // **DEPRECATED:** Use `evaluationOffset` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br> // <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small> // // Deprecated: use `aggregation_method` attribute instead SinceValue *string `pulumi:"sinceValue"` }
type NrqlAlertConditionNrqlArgs ¶
type NrqlAlertConditionNrqlArgs struct { // Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated in one-minute time windows. The start time depends on this value. It's recommended to set this to 3 minutes. An offset of less than 3 minutes will trigger violations sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 minutes, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`.<br> // <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small> // // Deprecated: use `aggregation_method` attribute instead EvaluationOffset pulumi.IntPtrInput `pulumi:"evaluationOffset"` // The NRQL query to execute for the condition. Query pulumi.StringInput `pulumi:"query"` // **DEPRECATED:** Use `evaluationOffset` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br> // <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small> // // Deprecated: use `aggregation_method` attribute instead SinceValue pulumi.StringPtrInput `pulumi:"sinceValue"` }
func (NrqlAlertConditionNrqlArgs) ElementType ¶
func (NrqlAlertConditionNrqlArgs) ElementType() reflect.Type
func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutput ¶
func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput
func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutputWithContext ¶
func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlOutput
func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutput ¶
func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput
func (NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutputWithContext ¶
func (i NrqlAlertConditionNrqlArgs) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput
type NrqlAlertConditionNrqlInput ¶
type NrqlAlertConditionNrqlInput interface { pulumi.Input ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput ToNrqlAlertConditionNrqlOutputWithContext(context.Context) NrqlAlertConditionNrqlOutput }
NrqlAlertConditionNrqlInput is an input type that accepts NrqlAlertConditionNrqlArgs and NrqlAlertConditionNrqlOutput values. You can construct a concrete instance of `NrqlAlertConditionNrqlInput` via:
NrqlAlertConditionNrqlArgs{...}
type NrqlAlertConditionNrqlOutput ¶
type NrqlAlertConditionNrqlOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionNrqlOutput) ElementType ¶
func (NrqlAlertConditionNrqlOutput) ElementType() reflect.Type
func (NrqlAlertConditionNrqlOutput) EvaluationOffset
deprecated
func (o NrqlAlertConditionNrqlOutput) EvaluationOffset() pulumi.IntPtrOutput
Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated in one-minute time windows. The start time depends on this value. It's recommended to set this to 3 minutes. An offset of less than 3 minutes will trigger violations sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 minutes, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`.<br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
Deprecated: use `aggregation_method` attribute instead
func (NrqlAlertConditionNrqlOutput) Query ¶
func (o NrqlAlertConditionNrqlOutput) Query() pulumi.StringOutput
The NRQL query to execute for the condition.
func (NrqlAlertConditionNrqlOutput) SinceValue
deprecated
func (o NrqlAlertConditionNrqlOutput) SinceValue() pulumi.StringPtrOutput
**DEPRECATED:** Use `evaluationOffset` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
Deprecated: use `aggregation_method` attribute instead
func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutput ¶
func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutput() NrqlAlertConditionNrqlOutput
func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutputWithContext ¶
func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlOutput
func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutput ¶
func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput
func (NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext ¶
func (o NrqlAlertConditionNrqlOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput
type NrqlAlertConditionNrqlPtrInput ¶
type NrqlAlertConditionNrqlPtrInput interface { pulumi.Input ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput ToNrqlAlertConditionNrqlPtrOutputWithContext(context.Context) NrqlAlertConditionNrqlPtrOutput }
NrqlAlertConditionNrqlPtrInput is an input type that accepts NrqlAlertConditionNrqlArgs, NrqlAlertConditionNrqlPtr and NrqlAlertConditionNrqlPtrOutput values. You can construct a concrete instance of `NrqlAlertConditionNrqlPtrInput` via:
NrqlAlertConditionNrqlArgs{...} or: nil
func NrqlAlertConditionNrqlPtr ¶
func NrqlAlertConditionNrqlPtr(v *NrqlAlertConditionNrqlArgs) NrqlAlertConditionNrqlPtrInput
type NrqlAlertConditionNrqlPtrOutput ¶
type NrqlAlertConditionNrqlPtrOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionNrqlPtrOutput) Elem ¶
func (o NrqlAlertConditionNrqlPtrOutput) Elem() NrqlAlertConditionNrqlOutput
func (NrqlAlertConditionNrqlPtrOutput) ElementType ¶
func (NrqlAlertConditionNrqlPtrOutput) ElementType() reflect.Type
func (NrqlAlertConditionNrqlPtrOutput) EvaluationOffset
deprecated
func (o NrqlAlertConditionNrqlPtrOutput) EvaluationOffset() pulumi.IntPtrOutput
Represented in minutes and must be within 1-20 minutes (inclusive). NRQL queries are evaluated in one-minute time windows. The start time depends on this value. It's recommended to set this to 3 minutes. An offset of less than 3 minutes will trigger violations sooner, but you may see more false positives and negatives due to data latency. With `evaluationOffset` set to 3 minutes, the NRQL time window applied to your query will be: `SINCE 3 minutes ago UNTIL 2 minutes ago`.<br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
Deprecated: use `aggregation_method` attribute instead
func (NrqlAlertConditionNrqlPtrOutput) Query ¶
func (o NrqlAlertConditionNrqlPtrOutput) Query() pulumi.StringPtrOutput
The NRQL query to execute for the condition.
func (NrqlAlertConditionNrqlPtrOutput) SinceValue
deprecated
func (o NrqlAlertConditionNrqlPtrOutput) SinceValue() pulumi.StringPtrOutput
**DEPRECATED:** Use `evaluationOffset` instead. The value to be used in the `SINCE <X> minutes ago` clause for the NRQL query. Must be between 1-20 (inclusive). <br> <small>\***Note**: One of `evaluationOffset` _or_ `sinceValue` must be set, but not both.</small>
Deprecated: use `aggregation_method` attribute instead
func (NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutput ¶
func (o NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutput() NrqlAlertConditionNrqlPtrOutput
func (NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext ¶
func (o NrqlAlertConditionNrqlPtrOutput) ToNrqlAlertConditionNrqlPtrOutputWithContext(ctx context.Context) NrqlAlertConditionNrqlPtrOutput
type NrqlAlertConditionOutput ¶
type NrqlAlertConditionOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionOutput) AccountId ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) AccountId() pulumi.IntOutput
The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
func (NrqlAlertConditionOutput) AggregationDelay ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) AggregationDelay() pulumi.StringPtrOutput
How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`.
func (NrqlAlertConditionOutput) AggregationMethod ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) AggregationMethod() pulumi.StringPtrOutput
Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`.
func (NrqlAlertConditionOutput) AggregationTimer ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) AggregationTimer() pulumi.StringPtrOutput
How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`.
func (NrqlAlertConditionOutput) AggregationWindow ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) AggregationWindow() pulumi.IntOutput
The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 seconds.
func (NrqlAlertConditionOutput) BaselineDirection ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) BaselineDirection() pulumi.StringPtrOutput
The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive).
func (NrqlAlertConditionOutput) CloseViolationsOnExpiration ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) CloseViolationsOnExpiration() pulumi.BoolPtrOutput
Whether to close all open violations when the signal expires.
func (NrqlAlertConditionOutput) Critical ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) Critical() NrqlAlertConditionCriticalPtrOutput
A list containing the `critical` threshold values. See Terms below for details.
func (NrqlAlertConditionOutput) Description ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) Description() pulumi.StringPtrOutput
The description of the NRQL alert condition.
func (NrqlAlertConditionOutput) ElementType ¶
func (NrqlAlertConditionOutput) ElementType() reflect.Type
func (NrqlAlertConditionOutput) Enabled ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) Enabled() pulumi.BoolPtrOutput
Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`.
func (NrqlAlertConditionOutput) EntityGuid ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) EntityGuid() pulumi.StringOutput
The unique entity identifier of the NRQL Condition in New Relic.
func (NrqlAlertConditionOutput) ExpirationDuration ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) ExpirationDuration() pulumi.IntPtrOutput
The amount of time (in seconds) to wait before considering the signal expired.
func (NrqlAlertConditionOutput) FillOption ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) FillOption() pulumi.StringPtrOutput
Which strategy to use when filling gaps in the signal. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal.
func (NrqlAlertConditionOutput) FillValue ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) FillValue() pulumi.Float64PtrOutput
This value will be used for filling gaps in the signal.
func (NrqlAlertConditionOutput) Name ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) Name() pulumi.StringOutput
The title of the condition.
func (NrqlAlertConditionOutput) Nrql ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) Nrql() NrqlAlertConditionNrqlOutput
A NRQL query. See NRQL below for details.
func (NrqlAlertConditionOutput) OpenViolationOnExpiration ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) OpenViolationOnExpiration() pulumi.BoolPtrOutput
Whether to create a new violation to capture that the signal expired.
func (NrqlAlertConditionOutput) PolicyId ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) PolicyId() pulumi.IntOutput
The ID of the policy where this condition should be used.
func (NrqlAlertConditionOutput) RunbookUrl ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) RunbookUrl() pulumi.StringPtrOutput
Runbook URL to display in notifications.
func (NrqlAlertConditionOutput) SlideBy ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) SlideBy() pulumi.IntPtrOutput
Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`.
func (NrqlAlertConditionOutput) Terms
deprecated
added in
v4.15.0
func (o NrqlAlertConditionOutput) Terms() NrqlAlertConditionTermArrayOutput
**DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details.
Deprecated: use `critical` and `warning` attributes instead
func (NrqlAlertConditionOutput) ToNrqlAlertConditionOutput ¶
func (o NrqlAlertConditionOutput) ToNrqlAlertConditionOutput() NrqlAlertConditionOutput
func (NrqlAlertConditionOutput) ToNrqlAlertConditionOutputWithContext ¶
func (o NrqlAlertConditionOutput) ToNrqlAlertConditionOutputWithContext(ctx context.Context) NrqlAlertConditionOutput
func (NrqlAlertConditionOutput) Type ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) Type() pulumi.StringPtrOutput
The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`.
func (NrqlAlertConditionOutput) ValueFunction
deprecated
added in
v4.15.0
func (o NrqlAlertConditionOutput) ValueFunction() pulumi.StringPtrOutput
Possible values are `singleValue`, `sum` (case insensitive).
Deprecated: 'value_function' is deprecated. Remove this field and condition will evaluate as 'single_value' by default. To replicate 'sum' behavior, use 'slide_by'.
func (NrqlAlertConditionOutput) ViolationTimeLimit
deprecated
added in
v4.15.0
func (o NrqlAlertConditionOutput) ViolationTimeLimit() pulumi.StringOutput
**DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br> <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
Deprecated: use `violation_time_limit_seconds` attribute instead
func (NrqlAlertConditionOutput) ViolationTimeLimitSeconds ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) ViolationTimeLimitSeconds() pulumi.IntPtrOutput
Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br> <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small>
func (NrqlAlertConditionOutput) Warning ¶ added in v4.15.0
func (o NrqlAlertConditionOutput) Warning() NrqlAlertConditionWarningPtrOutput
A list containing the `warning` threshold values. See Terms below for details.
type NrqlAlertConditionState ¶
type NrqlAlertConditionState struct { // The New Relic account ID of the account you wish to create the condition. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`. AccountId pulumi.IntPtrInput // How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use `aggregationDelay` with the `eventFlow` and `cadence` methods. The maximum delay is 1200 seconds (20 minutes) when using `eventFlow` and 3600 seconds (60 minutes) when using `cadence`. In both cases, the minimum delay is 0 seconds and the default is 120 seconds. `aggregationDelay` cannot be set with `nrql.evaluation_offset`. AggregationDelay pulumi.StringPtrInput // Determines when we consider an aggregation window to be complete so that we can evaluate the signal for violations. Possible values are `cadence`, `eventFlow` or `eventTimer`. Default is `eventFlow`. `aggregationMethod` cannot be set with `nrql.evaluation_offset`. AggregationMethod pulumi.StringPtrInput // How long we wait after each data point arrives to make sure we've processed the whole batch. Use `aggregationTimer` with the `eventTimer` method. The timer value can range from 0 seconds to 1200 seconds (20 minutes); the default is 60 seconds. `aggregationTimer` cannot be set with `nrql.evaluation_offset`. AggregationTimer pulumi.StringPtrInput // The duration of the time window used to evaluate the NRQL query, in seconds. The value must be at least 30 seconds, and no more than 15 minutes (900 seconds). Default is 60 seconds. AggregationWindow pulumi.IntPtrInput // The baseline direction of a _baseline_ NRQL alert condition. Valid values are: `lowerOnly`, `upperAndLower`, `upperOnly` (case insensitive). BaselineDirection pulumi.StringPtrInput // Whether to close all open violations when the signal expires. CloseViolationsOnExpiration pulumi.BoolPtrInput // A list containing the `critical` threshold values. See Terms below for details. Critical NrqlAlertConditionCriticalPtrInput // The description of the NRQL alert condition. Description pulumi.StringPtrInput // Whether to enable the alert condition. Valid values are `true` and `false`. Defaults to `true`. Enabled pulumi.BoolPtrInput // The unique entity identifier of the NRQL Condition in New Relic. EntityGuid pulumi.StringPtrInput // The amount of time (in seconds) to wait before considering the signal expired. ExpirationDuration pulumi.IntPtrInput // Which strategy to use when filling gaps in the signal. Possible values are `none`, `lastValue` or `static`. If `static`, the `fillValue` field will be used for filling gaps in the signal. FillOption pulumi.StringPtrInput // This value will be used for filling gaps in the signal. FillValue pulumi.Float64PtrInput // The title of the condition. Name pulumi.StringPtrInput // A NRQL query. See NRQL below for details. Nrql NrqlAlertConditionNrqlPtrInput // Whether to create a new violation to capture that the signal expired. OpenViolationOnExpiration pulumi.BoolPtrInput // The ID of the policy where this condition should be used. PolicyId pulumi.IntPtrInput // Runbook URL to display in notifications. RunbookUrl pulumi.StringPtrInput // Gathers data in overlapping time windows to smooth the chart line, making it easier to spot trends. The `slideBy` value is specified in seconds and must be smaller than and a factor of the `aggregationWindow`. `slideBy` cannot be used with `static` NRQL conditions using the `sum` `valueFunction`. SlideBy pulumi.IntPtrInput // **DEPRECATED** Use `critical`, and `warning` instead. A list of terms for this condition. See Terms below for details. // // Deprecated: use `critical` and `warning` attributes instead Terms NrqlAlertConditionTermArrayInput // The type of the condition. Valid values are `static`, `baseline`, or `outlier`. Defaults to `static`. Type pulumi.StringPtrInput // Possible values are `singleValue`, `sum` (case insensitive). // // Deprecated: 'value_function' is deprecated. Remove this field and condition will evaluate as 'single_value' by default. To replicate 'sum' behavior, use 'slide_by'. ValueFunction pulumi.StringPtrInput // **DEPRECATED:** Use `violationTimeLimitSeconds` instead. Sets a time limit, in hours, that will automatically force-close a long-lasting violation after the time limit you select. Possible values are `ONE_HOUR`, `TWO_HOURS`, `FOUR_HOURS`, `EIGHT_HOURS`, `TWELVE_HOURS`, `TWENTY_FOUR_HOURS`, `THIRTY_DAYS` (case insensitive).<br> // <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small> // // Deprecated: use `violation_time_limit_seconds` attribute instead ViolationTimeLimit pulumi.StringPtrInput // Sets a time limit, in seconds, that will automatically force-close a long-lasting violation after the time limit you select. The value must be between 300 seconds (5 minutes) to 2592000 seconds (30 days) (inclusive). <br> // <small>\***Note**: One of `violationTimeLimit` _or_ `violationTimeLimitSeconds` must be set, but not both.</small> ViolationTimeLimitSeconds pulumi.IntPtrInput // A list containing the `warning` threshold values. See Terms below for details. Warning NrqlAlertConditionWarningPtrInput }
func (NrqlAlertConditionState) ElementType ¶
func (NrqlAlertConditionState) ElementType() reflect.Type
type NrqlAlertConditionTerm ¶
type NrqlAlertConditionTerm struct { // **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). // // Deprecated: use `threshold_duration` attribute instead Duration *int `pulumi:"duration"` // Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`. Operator *string `pulumi:"operator"` // `critical` or `warning`. Defaults to `critical`. Priority *string `pulumi:"priority"` // The value which will trigger a violation. Must be `0` or greater. Threshold float64 `pulumi:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). // <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive). ThresholdDuration *int `pulumi:"thresholdDuration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). ThresholdOccurrences *string `pulumi:"thresholdOccurrences"` // **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. // // Deprecated: use `threshold_occurrences` attribute instead TimeFunction *string `pulumi:"timeFunction"` }
type NrqlAlertConditionTermArgs ¶
type NrqlAlertConditionTermArgs struct { // **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). // // Deprecated: use `threshold_duration` attribute instead Duration pulumi.IntPtrInput `pulumi:"duration"` // Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`. Operator pulumi.StringPtrInput `pulumi:"operator"` // `critical` or `warning`. Defaults to `critical`. Priority pulumi.StringPtrInput `pulumi:"priority"` // The value which will trigger a violation. Must be `0` or greater. Threshold pulumi.Float64Input `pulumi:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). // <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive). ThresholdDuration pulumi.IntPtrInput `pulumi:"thresholdDuration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"` // **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. // // Deprecated: use `threshold_occurrences` attribute instead TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"` }
func (NrqlAlertConditionTermArgs) ElementType ¶
func (NrqlAlertConditionTermArgs) ElementType() reflect.Type
func (NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutput ¶
func (i NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput
func (NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutputWithContext ¶
func (i NrqlAlertConditionTermArgs) ToNrqlAlertConditionTermOutputWithContext(ctx context.Context) NrqlAlertConditionTermOutput
type NrqlAlertConditionTermArray ¶
type NrqlAlertConditionTermArray []NrqlAlertConditionTermInput
func (NrqlAlertConditionTermArray) ElementType ¶
func (NrqlAlertConditionTermArray) ElementType() reflect.Type
func (NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutput ¶
func (i NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput
func (NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutputWithContext ¶
func (i NrqlAlertConditionTermArray) ToNrqlAlertConditionTermArrayOutputWithContext(ctx context.Context) NrqlAlertConditionTermArrayOutput
type NrqlAlertConditionTermArrayInput ¶
type NrqlAlertConditionTermArrayInput interface { pulumi.Input ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput ToNrqlAlertConditionTermArrayOutputWithContext(context.Context) NrqlAlertConditionTermArrayOutput }
NrqlAlertConditionTermArrayInput is an input type that accepts NrqlAlertConditionTermArray and NrqlAlertConditionTermArrayOutput values. You can construct a concrete instance of `NrqlAlertConditionTermArrayInput` via:
NrqlAlertConditionTermArray{ NrqlAlertConditionTermArgs{...} }
type NrqlAlertConditionTermArrayOutput ¶
type NrqlAlertConditionTermArrayOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionTermArrayOutput) ElementType ¶
func (NrqlAlertConditionTermArrayOutput) ElementType() reflect.Type
func (NrqlAlertConditionTermArrayOutput) Index ¶
func (o NrqlAlertConditionTermArrayOutput) Index(i pulumi.IntInput) NrqlAlertConditionTermOutput
func (NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutput ¶
func (o NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutput() NrqlAlertConditionTermArrayOutput
func (NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutputWithContext ¶
func (o NrqlAlertConditionTermArrayOutput) ToNrqlAlertConditionTermArrayOutputWithContext(ctx context.Context) NrqlAlertConditionTermArrayOutput
type NrqlAlertConditionTermInput ¶
type NrqlAlertConditionTermInput interface { pulumi.Input ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput ToNrqlAlertConditionTermOutputWithContext(context.Context) NrqlAlertConditionTermOutput }
NrqlAlertConditionTermInput is an input type that accepts NrqlAlertConditionTermArgs and NrqlAlertConditionTermOutput values. You can construct a concrete instance of `NrqlAlertConditionTermInput` via:
NrqlAlertConditionTermArgs{...}
type NrqlAlertConditionTermOutput ¶
type NrqlAlertConditionTermOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionTermOutput) Duration
deprecated
func (o NrqlAlertConditionTermOutput) Duration() pulumi.IntPtrOutput
**DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
Deprecated: use `threshold_duration` attribute instead
func (NrqlAlertConditionTermOutput) ElementType ¶
func (NrqlAlertConditionTermOutput) ElementType() reflect.Type
func (NrqlAlertConditionTermOutput) Operator ¶
func (o NrqlAlertConditionTermOutput) Operator() pulumi.StringPtrOutput
Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
func (NrqlAlertConditionTermOutput) Priority ¶
func (o NrqlAlertConditionTermOutput) Priority() pulumi.StringPtrOutput
`critical` or `warning`. Defaults to `critical`.
func (NrqlAlertConditionTermOutput) Threshold ¶
func (o NrqlAlertConditionTermOutput) Threshold() pulumi.Float64Output
The value which will trigger a violation. Must be `0` or greater.
func (NrqlAlertConditionTermOutput) ThresholdDuration ¶
func (o NrqlAlertConditionTermOutput) ThresholdDuration() pulumi.IntPtrOutput
The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
func (NrqlAlertConditionTermOutput) ThresholdOccurrences ¶
func (o NrqlAlertConditionTermOutput) ThresholdOccurrences() pulumi.StringPtrOutput
The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
func (NrqlAlertConditionTermOutput) TimeFunction
deprecated
func (o NrqlAlertConditionTermOutput) TimeFunction() pulumi.StringPtrOutput
**DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
Deprecated: use `threshold_occurrences` attribute instead
func (NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutput ¶
func (o NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutput() NrqlAlertConditionTermOutput
func (NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutputWithContext ¶
func (o NrqlAlertConditionTermOutput) ToNrqlAlertConditionTermOutputWithContext(ctx context.Context) NrqlAlertConditionTermOutput
type NrqlAlertConditionWarning ¶
type NrqlAlertConditionWarning struct { // **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). // // Deprecated: use `threshold_duration` attribute instead Duration *int `pulumi:"duration"` // Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`. Operator *string `pulumi:"operator"` // The value which will trigger a violation. Must be `0` or greater. Threshold float64 `pulumi:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). // <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive). ThresholdDuration *int `pulumi:"thresholdDuration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). ThresholdOccurrences *string `pulumi:"thresholdOccurrences"` // **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. // // Deprecated: use `threshold_occurrences` attribute instead TimeFunction *string `pulumi:"timeFunction"` }
type NrqlAlertConditionWarningArgs ¶
type NrqlAlertConditionWarningArgs struct { // **DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive). // // Deprecated: use `threshold_duration` attribute instead Duration pulumi.IntPtrInput `pulumi:"duration"` // Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`. Operator pulumi.StringPtrInput `pulumi:"operator"` // The value which will trigger a violation. Must be `0` or greater. Threshold pulumi.Float64Input `pulumi:"threshold"` // The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). // <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). // <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive). ThresholdDuration pulumi.IntPtrInput `pulumi:"thresholdDuration"` // The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive). ThresholdOccurrences pulumi.StringPtrInput `pulumi:"thresholdOccurrences"` // **DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`. // // Deprecated: use `threshold_occurrences` attribute instead TimeFunction pulumi.StringPtrInput `pulumi:"timeFunction"` }
func (NrqlAlertConditionWarningArgs) ElementType ¶
func (NrqlAlertConditionWarningArgs) ElementType() reflect.Type
func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutput ¶
func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput
func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutputWithContext ¶
func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningOutputWithContext(ctx context.Context) NrqlAlertConditionWarningOutput
func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutput ¶
func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput
func (NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutputWithContext ¶
func (i NrqlAlertConditionWarningArgs) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput
type NrqlAlertConditionWarningInput ¶
type NrqlAlertConditionWarningInput interface { pulumi.Input ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput ToNrqlAlertConditionWarningOutputWithContext(context.Context) NrqlAlertConditionWarningOutput }
NrqlAlertConditionWarningInput is an input type that accepts NrqlAlertConditionWarningArgs and NrqlAlertConditionWarningOutput values. You can construct a concrete instance of `NrqlAlertConditionWarningInput` via:
NrqlAlertConditionWarningArgs{...}
type NrqlAlertConditionWarningOutput ¶
type NrqlAlertConditionWarningOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionWarningOutput) Duration
deprecated
func (o NrqlAlertConditionWarningOutput) Duration() pulumi.IntPtrOutput
**DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
Deprecated: use `threshold_duration` attribute instead
func (NrqlAlertConditionWarningOutput) ElementType ¶
func (NrqlAlertConditionWarningOutput) ElementType() reflect.Type
func (NrqlAlertConditionWarningOutput) Operator ¶
func (o NrqlAlertConditionWarningOutput) Operator() pulumi.StringPtrOutput
Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
func (NrqlAlertConditionWarningOutput) Threshold ¶
func (o NrqlAlertConditionWarningOutput) Threshold() pulumi.Float64Output
The value which will trigger a violation. Must be `0` or greater.
func (NrqlAlertConditionWarningOutput) ThresholdDuration ¶
func (o NrqlAlertConditionWarningOutput) ThresholdDuration() pulumi.IntPtrOutput
The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
func (NrqlAlertConditionWarningOutput) ThresholdOccurrences ¶
func (o NrqlAlertConditionWarningOutput) ThresholdOccurrences() pulumi.StringPtrOutput
The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
func (NrqlAlertConditionWarningOutput) TimeFunction
deprecated
func (o NrqlAlertConditionWarningOutput) TimeFunction() pulumi.StringPtrOutput
**DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
Deprecated: use `threshold_occurrences` attribute instead
func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutput ¶
func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutput() NrqlAlertConditionWarningOutput
func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutputWithContext ¶
func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningOutputWithContext(ctx context.Context) NrqlAlertConditionWarningOutput
func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutput ¶
func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput
func (NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutputWithContext ¶
func (o NrqlAlertConditionWarningOutput) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput
type NrqlAlertConditionWarningPtrInput ¶
type NrqlAlertConditionWarningPtrInput interface { pulumi.Input ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput ToNrqlAlertConditionWarningPtrOutputWithContext(context.Context) NrqlAlertConditionWarningPtrOutput }
NrqlAlertConditionWarningPtrInput is an input type that accepts NrqlAlertConditionWarningArgs, NrqlAlertConditionWarningPtr and NrqlAlertConditionWarningPtrOutput values. You can construct a concrete instance of `NrqlAlertConditionWarningPtrInput` via:
NrqlAlertConditionWarningArgs{...} or: nil
func NrqlAlertConditionWarningPtr ¶
func NrqlAlertConditionWarningPtr(v *NrqlAlertConditionWarningArgs) NrqlAlertConditionWarningPtrInput
type NrqlAlertConditionWarningPtrOutput ¶
type NrqlAlertConditionWarningPtrOutput struct{ *pulumi.OutputState }
func (NrqlAlertConditionWarningPtrOutput) Duration
deprecated
func (o NrqlAlertConditionWarningPtrOutput) Duration() pulumi.IntPtrOutput
**DEPRECATED:** Use `thresholdDuration` instead. The duration of time, in _minutes_, that the threshold must violate for in order to create a violation. Must be within 1-120 (inclusive).
Deprecated: use `threshold_duration` attribute instead
func (NrqlAlertConditionWarningPtrOutput) Elem ¶
func (o NrqlAlertConditionWarningPtrOutput) Elem() NrqlAlertConditionWarningOutput
func (NrqlAlertConditionWarningPtrOutput) ElementType ¶
func (NrqlAlertConditionWarningPtrOutput) ElementType() reflect.Type
func (NrqlAlertConditionWarningPtrOutput) Operator ¶
func (o NrqlAlertConditionWarningPtrOutput) Operator() pulumi.StringPtrOutput
Valid values are `above`, `below`, or `equals` (case insensitive). Defaults to `equals`. Note that when using a `type` of `outlier` or `baseline`, the only valid option here is `above`.
func (NrqlAlertConditionWarningPtrOutput) Threshold ¶
func (o NrqlAlertConditionWarningPtrOutput) Threshold() pulumi.Float64PtrOutput
The value which will trigger a violation. Must be `0` or greater.
func (NrqlAlertConditionWarningPtrOutput) ThresholdDuration ¶
func (o NrqlAlertConditionWarningPtrOutput) ThresholdDuration() pulumi.IntPtrOutput
The duration, in seconds, that the threshold must violate in order to create a violation. Value must be a multiple of the `aggregationWindow` (which has a default of 60 seconds). <br>For _baseline_ and _outlier_ NRQL alert conditions, the value must be within 120-3600 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `sum` value function, the value must be within 120-7200 seconds (inclusive). <br>For _static_ NRQL alert conditions with the `singleValue` value function, the value must be within 60-7200 seconds (inclusive).
func (NrqlAlertConditionWarningPtrOutput) ThresholdOccurrences ¶
func (o NrqlAlertConditionWarningPtrOutput) ThresholdOccurrences() pulumi.StringPtrOutput
The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `atLeastOnce` (case insensitive).
func (NrqlAlertConditionWarningPtrOutput) TimeFunction
deprecated
func (o NrqlAlertConditionWarningPtrOutput) TimeFunction() pulumi.StringPtrOutput
**DEPRECATED:** Use `thresholdOccurrences` instead. The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: `all` or `any`.
Deprecated: use `threshold_occurrences` attribute instead
func (NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutput ¶
func (o NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutput() NrqlAlertConditionWarningPtrOutput
func (NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutputWithContext ¶
func (o NrqlAlertConditionWarningPtrOutput) ToNrqlAlertConditionWarningPtrOutputWithContext(ctx context.Context) NrqlAlertConditionWarningPtrOutput
type NrqlDropRule ¶
type NrqlDropRule struct { pulumi.CustomResourceState // Account where the drop rule will be put. Defaults to the account associated with the API key used. AccountId pulumi.IntOutput `pulumi:"accountId"` // An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or ` dropAttributesFromMetricAggregates `). Action pulumi.StringOutput `pulumi:"action"` // The description of the drop rule. Description pulumi.StringPtrOutput `pulumi:"description"` // A NRQL string that specifies what data types to drop. Nrql pulumi.StringOutput `pulumi:"nrql"` // The id, uniquely identifying the rule. RuleId pulumi.StringOutput `pulumi:"ruleId"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewNrqlDropRule(ctx, "foo", &newrelic.NrqlDropRuleArgs{ AccountId: pulumi.Int(12345), Action: pulumi.String("drop_data"), Description: pulumi.String("Drops all data for MyCustomEvent that comes from the LoadGeneratingApp in the dev environment, because there is too much and we don’t look at it."), Nrql: pulumi.String("SELECT * FROM MyCustomEvent WHERE appName='LoadGeneratingApp' AND environment='development'"), }) if err != nil { return err } _, err = newrelic.NewNrqlDropRule(ctx, "bar", &newrelic.NrqlDropRuleArgs{ AccountId: pulumi.Int(12345), Action: pulumi.String("drop_attributes"), Description: pulumi.String("Removes the user name and email fields from MyCustomEvent"), Nrql: pulumi.String("SELECT userEmail, userName FROM MyCustomEvent"), }) if err != nil { return err } _, err = newrelic.NewNrqlDropRule(ctx, "baz", &newrelic.NrqlDropRuleArgs{ AccountId: pulumi.Int(12345), Action: pulumi.String("drop_attributes_from_metric_aggregates"), Description: pulumi.String("Removes containerId from metric aggregates to reduce metric cardinality."), Nrql: pulumi.String("SELECT containerId FROM Metric"), }) if err != nil { return err } return nil }) }
```
## Import
New Relic NRQL drop rules can be imported using a concatenated string of the format ¶
`<account_id>:<rule_id>`, e.g. bash
```sh
$ pulumi import newrelic:index/nrqlDropRule:NrqlDropRule foo 12345:34567
```
func GetNrqlDropRule ¶
func GetNrqlDropRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NrqlDropRuleState, opts ...pulumi.ResourceOption) (*NrqlDropRule, error)
GetNrqlDropRule gets an existing NrqlDropRule 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 NewNrqlDropRule ¶
func NewNrqlDropRule(ctx *pulumi.Context, name string, args *NrqlDropRuleArgs, opts ...pulumi.ResourceOption) (*NrqlDropRule, error)
NewNrqlDropRule registers a new resource with the given unique name, arguments, and options.
func (*NrqlDropRule) ElementType ¶
func (*NrqlDropRule) ElementType() reflect.Type
func (*NrqlDropRule) ToNrqlDropRuleOutput ¶
func (i *NrqlDropRule) ToNrqlDropRuleOutput() NrqlDropRuleOutput
func (*NrqlDropRule) ToNrqlDropRuleOutputWithContext ¶
func (i *NrqlDropRule) ToNrqlDropRuleOutputWithContext(ctx context.Context) NrqlDropRuleOutput
type NrqlDropRuleArgs ¶
type NrqlDropRuleArgs struct { // Account where the drop rule will be put. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or ` dropAttributesFromMetricAggregates `). Action pulumi.StringInput // The description of the drop rule. Description pulumi.StringPtrInput // A NRQL string that specifies what data types to drop. Nrql pulumi.StringInput }
The set of arguments for constructing a NrqlDropRule resource.
func (NrqlDropRuleArgs) ElementType ¶
func (NrqlDropRuleArgs) ElementType() reflect.Type
type NrqlDropRuleArray ¶
type NrqlDropRuleArray []NrqlDropRuleInput
func (NrqlDropRuleArray) ElementType ¶
func (NrqlDropRuleArray) ElementType() reflect.Type
func (NrqlDropRuleArray) ToNrqlDropRuleArrayOutput ¶
func (i NrqlDropRuleArray) ToNrqlDropRuleArrayOutput() NrqlDropRuleArrayOutput
func (NrqlDropRuleArray) ToNrqlDropRuleArrayOutputWithContext ¶
func (i NrqlDropRuleArray) ToNrqlDropRuleArrayOutputWithContext(ctx context.Context) NrqlDropRuleArrayOutput
type NrqlDropRuleArrayInput ¶
type NrqlDropRuleArrayInput interface { pulumi.Input ToNrqlDropRuleArrayOutput() NrqlDropRuleArrayOutput ToNrqlDropRuleArrayOutputWithContext(context.Context) NrqlDropRuleArrayOutput }
NrqlDropRuleArrayInput is an input type that accepts NrqlDropRuleArray and NrqlDropRuleArrayOutput values. You can construct a concrete instance of `NrqlDropRuleArrayInput` via:
NrqlDropRuleArray{ NrqlDropRuleArgs{...} }
type NrqlDropRuleArrayOutput ¶
type NrqlDropRuleArrayOutput struct{ *pulumi.OutputState }
func (NrqlDropRuleArrayOutput) ElementType ¶
func (NrqlDropRuleArrayOutput) ElementType() reflect.Type
func (NrqlDropRuleArrayOutput) Index ¶
func (o NrqlDropRuleArrayOutput) Index(i pulumi.IntInput) NrqlDropRuleOutput
func (NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutput ¶
func (o NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutput() NrqlDropRuleArrayOutput
func (NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutputWithContext ¶
func (o NrqlDropRuleArrayOutput) ToNrqlDropRuleArrayOutputWithContext(ctx context.Context) NrqlDropRuleArrayOutput
type NrqlDropRuleInput ¶
type NrqlDropRuleInput interface { pulumi.Input ToNrqlDropRuleOutput() NrqlDropRuleOutput ToNrqlDropRuleOutputWithContext(ctx context.Context) NrqlDropRuleOutput }
type NrqlDropRuleMap ¶
type NrqlDropRuleMap map[string]NrqlDropRuleInput
func (NrqlDropRuleMap) ElementType ¶
func (NrqlDropRuleMap) ElementType() reflect.Type
func (NrqlDropRuleMap) ToNrqlDropRuleMapOutput ¶
func (i NrqlDropRuleMap) ToNrqlDropRuleMapOutput() NrqlDropRuleMapOutput
func (NrqlDropRuleMap) ToNrqlDropRuleMapOutputWithContext ¶
func (i NrqlDropRuleMap) ToNrqlDropRuleMapOutputWithContext(ctx context.Context) NrqlDropRuleMapOutput
type NrqlDropRuleMapInput ¶
type NrqlDropRuleMapInput interface { pulumi.Input ToNrqlDropRuleMapOutput() NrqlDropRuleMapOutput ToNrqlDropRuleMapOutputWithContext(context.Context) NrqlDropRuleMapOutput }
NrqlDropRuleMapInput is an input type that accepts NrqlDropRuleMap and NrqlDropRuleMapOutput values. You can construct a concrete instance of `NrqlDropRuleMapInput` via:
NrqlDropRuleMap{ "key": NrqlDropRuleArgs{...} }
type NrqlDropRuleMapOutput ¶
type NrqlDropRuleMapOutput struct{ *pulumi.OutputState }
func (NrqlDropRuleMapOutput) ElementType ¶
func (NrqlDropRuleMapOutput) ElementType() reflect.Type
func (NrqlDropRuleMapOutput) MapIndex ¶
func (o NrqlDropRuleMapOutput) MapIndex(k pulumi.StringInput) NrqlDropRuleOutput
func (NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutput ¶
func (o NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutput() NrqlDropRuleMapOutput
func (NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutputWithContext ¶
func (o NrqlDropRuleMapOutput) ToNrqlDropRuleMapOutputWithContext(ctx context.Context) NrqlDropRuleMapOutput
type NrqlDropRuleOutput ¶
type NrqlDropRuleOutput struct{ *pulumi.OutputState }
func (NrqlDropRuleOutput) AccountId ¶ added in v4.15.0
func (o NrqlDropRuleOutput) AccountId() pulumi.IntOutput
Account where the drop rule will be put. Defaults to the account associated with the API key used.
func (NrqlDropRuleOutput) Action ¶ added in v4.15.0
func (o NrqlDropRuleOutput) Action() pulumi.StringOutput
An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or ` dropAttributesFromMetricAggregates `).
func (NrqlDropRuleOutput) Description ¶ added in v4.15.0
func (o NrqlDropRuleOutput) Description() pulumi.StringPtrOutput
The description of the drop rule.
func (NrqlDropRuleOutput) ElementType ¶
func (NrqlDropRuleOutput) ElementType() reflect.Type
func (NrqlDropRuleOutput) Nrql ¶ added in v4.15.0
func (o NrqlDropRuleOutput) Nrql() pulumi.StringOutput
A NRQL string that specifies what data types to drop.
func (NrqlDropRuleOutput) RuleId ¶ added in v4.15.0
func (o NrqlDropRuleOutput) RuleId() pulumi.StringOutput
The id, uniquely identifying the rule.
func (NrqlDropRuleOutput) ToNrqlDropRuleOutput ¶
func (o NrqlDropRuleOutput) ToNrqlDropRuleOutput() NrqlDropRuleOutput
func (NrqlDropRuleOutput) ToNrqlDropRuleOutputWithContext ¶
func (o NrqlDropRuleOutput) ToNrqlDropRuleOutputWithContext(ctx context.Context) NrqlDropRuleOutput
type NrqlDropRuleState ¶
type NrqlDropRuleState struct { // Account where the drop rule will be put. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // An action type specifying how to apply the NRQL string (either `dropData`, `dropAttributes`, or ` dropAttributesFromMetricAggregates `). Action pulumi.StringPtrInput // The description of the drop rule. Description pulumi.StringPtrInput // A NRQL string that specifies what data types to drop. Nrql pulumi.StringPtrInput // The id, uniquely identifying the rule. RuleId pulumi.StringPtrInput }
func (NrqlDropRuleState) ElementType ¶
func (NrqlDropRuleState) ElementType() reflect.Type
type OneDashboard ¶
type OneDashboard struct { pulumi.CustomResourceState // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntOutput `pulumi:"accountId"` // Brief text describing the dashboard. Description pulumi.StringPtrOutput `pulumi:"description"` // The unique entity identifier of the dashboard page in New Relic. Guid pulumi.StringOutput `pulumi:"guid"` // The title of the dashboard. Name pulumi.StringOutput `pulumi:"name"` // A nested block that describes a page. See Nested page blocks below for details. Pages OneDashboardPageArrayOutput `pulumi:"pages"` // The URL for viewing the dashboard. Permalink pulumi.StringOutput `pulumi:"permalink"` // Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`. Permissions pulumi.StringPtrOutput `pulumi:"permissions"` }
## Example Usage ## Additional Examples
## Import
New Relic dashboards can be imported using their GUID, e.g.
```sh
$ pulumi import newrelic:index/oneDashboard:OneDashboard my_dashboard <Dashboard GUID>
```
In addition you can use the [New Relic CLI](https://github.com/newrelic/newrelic-cli#readme) to convert existing dashboards to HCL. [Copy your dashboards as JSON using the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/), save it as a file (for example `terraform.json`), and use the following command to convert it to HCL`cat terraform.json | newrelic utils terraform dashboard --label my_dashboard_resource`.
func GetOneDashboard ¶
func GetOneDashboard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OneDashboardState, opts ...pulumi.ResourceOption) (*OneDashboard, error)
GetOneDashboard gets an existing OneDashboard 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 NewOneDashboard ¶
func NewOneDashboard(ctx *pulumi.Context, name string, args *OneDashboardArgs, opts ...pulumi.ResourceOption) (*OneDashboard, error)
NewOneDashboard registers a new resource with the given unique name, arguments, and options.
func (*OneDashboard) ElementType ¶
func (*OneDashboard) ElementType() reflect.Type
func (*OneDashboard) ToOneDashboardOutput ¶
func (i *OneDashboard) ToOneDashboardOutput() OneDashboardOutput
func (*OneDashboard) ToOneDashboardOutputWithContext ¶
func (i *OneDashboard) ToOneDashboardOutputWithContext(ctx context.Context) OneDashboardOutput
type OneDashboardArgs ¶
type OneDashboardArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // Brief text describing the dashboard. Description pulumi.StringPtrInput // The title of the dashboard. Name pulumi.StringPtrInput // A nested block that describes a page. See Nested page blocks below for details. Pages OneDashboardPageArrayInput // Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`. Permissions pulumi.StringPtrInput }
The set of arguments for constructing a OneDashboard resource.
func (OneDashboardArgs) ElementType ¶
func (OneDashboardArgs) ElementType() reflect.Type
type OneDashboardArray ¶
type OneDashboardArray []OneDashboardInput
func (OneDashboardArray) ElementType ¶
func (OneDashboardArray) ElementType() reflect.Type
func (OneDashboardArray) ToOneDashboardArrayOutput ¶
func (i OneDashboardArray) ToOneDashboardArrayOutput() OneDashboardArrayOutput
func (OneDashboardArray) ToOneDashboardArrayOutputWithContext ¶
func (i OneDashboardArray) ToOneDashboardArrayOutputWithContext(ctx context.Context) OneDashboardArrayOutput
type OneDashboardArrayInput ¶
type OneDashboardArrayInput interface { pulumi.Input ToOneDashboardArrayOutput() OneDashboardArrayOutput ToOneDashboardArrayOutputWithContext(context.Context) OneDashboardArrayOutput }
OneDashboardArrayInput is an input type that accepts OneDashboardArray and OneDashboardArrayOutput values. You can construct a concrete instance of `OneDashboardArrayInput` via:
OneDashboardArray{ OneDashboardArgs{...} }
type OneDashboardArrayOutput ¶
type OneDashboardArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardArrayOutput) ElementType ¶
func (OneDashboardArrayOutput) ElementType() reflect.Type
func (OneDashboardArrayOutput) Index ¶
func (o OneDashboardArrayOutput) Index(i pulumi.IntInput) OneDashboardOutput
func (OneDashboardArrayOutput) ToOneDashboardArrayOutput ¶
func (o OneDashboardArrayOutput) ToOneDashboardArrayOutput() OneDashboardArrayOutput
func (OneDashboardArrayOutput) ToOneDashboardArrayOutputWithContext ¶
func (o OneDashboardArrayOutput) ToOneDashboardArrayOutputWithContext(ctx context.Context) OneDashboardArrayOutput
type OneDashboardInput ¶
type OneDashboardInput interface { pulumi.Input ToOneDashboardOutput() OneDashboardOutput ToOneDashboardOutputWithContext(ctx context.Context) OneDashboardOutput }
type OneDashboardMap ¶
type OneDashboardMap map[string]OneDashboardInput
func (OneDashboardMap) ElementType ¶
func (OneDashboardMap) ElementType() reflect.Type
func (OneDashboardMap) ToOneDashboardMapOutput ¶
func (i OneDashboardMap) ToOneDashboardMapOutput() OneDashboardMapOutput
func (OneDashboardMap) ToOneDashboardMapOutputWithContext ¶
func (i OneDashboardMap) ToOneDashboardMapOutputWithContext(ctx context.Context) OneDashboardMapOutput
type OneDashboardMapInput ¶
type OneDashboardMapInput interface { pulumi.Input ToOneDashboardMapOutput() OneDashboardMapOutput ToOneDashboardMapOutputWithContext(context.Context) OneDashboardMapOutput }
OneDashboardMapInput is an input type that accepts OneDashboardMap and OneDashboardMapOutput values. You can construct a concrete instance of `OneDashboardMapInput` via:
OneDashboardMap{ "key": OneDashboardArgs{...} }
type OneDashboardMapOutput ¶
type OneDashboardMapOutput struct{ *pulumi.OutputState }
func (OneDashboardMapOutput) ElementType ¶
func (OneDashboardMapOutput) ElementType() reflect.Type
func (OneDashboardMapOutput) MapIndex ¶
func (o OneDashboardMapOutput) MapIndex(k pulumi.StringInput) OneDashboardOutput
func (OneDashboardMapOutput) ToOneDashboardMapOutput ¶
func (o OneDashboardMapOutput) ToOneDashboardMapOutput() OneDashboardMapOutput
func (OneDashboardMapOutput) ToOneDashboardMapOutputWithContext ¶
func (o OneDashboardMapOutput) ToOneDashboardMapOutputWithContext(ctx context.Context) OneDashboardMapOutput
type OneDashboardOutput ¶
type OneDashboardOutput struct{ *pulumi.OutputState }
func (OneDashboardOutput) AccountId ¶ added in v4.15.0
func (o OneDashboardOutput) AccountId() pulumi.IntOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardOutput) Description ¶ added in v4.15.0
func (o OneDashboardOutput) Description() pulumi.StringPtrOutput
Brief text describing the dashboard.
func (OneDashboardOutput) ElementType ¶
func (OneDashboardOutput) ElementType() reflect.Type
func (OneDashboardOutput) Guid ¶ added in v4.15.0
func (o OneDashboardOutput) Guid() pulumi.StringOutput
The unique entity identifier of the dashboard page in New Relic.
func (OneDashboardOutput) Name ¶ added in v4.15.0
func (o OneDashboardOutput) Name() pulumi.StringOutput
The title of the dashboard.
func (OneDashboardOutput) Pages ¶ added in v4.15.0
func (o OneDashboardOutput) Pages() OneDashboardPageArrayOutput
A nested block that describes a page. See Nested page blocks below for details.
func (OneDashboardOutput) Permalink ¶ added in v4.15.0
func (o OneDashboardOutput) Permalink() pulumi.StringOutput
The URL for viewing the dashboard.
func (OneDashboardOutput) Permissions ¶ added in v4.15.0
func (o OneDashboardOutput) Permissions() pulumi.StringPtrOutput
Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`.
func (OneDashboardOutput) ToOneDashboardOutput ¶
func (o OneDashboardOutput) ToOneDashboardOutput() OneDashboardOutput
func (OneDashboardOutput) ToOneDashboardOutputWithContext ¶
func (o OneDashboardOutput) ToOneDashboardOutputWithContext(ctx context.Context) OneDashboardOutput
type OneDashboardPage ¶
type OneDashboardPage struct { // Brief text describing the dashboard. Description *string `pulumi:"description"` // The unique entity identifier of the dashboard page in New Relic. Guid *string `pulumi:"guid"` // The title of the dashboard. Name string `pulumi:"name"` // (Optional) A nested block that describes an Area widget. See Nested widget blocks below for details. WidgetAreas []OneDashboardPageWidgetArea `pulumi:"widgetAreas"` // (Optional) A nested block that describes a Bar widget. See Nested widget blocks below for details. WidgetBars []OneDashboardPageWidgetBar `pulumi:"widgetBars"` // (Optional) A nested block that describes a Billboard widget. See Nested widget blocks below for details. WidgetBillboards []OneDashboardPageWidgetBillboard `pulumi:"widgetBillboards"` // (Optional) A nested block that describes a Bullet widget. See Nested widget blocks below for details. WidgetBullets []OneDashboardPageWidgetBullet `pulumi:"widgetBullets"` // (Optional) A nested block that describes a Funnel widget. See Nested widget blocks below for details. WidgetFunnels []OneDashboardPageWidgetFunnel `pulumi:"widgetFunnels"` // (Optional) A nested block that describes a Heatmap widget. See Nested widget blocks below for details. WidgetHeatmaps []OneDashboardPageWidgetHeatmap `pulumi:"widgetHeatmaps"` // (Optional) A nested block that describes a Histogram widget. See Nested widget blocks below for details. WidgetHistograms []OneDashboardPageWidgetHistogram `pulumi:"widgetHistograms"` // (Optional) A nested block that describes a JSON widget. See Nested widget blocks below for details. WidgetJsons []OneDashboardPageWidgetJson `pulumi:"widgetJsons"` // (Optional) A nested block that describes a Line widget. See Nested widget blocks below for details. WidgetLines []OneDashboardPageWidgetLine `pulumi:"widgetLines"` // (Optional) A nested block that describes a Log Table widget. See Nested widget blocks below for details. WidgetLogTables []OneDashboardPageWidgetLogTable `pulumi:"widgetLogTables"` // (Optional) A nested block that describes a Markdown widget. See Nested widget blocks below for details. WidgetMarkdowns []OneDashboardPageWidgetMarkdown `pulumi:"widgetMarkdowns"` // (Optional) A nested block that describes a Pie widget. See Nested widget blocks below for details. WidgetPies []OneDashboardPageWidgetPy `pulumi:"widgetPies"` // (Optional) A nested block that describes a Stacked Bar widget. See Nested widget blocks below for details. WidgetStackedBars []OneDashboardPageWidgetStackedBar `pulumi:"widgetStackedBars"` // (Optional) A nested block that describes a Table widget. See Nested widget blocks below for details. WidgetTables []OneDashboardPageWidgetTable `pulumi:"widgetTables"` }
type OneDashboardPageArgs ¶
type OneDashboardPageArgs struct { // Brief text describing the dashboard. Description pulumi.StringPtrInput `pulumi:"description"` // The unique entity identifier of the dashboard page in New Relic. Guid pulumi.StringPtrInput `pulumi:"guid"` // The title of the dashboard. Name pulumi.StringInput `pulumi:"name"` // (Optional) A nested block that describes an Area widget. See Nested widget blocks below for details. WidgetAreas OneDashboardPageWidgetAreaArrayInput `pulumi:"widgetAreas"` // (Optional) A nested block that describes a Bar widget. See Nested widget blocks below for details. WidgetBars OneDashboardPageWidgetBarArrayInput `pulumi:"widgetBars"` // (Optional) A nested block that describes a Billboard widget. See Nested widget blocks below for details. WidgetBillboards OneDashboardPageWidgetBillboardArrayInput `pulumi:"widgetBillboards"` // (Optional) A nested block that describes a Bullet widget. See Nested widget blocks below for details. WidgetBullets OneDashboardPageWidgetBulletArrayInput `pulumi:"widgetBullets"` // (Optional) A nested block that describes a Funnel widget. See Nested widget blocks below for details. WidgetFunnels OneDashboardPageWidgetFunnelArrayInput `pulumi:"widgetFunnels"` // (Optional) A nested block that describes a Heatmap widget. See Nested widget blocks below for details. WidgetHeatmaps OneDashboardPageWidgetHeatmapArrayInput `pulumi:"widgetHeatmaps"` // (Optional) A nested block that describes a Histogram widget. See Nested widget blocks below for details. WidgetHistograms OneDashboardPageWidgetHistogramArrayInput `pulumi:"widgetHistograms"` // (Optional) A nested block that describes a JSON widget. See Nested widget blocks below for details. WidgetJsons OneDashboardPageWidgetJsonArrayInput `pulumi:"widgetJsons"` // (Optional) A nested block that describes a Line widget. See Nested widget blocks below for details. WidgetLines OneDashboardPageWidgetLineArrayInput `pulumi:"widgetLines"` // (Optional) A nested block that describes a Log Table widget. See Nested widget blocks below for details. WidgetLogTables OneDashboardPageWidgetLogTableArrayInput `pulumi:"widgetLogTables"` // (Optional) A nested block that describes a Markdown widget. See Nested widget blocks below for details. WidgetMarkdowns OneDashboardPageWidgetMarkdownArrayInput `pulumi:"widgetMarkdowns"` // (Optional) A nested block that describes a Pie widget. See Nested widget blocks below for details. WidgetPies OneDashboardPageWidgetPyArrayInput `pulumi:"widgetPies"` // (Optional) A nested block that describes a Stacked Bar widget. See Nested widget blocks below for details. WidgetStackedBars OneDashboardPageWidgetStackedBarArrayInput `pulumi:"widgetStackedBars"` // (Optional) A nested block that describes a Table widget. See Nested widget blocks below for details. WidgetTables OneDashboardPageWidgetTableArrayInput `pulumi:"widgetTables"` }
func (OneDashboardPageArgs) ElementType ¶
func (OneDashboardPageArgs) ElementType() reflect.Type
func (OneDashboardPageArgs) ToOneDashboardPageOutput ¶
func (i OneDashboardPageArgs) ToOneDashboardPageOutput() OneDashboardPageOutput
func (OneDashboardPageArgs) ToOneDashboardPageOutputWithContext ¶
func (i OneDashboardPageArgs) ToOneDashboardPageOutputWithContext(ctx context.Context) OneDashboardPageOutput
type OneDashboardPageArray ¶
type OneDashboardPageArray []OneDashboardPageInput
func (OneDashboardPageArray) ElementType ¶
func (OneDashboardPageArray) ElementType() reflect.Type
func (OneDashboardPageArray) ToOneDashboardPageArrayOutput ¶
func (i OneDashboardPageArray) ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput
func (OneDashboardPageArray) ToOneDashboardPageArrayOutputWithContext ¶
func (i OneDashboardPageArray) ToOneDashboardPageArrayOutputWithContext(ctx context.Context) OneDashboardPageArrayOutput
type OneDashboardPageArrayInput ¶
type OneDashboardPageArrayInput interface { pulumi.Input ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput ToOneDashboardPageArrayOutputWithContext(context.Context) OneDashboardPageArrayOutput }
OneDashboardPageArrayInput is an input type that accepts OneDashboardPageArray and OneDashboardPageArrayOutput values. You can construct a concrete instance of `OneDashboardPageArrayInput` via:
OneDashboardPageArray{ OneDashboardPageArgs{...} }
type OneDashboardPageArrayOutput ¶
type OneDashboardPageArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageArrayOutput) ElementType ¶
func (OneDashboardPageArrayOutput) ElementType() reflect.Type
func (OneDashboardPageArrayOutput) Index ¶
func (o OneDashboardPageArrayOutput) Index(i pulumi.IntInput) OneDashboardPageOutput
func (OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutput ¶
func (o OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutput() OneDashboardPageArrayOutput
func (OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutputWithContext ¶
func (o OneDashboardPageArrayOutput) ToOneDashboardPageArrayOutputWithContext(ctx context.Context) OneDashboardPageArrayOutput
type OneDashboardPageInput ¶
type OneDashboardPageInput interface { pulumi.Input ToOneDashboardPageOutput() OneDashboardPageOutput ToOneDashboardPageOutputWithContext(context.Context) OneDashboardPageOutput }
OneDashboardPageInput is an input type that accepts OneDashboardPageArgs and OneDashboardPageOutput values. You can construct a concrete instance of `OneDashboardPageInput` via:
OneDashboardPageArgs{...}
type OneDashboardPageOutput ¶
type OneDashboardPageOutput struct{ *pulumi.OutputState }
func (OneDashboardPageOutput) Description ¶
func (o OneDashboardPageOutput) Description() pulumi.StringPtrOutput
Brief text describing the dashboard.
func (OneDashboardPageOutput) ElementType ¶
func (OneDashboardPageOutput) ElementType() reflect.Type
func (OneDashboardPageOutput) Guid ¶
func (o OneDashboardPageOutput) Guid() pulumi.StringPtrOutput
The unique entity identifier of the dashboard page in New Relic.
func (OneDashboardPageOutput) Name ¶
func (o OneDashboardPageOutput) Name() pulumi.StringOutput
The title of the dashboard.
func (OneDashboardPageOutput) ToOneDashboardPageOutput ¶
func (o OneDashboardPageOutput) ToOneDashboardPageOutput() OneDashboardPageOutput
func (OneDashboardPageOutput) ToOneDashboardPageOutputWithContext ¶
func (o OneDashboardPageOutput) ToOneDashboardPageOutputWithContext(ctx context.Context) OneDashboardPageOutput
func (OneDashboardPageOutput) WidgetAreas ¶
func (o OneDashboardPageOutput) WidgetAreas() OneDashboardPageWidgetAreaArrayOutput
(Optional) A nested block that describes an Area widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetBars ¶
func (o OneDashboardPageOutput) WidgetBars() OneDashboardPageWidgetBarArrayOutput
(Optional) A nested block that describes a Bar widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetBillboards ¶
func (o OneDashboardPageOutput) WidgetBillboards() OneDashboardPageWidgetBillboardArrayOutput
(Optional) A nested block that describes a Billboard widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetBullets ¶
func (o OneDashboardPageOutput) WidgetBullets() OneDashboardPageWidgetBulletArrayOutput
(Optional) A nested block that describes a Bullet widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetFunnels ¶
func (o OneDashboardPageOutput) WidgetFunnels() OneDashboardPageWidgetFunnelArrayOutput
(Optional) A nested block that describes a Funnel widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetHeatmaps ¶
func (o OneDashboardPageOutput) WidgetHeatmaps() OneDashboardPageWidgetHeatmapArrayOutput
(Optional) A nested block that describes a Heatmap widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetHistograms ¶
func (o OneDashboardPageOutput) WidgetHistograms() OneDashboardPageWidgetHistogramArrayOutput
(Optional) A nested block that describes a Histogram widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetJsons ¶
func (o OneDashboardPageOutput) WidgetJsons() OneDashboardPageWidgetJsonArrayOutput
(Optional) A nested block that describes a JSON widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetLines ¶
func (o OneDashboardPageOutput) WidgetLines() OneDashboardPageWidgetLineArrayOutput
(Optional) A nested block that describes a Line widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetLogTables ¶ added in v4.18.0
func (o OneDashboardPageOutput) WidgetLogTables() OneDashboardPageWidgetLogTableArrayOutput
(Optional) A nested block that describes a Log Table widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetMarkdowns ¶
func (o OneDashboardPageOutput) WidgetMarkdowns() OneDashboardPageWidgetMarkdownArrayOutput
(Optional) A nested block that describes a Markdown widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetPies ¶
func (o OneDashboardPageOutput) WidgetPies() OneDashboardPageWidgetPyArrayOutput
(Optional) A nested block that describes a Pie widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetStackedBars ¶ added in v4.5.0
func (o OneDashboardPageOutput) WidgetStackedBars() OneDashboardPageWidgetStackedBarArrayOutput
(Optional) A nested block that describes a Stacked Bar widget. See Nested widget blocks below for details.
func (OneDashboardPageOutput) WidgetTables ¶
func (o OneDashboardPageOutput) WidgetTables() OneDashboardPageWidgetTableArrayOutput
(Optional) A nested block that describes a Table widget. See Nested widget blocks below for details.
type OneDashboardPageWidgetArea ¶
type OneDashboardPageWidgetArea struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetAreaNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetAreaArgs ¶
type OneDashboardPageWidgetAreaArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetAreaNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetAreaArgs) ElementType ¶
func (OneDashboardPageWidgetAreaArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutput ¶
func (i OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput
func (OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutputWithContext ¶
func (i OneDashboardPageWidgetAreaArgs) ToOneDashboardPageWidgetAreaOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaOutput
type OneDashboardPageWidgetAreaArray ¶
type OneDashboardPageWidgetAreaArray []OneDashboardPageWidgetAreaInput
func (OneDashboardPageWidgetAreaArray) ElementType ¶
func (OneDashboardPageWidgetAreaArray) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutput ¶
func (i OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput
func (OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutputWithContext ¶
func (i OneDashboardPageWidgetAreaArray) ToOneDashboardPageWidgetAreaArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaArrayOutput
type OneDashboardPageWidgetAreaArrayInput ¶
type OneDashboardPageWidgetAreaArrayInput interface { pulumi.Input ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput ToOneDashboardPageWidgetAreaArrayOutputWithContext(context.Context) OneDashboardPageWidgetAreaArrayOutput }
OneDashboardPageWidgetAreaArrayInput is an input type that accepts OneDashboardPageWidgetAreaArray and OneDashboardPageWidgetAreaArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaArrayInput` via:
OneDashboardPageWidgetAreaArray{ OneDashboardPageWidgetAreaArgs{...} }
type OneDashboardPageWidgetAreaArrayOutput ¶
type OneDashboardPageWidgetAreaArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetAreaArrayOutput) ElementType ¶
func (OneDashboardPageWidgetAreaArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaArrayOutput) Index ¶
func (o OneDashboardPageWidgetAreaArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetAreaOutput
func (OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutput ¶
func (o OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutput() OneDashboardPageWidgetAreaArrayOutput
func (OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutputWithContext ¶
func (o OneDashboardPageWidgetAreaArrayOutput) ToOneDashboardPageWidgetAreaArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaArrayOutput
type OneDashboardPageWidgetAreaInput ¶
type OneDashboardPageWidgetAreaInput interface { pulumi.Input ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput ToOneDashboardPageWidgetAreaOutputWithContext(context.Context) OneDashboardPageWidgetAreaOutput }
OneDashboardPageWidgetAreaInput is an input type that accepts OneDashboardPageWidgetAreaArgs and OneDashboardPageWidgetAreaOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaInput` via:
OneDashboardPageWidgetAreaArgs{...}
type OneDashboardPageWidgetAreaNrqlQuery ¶
type OneDashboardPageWidgetAreaNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetAreaNrqlQueryArgs ¶
type OneDashboardPageWidgetAreaNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetAreaNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetAreaNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutput ¶
func (i OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput
func (OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetAreaNrqlQueryArgs) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput
type OneDashboardPageWidgetAreaNrqlQueryArray ¶
type OneDashboardPageWidgetAreaNrqlQueryArray []OneDashboardPageWidgetAreaNrqlQueryInput
func (OneDashboardPageWidgetAreaNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetAreaNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput
func (OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetAreaNrqlQueryArray) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput
type OneDashboardPageWidgetAreaNrqlQueryArrayInput ¶
type OneDashboardPageWidgetAreaNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput }
OneDashboardPageWidgetAreaNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetAreaNrqlQueryArray and OneDashboardPageWidgetAreaNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaNrqlQueryArrayInput` via:
OneDashboardPageWidgetAreaNrqlQueryArray{ OneDashboardPageWidgetAreaNrqlQueryArgs{...} }
type OneDashboardPageWidgetAreaNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetAreaNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutput() OneDashboardPageWidgetAreaNrqlQueryArrayOutput
func (OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetAreaNrqlQueryArrayOutput) ToOneDashboardPageWidgetAreaNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryArrayOutput
type OneDashboardPageWidgetAreaNrqlQueryInput ¶
type OneDashboardPageWidgetAreaNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput }
OneDashboardPageWidgetAreaNrqlQueryInput is an input type that accepts OneDashboardPageWidgetAreaNrqlQueryArgs and OneDashboardPageWidgetAreaNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetAreaNrqlQueryInput` via:
OneDashboardPageWidgetAreaNrqlQueryArgs{...}
type OneDashboardPageWidgetAreaNrqlQueryOutput ¶
type OneDashboardPageWidgetAreaNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetAreaNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetAreaNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetAreaNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetAreaNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetAreaNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutput ¶
func (o OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutput() OneDashboardPageWidgetAreaNrqlQueryOutput
func (OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetAreaNrqlQueryOutput) ToOneDashboardPageWidgetAreaNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaNrqlQueryOutput
type OneDashboardPageWidgetAreaOutput ¶
type OneDashboardPageWidgetAreaOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetAreaOutput) Column ¶
func (o OneDashboardPageWidgetAreaOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetAreaOutput) ElementType ¶
func (OneDashboardPageWidgetAreaOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetAreaOutput) Height ¶
func (o OneDashboardPageWidgetAreaOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetAreaOutput) Id ¶
func (o OneDashboardPageWidgetAreaOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetAreaOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetAreaOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetAreaOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetAreaOutput) NrqlQueries() OneDashboardPageWidgetAreaNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetAreaOutput) Row ¶
func (o OneDashboardPageWidgetAreaOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetAreaOutput) Title ¶
func (o OneDashboardPageWidgetAreaOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutput ¶
func (o OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutput() OneDashboardPageWidgetAreaOutput
func (OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutputWithContext ¶
func (o OneDashboardPageWidgetAreaOutput) ToOneDashboardPageWidgetAreaOutputWithContext(ctx context.Context) OneDashboardPageWidgetAreaOutput
func (OneDashboardPageWidgetAreaOutput) Width ¶
func (o OneDashboardPageWidgetAreaOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetBar ¶
type OneDashboardPageWidgetBar struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` FilterCurrentDashboard *bool `pulumi:"filterCurrentDashboard"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` LinkedEntityGuids []string `pulumi:"linkedEntityGuids"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetBarNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetBarArgs ¶
type OneDashboardPageWidgetBarArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` FilterCurrentDashboard pulumi.BoolPtrInput `pulumi:"filterCurrentDashboard"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetBarNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetBarArgs) ElementType ¶
func (OneDashboardPageWidgetBarArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutput ¶
func (i OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput
func (OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutputWithContext ¶
func (i OneDashboardPageWidgetBarArgs) ToOneDashboardPageWidgetBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarOutput
type OneDashboardPageWidgetBarArray ¶
type OneDashboardPageWidgetBarArray []OneDashboardPageWidgetBarInput
func (OneDashboardPageWidgetBarArray) ElementType ¶
func (OneDashboardPageWidgetBarArray) ElementType() reflect.Type
func (OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutput ¶
func (i OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput
func (OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutputWithContext ¶
func (i OneDashboardPageWidgetBarArray) ToOneDashboardPageWidgetBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarArrayOutput
type OneDashboardPageWidgetBarArrayInput ¶
type OneDashboardPageWidgetBarArrayInput interface { pulumi.Input ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput ToOneDashboardPageWidgetBarArrayOutputWithContext(context.Context) OneDashboardPageWidgetBarArrayOutput }
OneDashboardPageWidgetBarArrayInput is an input type that accepts OneDashboardPageWidgetBarArray and OneDashboardPageWidgetBarArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarArrayInput` via:
OneDashboardPageWidgetBarArray{ OneDashboardPageWidgetBarArgs{...} }
type OneDashboardPageWidgetBarArrayOutput ¶
type OneDashboardPageWidgetBarArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBarArrayOutput) ElementType ¶
func (OneDashboardPageWidgetBarArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBarArrayOutput) Index ¶
func (o OneDashboardPageWidgetBarArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetBarOutput
func (OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutput ¶
func (o OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutput() OneDashboardPageWidgetBarArrayOutput
func (OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutputWithContext ¶
func (o OneDashboardPageWidgetBarArrayOutput) ToOneDashboardPageWidgetBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarArrayOutput
type OneDashboardPageWidgetBarInput ¶
type OneDashboardPageWidgetBarInput interface { pulumi.Input ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput ToOneDashboardPageWidgetBarOutputWithContext(context.Context) OneDashboardPageWidgetBarOutput }
OneDashboardPageWidgetBarInput is an input type that accepts OneDashboardPageWidgetBarArgs and OneDashboardPageWidgetBarOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarInput` via:
OneDashboardPageWidgetBarArgs{...}
type OneDashboardPageWidgetBarNrqlQuery ¶
type OneDashboardPageWidgetBarNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetBarNrqlQueryArgs ¶
type OneDashboardPageWidgetBarNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetBarNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetBarNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutput ¶
func (i OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput
func (OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetBarNrqlQueryArgs) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryOutput
type OneDashboardPageWidgetBarNrqlQueryArray ¶
type OneDashboardPageWidgetBarNrqlQueryArray []OneDashboardPageWidgetBarNrqlQueryInput
func (OneDashboardPageWidgetBarNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetBarNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput
func (OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetBarNrqlQueryArray) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput
type OneDashboardPageWidgetBarNrqlQueryArrayInput ¶
type OneDashboardPageWidgetBarNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput }
OneDashboardPageWidgetBarNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetBarNrqlQueryArray and OneDashboardPageWidgetBarNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarNrqlQueryArrayInput` via:
OneDashboardPageWidgetBarNrqlQueryArray{ OneDashboardPageWidgetBarNrqlQueryArgs{...} }
type OneDashboardPageWidgetBarNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetBarNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutput() OneDashboardPageWidgetBarNrqlQueryArrayOutput
func (OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryArrayOutput
type OneDashboardPageWidgetBarNrqlQueryInput ¶
type OneDashboardPageWidgetBarNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetBarNrqlQueryOutput }
OneDashboardPageWidgetBarNrqlQueryInput is an input type that accepts OneDashboardPageWidgetBarNrqlQueryArgs and OneDashboardPageWidgetBarNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBarNrqlQueryInput` via:
OneDashboardPageWidgetBarNrqlQueryArgs{...}
type OneDashboardPageWidgetBarNrqlQueryOutput ¶
type OneDashboardPageWidgetBarNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBarNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetBarNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetBarNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetBarNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBarNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetBarNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutput ¶
func (o OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutput() OneDashboardPageWidgetBarNrqlQueryOutput
func (OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetBarNrqlQueryOutput) ToOneDashboardPageWidgetBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarNrqlQueryOutput
type OneDashboardPageWidgetBarOutput ¶
type OneDashboardPageWidgetBarOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBarOutput) Column ¶
func (o OneDashboardPageWidgetBarOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetBarOutput) ElementType ¶
func (OneDashboardPageWidgetBarOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBarOutput) FilterCurrentDashboard ¶ added in v4.5.0
func (o OneDashboardPageWidgetBarOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput
func (OneDashboardPageWidgetBarOutput) Height ¶
func (o OneDashboardPageWidgetBarOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetBarOutput) Id ¶
func (o OneDashboardPageWidgetBarOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetBarOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetBarOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetBarOutput) LinkedEntityGuids ¶
func (o OneDashboardPageWidgetBarOutput) LinkedEntityGuids() pulumi.StringArrayOutput
func (OneDashboardPageWidgetBarOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetBarOutput) NrqlQueries() OneDashboardPageWidgetBarNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetBarOutput) Row ¶
func (o OneDashboardPageWidgetBarOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetBarOutput) Title ¶
func (o OneDashboardPageWidgetBarOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutput ¶
func (o OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutput() OneDashboardPageWidgetBarOutput
func (OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutputWithContext ¶
func (o OneDashboardPageWidgetBarOutput) ToOneDashboardPageWidgetBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetBarOutput
func (OneDashboardPageWidgetBarOutput) Width ¶
func (o OneDashboardPageWidgetBarOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetBillboard ¶
type OneDashboardPageWidgetBillboard struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Threshold above which the displayed value will be styled with a red color. Critical *string `pulumi:"critical"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetBillboardNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Threshold above which the displayed value will be styled with a yellow color. // * `widgetBullet` Warning *string `pulumi:"warning"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetBillboardArgs ¶
type OneDashboardPageWidgetBillboardArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Threshold above which the displayed value will be styled with a red color. Critical pulumi.StringPtrInput `pulumi:"critical"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetBillboardNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Threshold above which the displayed value will be styled with a yellow color. // * `widgetBullet` Warning pulumi.StringPtrInput `pulumi:"warning"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetBillboardArgs) ElementType ¶
func (OneDashboardPageWidgetBillboardArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutput ¶
func (i OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput
func (OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutputWithContext ¶
func (i OneDashboardPageWidgetBillboardArgs) ToOneDashboardPageWidgetBillboardOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardOutput
type OneDashboardPageWidgetBillboardArray ¶
type OneDashboardPageWidgetBillboardArray []OneDashboardPageWidgetBillboardInput
func (OneDashboardPageWidgetBillboardArray) ElementType ¶
func (OneDashboardPageWidgetBillboardArray) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutput ¶
func (i OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput
func (OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutputWithContext ¶
func (i OneDashboardPageWidgetBillboardArray) ToOneDashboardPageWidgetBillboardArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardArrayOutput
type OneDashboardPageWidgetBillboardArrayInput ¶
type OneDashboardPageWidgetBillboardArrayInput interface { pulumi.Input ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput ToOneDashboardPageWidgetBillboardArrayOutputWithContext(context.Context) OneDashboardPageWidgetBillboardArrayOutput }
OneDashboardPageWidgetBillboardArrayInput is an input type that accepts OneDashboardPageWidgetBillboardArray and OneDashboardPageWidgetBillboardArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardArrayInput` via:
OneDashboardPageWidgetBillboardArray{ OneDashboardPageWidgetBillboardArgs{...} }
type OneDashboardPageWidgetBillboardArrayOutput ¶
type OneDashboardPageWidgetBillboardArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBillboardArrayOutput) ElementType ¶
func (OneDashboardPageWidgetBillboardArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutput ¶
func (o OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutput() OneDashboardPageWidgetBillboardArrayOutput
func (OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutputWithContext ¶
func (o OneDashboardPageWidgetBillboardArrayOutput) ToOneDashboardPageWidgetBillboardArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardArrayOutput
type OneDashboardPageWidgetBillboardInput ¶
type OneDashboardPageWidgetBillboardInput interface { pulumi.Input ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput ToOneDashboardPageWidgetBillboardOutputWithContext(context.Context) OneDashboardPageWidgetBillboardOutput }
OneDashboardPageWidgetBillboardInput is an input type that accepts OneDashboardPageWidgetBillboardArgs and OneDashboardPageWidgetBillboardOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardInput` via:
OneDashboardPageWidgetBillboardArgs{...}
type OneDashboardPageWidgetBillboardNrqlQuery ¶
type OneDashboardPageWidgetBillboardNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetBillboardNrqlQueryArgs ¶
type OneDashboardPageWidgetBillboardNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutput ¶
func (i OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput
func (OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetBillboardNrqlQueryArgs) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput
type OneDashboardPageWidgetBillboardNrqlQueryArray ¶
type OneDashboardPageWidgetBillboardNrqlQueryArray []OneDashboardPageWidgetBillboardNrqlQueryInput
func (OneDashboardPageWidgetBillboardNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetBillboardNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
func (OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetBillboardNrqlQueryArray) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
type OneDashboardPageWidgetBillboardNrqlQueryArrayInput ¶
type OneDashboardPageWidgetBillboardNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput }
OneDashboardPageWidgetBillboardNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetBillboardNrqlQueryArray and OneDashboardPageWidgetBillboardNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardNrqlQueryArrayInput` via:
OneDashboardPageWidgetBillboardNrqlQueryArray{ OneDashboardPageWidgetBillboardNrqlQueryArgs{...} }
type OneDashboardPageWidgetBillboardNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetBillboardNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutput() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
func (OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetBillboardNrqlQueryArrayOutput) ToOneDashboardPageWidgetBillboardNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
type OneDashboardPageWidgetBillboardNrqlQueryInput ¶
type OneDashboardPageWidgetBillboardNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput }
OneDashboardPageWidgetBillboardNrqlQueryInput is an input type that accepts OneDashboardPageWidgetBillboardNrqlQueryArgs and OneDashboardPageWidgetBillboardNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBillboardNrqlQueryInput` via:
OneDashboardPageWidgetBillboardNrqlQueryArgs{...}
type OneDashboardPageWidgetBillboardNrqlQueryOutput ¶
type OneDashboardPageWidgetBillboardNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBillboardNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutput ¶
func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutput() OneDashboardPageWidgetBillboardNrqlQueryOutput
func (OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetBillboardNrqlQueryOutput) ToOneDashboardPageWidgetBillboardNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardNrqlQueryOutput
type OneDashboardPageWidgetBillboardOutput ¶
type OneDashboardPageWidgetBillboardOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBillboardOutput) Column ¶
func (o OneDashboardPageWidgetBillboardOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetBillboardOutput) Critical ¶
func (o OneDashboardPageWidgetBillboardOutput) Critical() pulumi.StringPtrOutput
(Optional) Threshold above which the displayed value will be styled with a red color.
func (OneDashboardPageWidgetBillboardOutput) ElementType ¶
func (OneDashboardPageWidgetBillboardOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBillboardOutput) Height ¶
func (o OneDashboardPageWidgetBillboardOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetBillboardOutput) Id ¶
func (o OneDashboardPageWidgetBillboardOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetBillboardOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetBillboardOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetBillboardOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetBillboardOutput) NrqlQueries() OneDashboardPageWidgetBillboardNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetBillboardOutput) Row ¶
func (o OneDashboardPageWidgetBillboardOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetBillboardOutput) Title ¶
func (o OneDashboardPageWidgetBillboardOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutput ¶
func (o OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutput() OneDashboardPageWidgetBillboardOutput
func (OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutputWithContext ¶
func (o OneDashboardPageWidgetBillboardOutput) ToOneDashboardPageWidgetBillboardOutputWithContext(ctx context.Context) OneDashboardPageWidgetBillboardOutput
func (OneDashboardPageWidgetBillboardOutput) Warning ¶
func (o OneDashboardPageWidgetBillboardOutput) Warning() pulumi.StringPtrOutput
(Optional) Threshold above which the displayed value will be styled with a yellow color. * `widgetBullet`
func (OneDashboardPageWidgetBillboardOutput) Width ¶
func (o OneDashboardPageWidgetBillboardOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetBullet ¶
type OneDashboardPageWidgetBullet struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) Visualization limit for the widget. // * `widgetFunnel` Limit float64 `pulumi:"limit"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetBulletNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetBulletArgs ¶
type OneDashboardPageWidgetBulletArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) Visualization limit for the widget. // * `widgetFunnel` Limit pulumi.Float64Input `pulumi:"limit"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetBulletNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetBulletArgs) ElementType ¶
func (OneDashboardPageWidgetBulletArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutput ¶
func (i OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput
func (OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutputWithContext ¶
func (i OneDashboardPageWidgetBulletArgs) ToOneDashboardPageWidgetBulletOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletOutput
type OneDashboardPageWidgetBulletArray ¶
type OneDashboardPageWidgetBulletArray []OneDashboardPageWidgetBulletInput
func (OneDashboardPageWidgetBulletArray) ElementType ¶
func (OneDashboardPageWidgetBulletArray) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutput ¶
func (i OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput
func (OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutputWithContext ¶
func (i OneDashboardPageWidgetBulletArray) ToOneDashboardPageWidgetBulletArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletArrayOutput
type OneDashboardPageWidgetBulletArrayInput ¶
type OneDashboardPageWidgetBulletArrayInput interface { pulumi.Input ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput ToOneDashboardPageWidgetBulletArrayOutputWithContext(context.Context) OneDashboardPageWidgetBulletArrayOutput }
OneDashboardPageWidgetBulletArrayInput is an input type that accepts OneDashboardPageWidgetBulletArray and OneDashboardPageWidgetBulletArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletArrayInput` via:
OneDashboardPageWidgetBulletArray{ OneDashboardPageWidgetBulletArgs{...} }
type OneDashboardPageWidgetBulletArrayOutput ¶
type OneDashboardPageWidgetBulletArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBulletArrayOutput) ElementType ¶
func (OneDashboardPageWidgetBulletArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutput ¶
func (o OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutput() OneDashboardPageWidgetBulletArrayOutput
func (OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutputWithContext ¶
func (o OneDashboardPageWidgetBulletArrayOutput) ToOneDashboardPageWidgetBulletArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletArrayOutput
type OneDashboardPageWidgetBulletInput ¶
type OneDashboardPageWidgetBulletInput interface { pulumi.Input ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput ToOneDashboardPageWidgetBulletOutputWithContext(context.Context) OneDashboardPageWidgetBulletOutput }
OneDashboardPageWidgetBulletInput is an input type that accepts OneDashboardPageWidgetBulletArgs and OneDashboardPageWidgetBulletOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletInput` via:
OneDashboardPageWidgetBulletArgs{...}
type OneDashboardPageWidgetBulletNrqlQuery ¶
type OneDashboardPageWidgetBulletNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetBulletNrqlQueryArgs ¶
type OneDashboardPageWidgetBulletNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetBulletNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetBulletNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutput ¶
func (i OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput
func (OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetBulletNrqlQueryArgs) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput
type OneDashboardPageWidgetBulletNrqlQueryArray ¶
type OneDashboardPageWidgetBulletNrqlQueryArray []OneDashboardPageWidgetBulletNrqlQueryInput
func (OneDashboardPageWidgetBulletNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetBulletNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput
func (OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetBulletNrqlQueryArray) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput
type OneDashboardPageWidgetBulletNrqlQueryArrayInput ¶
type OneDashboardPageWidgetBulletNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput }
OneDashboardPageWidgetBulletNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetBulletNrqlQueryArray and OneDashboardPageWidgetBulletNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletNrqlQueryArrayInput` via:
OneDashboardPageWidgetBulletNrqlQueryArray{ OneDashboardPageWidgetBulletNrqlQueryArgs{...} }
type OneDashboardPageWidgetBulletNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetBulletNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutput() OneDashboardPageWidgetBulletNrqlQueryArrayOutput
func (OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetBulletNrqlQueryArrayOutput) ToOneDashboardPageWidgetBulletNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryArrayOutput
type OneDashboardPageWidgetBulletNrqlQueryInput ¶
type OneDashboardPageWidgetBulletNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput }
OneDashboardPageWidgetBulletNrqlQueryInput is an input type that accepts OneDashboardPageWidgetBulletNrqlQueryArgs and OneDashboardPageWidgetBulletNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetBulletNrqlQueryInput` via:
OneDashboardPageWidgetBulletNrqlQueryArgs{...}
type OneDashboardPageWidgetBulletNrqlQueryOutput ¶
type OneDashboardPageWidgetBulletNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBulletNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetBulletNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetBulletNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetBulletNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetBulletNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutput ¶
func (o OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutput() OneDashboardPageWidgetBulletNrqlQueryOutput
func (OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetBulletNrqlQueryOutput) ToOneDashboardPageWidgetBulletNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletNrqlQueryOutput
type OneDashboardPageWidgetBulletOutput ¶
type OneDashboardPageWidgetBulletOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetBulletOutput) Column ¶
func (o OneDashboardPageWidgetBulletOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetBulletOutput) ElementType ¶
func (OneDashboardPageWidgetBulletOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetBulletOutput) Height ¶
func (o OneDashboardPageWidgetBulletOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetBulletOutput) Id ¶
func (o OneDashboardPageWidgetBulletOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetBulletOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetBulletOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetBulletOutput) Limit ¶
func (o OneDashboardPageWidgetBulletOutput) Limit() pulumi.Float64Output
(Required) Visualization limit for the widget. * `widgetFunnel`
func (OneDashboardPageWidgetBulletOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetBulletOutput) NrqlQueries() OneDashboardPageWidgetBulletNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetBulletOutput) Row ¶
func (o OneDashboardPageWidgetBulletOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetBulletOutput) Title ¶
func (o OneDashboardPageWidgetBulletOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutput ¶
func (o OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutput() OneDashboardPageWidgetBulletOutput
func (OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutputWithContext ¶
func (o OneDashboardPageWidgetBulletOutput) ToOneDashboardPageWidgetBulletOutputWithContext(ctx context.Context) OneDashboardPageWidgetBulletOutput
func (OneDashboardPageWidgetBulletOutput) Width ¶
func (o OneDashboardPageWidgetBulletOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetFunnel ¶
type OneDashboardPageWidgetFunnel struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetFunnelNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetFunnelArgs ¶
type OneDashboardPageWidgetFunnelArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetFunnelNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetFunnelArgs) ElementType ¶
func (OneDashboardPageWidgetFunnelArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutput ¶
func (i OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput
func (OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutputWithContext ¶
func (i OneDashboardPageWidgetFunnelArgs) ToOneDashboardPageWidgetFunnelOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelOutput
type OneDashboardPageWidgetFunnelArray ¶
type OneDashboardPageWidgetFunnelArray []OneDashboardPageWidgetFunnelInput
func (OneDashboardPageWidgetFunnelArray) ElementType ¶
func (OneDashboardPageWidgetFunnelArray) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutput ¶
func (i OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput
func (OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutputWithContext ¶
func (i OneDashboardPageWidgetFunnelArray) ToOneDashboardPageWidgetFunnelArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelArrayOutput
type OneDashboardPageWidgetFunnelArrayInput ¶
type OneDashboardPageWidgetFunnelArrayInput interface { pulumi.Input ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput ToOneDashboardPageWidgetFunnelArrayOutputWithContext(context.Context) OneDashboardPageWidgetFunnelArrayOutput }
OneDashboardPageWidgetFunnelArrayInput is an input type that accepts OneDashboardPageWidgetFunnelArray and OneDashboardPageWidgetFunnelArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelArrayInput` via:
OneDashboardPageWidgetFunnelArray{ OneDashboardPageWidgetFunnelArgs{...} }
type OneDashboardPageWidgetFunnelArrayOutput ¶
type OneDashboardPageWidgetFunnelArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetFunnelArrayOutput) ElementType ¶
func (OneDashboardPageWidgetFunnelArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutput ¶
func (o OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutput() OneDashboardPageWidgetFunnelArrayOutput
func (OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutputWithContext ¶
func (o OneDashboardPageWidgetFunnelArrayOutput) ToOneDashboardPageWidgetFunnelArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelArrayOutput
type OneDashboardPageWidgetFunnelInput ¶
type OneDashboardPageWidgetFunnelInput interface { pulumi.Input ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput ToOneDashboardPageWidgetFunnelOutputWithContext(context.Context) OneDashboardPageWidgetFunnelOutput }
OneDashboardPageWidgetFunnelInput is an input type that accepts OneDashboardPageWidgetFunnelArgs and OneDashboardPageWidgetFunnelOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelInput` via:
OneDashboardPageWidgetFunnelArgs{...}
type OneDashboardPageWidgetFunnelNrqlQuery ¶
type OneDashboardPageWidgetFunnelNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetFunnelNrqlQueryArgs ¶
type OneDashboardPageWidgetFunnelNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutput ¶
func (i OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput
func (OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetFunnelNrqlQueryArgs) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput
type OneDashboardPageWidgetFunnelNrqlQueryArray ¶
type OneDashboardPageWidgetFunnelNrqlQueryArray []OneDashboardPageWidgetFunnelNrqlQueryInput
func (OneDashboardPageWidgetFunnelNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetFunnelNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
func (OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetFunnelNrqlQueryArray) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
type OneDashboardPageWidgetFunnelNrqlQueryArrayInput ¶
type OneDashboardPageWidgetFunnelNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput }
OneDashboardPageWidgetFunnelNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetFunnelNrqlQueryArray and OneDashboardPageWidgetFunnelNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelNrqlQueryArrayInput` via:
OneDashboardPageWidgetFunnelNrqlQueryArray{ OneDashboardPageWidgetFunnelNrqlQueryArgs{...} }
type OneDashboardPageWidgetFunnelNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetFunnelNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutput() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
func (OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetFunnelNrqlQueryArrayOutput) ToOneDashboardPageWidgetFunnelNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
type OneDashboardPageWidgetFunnelNrqlQueryInput ¶
type OneDashboardPageWidgetFunnelNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput }
OneDashboardPageWidgetFunnelNrqlQueryInput is an input type that accepts OneDashboardPageWidgetFunnelNrqlQueryArgs and OneDashboardPageWidgetFunnelNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetFunnelNrqlQueryInput` via:
OneDashboardPageWidgetFunnelNrqlQueryArgs{...}
type OneDashboardPageWidgetFunnelNrqlQueryOutput ¶
type OneDashboardPageWidgetFunnelNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetFunnelNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutput ¶
func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutput() OneDashboardPageWidgetFunnelNrqlQueryOutput
func (OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetFunnelNrqlQueryOutput) ToOneDashboardPageWidgetFunnelNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelNrqlQueryOutput
type OneDashboardPageWidgetFunnelOutput ¶
type OneDashboardPageWidgetFunnelOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetFunnelOutput) Column ¶
func (o OneDashboardPageWidgetFunnelOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetFunnelOutput) ElementType ¶
func (OneDashboardPageWidgetFunnelOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetFunnelOutput) Height ¶
func (o OneDashboardPageWidgetFunnelOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetFunnelOutput) Id ¶
func (o OneDashboardPageWidgetFunnelOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetFunnelOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetFunnelOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetFunnelOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetFunnelOutput) NrqlQueries() OneDashboardPageWidgetFunnelNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetFunnelOutput) Row ¶
func (o OneDashboardPageWidgetFunnelOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetFunnelOutput) Title ¶
func (o OneDashboardPageWidgetFunnelOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutput ¶
func (o OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutput() OneDashboardPageWidgetFunnelOutput
func (OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutputWithContext ¶
func (o OneDashboardPageWidgetFunnelOutput) ToOneDashboardPageWidgetFunnelOutputWithContext(ctx context.Context) OneDashboardPageWidgetFunnelOutput
func (OneDashboardPageWidgetFunnelOutput) Width ¶
func (o OneDashboardPageWidgetFunnelOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetHeatmap ¶
type OneDashboardPageWidgetHeatmap struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetHeatmapNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetHeatmapArgs ¶
type OneDashboardPageWidgetHeatmapArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetHeatmapNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetHeatmapArgs) ElementType ¶
func (OneDashboardPageWidgetHeatmapArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutput ¶
func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput
func (OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutputWithContext ¶
func (i OneDashboardPageWidgetHeatmapArgs) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput
type OneDashboardPageWidgetHeatmapArray ¶
type OneDashboardPageWidgetHeatmapArray []OneDashboardPageWidgetHeatmapInput
func (OneDashboardPageWidgetHeatmapArray) ElementType ¶
func (OneDashboardPageWidgetHeatmapArray) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutput ¶
func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput
func (OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext ¶
func (i OneDashboardPageWidgetHeatmapArray) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput
type OneDashboardPageWidgetHeatmapArrayInput ¶
type OneDashboardPageWidgetHeatmapArrayInput interface { pulumi.Input ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapArrayOutput }
OneDashboardPageWidgetHeatmapArrayInput is an input type that accepts OneDashboardPageWidgetHeatmapArray and OneDashboardPageWidgetHeatmapArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapArrayInput` via:
OneDashboardPageWidgetHeatmapArray{ OneDashboardPageWidgetHeatmapArgs{...} }
type OneDashboardPageWidgetHeatmapArrayOutput ¶
type OneDashboardPageWidgetHeatmapArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHeatmapArrayOutput) ElementType ¶
func (OneDashboardPageWidgetHeatmapArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutput ¶
func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutput() OneDashboardPageWidgetHeatmapArrayOutput
func (OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext ¶
func (o OneDashboardPageWidgetHeatmapArrayOutput) ToOneDashboardPageWidgetHeatmapArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapArrayOutput
type OneDashboardPageWidgetHeatmapInput ¶
type OneDashboardPageWidgetHeatmapInput interface { pulumi.Input ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput ToOneDashboardPageWidgetHeatmapOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapOutput }
OneDashboardPageWidgetHeatmapInput is an input type that accepts OneDashboardPageWidgetHeatmapArgs and OneDashboardPageWidgetHeatmapOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapInput` via:
OneDashboardPageWidgetHeatmapArgs{...}
type OneDashboardPageWidgetHeatmapNrqlQuery ¶
type OneDashboardPageWidgetHeatmapNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetHeatmapNrqlQueryArgs ¶
type OneDashboardPageWidgetHeatmapNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput ¶
func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput
func (OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetHeatmapNrqlQueryArgs) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput
type OneDashboardPageWidgetHeatmapNrqlQueryArray ¶
type OneDashboardPageWidgetHeatmapNrqlQueryArray []OneDashboardPageWidgetHeatmapNrqlQueryInput
func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
func (OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetHeatmapNrqlQueryArray) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
type OneDashboardPageWidgetHeatmapNrqlQueryArrayInput ¶
type OneDashboardPageWidgetHeatmapNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput }
OneDashboardPageWidgetHeatmapNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetHeatmapNrqlQueryArray and OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapNrqlQueryArrayInput` via:
OneDashboardPageWidgetHeatmapNrqlQueryArray{ OneDashboardPageWidgetHeatmapNrqlQueryArgs{...} }
type OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutput() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
func (OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
type OneDashboardPageWidgetHeatmapNrqlQueryInput ¶
type OneDashboardPageWidgetHeatmapNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput }
OneDashboardPageWidgetHeatmapNrqlQueryInput is an input type that accepts OneDashboardPageWidgetHeatmapNrqlQueryArgs and OneDashboardPageWidgetHeatmapNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHeatmapNrqlQueryInput` via:
OneDashboardPageWidgetHeatmapNrqlQueryArgs{...}
type OneDashboardPageWidgetHeatmapNrqlQueryOutput ¶
type OneDashboardPageWidgetHeatmapNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput ¶
func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutput() OneDashboardPageWidgetHeatmapNrqlQueryOutput
func (OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetHeatmapNrqlQueryOutput) ToOneDashboardPageWidgetHeatmapNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapNrqlQueryOutput
type OneDashboardPageWidgetHeatmapOutput ¶
type OneDashboardPageWidgetHeatmapOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHeatmapOutput) Column ¶
func (o OneDashboardPageWidgetHeatmapOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetHeatmapOutput) ElementType ¶
func (OneDashboardPageWidgetHeatmapOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHeatmapOutput) Height ¶
func (o OneDashboardPageWidgetHeatmapOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetHeatmapOutput) Id ¶
func (o OneDashboardPageWidgetHeatmapOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetHeatmapOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetHeatmapOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetHeatmapOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetHeatmapOutput) NrqlQueries() OneDashboardPageWidgetHeatmapNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetHeatmapOutput) Row ¶
func (o OneDashboardPageWidgetHeatmapOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetHeatmapOutput) Title ¶
func (o OneDashboardPageWidgetHeatmapOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutput ¶
func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutput() OneDashboardPageWidgetHeatmapOutput
func (OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutputWithContext ¶
func (o OneDashboardPageWidgetHeatmapOutput) ToOneDashboardPageWidgetHeatmapOutputWithContext(ctx context.Context) OneDashboardPageWidgetHeatmapOutput
func (OneDashboardPageWidgetHeatmapOutput) Width ¶
func (o OneDashboardPageWidgetHeatmapOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetHistogram ¶
type OneDashboardPageWidgetHistogram struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetHistogramNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetHistogramArgs ¶
type OneDashboardPageWidgetHistogramArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetHistogramNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetHistogramArgs) ElementType ¶
func (OneDashboardPageWidgetHistogramArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutput ¶
func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput
func (OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutputWithContext ¶
func (i OneDashboardPageWidgetHistogramArgs) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput
type OneDashboardPageWidgetHistogramArray ¶
type OneDashboardPageWidgetHistogramArray []OneDashboardPageWidgetHistogramInput
func (OneDashboardPageWidgetHistogramArray) ElementType ¶
func (OneDashboardPageWidgetHistogramArray) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutput ¶
func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput
func (OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutputWithContext ¶
func (i OneDashboardPageWidgetHistogramArray) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput
type OneDashboardPageWidgetHistogramArrayInput ¶
type OneDashboardPageWidgetHistogramArrayInput interface { pulumi.Input ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput ToOneDashboardPageWidgetHistogramArrayOutputWithContext(context.Context) OneDashboardPageWidgetHistogramArrayOutput }
OneDashboardPageWidgetHistogramArrayInput is an input type that accepts OneDashboardPageWidgetHistogramArray and OneDashboardPageWidgetHistogramArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramArrayInput` via:
OneDashboardPageWidgetHistogramArray{ OneDashboardPageWidgetHistogramArgs{...} }
type OneDashboardPageWidgetHistogramArrayOutput ¶
type OneDashboardPageWidgetHistogramArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHistogramArrayOutput) ElementType ¶
func (OneDashboardPageWidgetHistogramArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutput ¶
func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutput() OneDashboardPageWidgetHistogramArrayOutput
func (OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutputWithContext ¶
func (o OneDashboardPageWidgetHistogramArrayOutput) ToOneDashboardPageWidgetHistogramArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramArrayOutput
type OneDashboardPageWidgetHistogramInput ¶
type OneDashboardPageWidgetHistogramInput interface { pulumi.Input ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput ToOneDashboardPageWidgetHistogramOutputWithContext(context.Context) OneDashboardPageWidgetHistogramOutput }
OneDashboardPageWidgetHistogramInput is an input type that accepts OneDashboardPageWidgetHistogramArgs and OneDashboardPageWidgetHistogramOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramInput` via:
OneDashboardPageWidgetHistogramArgs{...}
type OneDashboardPageWidgetHistogramNrqlQuery ¶
type OneDashboardPageWidgetHistogramNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetHistogramNrqlQueryArgs ¶
type OneDashboardPageWidgetHistogramNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutput ¶
func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput
func (OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetHistogramNrqlQueryArgs) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput
type OneDashboardPageWidgetHistogramNrqlQueryArray ¶
type OneDashboardPageWidgetHistogramNrqlQueryArray []OneDashboardPageWidgetHistogramNrqlQueryInput
func (OneDashboardPageWidgetHistogramNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetHistogramNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
func (OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetHistogramNrqlQueryArray) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
type OneDashboardPageWidgetHistogramNrqlQueryArrayInput ¶
type OneDashboardPageWidgetHistogramNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput }
OneDashboardPageWidgetHistogramNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetHistogramNrqlQueryArray and OneDashboardPageWidgetHistogramNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramNrqlQueryArrayInput` via:
OneDashboardPageWidgetHistogramNrqlQueryArray{ OneDashboardPageWidgetHistogramNrqlQueryArgs{...} }
type OneDashboardPageWidgetHistogramNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetHistogramNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutput() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
func (OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetHistogramNrqlQueryArrayOutput) ToOneDashboardPageWidgetHistogramNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
type OneDashboardPageWidgetHistogramNrqlQueryInput ¶
type OneDashboardPageWidgetHistogramNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput }
OneDashboardPageWidgetHistogramNrqlQueryInput is an input type that accepts OneDashboardPageWidgetHistogramNrqlQueryArgs and OneDashboardPageWidgetHistogramNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetHistogramNrqlQueryInput` via:
OneDashboardPageWidgetHistogramNrqlQueryArgs{...}
type OneDashboardPageWidgetHistogramNrqlQueryOutput ¶
type OneDashboardPageWidgetHistogramNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHistogramNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutput ¶
func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutput() OneDashboardPageWidgetHistogramNrqlQueryOutput
func (OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetHistogramNrqlQueryOutput) ToOneDashboardPageWidgetHistogramNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramNrqlQueryOutput
type OneDashboardPageWidgetHistogramOutput ¶
type OneDashboardPageWidgetHistogramOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetHistogramOutput) Column ¶
func (o OneDashboardPageWidgetHistogramOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetHistogramOutput) ElementType ¶
func (OneDashboardPageWidgetHistogramOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetHistogramOutput) Height ¶
func (o OneDashboardPageWidgetHistogramOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetHistogramOutput) Id ¶
func (o OneDashboardPageWidgetHistogramOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetHistogramOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetHistogramOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetHistogramOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetHistogramOutput) NrqlQueries() OneDashboardPageWidgetHistogramNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetHistogramOutput) Row ¶
func (o OneDashboardPageWidgetHistogramOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetHistogramOutput) Title ¶
func (o OneDashboardPageWidgetHistogramOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutput ¶
func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutput() OneDashboardPageWidgetHistogramOutput
func (OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutputWithContext ¶
func (o OneDashboardPageWidgetHistogramOutput) ToOneDashboardPageWidgetHistogramOutputWithContext(ctx context.Context) OneDashboardPageWidgetHistogramOutput
func (OneDashboardPageWidgetHistogramOutput) Width ¶
func (o OneDashboardPageWidgetHistogramOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetJson ¶
type OneDashboardPageWidgetJson struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetJsonNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetJsonArgs ¶
type OneDashboardPageWidgetJsonArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetJsonNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetJsonArgs) ElementType ¶
func (OneDashboardPageWidgetJsonArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutput ¶
func (i OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput
func (OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutputWithContext ¶
func (i OneDashboardPageWidgetJsonArgs) ToOneDashboardPageWidgetJsonOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonOutput
type OneDashboardPageWidgetJsonArray ¶
type OneDashboardPageWidgetJsonArray []OneDashboardPageWidgetJsonInput
func (OneDashboardPageWidgetJsonArray) ElementType ¶
func (OneDashboardPageWidgetJsonArray) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutput ¶
func (i OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput
func (OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutputWithContext ¶
func (i OneDashboardPageWidgetJsonArray) ToOneDashboardPageWidgetJsonArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonArrayOutput
type OneDashboardPageWidgetJsonArrayInput ¶
type OneDashboardPageWidgetJsonArrayInput interface { pulumi.Input ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput ToOneDashboardPageWidgetJsonArrayOutputWithContext(context.Context) OneDashboardPageWidgetJsonArrayOutput }
OneDashboardPageWidgetJsonArrayInput is an input type that accepts OneDashboardPageWidgetJsonArray and OneDashboardPageWidgetJsonArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonArrayInput` via:
OneDashboardPageWidgetJsonArray{ OneDashboardPageWidgetJsonArgs{...} }
type OneDashboardPageWidgetJsonArrayOutput ¶
type OneDashboardPageWidgetJsonArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetJsonArrayOutput) ElementType ¶
func (OneDashboardPageWidgetJsonArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonArrayOutput) Index ¶
func (o OneDashboardPageWidgetJsonArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetJsonOutput
func (OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutput ¶
func (o OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutput() OneDashboardPageWidgetJsonArrayOutput
func (OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutputWithContext ¶
func (o OneDashboardPageWidgetJsonArrayOutput) ToOneDashboardPageWidgetJsonArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonArrayOutput
type OneDashboardPageWidgetJsonInput ¶
type OneDashboardPageWidgetJsonInput interface { pulumi.Input ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput ToOneDashboardPageWidgetJsonOutputWithContext(context.Context) OneDashboardPageWidgetJsonOutput }
OneDashboardPageWidgetJsonInput is an input type that accepts OneDashboardPageWidgetJsonArgs and OneDashboardPageWidgetJsonOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonInput` via:
OneDashboardPageWidgetJsonArgs{...}
type OneDashboardPageWidgetJsonNrqlQuery ¶
type OneDashboardPageWidgetJsonNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetJsonNrqlQueryArgs ¶
type OneDashboardPageWidgetJsonNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetJsonNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetJsonNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutput ¶
func (i OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput
func (OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetJsonNrqlQueryArgs) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput
type OneDashboardPageWidgetJsonNrqlQueryArray ¶
type OneDashboardPageWidgetJsonNrqlQueryArray []OneDashboardPageWidgetJsonNrqlQueryInput
func (OneDashboardPageWidgetJsonNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetJsonNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput
func (OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetJsonNrqlQueryArray) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput
type OneDashboardPageWidgetJsonNrqlQueryArrayInput ¶
type OneDashboardPageWidgetJsonNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput }
OneDashboardPageWidgetJsonNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetJsonNrqlQueryArray and OneDashboardPageWidgetJsonNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonNrqlQueryArrayInput` via:
OneDashboardPageWidgetJsonNrqlQueryArray{ OneDashboardPageWidgetJsonNrqlQueryArgs{...} }
type OneDashboardPageWidgetJsonNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetJsonNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutput() OneDashboardPageWidgetJsonNrqlQueryArrayOutput
func (OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetJsonNrqlQueryArrayOutput) ToOneDashboardPageWidgetJsonNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryArrayOutput
type OneDashboardPageWidgetJsonNrqlQueryInput ¶
type OneDashboardPageWidgetJsonNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput }
OneDashboardPageWidgetJsonNrqlQueryInput is an input type that accepts OneDashboardPageWidgetJsonNrqlQueryArgs and OneDashboardPageWidgetJsonNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetJsonNrqlQueryInput` via:
OneDashboardPageWidgetJsonNrqlQueryArgs{...}
type OneDashboardPageWidgetJsonNrqlQueryOutput ¶
type OneDashboardPageWidgetJsonNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetJsonNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetJsonNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetJsonNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetJsonNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetJsonNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutput ¶
func (o OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutput() OneDashboardPageWidgetJsonNrqlQueryOutput
func (OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetJsonNrqlQueryOutput) ToOneDashboardPageWidgetJsonNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonNrqlQueryOutput
type OneDashboardPageWidgetJsonOutput ¶
type OneDashboardPageWidgetJsonOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetJsonOutput) Column ¶
func (o OneDashboardPageWidgetJsonOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetJsonOutput) ElementType ¶
func (OneDashboardPageWidgetJsonOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetJsonOutput) Height ¶
func (o OneDashboardPageWidgetJsonOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetJsonOutput) Id ¶
func (o OneDashboardPageWidgetJsonOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetJsonOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetJsonOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetJsonOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetJsonOutput) NrqlQueries() OneDashboardPageWidgetJsonNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetJsonOutput) Row ¶
func (o OneDashboardPageWidgetJsonOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetJsonOutput) Title ¶
func (o OneDashboardPageWidgetJsonOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutput ¶
func (o OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutput() OneDashboardPageWidgetJsonOutput
func (OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutputWithContext ¶
func (o OneDashboardPageWidgetJsonOutput) ToOneDashboardPageWidgetJsonOutputWithContext(ctx context.Context) OneDashboardPageWidgetJsonOutput
func (OneDashboardPageWidgetJsonOutput) Width ¶
func (o OneDashboardPageWidgetJsonOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetLine ¶
type OneDashboardPageWidgetLine struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetLineNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetLineArgs ¶
type OneDashboardPageWidgetLineArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetLineNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetLineArgs) ElementType ¶
func (OneDashboardPageWidgetLineArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutput ¶
func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput
func (OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutputWithContext ¶
func (i OneDashboardPageWidgetLineArgs) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput
type OneDashboardPageWidgetLineArray ¶
type OneDashboardPageWidgetLineArray []OneDashboardPageWidgetLineInput
func (OneDashboardPageWidgetLineArray) ElementType ¶
func (OneDashboardPageWidgetLineArray) ElementType() reflect.Type
func (OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutput ¶
func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput
func (OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutputWithContext ¶
func (i OneDashboardPageWidgetLineArray) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput
type OneDashboardPageWidgetLineArrayInput ¶
type OneDashboardPageWidgetLineArrayInput interface { pulumi.Input ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput ToOneDashboardPageWidgetLineArrayOutputWithContext(context.Context) OneDashboardPageWidgetLineArrayOutput }
OneDashboardPageWidgetLineArrayInput is an input type that accepts OneDashboardPageWidgetLineArray and OneDashboardPageWidgetLineArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineArrayInput` via:
OneDashboardPageWidgetLineArray{ OneDashboardPageWidgetLineArgs{...} }
type OneDashboardPageWidgetLineArrayOutput ¶
type OneDashboardPageWidgetLineArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLineArrayOutput) ElementType ¶
func (OneDashboardPageWidgetLineArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLineArrayOutput) Index ¶
func (o OneDashboardPageWidgetLineArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetLineOutput
func (OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutput ¶
func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutput() OneDashboardPageWidgetLineArrayOutput
func (OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutputWithContext ¶
func (o OneDashboardPageWidgetLineArrayOutput) ToOneDashboardPageWidgetLineArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineArrayOutput
type OneDashboardPageWidgetLineInput ¶
type OneDashboardPageWidgetLineInput interface { pulumi.Input ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput ToOneDashboardPageWidgetLineOutputWithContext(context.Context) OneDashboardPageWidgetLineOutput }
OneDashboardPageWidgetLineInput is an input type that accepts OneDashboardPageWidgetLineArgs and OneDashboardPageWidgetLineOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineInput` via:
OneDashboardPageWidgetLineArgs{...}
type OneDashboardPageWidgetLineNrqlQuery ¶
type OneDashboardPageWidgetLineNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetLineNrqlQueryArgs ¶
type OneDashboardPageWidgetLineNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetLineNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetLineNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutput ¶
func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput
func (OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetLineNrqlQueryArgs) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput
type OneDashboardPageWidgetLineNrqlQueryArray ¶
type OneDashboardPageWidgetLineNrqlQueryArray []OneDashboardPageWidgetLineNrqlQueryInput
func (OneDashboardPageWidgetLineNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetLineNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput
func (OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetLineNrqlQueryArray) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput
type OneDashboardPageWidgetLineNrqlQueryArrayInput ¶
type OneDashboardPageWidgetLineNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput }
OneDashboardPageWidgetLineNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetLineNrqlQueryArray and OneDashboardPageWidgetLineNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineNrqlQueryArrayInput` via:
OneDashboardPageWidgetLineNrqlQueryArray{ OneDashboardPageWidgetLineNrqlQueryArgs{...} }
type OneDashboardPageWidgetLineNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetLineNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutput() OneDashboardPageWidgetLineNrqlQueryArrayOutput
func (OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetLineNrqlQueryArrayOutput) ToOneDashboardPageWidgetLineNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryArrayOutput
type OneDashboardPageWidgetLineNrqlQueryInput ¶
type OneDashboardPageWidgetLineNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetLineNrqlQueryOutput }
OneDashboardPageWidgetLineNrqlQueryInput is an input type that accepts OneDashboardPageWidgetLineNrqlQueryArgs and OneDashboardPageWidgetLineNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLineNrqlQueryInput` via:
OneDashboardPageWidgetLineNrqlQueryArgs{...}
type OneDashboardPageWidgetLineNrqlQueryOutput ¶
type OneDashboardPageWidgetLineNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLineNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetLineNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetLineNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetLineNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLineNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetLineNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutput ¶
func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutput() OneDashboardPageWidgetLineNrqlQueryOutput
func (OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetLineNrqlQueryOutput) ToOneDashboardPageWidgetLineNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineNrqlQueryOutput
type OneDashboardPageWidgetLineOutput ¶
type OneDashboardPageWidgetLineOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLineOutput) Column ¶
func (o OneDashboardPageWidgetLineOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetLineOutput) ElementType ¶
func (OneDashboardPageWidgetLineOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLineOutput) Height ¶
func (o OneDashboardPageWidgetLineOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetLineOutput) Id ¶
func (o OneDashboardPageWidgetLineOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetLineOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetLineOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetLineOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetLineOutput) NrqlQueries() OneDashboardPageWidgetLineNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetLineOutput) Row ¶
func (o OneDashboardPageWidgetLineOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetLineOutput) Title ¶
func (o OneDashboardPageWidgetLineOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutput ¶
func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutput() OneDashboardPageWidgetLineOutput
func (OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutputWithContext ¶
func (o OneDashboardPageWidgetLineOutput) ToOneDashboardPageWidgetLineOutputWithContext(ctx context.Context) OneDashboardPageWidgetLineOutput
func (OneDashboardPageWidgetLineOutput) Width ¶
func (o OneDashboardPageWidgetLineOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetLogTable ¶ added in v4.18.0
type OneDashboardPageWidgetLogTable struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetLogTableNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetLogTableArgs ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetLogTableNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetLogTableArgs) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutput ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput
func (OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutputWithContext ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableArgs) ToOneDashboardPageWidgetLogTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableOutput
type OneDashboardPageWidgetLogTableArray ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableArray []OneDashboardPageWidgetLogTableInput
func (OneDashboardPageWidgetLogTableArray) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableArray) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutput ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput
func (OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutputWithContext ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableArray) ToOneDashboardPageWidgetLogTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableArrayOutput
type OneDashboardPageWidgetLogTableArrayInput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableArrayInput interface { pulumi.Input ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput ToOneDashboardPageWidgetLogTableArrayOutputWithContext(context.Context) OneDashboardPageWidgetLogTableArrayOutput }
OneDashboardPageWidgetLogTableArrayInput is an input type that accepts OneDashboardPageWidgetLogTableArray and OneDashboardPageWidgetLogTableArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableArrayInput` via:
OneDashboardPageWidgetLogTableArray{ OneDashboardPageWidgetLogTableArgs{...} }
type OneDashboardPageWidgetLogTableArrayOutput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLogTableArrayOutput) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutput ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutput() OneDashboardPageWidgetLogTableArrayOutput
func (OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutputWithContext ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableArrayOutput) ToOneDashboardPageWidgetLogTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableArrayOutput
type OneDashboardPageWidgetLogTableInput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableInput interface { pulumi.Input ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput ToOneDashboardPageWidgetLogTableOutputWithContext(context.Context) OneDashboardPageWidgetLogTableOutput }
OneDashboardPageWidgetLogTableInput is an input type that accepts OneDashboardPageWidgetLogTableArgs and OneDashboardPageWidgetLogTableOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableInput` via:
OneDashboardPageWidgetLogTableArgs{...}
type OneDashboardPageWidgetLogTableNrqlQuery ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetLogTableNrqlQueryArgs ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutput ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput
func (OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableNrqlQueryArgs) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput
type OneDashboardPageWidgetLogTableNrqlQueryArray ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableNrqlQueryArray []OneDashboardPageWidgetLogTableNrqlQueryInput
func (OneDashboardPageWidgetLogTableNrqlQueryArray) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
func (OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext ¶ added in v4.18.0
func (i OneDashboardPageWidgetLogTableNrqlQueryArray) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
type OneDashboardPageWidgetLogTableNrqlQueryArrayInput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput }
OneDashboardPageWidgetLogTableNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetLogTableNrqlQueryArray and OneDashboardPageWidgetLogTableNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableNrqlQueryArrayInput` via:
OneDashboardPageWidgetLogTableNrqlQueryArray{ OneDashboardPageWidgetLogTableNrqlQueryArgs{...} }
type OneDashboardPageWidgetLogTableNrqlQueryArrayOutput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutput() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
func (OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetLogTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
type OneDashboardPageWidgetLogTableNrqlQueryInput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput }
OneDashboardPageWidgetLogTableNrqlQueryInput is an input type that accepts OneDashboardPageWidgetLogTableNrqlQueryArgs and OneDashboardPageWidgetLogTableNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetLogTableNrqlQueryInput` via:
OneDashboardPageWidgetLogTableNrqlQueryArgs{...}
type OneDashboardPageWidgetLogTableNrqlQueryOutput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLogTableNrqlQueryOutput) AccountId ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableNrqlQueryOutput) Query ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutput ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutput() OneDashboardPageWidgetLogTableNrqlQueryOutput
func (OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableNrqlQueryOutput) ToOneDashboardPageWidgetLogTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableNrqlQueryOutput
type OneDashboardPageWidgetLogTableOutput ¶ added in v4.18.0
type OneDashboardPageWidgetLogTableOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetLogTableOutput) Column ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetLogTableOutput) ElementType ¶ added in v4.18.0
func (OneDashboardPageWidgetLogTableOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetLogTableOutput) Height ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetLogTableOutput) Id ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetLogTableOutput) IgnoreTimeRange ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetLogTableOutput) NrqlQueries ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) NrqlQueries() OneDashboardPageWidgetLogTableNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetLogTableOutput) Row ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetLogTableOutput) Title ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutput ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutput() OneDashboardPageWidgetLogTableOutput
func (OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutputWithContext ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) ToOneDashboardPageWidgetLogTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetLogTableOutput
func (OneDashboardPageWidgetLogTableOutput) Width ¶ added in v4.18.0
func (o OneDashboardPageWidgetLogTableOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetMarkdown ¶
type OneDashboardPageWidgetMarkdown struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) The markdown source to be rendered in the widget. // * `widgetStackedBar` Text *string `pulumi:"text"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetMarkdownArgs ¶
type OneDashboardPageWidgetMarkdownArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) The markdown source to be rendered in the widget. // * `widgetStackedBar` Text pulumi.StringPtrInput `pulumi:"text"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetMarkdownArgs) ElementType ¶
func (OneDashboardPageWidgetMarkdownArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutput ¶
func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput
func (OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutputWithContext ¶
func (i OneDashboardPageWidgetMarkdownArgs) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput
type OneDashboardPageWidgetMarkdownArray ¶
type OneDashboardPageWidgetMarkdownArray []OneDashboardPageWidgetMarkdownInput
func (OneDashboardPageWidgetMarkdownArray) ElementType ¶
func (OneDashboardPageWidgetMarkdownArray) ElementType() reflect.Type
func (OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutput ¶
func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput
func (OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext ¶
func (i OneDashboardPageWidgetMarkdownArray) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput
type OneDashboardPageWidgetMarkdownArrayInput ¶
type OneDashboardPageWidgetMarkdownArrayInput interface { pulumi.Input ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(context.Context) OneDashboardPageWidgetMarkdownArrayOutput }
OneDashboardPageWidgetMarkdownArrayInput is an input type that accepts OneDashboardPageWidgetMarkdownArray and OneDashboardPageWidgetMarkdownArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetMarkdownArrayInput` via:
OneDashboardPageWidgetMarkdownArray{ OneDashboardPageWidgetMarkdownArgs{...} }
type OneDashboardPageWidgetMarkdownArrayOutput ¶
type OneDashboardPageWidgetMarkdownArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetMarkdownArrayOutput) ElementType ¶
func (OneDashboardPageWidgetMarkdownArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutput ¶
func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutput() OneDashboardPageWidgetMarkdownArrayOutput
func (OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext ¶
func (o OneDashboardPageWidgetMarkdownArrayOutput) ToOneDashboardPageWidgetMarkdownArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownArrayOutput
type OneDashboardPageWidgetMarkdownInput ¶
type OneDashboardPageWidgetMarkdownInput interface { pulumi.Input ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput ToOneDashboardPageWidgetMarkdownOutputWithContext(context.Context) OneDashboardPageWidgetMarkdownOutput }
OneDashboardPageWidgetMarkdownInput is an input type that accepts OneDashboardPageWidgetMarkdownArgs and OneDashboardPageWidgetMarkdownOutput values. You can construct a concrete instance of `OneDashboardPageWidgetMarkdownInput` via:
OneDashboardPageWidgetMarkdownArgs{...}
type OneDashboardPageWidgetMarkdownOutput ¶
type OneDashboardPageWidgetMarkdownOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetMarkdownOutput) Column ¶
func (o OneDashboardPageWidgetMarkdownOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetMarkdownOutput) ElementType ¶
func (OneDashboardPageWidgetMarkdownOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetMarkdownOutput) Height ¶
func (o OneDashboardPageWidgetMarkdownOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetMarkdownOutput) Id ¶
func (o OneDashboardPageWidgetMarkdownOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetMarkdownOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetMarkdownOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetMarkdownOutput) Row ¶
func (o OneDashboardPageWidgetMarkdownOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetMarkdownOutput) Text ¶
func (o OneDashboardPageWidgetMarkdownOutput) Text() pulumi.StringPtrOutput
(Required) The markdown source to be rendered in the widget. * `widgetStackedBar`
func (OneDashboardPageWidgetMarkdownOutput) Title ¶
func (o OneDashboardPageWidgetMarkdownOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutput ¶
func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutput() OneDashboardPageWidgetMarkdownOutput
func (OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutputWithContext ¶
func (o OneDashboardPageWidgetMarkdownOutput) ToOneDashboardPageWidgetMarkdownOutputWithContext(ctx context.Context) OneDashboardPageWidgetMarkdownOutput
func (OneDashboardPageWidgetMarkdownOutput) Width ¶
func (o OneDashboardPageWidgetMarkdownOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetPy ¶
type OneDashboardPageWidgetPy struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` FilterCurrentDashboard *bool `pulumi:"filterCurrentDashboard"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` LinkedEntityGuids []string `pulumi:"linkedEntityGuids"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetPyNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetPyArgs ¶
type OneDashboardPageWidgetPyArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` FilterCurrentDashboard pulumi.BoolPtrInput `pulumi:"filterCurrentDashboard"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetPyNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetPyArgs) ElementType ¶
func (OneDashboardPageWidgetPyArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutput ¶
func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput
func (OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutputWithContext ¶
func (i OneDashboardPageWidgetPyArgs) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput
type OneDashboardPageWidgetPyArray ¶
type OneDashboardPageWidgetPyArray []OneDashboardPageWidgetPyInput
func (OneDashboardPageWidgetPyArray) ElementType ¶
func (OneDashboardPageWidgetPyArray) ElementType() reflect.Type
func (OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutput ¶
func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput
func (OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutputWithContext ¶
func (i OneDashboardPageWidgetPyArray) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput
type OneDashboardPageWidgetPyArrayInput ¶
type OneDashboardPageWidgetPyArrayInput interface { pulumi.Input ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput ToOneDashboardPageWidgetPyArrayOutputWithContext(context.Context) OneDashboardPageWidgetPyArrayOutput }
OneDashboardPageWidgetPyArrayInput is an input type that accepts OneDashboardPageWidgetPyArray and OneDashboardPageWidgetPyArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyArrayInput` via:
OneDashboardPageWidgetPyArray{ OneDashboardPageWidgetPyArgs{...} }
type OneDashboardPageWidgetPyArrayOutput ¶
type OneDashboardPageWidgetPyArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetPyArrayOutput) ElementType ¶
func (OneDashboardPageWidgetPyArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetPyArrayOutput) Index ¶
func (o OneDashboardPageWidgetPyArrayOutput) Index(i pulumi.IntInput) OneDashboardPageWidgetPyOutput
func (OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutput ¶
func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutput() OneDashboardPageWidgetPyArrayOutput
func (OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutputWithContext ¶
func (o OneDashboardPageWidgetPyArrayOutput) ToOneDashboardPageWidgetPyArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyArrayOutput
type OneDashboardPageWidgetPyInput ¶
type OneDashboardPageWidgetPyInput interface { pulumi.Input ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput ToOneDashboardPageWidgetPyOutputWithContext(context.Context) OneDashboardPageWidgetPyOutput }
OneDashboardPageWidgetPyInput is an input type that accepts OneDashboardPageWidgetPyArgs and OneDashboardPageWidgetPyOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyInput` via:
OneDashboardPageWidgetPyArgs{...}
type OneDashboardPageWidgetPyNrqlQuery ¶
type OneDashboardPageWidgetPyNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetPyNrqlQueryArgs ¶
type OneDashboardPageWidgetPyNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetPyNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetPyNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutput ¶
func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput
func (OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetPyNrqlQueryArgs) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput
type OneDashboardPageWidgetPyNrqlQueryArray ¶
type OneDashboardPageWidgetPyNrqlQueryArray []OneDashboardPageWidgetPyNrqlQueryInput
func (OneDashboardPageWidgetPyNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetPyNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput
func (OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetPyNrqlQueryArray) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput
type OneDashboardPageWidgetPyNrqlQueryArrayInput ¶
type OneDashboardPageWidgetPyNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput }
OneDashboardPageWidgetPyNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetPyNrqlQueryArray and OneDashboardPageWidgetPyNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyNrqlQueryArrayInput` via:
OneDashboardPageWidgetPyNrqlQueryArray{ OneDashboardPageWidgetPyNrqlQueryArgs{...} }
type OneDashboardPageWidgetPyNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetPyNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutput() OneDashboardPageWidgetPyNrqlQueryArrayOutput
func (OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetPyNrqlQueryArrayOutput) ToOneDashboardPageWidgetPyNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryArrayOutput
type OneDashboardPageWidgetPyNrqlQueryInput ¶
type OneDashboardPageWidgetPyNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetPyNrqlQueryOutput }
OneDashboardPageWidgetPyNrqlQueryInput is an input type that accepts OneDashboardPageWidgetPyNrqlQueryArgs and OneDashboardPageWidgetPyNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetPyNrqlQueryInput` via:
OneDashboardPageWidgetPyNrqlQueryArgs{...}
type OneDashboardPageWidgetPyNrqlQueryOutput ¶
type OneDashboardPageWidgetPyNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetPyNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetPyNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetPyNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetPyNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetPyNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetPyNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutput ¶
func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutput() OneDashboardPageWidgetPyNrqlQueryOutput
func (OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetPyNrqlQueryOutput) ToOneDashboardPageWidgetPyNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyNrqlQueryOutput
type OneDashboardPageWidgetPyOutput ¶
type OneDashboardPageWidgetPyOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetPyOutput) Column ¶
func (o OneDashboardPageWidgetPyOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetPyOutput) ElementType ¶
func (OneDashboardPageWidgetPyOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetPyOutput) FilterCurrentDashboard ¶ added in v4.5.0
func (o OneDashboardPageWidgetPyOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput
func (OneDashboardPageWidgetPyOutput) Height ¶
func (o OneDashboardPageWidgetPyOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetPyOutput) Id ¶
func (o OneDashboardPageWidgetPyOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetPyOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetPyOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetPyOutput) LinkedEntityGuids ¶
func (o OneDashboardPageWidgetPyOutput) LinkedEntityGuids() pulumi.StringArrayOutput
func (OneDashboardPageWidgetPyOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetPyOutput) NrqlQueries() OneDashboardPageWidgetPyNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetPyOutput) Row ¶
func (o OneDashboardPageWidgetPyOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetPyOutput) Title ¶
func (o OneDashboardPageWidgetPyOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutput ¶
func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutput() OneDashboardPageWidgetPyOutput
func (OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutputWithContext ¶
func (o OneDashboardPageWidgetPyOutput) ToOneDashboardPageWidgetPyOutputWithContext(ctx context.Context) OneDashboardPageWidgetPyOutput
func (OneDashboardPageWidgetPyOutput) Width ¶
func (o OneDashboardPageWidgetPyOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetStackedBar ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBar struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetStackedBarNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetStackedBarArgs ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetStackedBarNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetStackedBarArgs) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutput ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput
func (OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutputWithContext ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarArgs) ToOneDashboardPageWidgetStackedBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarOutput
type OneDashboardPageWidgetStackedBarArray ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarArray []OneDashboardPageWidgetStackedBarInput
func (OneDashboardPageWidgetStackedBarArray) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarArray) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutput ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput
func (OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarArray) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarArrayOutput
type OneDashboardPageWidgetStackedBarArrayInput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarArrayInput interface { pulumi.Input ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarArrayOutput }
OneDashboardPageWidgetStackedBarArrayInput is an input type that accepts OneDashboardPageWidgetStackedBarArray and OneDashboardPageWidgetStackedBarArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarArrayInput` via:
OneDashboardPageWidgetStackedBarArray{ OneDashboardPageWidgetStackedBarArgs{...} }
type OneDashboardPageWidgetStackedBarArrayOutput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetStackedBarArrayOutput) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutput ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutput() OneDashboardPageWidgetStackedBarArrayOutput
func (OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarArrayOutput) ToOneDashboardPageWidgetStackedBarArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarArrayOutput
type OneDashboardPageWidgetStackedBarInput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarInput interface { pulumi.Input ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput ToOneDashboardPageWidgetStackedBarOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarOutput }
OneDashboardPageWidgetStackedBarInput is an input type that accepts OneDashboardPageWidgetStackedBarArgs and OneDashboardPageWidgetStackedBarOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarInput` via:
OneDashboardPageWidgetStackedBarArgs{...}
type OneDashboardPageWidgetStackedBarNrqlQuery ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetStackedBarNrqlQueryArgs ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput
func (OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarNrqlQueryArgs) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput
type OneDashboardPageWidgetStackedBarNrqlQueryArray ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarNrqlQueryArray []OneDashboardPageWidgetStackedBarNrqlQueryInput
func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
func (OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext ¶ added in v4.5.0
func (i OneDashboardPageWidgetStackedBarNrqlQueryArray) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
type OneDashboardPageWidgetStackedBarNrqlQueryArrayInput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput }
OneDashboardPageWidgetStackedBarNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetStackedBarNrqlQueryArray and OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarNrqlQueryArrayInput` via:
OneDashboardPageWidgetStackedBarNrqlQueryArray{ OneDashboardPageWidgetStackedBarNrqlQueryArgs{...} }
type OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutput() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
func (OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
type OneDashboardPageWidgetStackedBarNrqlQueryInput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput }
OneDashboardPageWidgetStackedBarNrqlQueryInput is an input type that accepts OneDashboardPageWidgetStackedBarNrqlQueryArgs and OneDashboardPageWidgetStackedBarNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetStackedBarNrqlQueryInput` via:
OneDashboardPageWidgetStackedBarNrqlQueryArgs{...}
type OneDashboardPageWidgetStackedBarNrqlQueryOutput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) AccountId ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) Query ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutput() OneDashboardPageWidgetStackedBarNrqlQueryOutput
func (OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarNrqlQueryOutput) ToOneDashboardPageWidgetStackedBarNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarNrqlQueryOutput
type OneDashboardPageWidgetStackedBarOutput ¶ added in v4.5.0
type OneDashboardPageWidgetStackedBarOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetStackedBarOutput) Column ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetStackedBarOutput) ElementType ¶ added in v4.5.0
func (OneDashboardPageWidgetStackedBarOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetStackedBarOutput) Height ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetStackedBarOutput) Id ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetStackedBarOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetStackedBarOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetStackedBarOutput) NrqlQueries ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) NrqlQueries() OneDashboardPageWidgetStackedBarNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetStackedBarOutput) Row ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetStackedBarOutput) Title ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutput ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutput() OneDashboardPageWidgetStackedBarOutput
func (OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutputWithContext ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) ToOneDashboardPageWidgetStackedBarOutputWithContext(ctx context.Context) OneDashboardPageWidgetStackedBarOutput
func (OneDashboardPageWidgetStackedBarOutput) Width ¶ added in v4.5.0
func (o OneDashboardPageWidgetStackedBarOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardPageWidgetTable ¶
type OneDashboardPageWidgetTable struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` FilterCurrentDashboard *bool `pulumi:"filterCurrentDashboard"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange *bool `pulumi:"ignoreTimeRange"` LinkedEntityGuids []string `pulumi:"linkedEntityGuids"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries []OneDashboardPageWidgetTableNrqlQuery `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardPageWidgetTableArgs ¶
type OneDashboardPageWidgetTableArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` FilterCurrentDashboard pulumi.BoolPtrInput `pulumi:"filterCurrentDashboard"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`. IgnoreTimeRange pulumi.BoolPtrInput `pulumi:"ignoreTimeRange"` LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"` // (Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. // * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. // * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard. NrqlQueries OneDashboardPageWidgetTableNrqlQueryArrayInput `pulumi:"nrqlQueries"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardPageWidgetTableArgs) ElementType ¶
func (OneDashboardPageWidgetTableArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutput ¶
func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput
func (OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutputWithContext ¶
func (i OneDashboardPageWidgetTableArgs) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput
type OneDashboardPageWidgetTableArray ¶
type OneDashboardPageWidgetTableArray []OneDashboardPageWidgetTableInput
func (OneDashboardPageWidgetTableArray) ElementType ¶
func (OneDashboardPageWidgetTableArray) ElementType() reflect.Type
func (OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutput ¶
func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput
func (OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutputWithContext ¶
func (i OneDashboardPageWidgetTableArray) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput
type OneDashboardPageWidgetTableArrayInput ¶
type OneDashboardPageWidgetTableArrayInput interface { pulumi.Input ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput ToOneDashboardPageWidgetTableArrayOutputWithContext(context.Context) OneDashboardPageWidgetTableArrayOutput }
OneDashboardPageWidgetTableArrayInput is an input type that accepts OneDashboardPageWidgetTableArray and OneDashboardPageWidgetTableArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableArrayInput` via:
OneDashboardPageWidgetTableArray{ OneDashboardPageWidgetTableArgs{...} }
type OneDashboardPageWidgetTableArrayOutput ¶
type OneDashboardPageWidgetTableArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetTableArrayOutput) ElementType ¶
func (OneDashboardPageWidgetTableArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutput ¶
func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutput() OneDashboardPageWidgetTableArrayOutput
func (OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutputWithContext ¶
func (o OneDashboardPageWidgetTableArrayOutput) ToOneDashboardPageWidgetTableArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableArrayOutput
type OneDashboardPageWidgetTableInput ¶
type OneDashboardPageWidgetTableInput interface { pulumi.Input ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput ToOneDashboardPageWidgetTableOutputWithContext(context.Context) OneDashboardPageWidgetTableOutput }
OneDashboardPageWidgetTableInput is an input type that accepts OneDashboardPageWidgetTableArgs and OneDashboardPageWidgetTableOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableInput` via:
OneDashboardPageWidgetTableArgs{...}
type OneDashboardPageWidgetTableNrqlQuery ¶
type OneDashboardPageWidgetTableNrqlQuery struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId *int `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query string `pulumi:"query"` }
type OneDashboardPageWidgetTableNrqlQueryArgs ¶
type OneDashboardPageWidgetTableNrqlQueryArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput `pulumi:"accountId"` // (Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help. Query pulumi.StringInput `pulumi:"query"` }
func (OneDashboardPageWidgetTableNrqlQueryArgs) ElementType ¶
func (OneDashboardPageWidgetTableNrqlQueryArgs) ElementType() reflect.Type
func (OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutput ¶
func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput
func (OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext ¶
func (i OneDashboardPageWidgetTableNrqlQueryArgs) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput
type OneDashboardPageWidgetTableNrqlQueryArray ¶
type OneDashboardPageWidgetTableNrqlQueryArray []OneDashboardPageWidgetTableNrqlQueryInput
func (OneDashboardPageWidgetTableNrqlQueryArray) ElementType ¶
func (OneDashboardPageWidgetTableNrqlQueryArray) ElementType() reflect.Type
func (OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput ¶
func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput
func (OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext ¶
func (i OneDashboardPageWidgetTableNrqlQueryArray) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput
type OneDashboardPageWidgetTableNrqlQueryArrayInput ¶
type OneDashboardPageWidgetTableNrqlQueryArrayInput interface { pulumi.Input ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput }
OneDashboardPageWidgetTableNrqlQueryArrayInput is an input type that accepts OneDashboardPageWidgetTableNrqlQueryArray and OneDashboardPageWidgetTableNrqlQueryArrayOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableNrqlQueryArrayInput` via:
OneDashboardPageWidgetTableNrqlQueryArray{ OneDashboardPageWidgetTableNrqlQueryArgs{...} }
type OneDashboardPageWidgetTableNrqlQueryArrayOutput ¶
type OneDashboardPageWidgetTableNrqlQueryArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ElementType ¶
func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput ¶
func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutput() OneDashboardPageWidgetTableNrqlQueryArrayOutput
func (OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext ¶
func (o OneDashboardPageWidgetTableNrqlQueryArrayOutput) ToOneDashboardPageWidgetTableNrqlQueryArrayOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryArrayOutput
type OneDashboardPageWidgetTableNrqlQueryInput ¶
type OneDashboardPageWidgetTableNrqlQueryInput interface { pulumi.Input ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(context.Context) OneDashboardPageWidgetTableNrqlQueryOutput }
OneDashboardPageWidgetTableNrqlQueryInput is an input type that accepts OneDashboardPageWidgetTableNrqlQueryArgs and OneDashboardPageWidgetTableNrqlQueryOutput values. You can construct a concrete instance of `OneDashboardPageWidgetTableNrqlQueryInput` via:
OneDashboardPageWidgetTableNrqlQueryArgs{...}
type OneDashboardPageWidgetTableNrqlQueryOutput ¶
type OneDashboardPageWidgetTableNrqlQueryOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetTableNrqlQueryOutput) AccountId ¶
func (o OneDashboardPageWidgetTableNrqlQueryOutput) AccountId() pulumi.IntPtrOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardPageWidgetTableNrqlQueryOutput) ElementType ¶
func (OneDashboardPageWidgetTableNrqlQueryOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetTableNrqlQueryOutput) Query ¶
func (o OneDashboardPageWidgetTableNrqlQueryOutput) Query() pulumi.StringOutput
(Required) Valid NRQL query string. See [Writing NRQL Queries](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql) for help.
func (OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutput ¶
func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutput() OneDashboardPageWidgetTableNrqlQueryOutput
func (OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext ¶
func (o OneDashboardPageWidgetTableNrqlQueryOutput) ToOneDashboardPageWidgetTableNrqlQueryOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableNrqlQueryOutput
type OneDashboardPageWidgetTableOutput ¶
type OneDashboardPageWidgetTableOutput struct{ *pulumi.OutputState }
func (OneDashboardPageWidgetTableOutput) Column ¶
func (o OneDashboardPageWidgetTableOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetTableOutput) ElementType ¶
func (OneDashboardPageWidgetTableOutput) ElementType() reflect.Type
func (OneDashboardPageWidgetTableOutput) FilterCurrentDashboard ¶ added in v4.5.0
func (o OneDashboardPageWidgetTableOutput) FilterCurrentDashboard() pulumi.BoolPtrOutput
func (OneDashboardPageWidgetTableOutput) Height ¶
func (o OneDashboardPageWidgetTableOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardPageWidgetTableOutput) Id ¶
func (o OneDashboardPageWidgetTableOutput) Id() pulumi.StringPtrOutput
func (OneDashboardPageWidgetTableOutput) IgnoreTimeRange ¶ added in v4.17.0
func (o OneDashboardPageWidgetTableOutput) IgnoreTimeRange() pulumi.BoolPtrOutput
(Optional) With this turned on, the time range in this query will override the time picker on dashboards and other pages. Defaults to `false`.
func (OneDashboardPageWidgetTableOutput) LinkedEntityGuids ¶
func (o OneDashboardPageWidgetTableOutput) LinkedEntityGuids() pulumi.StringArrayOutput
func (OneDashboardPageWidgetTableOutput) NrqlQueries ¶
func (o OneDashboardPageWidgetTableOutput) NrqlQueries() OneDashboardPageWidgetTableNrqlQueryArrayOutput
(Required) A nested block that describes a NRQL Query. See Nested nrql\_query blocks below for details. * `linkedEntityGuids`: (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs. * `filterCurrentDashboard`: (Optional) Use this item to filter the current dashboard.
func (OneDashboardPageWidgetTableOutput) Row ¶
func (o OneDashboardPageWidgetTableOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardPageWidgetTableOutput) Title ¶
func (o OneDashboardPageWidgetTableOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutput ¶
func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutput() OneDashboardPageWidgetTableOutput
func (OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutputWithContext ¶
func (o OneDashboardPageWidgetTableOutput) ToOneDashboardPageWidgetTableOutputWithContext(ctx context.Context) OneDashboardPageWidgetTableOutput
func (OneDashboardPageWidgetTableOutput) Width ¶
func (o OneDashboardPageWidgetTableOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardRaw ¶
type OneDashboardRaw struct { pulumi.CustomResourceState // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntOutput `pulumi:"accountId"` // Brief text describing the dashboard. Description pulumi.StringPtrOutput `pulumi:"description"` // The unique entity identifier of the dashboard page in New Relic. Guid pulumi.StringOutput `pulumi:"guid"` // The title of the dashboard. Name pulumi.StringOutput `pulumi:"name"` // A nested block that describes a page. See Nested page blocks below for details. Pages OneDashboardRawPageArrayOutput `pulumi:"pages"` // The URL for viewing the dashboard. Permalink pulumi.StringOutput `pulumi:"permalink"` // Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`. Permissions pulumi.StringPtrOutput `pulumi:"permissions"` }
## Example Usage ### Create A New Relic One Dashboard With RawConfiguration
```go package main
import (
"encoding/json" "fmt" "github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { tmpJSON0, err := json.Marshal(map[string]interface{}{ "facet": map[string]interface{}{ "showOtherSeries": false, }, "nrqlQueries": []map[string]interface{}{ map[string]interface{}{ "accountId": local.AccountID, "query": "SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400", }, }, }) if err != nil { return err } json0 := string(tmpJSON0) _, err = newrelic.NewOneDashboardRaw(ctx, "exampledash", &newrelic.OneDashboardRawArgs{ Pages: OneDashboardRawPageArray{ &OneDashboardRawPageArgs{ Name: pulumi.String("Page Name"), Widgets: OneDashboardRawPageWidgetArray{ &OneDashboardRawPageWidgetArgs{ Title: pulumi.String("Custom widget"), Row: pulumi.Int(1), Column: pulumi.Int(1), Width: pulumi.Int(1), Height: pulumi.Int(1), VisualizationId: pulumi.String("viz.custom"), Configuration: pulumi.String(fmt.Sprintf(" {\n \"legend\": {\n \"enabled\": false\n },\n \"nrqlQueries\": [\n {\n \"accountId\": ` + accountID + `,\n \"query\": \"SELECT average(loadAverageOneMinute), average(loadAverageFiveMinute), average(loadAverageFifteenMinute) from SystemSample SINCE 60 minutes ago TIMESERIES\"\n }\n ],\n \"yAxisLeft\": {\n \"max\": 100,\n \"min\": 50,\n \"zero\": false\n }\n }\n")), }, &OneDashboardRawPageWidgetArgs{ Title: pulumi.String("Server CPU"), Row: pulumi.Int(1), Column: pulumi.Int(2), Width: pulumi.Int(1), Height: pulumi.Int(1), VisualizationId: pulumi.String("viz.testing"), Configuration: pulumi.String(fmt.Sprintf(" {\n \"nrqlQueries\": [\n {\n \"accountId\": ` + accountID + `,\n \"query\": \"SELECT average(cpuPercent) FROM SystemSample since 3 hours ago facet hostname limit 400\"\n }\n ]\n }\n")), }, &OneDashboardRawPageWidgetArgs{ Title: pulumi.String("Docker Server CPU"), Row: pulumi.Int(1), Column: pulumi.Int(3), Height: pulumi.Int(1), Width: pulumi.Int(1), VisualizationId: pulumi.String("viz.bar"), Configuration: pulumi.String(json0), LinkedEntityGuids: pulumi.StringArray{ pulumi.String("MzI5ODAxNnxWSVp8REFTSEJPQVJEfDI2MTcxNDc"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
func GetOneDashboardRaw ¶
func GetOneDashboardRaw(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OneDashboardRawState, opts ...pulumi.ResourceOption) (*OneDashboardRaw, error)
GetOneDashboardRaw gets an existing OneDashboardRaw 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 NewOneDashboardRaw ¶
func NewOneDashboardRaw(ctx *pulumi.Context, name string, args *OneDashboardRawArgs, opts ...pulumi.ResourceOption) (*OneDashboardRaw, error)
NewOneDashboardRaw registers a new resource with the given unique name, arguments, and options.
func (*OneDashboardRaw) ElementType ¶
func (*OneDashboardRaw) ElementType() reflect.Type
func (*OneDashboardRaw) ToOneDashboardRawOutput ¶
func (i *OneDashboardRaw) ToOneDashboardRawOutput() OneDashboardRawOutput
func (*OneDashboardRaw) ToOneDashboardRawOutputWithContext ¶
func (i *OneDashboardRaw) ToOneDashboardRawOutputWithContext(ctx context.Context) OneDashboardRawOutput
type OneDashboardRawArgs ¶
type OneDashboardRawArgs struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // Brief text describing the dashboard. Description pulumi.StringPtrInput // The title of the dashboard. Name pulumi.StringPtrInput // A nested block that describes a page. See Nested page blocks below for details. Pages OneDashboardRawPageArrayInput // Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`. Permissions pulumi.StringPtrInput }
The set of arguments for constructing a OneDashboardRaw resource.
func (OneDashboardRawArgs) ElementType ¶
func (OneDashboardRawArgs) ElementType() reflect.Type
type OneDashboardRawArray ¶
type OneDashboardRawArray []OneDashboardRawInput
func (OneDashboardRawArray) ElementType ¶
func (OneDashboardRawArray) ElementType() reflect.Type
func (OneDashboardRawArray) ToOneDashboardRawArrayOutput ¶
func (i OneDashboardRawArray) ToOneDashboardRawArrayOutput() OneDashboardRawArrayOutput
func (OneDashboardRawArray) ToOneDashboardRawArrayOutputWithContext ¶
func (i OneDashboardRawArray) ToOneDashboardRawArrayOutputWithContext(ctx context.Context) OneDashboardRawArrayOutput
type OneDashboardRawArrayInput ¶
type OneDashboardRawArrayInput interface { pulumi.Input ToOneDashboardRawArrayOutput() OneDashboardRawArrayOutput ToOneDashboardRawArrayOutputWithContext(context.Context) OneDashboardRawArrayOutput }
OneDashboardRawArrayInput is an input type that accepts OneDashboardRawArray and OneDashboardRawArrayOutput values. You can construct a concrete instance of `OneDashboardRawArrayInput` via:
OneDashboardRawArray{ OneDashboardRawArgs{...} }
type OneDashboardRawArrayOutput ¶
type OneDashboardRawArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardRawArrayOutput) ElementType ¶
func (OneDashboardRawArrayOutput) ElementType() reflect.Type
func (OneDashboardRawArrayOutput) Index ¶
func (o OneDashboardRawArrayOutput) Index(i pulumi.IntInput) OneDashboardRawOutput
func (OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutput ¶
func (o OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutput() OneDashboardRawArrayOutput
func (OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutputWithContext ¶
func (o OneDashboardRawArrayOutput) ToOneDashboardRawArrayOutputWithContext(ctx context.Context) OneDashboardRawArrayOutput
type OneDashboardRawInput ¶
type OneDashboardRawInput interface { pulumi.Input ToOneDashboardRawOutput() OneDashboardRawOutput ToOneDashboardRawOutputWithContext(ctx context.Context) OneDashboardRawOutput }
type OneDashboardRawMap ¶
type OneDashboardRawMap map[string]OneDashboardRawInput
func (OneDashboardRawMap) ElementType ¶
func (OneDashboardRawMap) ElementType() reflect.Type
func (OneDashboardRawMap) ToOneDashboardRawMapOutput ¶
func (i OneDashboardRawMap) ToOneDashboardRawMapOutput() OneDashboardRawMapOutput
func (OneDashboardRawMap) ToOneDashboardRawMapOutputWithContext ¶
func (i OneDashboardRawMap) ToOneDashboardRawMapOutputWithContext(ctx context.Context) OneDashboardRawMapOutput
type OneDashboardRawMapInput ¶
type OneDashboardRawMapInput interface { pulumi.Input ToOneDashboardRawMapOutput() OneDashboardRawMapOutput ToOneDashboardRawMapOutputWithContext(context.Context) OneDashboardRawMapOutput }
OneDashboardRawMapInput is an input type that accepts OneDashboardRawMap and OneDashboardRawMapOutput values. You can construct a concrete instance of `OneDashboardRawMapInput` via:
OneDashboardRawMap{ "key": OneDashboardRawArgs{...} }
type OneDashboardRawMapOutput ¶
type OneDashboardRawMapOutput struct{ *pulumi.OutputState }
func (OneDashboardRawMapOutput) ElementType ¶
func (OneDashboardRawMapOutput) ElementType() reflect.Type
func (OneDashboardRawMapOutput) MapIndex ¶
func (o OneDashboardRawMapOutput) MapIndex(k pulumi.StringInput) OneDashboardRawOutput
func (OneDashboardRawMapOutput) ToOneDashboardRawMapOutput ¶
func (o OneDashboardRawMapOutput) ToOneDashboardRawMapOutput() OneDashboardRawMapOutput
func (OneDashboardRawMapOutput) ToOneDashboardRawMapOutputWithContext ¶
func (o OneDashboardRawMapOutput) ToOneDashboardRawMapOutputWithContext(ctx context.Context) OneDashboardRawMapOutput
type OneDashboardRawOutput ¶
type OneDashboardRawOutput struct{ *pulumi.OutputState }
func (OneDashboardRawOutput) AccountId ¶ added in v4.15.0
func (o OneDashboardRawOutput) AccountId() pulumi.IntOutput
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
func (OneDashboardRawOutput) Description ¶ added in v4.15.0
func (o OneDashboardRawOutput) Description() pulumi.StringPtrOutput
Brief text describing the dashboard.
func (OneDashboardRawOutput) ElementType ¶
func (OneDashboardRawOutput) ElementType() reflect.Type
func (OneDashboardRawOutput) Guid ¶ added in v4.15.0
func (o OneDashboardRawOutput) Guid() pulumi.StringOutput
The unique entity identifier of the dashboard page in New Relic.
func (OneDashboardRawOutput) Name ¶ added in v4.15.0
func (o OneDashboardRawOutput) Name() pulumi.StringOutput
The title of the dashboard.
func (OneDashboardRawOutput) Pages ¶ added in v4.15.0
func (o OneDashboardRawOutput) Pages() OneDashboardRawPageArrayOutput
A nested block that describes a page. See Nested page blocks below for details.
func (OneDashboardRawOutput) Permalink ¶ added in v4.15.0
func (o OneDashboardRawOutput) Permalink() pulumi.StringOutput
The URL for viewing the dashboard.
func (OneDashboardRawOutput) Permissions ¶ added in v4.15.0
func (o OneDashboardRawOutput) Permissions() pulumi.StringPtrOutput
Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`.
func (OneDashboardRawOutput) ToOneDashboardRawOutput ¶
func (o OneDashboardRawOutput) ToOneDashboardRawOutput() OneDashboardRawOutput
func (OneDashboardRawOutput) ToOneDashboardRawOutputWithContext ¶
func (o OneDashboardRawOutput) ToOneDashboardRawOutputWithContext(ctx context.Context) OneDashboardRawOutput
type OneDashboardRawPage ¶
type OneDashboardRawPage struct { // Brief text describing the dashboard. Description *string `pulumi:"description"` // The unique entity identifier of the dashboard page in New Relic. Guid *string `pulumi:"guid"` // The title of the dashboard. Name string `pulumi:"name"` // (Optional) A nested block that describes a widget. See Nested widget blocks below for details. Widgets []OneDashboardRawPageWidget `pulumi:"widgets"` }
type OneDashboardRawPageArgs ¶
type OneDashboardRawPageArgs struct { // Brief text describing the dashboard. Description pulumi.StringPtrInput `pulumi:"description"` // The unique entity identifier of the dashboard page in New Relic. Guid pulumi.StringPtrInput `pulumi:"guid"` // The title of the dashboard. Name pulumi.StringInput `pulumi:"name"` // (Optional) A nested block that describes a widget. See Nested widget blocks below for details. Widgets OneDashboardRawPageWidgetArrayInput `pulumi:"widgets"` }
func (OneDashboardRawPageArgs) ElementType ¶
func (OneDashboardRawPageArgs) ElementType() reflect.Type
func (OneDashboardRawPageArgs) ToOneDashboardRawPageOutput ¶
func (i OneDashboardRawPageArgs) ToOneDashboardRawPageOutput() OneDashboardRawPageOutput
func (OneDashboardRawPageArgs) ToOneDashboardRawPageOutputWithContext ¶
func (i OneDashboardRawPageArgs) ToOneDashboardRawPageOutputWithContext(ctx context.Context) OneDashboardRawPageOutput
type OneDashboardRawPageArray ¶
type OneDashboardRawPageArray []OneDashboardRawPageInput
func (OneDashboardRawPageArray) ElementType ¶
func (OneDashboardRawPageArray) ElementType() reflect.Type
func (OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutput ¶
func (i OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutput() OneDashboardRawPageArrayOutput
func (OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutputWithContext ¶
func (i OneDashboardRawPageArray) ToOneDashboardRawPageArrayOutputWithContext(ctx context.Context) OneDashboardRawPageArrayOutput
type OneDashboardRawPageArrayInput ¶
type OneDashboardRawPageArrayInput interface { pulumi.Input ToOneDashboardRawPageArrayOutput() OneDashboardRawPageArrayOutput ToOneDashboardRawPageArrayOutputWithContext(context.Context) OneDashboardRawPageArrayOutput }
OneDashboardRawPageArrayInput is an input type that accepts OneDashboardRawPageArray and OneDashboardRawPageArrayOutput values. You can construct a concrete instance of `OneDashboardRawPageArrayInput` via:
OneDashboardRawPageArray{ OneDashboardRawPageArgs{...} }
type OneDashboardRawPageArrayOutput ¶
type OneDashboardRawPageArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardRawPageArrayOutput) ElementType ¶
func (OneDashboardRawPageArrayOutput) ElementType() reflect.Type
func (OneDashboardRawPageArrayOutput) Index ¶
func (o OneDashboardRawPageArrayOutput) Index(i pulumi.IntInput) OneDashboardRawPageOutput
func (OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutput ¶
func (o OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutput() OneDashboardRawPageArrayOutput
func (OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutputWithContext ¶
func (o OneDashboardRawPageArrayOutput) ToOneDashboardRawPageArrayOutputWithContext(ctx context.Context) OneDashboardRawPageArrayOutput
type OneDashboardRawPageInput ¶
type OneDashboardRawPageInput interface { pulumi.Input ToOneDashboardRawPageOutput() OneDashboardRawPageOutput ToOneDashboardRawPageOutputWithContext(context.Context) OneDashboardRawPageOutput }
OneDashboardRawPageInput is an input type that accepts OneDashboardRawPageArgs and OneDashboardRawPageOutput values. You can construct a concrete instance of `OneDashboardRawPageInput` via:
OneDashboardRawPageArgs{...}
type OneDashboardRawPageOutput ¶
type OneDashboardRawPageOutput struct{ *pulumi.OutputState }
func (OneDashboardRawPageOutput) Description ¶
func (o OneDashboardRawPageOutput) Description() pulumi.StringPtrOutput
Brief text describing the dashboard.
func (OneDashboardRawPageOutput) ElementType ¶
func (OneDashboardRawPageOutput) ElementType() reflect.Type
func (OneDashboardRawPageOutput) Guid ¶
func (o OneDashboardRawPageOutput) Guid() pulumi.StringPtrOutput
The unique entity identifier of the dashboard page in New Relic.
func (OneDashboardRawPageOutput) Name ¶
func (o OneDashboardRawPageOutput) Name() pulumi.StringOutput
The title of the dashboard.
func (OneDashboardRawPageOutput) ToOneDashboardRawPageOutput ¶
func (o OneDashboardRawPageOutput) ToOneDashboardRawPageOutput() OneDashboardRawPageOutput
func (OneDashboardRawPageOutput) ToOneDashboardRawPageOutputWithContext ¶
func (o OneDashboardRawPageOutput) ToOneDashboardRawPageOutputWithContext(ctx context.Context) OneDashboardRawPageOutput
func (OneDashboardRawPageOutput) Widgets ¶
func (o OneDashboardRawPageOutput) Widgets() OneDashboardRawPageWidgetArrayOutput
(Optional) A nested block that describes a widget. See Nested widget blocks below for details.
type OneDashboardRawPageWidget ¶
type OneDashboardRawPageWidget struct { // (Required) Column position of widget from top left, starting at `1`. Column int `pulumi:"column"` // (Required) The configuration of the widget. Configuration string `pulumi:"configuration"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height *int `pulumi:"height"` Id *string `pulumi:"id"` // (Optional) Related entity GUIDs. LinkedEntityGuids []string `pulumi:"linkedEntityGuids"` // (Required) Row position of widget from top left, starting at `1`. Row int `pulumi:"row"` // (Required) A title for the widget. Title string `pulumi:"title"` // (Required) The visualization ID of the widget VisualizationId string `pulumi:"visualizationId"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width *int `pulumi:"width"` }
type OneDashboardRawPageWidgetArgs ¶
type OneDashboardRawPageWidgetArgs struct { // (Required) Column position of widget from top left, starting at `1`. Column pulumi.IntInput `pulumi:"column"` // (Required) The configuration of the widget. Configuration pulumi.StringInput `pulumi:"configuration"` // (Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`. Height pulumi.IntPtrInput `pulumi:"height"` Id pulumi.StringPtrInput `pulumi:"id"` // (Optional) Related entity GUIDs. LinkedEntityGuids pulumi.StringArrayInput `pulumi:"linkedEntityGuids"` // (Required) Row position of widget from top left, starting at `1`. Row pulumi.IntInput `pulumi:"row"` // (Required) A title for the widget. Title pulumi.StringInput `pulumi:"title"` // (Required) The visualization ID of the widget VisualizationId pulumi.StringInput `pulumi:"visualizationId"` // (Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`. Width pulumi.IntPtrInput `pulumi:"width"` }
func (OneDashboardRawPageWidgetArgs) ElementType ¶
func (OneDashboardRawPageWidgetArgs) ElementType() reflect.Type
func (OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutput ¶
func (i OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput
func (OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutputWithContext ¶
func (i OneDashboardRawPageWidgetArgs) ToOneDashboardRawPageWidgetOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetOutput
type OneDashboardRawPageWidgetArray ¶
type OneDashboardRawPageWidgetArray []OneDashboardRawPageWidgetInput
func (OneDashboardRawPageWidgetArray) ElementType ¶
func (OneDashboardRawPageWidgetArray) ElementType() reflect.Type
func (OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutput ¶
func (i OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput
func (OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutputWithContext ¶
func (i OneDashboardRawPageWidgetArray) ToOneDashboardRawPageWidgetArrayOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetArrayOutput
type OneDashboardRawPageWidgetArrayInput ¶
type OneDashboardRawPageWidgetArrayInput interface { pulumi.Input ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput ToOneDashboardRawPageWidgetArrayOutputWithContext(context.Context) OneDashboardRawPageWidgetArrayOutput }
OneDashboardRawPageWidgetArrayInput is an input type that accepts OneDashboardRawPageWidgetArray and OneDashboardRawPageWidgetArrayOutput values. You can construct a concrete instance of `OneDashboardRawPageWidgetArrayInput` via:
OneDashboardRawPageWidgetArray{ OneDashboardRawPageWidgetArgs{...} }
type OneDashboardRawPageWidgetArrayOutput ¶
type OneDashboardRawPageWidgetArrayOutput struct{ *pulumi.OutputState }
func (OneDashboardRawPageWidgetArrayOutput) ElementType ¶
func (OneDashboardRawPageWidgetArrayOutput) ElementType() reflect.Type
func (OneDashboardRawPageWidgetArrayOutput) Index ¶
func (o OneDashboardRawPageWidgetArrayOutput) Index(i pulumi.IntInput) OneDashboardRawPageWidgetOutput
func (OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutput ¶
func (o OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutput() OneDashboardRawPageWidgetArrayOutput
func (OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutputWithContext ¶
func (o OneDashboardRawPageWidgetArrayOutput) ToOneDashboardRawPageWidgetArrayOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetArrayOutput
type OneDashboardRawPageWidgetInput ¶
type OneDashboardRawPageWidgetInput interface { pulumi.Input ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput ToOneDashboardRawPageWidgetOutputWithContext(context.Context) OneDashboardRawPageWidgetOutput }
OneDashboardRawPageWidgetInput is an input type that accepts OneDashboardRawPageWidgetArgs and OneDashboardRawPageWidgetOutput values. You can construct a concrete instance of `OneDashboardRawPageWidgetInput` via:
OneDashboardRawPageWidgetArgs{...}
type OneDashboardRawPageWidgetOutput ¶
type OneDashboardRawPageWidgetOutput struct{ *pulumi.OutputState }
func (OneDashboardRawPageWidgetOutput) Column ¶
func (o OneDashboardRawPageWidgetOutput) Column() pulumi.IntOutput
(Required) Column position of widget from top left, starting at `1`.
func (OneDashboardRawPageWidgetOutput) Configuration ¶
func (o OneDashboardRawPageWidgetOutput) Configuration() pulumi.StringOutput
(Required) The configuration of the widget.
func (OneDashboardRawPageWidgetOutput) ElementType ¶
func (OneDashboardRawPageWidgetOutput) ElementType() reflect.Type
func (OneDashboardRawPageWidgetOutput) Height ¶
func (o OneDashboardRawPageWidgetOutput) Height() pulumi.IntPtrOutput
(Optional) Height of the widget. Valid values are `1` to `12` inclusive. Defaults to `3`.
func (OneDashboardRawPageWidgetOutput) Id ¶
func (o OneDashboardRawPageWidgetOutput) Id() pulumi.StringPtrOutput
func (OneDashboardRawPageWidgetOutput) LinkedEntityGuids ¶ added in v4.5.0
func (o OneDashboardRawPageWidgetOutput) LinkedEntityGuids() pulumi.StringArrayOutput
(Optional) Related entity GUIDs.
func (OneDashboardRawPageWidgetOutput) Row ¶
func (o OneDashboardRawPageWidgetOutput) Row() pulumi.IntOutput
(Required) Row position of widget from top left, starting at `1`.
func (OneDashboardRawPageWidgetOutput) Title ¶
func (o OneDashboardRawPageWidgetOutput) Title() pulumi.StringOutput
(Required) A title for the widget.
func (OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutput ¶
func (o OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutput() OneDashboardRawPageWidgetOutput
func (OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutputWithContext ¶
func (o OneDashboardRawPageWidgetOutput) ToOneDashboardRawPageWidgetOutputWithContext(ctx context.Context) OneDashboardRawPageWidgetOutput
func (OneDashboardRawPageWidgetOutput) VisualizationId ¶
func (o OneDashboardRawPageWidgetOutput) VisualizationId() pulumi.StringOutput
(Required) The visualization ID of the widget
func (OneDashboardRawPageWidgetOutput) Width ¶
func (o OneDashboardRawPageWidgetOutput) Width() pulumi.IntPtrOutput
(Optional) Width of the widget. Valid values are `1` to `12` inclusive. Defaults to `4`.
type OneDashboardRawState ¶
type OneDashboardRawState struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // Brief text describing the dashboard. Description pulumi.StringPtrInput // The unique entity identifier of the dashboard page in New Relic. Guid pulumi.StringPtrInput // The title of the dashboard. Name pulumi.StringPtrInput // A nested block that describes a page. See Nested page blocks below for details. Pages OneDashboardRawPageArrayInput // The URL for viewing the dashboard. Permalink pulumi.StringPtrInput // Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`. Permissions pulumi.StringPtrInput }
func (OneDashboardRawState) ElementType ¶
func (OneDashboardRawState) ElementType() reflect.Type
type OneDashboardState ¶
type OneDashboardState struct { // Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used. AccountId pulumi.IntPtrInput // Brief text describing the dashboard. Description pulumi.StringPtrInput // The unique entity identifier of the dashboard page in New Relic. Guid pulumi.StringPtrInput // The title of the dashboard. Name pulumi.StringPtrInput // A nested block that describes a page. See Nested page blocks below for details. Pages OneDashboardPageArrayInput // The URL for viewing the dashboard. Permalink pulumi.StringPtrInput // Determines who can see the dashboard in an account. Valid values are `private`, `publicReadOnly`, or `publicReadWrite`. Defaults to `publicReadOnly`. Permissions pulumi.StringPtrInput }
func (OneDashboardState) ElementType ¶
func (OneDashboardState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState AdminApiKey pulumi.StringPtrOutput `pulumi:"adminApiKey"` ApiKey pulumi.StringPtrOutput `pulumi:"apiKey"` // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. ApiUrl pulumi.StringPtrOutput `pulumi:"apiUrl"` CacertFile pulumi.StringPtrOutput `pulumi:"cacertFile"` // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. InfrastructureApiUrl pulumi.StringPtrOutput `pulumi:"infrastructureApiUrl"` InsightsInsertKey pulumi.StringPtrOutput `pulumi:"insightsInsertKey"` InsightsInsertUrl pulumi.StringPtrOutput `pulumi:"insightsInsertUrl"` InsightsQueryUrl pulumi.StringPtrOutput `pulumi:"insightsQueryUrl"` // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. NerdgraphApiUrl pulumi.StringPtrOutput `pulumi:"nerdgraphApiUrl"` // The data center for which your New Relic account is configured. Only one region per provider block is permitted. Region pulumi.StringPtrOutput `pulumi:"region"` // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. SyntheticsApiUrl pulumi.StringPtrOutput `pulumi:"syntheticsApiUrl"` }
The provider type for the newrelic package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { AccountId pulumi.IntPtrInput AdminApiKey pulumi.StringPtrInput ApiKey pulumi.StringPtrInput // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. ApiUrl pulumi.StringPtrInput CacertFile pulumi.StringPtrInput // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. InfrastructureApiUrl pulumi.StringPtrInput InsecureSkipVerify pulumi.BoolPtrInput InsightsInsertKey pulumi.StringPtrInput InsightsInsertUrl pulumi.StringPtrInput InsightsQueryUrl pulumi.StringPtrInput // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. NerdgraphApiUrl pulumi.StringPtrInput // The data center for which your New Relic account is configured. Only one region per provider block is permitted. Region pulumi.StringPtrInput // Deprecated: New Relic internal use only. API URLs are now configured based on the configured region. SyntheticsApiUrl pulumi.StringPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) AdminApiKey ¶ added in v4.15.0
func (o ProviderOutput) AdminApiKey() pulumi.StringPtrOutput
func (ProviderOutput) ApiKey ¶ added in v4.15.0
func (o ProviderOutput) ApiKey() pulumi.StringPtrOutput
func (ProviderOutput) ApiUrl
deprecated
added in
v4.15.0
func (o ProviderOutput) ApiUrl() pulumi.StringPtrOutput
Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
func (ProviderOutput) CacertFile ¶ added in v4.15.0
func (o ProviderOutput) CacertFile() pulumi.StringPtrOutput
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) InfrastructureApiUrl
deprecated
added in
v4.15.0
func (o ProviderOutput) InfrastructureApiUrl() pulumi.StringPtrOutput
Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
func (ProviderOutput) InsightsInsertKey ¶ added in v4.15.0
func (o ProviderOutput) InsightsInsertKey() pulumi.StringPtrOutput
func (ProviderOutput) InsightsInsertUrl ¶ added in v4.15.0
func (o ProviderOutput) InsightsInsertUrl() pulumi.StringPtrOutput
func (ProviderOutput) InsightsQueryUrl ¶ added in v4.15.0
func (o ProviderOutput) InsightsQueryUrl() pulumi.StringPtrOutput
func (ProviderOutput) NerdgraphApiUrl
deprecated
added in
v4.15.0
func (o ProviderOutput) NerdgraphApiUrl() pulumi.StringPtrOutput
Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
func (ProviderOutput) Region ¶ added in v4.15.0
func (o ProviderOutput) Region() pulumi.StringPtrOutput
The data center for which your New Relic account is configured. Only one region per provider block is permitted.
func (ProviderOutput) SyntheticsApiUrl
deprecated
added in
v4.15.0
func (o ProviderOutput) SyntheticsApiUrl() pulumi.StringPtrOutput
Deprecated: New Relic internal use only. API URLs are now configured based on the configured region.
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ServiceLevel ¶ added in v4.5.0
type ServiceLevel struct { pulumi.CustomResourceState // The description of the SLI. Description pulumi.StringPtrOutput `pulumi:"description"` // The events that define the NRDB data for the SLI/SLO calculations. // See Events below for details. Events ServiceLevelEventsOutput `pulumi:"events"` // The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource. Guid pulumi.StringOutput `pulumi:"guid"` // A short name for the SLI that will help anyone understand what it is about. Name pulumi.StringOutput `pulumi:"name"` // The objective of the SLI, only one can be defined. // See Objective below for details. Objective ServiceLevelObjectiveOutput `pulumi:"objective"` // The unique entity identifier of the Service Level Indicator in New Relic. SliGuid pulumi.StringOutput `pulumi:"sliGuid"` // The unique entity identifier of the Service Level Indicator. SliId pulumi.StringOutput `pulumi:"sliId"` }
Use this resource to create, update, and delete New Relic Service Level Indicators and Objectives.
A New Relic User API key is required to provision this resource. Set the `apiKey` attribute in the `provider` block or the `NEW_RELIC_API_KEY` environment variable with your User API key.
Important: - Only roles that provide [permissions](https://docs.newrelic.com/docs/accounts/accounts-billing/new-relic-one-user-management/new-relic-one-user-model-understand-user-structure/) to create events to metric rules can create SLI/SLOs. - Only [Full users](https://docs.newrelic.com/docs/accounts/accounts-billing/new-relic-one-user-management/new-relic-one-user-model-understand-user-structure/#user-type) can view SLI/SLOs.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := newrelic.NewServiceLevel(ctx, "foo", &newrelic.ServiceLevelArgs{ Description: pulumi.String("Proportion of requests that are served faster than a threshold."), Events: &ServiceLevelEventsArgs{ AccountId: pulumi.Int(12345678), GoodEvents: &ServiceLevelEventsGoodEventsArgs{ From: pulumi.String("Transaction"), Where: pulumi.String("appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1"), }, ValidEvents: &ServiceLevelEventsValidEventsArgs{ From: pulumi.String("Transaction"), Where: pulumi.String("appName = 'Example application' AND (transactionType='Web')"), }, }, Guid: pulumi.String("MXxBUE18QVBQTElDQVRJT058MQ"), Objective: &ServiceLevelObjectiveArgs{ Target: pulumi.Float64(99), TimeWindow: &ServiceLevelObjectiveTimeWindowArgs{ Rolling: &ServiceLevelObjectiveTimeWindowRollingArgs{ Count: pulumi.Int(7), Unit: pulumi.String("DAY"), }, }, }, }) if err != nil { return err } return nil }) }
``` ## Additional Example
Service level with tags:
```go package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v4/go/newrelic" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { mySyntheticMonitorServiceLevel, err := newrelic.NewServiceLevel(ctx, "mySyntheticMonitorServiceLevel", &newrelic.ServiceLevelArgs{ Guid: pulumi.String("MXxBUE18QVBQTElDQVRJT058MQ"), Description: pulumi.String("Proportion of successful synthetic checks."), Events: &ServiceLevelEventsArgs{ AccountId: pulumi.Int(12345678), ValidEvents: &ServiceLevelEventsValidEventsArgs{ From: pulumi.String("SyntheticCheck"), Where: pulumi.String("entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ'"), }, GoodEvents: &ServiceLevelEventsGoodEventsArgs{ From: pulumi.String("SyntheticCheck"), Where: pulumi.String("entityGuid = 'MXxBUE18QVBQTElDQVRJT058MQ' AND result='SUCCESS'"), }, }, Objective: &ServiceLevelObjectiveArgs{ Target: pulumi.Float64(99), TimeWindow: &ServiceLevelObjectiveTimeWindowArgs{ Rolling: &ServiceLevelObjectiveTimeWindowRollingArgs{ Count: pulumi.Int(7), Unit: pulumi.String("DAY"), }, }, }, }) if err != nil { return err } _, err = newrelic.NewEntityTags(ctx, "mySyntheticMonitorServiceLevelTags", &newrelic.EntityTagsArgs{ Guid: mySyntheticMonitorServiceLevel.SliGuid, Tags: EntityTagsTagArray{ &EntityTagsTagArgs{ Key: pulumi.String("user_journey"), Values: pulumi.StringArray{ pulumi.String("authentication"), pulumi.String("sso"), }, }, &EntityTagsTagArgs{ Key: pulumi.String("owner"), Values: pulumi.StringArray{ pulumi.String("identityTeam"), }, }, }, }) if err != nil { return err } return nil }) }
```
For up-to-date documentation about the tagging resource, please check EntityTags ¶
## Import
New Relic Service Levels can be imported using a concatenated string of the format ¶
`<account_id>:<sli_id>:<guid>`, where the `guid` is the entity the SLI relates to. Examplebash
```sh
$ pulumi import newrelic:index/serviceLevel:ServiceLevel foo 12345678:4321:MXxBUE18QVBQTElDQVRJT058MQ
```
func GetServiceLevel ¶ added in v4.5.0
func GetServiceLevel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceLevelState, opts ...pulumi.ResourceOption) (*ServiceLevel, error)
GetServiceLevel gets an existing ServiceLevel 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 NewServiceLevel ¶ added in v4.5.0
func NewServiceLevel(ctx *pulumi.Context, name string, args *ServiceLevelArgs, opts ...pulumi.ResourceOption) (*ServiceLevel, error)
NewServiceLevel registers a new resource with the given unique name, arguments, and options.
func (*ServiceLevel) ElementType ¶ added in v4.5.0
func (*ServiceLevel) ElementType() reflect.Type
func (*ServiceLevel) ToServiceLevelOutput ¶ added in v4.5.0
func (i *ServiceLevel) ToServiceLevelOutput() ServiceLevelOutput
func (*ServiceLevel) ToServiceLevelOutputWithContext ¶ added in v4.5.0
func (i *ServiceLevel) ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput
type ServiceLevelArgs ¶ added in v4.5.0
type ServiceLevelArgs struct { // The description of the SLI. Description pulumi.StringPtrInput // The events that define the NRDB data for the SLI/SLO calculations. // See Events below for details. Events ServiceLevelEventsInput // The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource. Guid pulumi.StringInput // A short name for the SLI that will help anyone understand what it is about. Name pulumi.StringPtrInput // The objective of the SLI, only one can be defined. // See Objective below for details. Objective ServiceLevelObjectiveInput }
The set of arguments for constructing a ServiceLevel resource.
func (ServiceLevelArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelArgs) ElementType() reflect.Type
type ServiceLevelArray ¶ added in v4.5.0
type ServiceLevelArray []ServiceLevelInput
func (ServiceLevelArray) ElementType ¶ added in v4.5.0
func (ServiceLevelArray) ElementType() reflect.Type
func (ServiceLevelArray) ToServiceLevelArrayOutput ¶ added in v4.5.0
func (i ServiceLevelArray) ToServiceLevelArrayOutput() ServiceLevelArrayOutput
func (ServiceLevelArray) ToServiceLevelArrayOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelArray) ToServiceLevelArrayOutputWithContext(ctx context.Context) ServiceLevelArrayOutput
type ServiceLevelArrayInput ¶ added in v4.5.0
type ServiceLevelArrayInput interface { pulumi.Input ToServiceLevelArrayOutput() ServiceLevelArrayOutput ToServiceLevelArrayOutputWithContext(context.Context) ServiceLevelArrayOutput }
ServiceLevelArrayInput is an input type that accepts ServiceLevelArray and ServiceLevelArrayOutput values. You can construct a concrete instance of `ServiceLevelArrayInput` via:
ServiceLevelArray{ ServiceLevelArgs{...} }
type ServiceLevelArrayOutput ¶ added in v4.5.0
type ServiceLevelArrayOutput struct{ *pulumi.OutputState }
func (ServiceLevelArrayOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelArrayOutput) ElementType() reflect.Type
func (ServiceLevelArrayOutput) Index ¶ added in v4.5.0
func (o ServiceLevelArrayOutput) Index(i pulumi.IntInput) ServiceLevelOutput
func (ServiceLevelArrayOutput) ToServiceLevelArrayOutput ¶ added in v4.5.0
func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutput() ServiceLevelArrayOutput
func (ServiceLevelArrayOutput) ToServiceLevelArrayOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelArrayOutput) ToServiceLevelArrayOutputWithContext(ctx context.Context) ServiceLevelArrayOutput
type ServiceLevelEvents ¶ added in v4.5.0
type ServiceLevelEvents struct { // The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to, // and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource. AccountId int `pulumi:"accountId"` // The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty. BadEvents *ServiceLevelEventsBadEvents `pulumi:"badEvents"` // The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty. GoodEvents *ServiceLevelEventsGoodEvents `pulumi:"goodEvents"` // The definition of valid requests. ValidEvents ServiceLevelEventsValidEvents `pulumi:"validEvents"` }
type ServiceLevelEventsArgs ¶ added in v4.5.0
type ServiceLevelEventsArgs struct { // The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to, // and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource. AccountId pulumi.IntInput `pulumi:"accountId"` // The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty. BadEvents ServiceLevelEventsBadEventsPtrInput `pulumi:"badEvents"` // The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty. GoodEvents ServiceLevelEventsGoodEventsPtrInput `pulumi:"goodEvents"` // The definition of valid requests. ValidEvents ServiceLevelEventsValidEventsInput `pulumi:"validEvents"` }
func (ServiceLevelEventsArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsArgs) ElementType() reflect.Type
func (ServiceLevelEventsArgs) ToServiceLevelEventsOutput ¶ added in v4.5.0
func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutput() ServiceLevelEventsOutput
func (ServiceLevelEventsArgs) ToServiceLevelEventsOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsArgs) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput
func (ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutput ¶ added in v4.5.0
func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput
func (ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsArgs) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput
type ServiceLevelEventsBadEvents ¶ added in v4.5.0
type ServiceLevelEventsBadEvents struct { // The event type where NRDB data will be fetched from. From string `pulumi:"from"` // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). // a particular entity and were successful). // a particular entity and returned an error). Where *string `pulumi:"where"` }
type ServiceLevelEventsBadEventsArgs ¶ added in v4.5.0
type ServiceLevelEventsBadEventsArgs struct { // The event type where NRDB data will be fetched from. From pulumi.StringInput `pulumi:"from"` // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). // a particular entity and were successful). // a particular entity and returned an error). Where pulumi.StringPtrInput `pulumi:"where"` }
func (ServiceLevelEventsBadEventsArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsBadEventsArgs) ElementType() reflect.Type
func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutput ¶ added in v4.5.0
func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput
func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput
func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutput ¶ added in v4.5.0
func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput
func (ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsBadEventsArgs) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput
type ServiceLevelEventsBadEventsInput ¶ added in v4.5.0
type ServiceLevelEventsBadEventsInput interface { pulumi.Input ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput ToServiceLevelEventsBadEventsOutputWithContext(context.Context) ServiceLevelEventsBadEventsOutput }
ServiceLevelEventsBadEventsInput is an input type that accepts ServiceLevelEventsBadEventsArgs and ServiceLevelEventsBadEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsBadEventsInput` via:
ServiceLevelEventsBadEventsArgs{...}
type ServiceLevelEventsBadEventsOutput ¶ added in v4.5.0
type ServiceLevelEventsBadEventsOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsBadEventsOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsBadEventsOutput) ElementType() reflect.Type
func (ServiceLevelEventsBadEventsOutput) From ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsOutput) From() pulumi.StringOutput
The event type where NRDB data will be fetched from.
func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutput ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutput() ServiceLevelEventsBadEventsOutput
func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsOutput
func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput
func (ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput
func (ServiceLevelEventsBadEventsOutput) Where ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsOutput) Where() pulumi.StringPtrOutput
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).
type ServiceLevelEventsBadEventsPtrInput ¶ added in v4.5.0
type ServiceLevelEventsBadEventsPtrInput interface { pulumi.Input ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput ToServiceLevelEventsBadEventsPtrOutputWithContext(context.Context) ServiceLevelEventsBadEventsPtrOutput }
ServiceLevelEventsBadEventsPtrInput is an input type that accepts ServiceLevelEventsBadEventsArgs, ServiceLevelEventsBadEventsPtr and ServiceLevelEventsBadEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsBadEventsPtrInput` via:
ServiceLevelEventsBadEventsArgs{...} or: nil
func ServiceLevelEventsBadEventsPtr ¶ added in v4.5.0
func ServiceLevelEventsBadEventsPtr(v *ServiceLevelEventsBadEventsArgs) ServiceLevelEventsBadEventsPtrInput
type ServiceLevelEventsBadEventsPtrOutput ¶ added in v4.5.0
type ServiceLevelEventsBadEventsPtrOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsBadEventsPtrOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsBadEventsPtrOutput) ElementType() reflect.Type
func (ServiceLevelEventsBadEventsPtrOutput) From ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsPtrOutput) From() pulumi.StringPtrOutput
The event type where NRDB data will be fetched from.
func (ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutput() ServiceLevelEventsBadEventsPtrOutput
func (ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsPtrOutput) ToServiceLevelEventsBadEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsBadEventsPtrOutput
func (ServiceLevelEventsBadEventsPtrOutput) Where ¶ added in v4.5.0
func (o ServiceLevelEventsBadEventsPtrOutput) Where() pulumi.StringPtrOutput
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).
type ServiceLevelEventsGoodEvents ¶ added in v4.5.0
type ServiceLevelEventsGoodEvents struct { // The event type where NRDB data will be fetched from. From string `pulumi:"from"` // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). // a particular entity and were successful). // a particular entity and returned an error). Where *string `pulumi:"where"` }
type ServiceLevelEventsGoodEventsArgs ¶ added in v4.5.0
type ServiceLevelEventsGoodEventsArgs struct { // The event type where NRDB data will be fetched from. From pulumi.StringInput `pulumi:"from"` // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). // a particular entity and were successful). // a particular entity and returned an error). Where pulumi.StringPtrInput `pulumi:"where"` }
func (ServiceLevelEventsGoodEventsArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsGoodEventsArgs) ElementType() reflect.Type
func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutput ¶ added in v4.5.0
func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput
func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput
func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutput ¶ added in v4.5.0
func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput
func (ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsGoodEventsArgs) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput
type ServiceLevelEventsGoodEventsInput ¶ added in v4.5.0
type ServiceLevelEventsGoodEventsInput interface { pulumi.Input ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput ToServiceLevelEventsGoodEventsOutputWithContext(context.Context) ServiceLevelEventsGoodEventsOutput }
ServiceLevelEventsGoodEventsInput is an input type that accepts ServiceLevelEventsGoodEventsArgs and ServiceLevelEventsGoodEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsGoodEventsInput` via:
ServiceLevelEventsGoodEventsArgs{...}
type ServiceLevelEventsGoodEventsOutput ¶ added in v4.5.0
type ServiceLevelEventsGoodEventsOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsGoodEventsOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsGoodEventsOutput) ElementType() reflect.Type
func (ServiceLevelEventsGoodEventsOutput) From ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsOutput) From() pulumi.StringOutput
The event type where NRDB data will be fetched from.
func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutput ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutput() ServiceLevelEventsGoodEventsOutput
func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsOutput
func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput
func (ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput
func (ServiceLevelEventsGoodEventsOutput) Where ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsOutput) Where() pulumi.StringPtrOutput
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).
type ServiceLevelEventsGoodEventsPtrInput ¶ added in v4.5.0
type ServiceLevelEventsGoodEventsPtrInput interface { pulumi.Input ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput ToServiceLevelEventsGoodEventsPtrOutputWithContext(context.Context) ServiceLevelEventsGoodEventsPtrOutput }
ServiceLevelEventsGoodEventsPtrInput is an input type that accepts ServiceLevelEventsGoodEventsArgs, ServiceLevelEventsGoodEventsPtr and ServiceLevelEventsGoodEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsGoodEventsPtrInput` via:
ServiceLevelEventsGoodEventsArgs{...} or: nil
func ServiceLevelEventsGoodEventsPtr ¶ added in v4.5.0
func ServiceLevelEventsGoodEventsPtr(v *ServiceLevelEventsGoodEventsArgs) ServiceLevelEventsGoodEventsPtrInput
type ServiceLevelEventsGoodEventsPtrOutput ¶ added in v4.5.0
type ServiceLevelEventsGoodEventsPtrOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsGoodEventsPtrOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsGoodEventsPtrOutput) ElementType() reflect.Type
func (ServiceLevelEventsGoodEventsPtrOutput) From ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsPtrOutput) From() pulumi.StringPtrOutput
The event type where NRDB data will be fetched from.
func (ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutput() ServiceLevelEventsGoodEventsPtrOutput
func (ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsPtrOutput) ToServiceLevelEventsGoodEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsGoodEventsPtrOutput
func (ServiceLevelEventsGoodEventsPtrOutput) Where ¶ added in v4.5.0
func (o ServiceLevelEventsGoodEventsPtrOutput) Where() pulumi.StringPtrOutput
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).
type ServiceLevelEventsInput ¶ added in v4.5.0
type ServiceLevelEventsInput interface { pulumi.Input ToServiceLevelEventsOutput() ServiceLevelEventsOutput ToServiceLevelEventsOutputWithContext(context.Context) ServiceLevelEventsOutput }
ServiceLevelEventsInput is an input type that accepts ServiceLevelEventsArgs and ServiceLevelEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsInput` via:
ServiceLevelEventsArgs{...}
type ServiceLevelEventsOutput ¶ added in v4.5.0
type ServiceLevelEventsOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsOutput) AccountId ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) AccountId() pulumi.IntOutput
The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to, and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
func (ServiceLevelEventsOutput) BadEvents ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) BadEvents() ServiceLevelEventsBadEventsPtrOutput
The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
func (ServiceLevelEventsOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsOutput) ElementType() reflect.Type
func (ServiceLevelEventsOutput) GoodEvents ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) GoodEvents() ServiceLevelEventsGoodEventsPtrOutput
The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
func (ServiceLevelEventsOutput) ToServiceLevelEventsOutput ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutput() ServiceLevelEventsOutput
func (ServiceLevelEventsOutput) ToServiceLevelEventsOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) ToServiceLevelEventsOutputWithContext(ctx context.Context) ServiceLevelEventsOutput
func (ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput
func (ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput
func (ServiceLevelEventsOutput) ValidEvents ¶ added in v4.5.0
func (o ServiceLevelEventsOutput) ValidEvents() ServiceLevelEventsValidEventsOutput
The definition of valid requests.
type ServiceLevelEventsPtrInput ¶ added in v4.5.0
type ServiceLevelEventsPtrInput interface { pulumi.Input ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput ToServiceLevelEventsPtrOutputWithContext(context.Context) ServiceLevelEventsPtrOutput }
ServiceLevelEventsPtrInput is an input type that accepts ServiceLevelEventsArgs, ServiceLevelEventsPtr and ServiceLevelEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsPtrInput` via:
ServiceLevelEventsArgs{...} or: nil
func ServiceLevelEventsPtr ¶ added in v4.5.0
func ServiceLevelEventsPtr(v *ServiceLevelEventsArgs) ServiceLevelEventsPtrInput
type ServiceLevelEventsPtrOutput ¶ added in v4.5.0
type ServiceLevelEventsPtrOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsPtrOutput) AccountId ¶ added in v4.5.0
func (o ServiceLevelEventsPtrOutput) AccountId() pulumi.IntPtrOutput
The ID of the account where the entity (e.g, APM Service, Browser application, Workload, etc.) belongs to, and that contains the NRDB data for the SLI/SLO calculations. Note that changing the account ID will force a new resource.
func (ServiceLevelEventsPtrOutput) BadEvents ¶ added in v4.5.0
func (o ServiceLevelEventsPtrOutput) BadEvents() ServiceLevelEventsBadEventsPtrOutput
The definition of the bad responses. If you define an SLI from valid and bad events, you must leave the good events argument empty.
func (ServiceLevelEventsPtrOutput) Elem ¶ added in v4.5.0
func (o ServiceLevelEventsPtrOutput) Elem() ServiceLevelEventsOutput
func (ServiceLevelEventsPtrOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsPtrOutput) ElementType() reflect.Type
func (ServiceLevelEventsPtrOutput) GoodEvents ¶ added in v4.5.0
func (o ServiceLevelEventsPtrOutput) GoodEvents() ServiceLevelEventsGoodEventsPtrOutput
The definition of good responses. If you define an SLI from valid and good events, you must leave the bad events argument empty.
func (ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutput() ServiceLevelEventsPtrOutput
func (ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsPtrOutput) ToServiceLevelEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsPtrOutput
func (ServiceLevelEventsPtrOutput) ValidEvents ¶ added in v4.5.0
func (o ServiceLevelEventsPtrOutput) ValidEvents() ServiceLevelEventsValidEventsPtrOutput
The definition of valid requests.
type ServiceLevelEventsValidEvents ¶ added in v4.5.0
type ServiceLevelEventsValidEvents struct { // The event type where NRDB data will be fetched from. From string `pulumi:"from"` // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). // a particular entity and were successful). // a particular entity and returned an error). Where *string `pulumi:"where"` }
type ServiceLevelEventsValidEventsArgs ¶ added in v4.5.0
type ServiceLevelEventsValidEventsArgs struct { // The event type where NRDB data will be fetched from. From pulumi.StringInput `pulumi:"from"` // A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). // a particular entity and were successful). // a particular entity and returned an error). Where pulumi.StringPtrInput `pulumi:"where"` }
func (ServiceLevelEventsValidEventsArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsValidEventsArgs) ElementType() reflect.Type
func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutput ¶ added in v4.5.0
func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput
func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput
func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutput ¶ added in v4.5.0
func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput
func (ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelEventsValidEventsArgs) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput
type ServiceLevelEventsValidEventsInput ¶ added in v4.5.0
type ServiceLevelEventsValidEventsInput interface { pulumi.Input ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput ToServiceLevelEventsValidEventsOutputWithContext(context.Context) ServiceLevelEventsValidEventsOutput }
ServiceLevelEventsValidEventsInput is an input type that accepts ServiceLevelEventsValidEventsArgs and ServiceLevelEventsValidEventsOutput values. You can construct a concrete instance of `ServiceLevelEventsValidEventsInput` via:
ServiceLevelEventsValidEventsArgs{...}
type ServiceLevelEventsValidEventsOutput ¶ added in v4.5.0
type ServiceLevelEventsValidEventsOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsValidEventsOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsValidEventsOutput) ElementType() reflect.Type
func (ServiceLevelEventsValidEventsOutput) From ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsOutput) From() pulumi.StringOutput
The event type where NRDB data will be fetched from.
func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutput ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutput() ServiceLevelEventsValidEventsOutput
func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsOutput
func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput
func (ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput
func (ServiceLevelEventsValidEventsOutput) Where ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsOutput) Where() pulumi.StringPtrOutput
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).
type ServiceLevelEventsValidEventsPtrInput ¶ added in v4.5.0
type ServiceLevelEventsValidEventsPtrInput interface { pulumi.Input ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput ToServiceLevelEventsValidEventsPtrOutputWithContext(context.Context) ServiceLevelEventsValidEventsPtrOutput }
ServiceLevelEventsValidEventsPtrInput is an input type that accepts ServiceLevelEventsValidEventsArgs, ServiceLevelEventsValidEventsPtr and ServiceLevelEventsValidEventsPtrOutput values. You can construct a concrete instance of `ServiceLevelEventsValidEventsPtrInput` via:
ServiceLevelEventsValidEventsArgs{...} or: nil
func ServiceLevelEventsValidEventsPtr ¶ added in v4.5.0
func ServiceLevelEventsValidEventsPtr(v *ServiceLevelEventsValidEventsArgs) ServiceLevelEventsValidEventsPtrInput
type ServiceLevelEventsValidEventsPtrOutput ¶ added in v4.5.0
type ServiceLevelEventsValidEventsPtrOutput struct{ *pulumi.OutputState }
func (ServiceLevelEventsValidEventsPtrOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelEventsValidEventsPtrOutput) ElementType() reflect.Type
func (ServiceLevelEventsValidEventsPtrOutput) From ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsPtrOutput) From() pulumi.StringPtrOutput
The event type where NRDB data will be fetched from.
func (ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutput ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutput() ServiceLevelEventsValidEventsPtrOutput
func (ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsPtrOutput) ToServiceLevelEventsValidEventsPtrOutputWithContext(ctx context.Context) ServiceLevelEventsValidEventsPtrOutput
func (ServiceLevelEventsValidEventsPtrOutput) Where ¶ added in v4.5.0
func (o ServiceLevelEventsValidEventsPtrOutput) Where() pulumi.StringPtrOutput
A filter that specifies all the NRDB events that are considered in this SLI (e.g, those that refer to a particular entity). a particular entity and were successful). a particular entity and returned an error).
type ServiceLevelInput ¶ added in v4.5.0
type ServiceLevelInput interface { pulumi.Input ToServiceLevelOutput() ServiceLevelOutput ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput }
type ServiceLevelMap ¶ added in v4.5.0
type ServiceLevelMap map[string]ServiceLevelInput
func (ServiceLevelMap) ElementType ¶ added in v4.5.0
func (ServiceLevelMap) ElementType() reflect.Type
func (ServiceLevelMap) ToServiceLevelMapOutput ¶ added in v4.5.0
func (i ServiceLevelMap) ToServiceLevelMapOutput() ServiceLevelMapOutput
func (ServiceLevelMap) ToServiceLevelMapOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelMap) ToServiceLevelMapOutputWithContext(ctx context.Context) ServiceLevelMapOutput
type ServiceLevelMapInput ¶ added in v4.5.0
type ServiceLevelMapInput interface { pulumi.Input ToServiceLevelMapOutput() ServiceLevelMapOutput ToServiceLevelMapOutputWithContext(context.Context) ServiceLevelMapOutput }
ServiceLevelMapInput is an input type that accepts ServiceLevelMap and ServiceLevelMapOutput values. You can construct a concrete instance of `ServiceLevelMapInput` via:
ServiceLevelMap{ "key": ServiceLevelArgs{...} }
type ServiceLevelMapOutput ¶ added in v4.5.0
type ServiceLevelMapOutput struct{ *pulumi.OutputState }
func (ServiceLevelMapOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelMapOutput) ElementType() reflect.Type
func (ServiceLevelMapOutput) MapIndex ¶ added in v4.5.0
func (o ServiceLevelMapOutput) MapIndex(k pulumi.StringInput) ServiceLevelOutput
func (ServiceLevelMapOutput) ToServiceLevelMapOutput ¶ added in v4.5.0
func (o ServiceLevelMapOutput) ToServiceLevelMapOutput() ServiceLevelMapOutput
func (ServiceLevelMapOutput) ToServiceLevelMapOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelMapOutput) ToServiceLevelMapOutputWithContext(ctx context.Context) ServiceLevelMapOutput
type ServiceLevelObjective ¶ added in v4.5.0
type ServiceLevelObjective struct { // The description of the SLI. Description *string `pulumi:"description"` // A short name for the SLI that will help anyone understand what it is about. Name *string `pulumi:"name"` // The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted. Target float64 `pulumi:"target"` // Time window is the period of the objective. TimeWindow ServiceLevelObjectiveTimeWindow `pulumi:"timeWindow"` }
type ServiceLevelObjectiveArgs ¶ added in v4.5.0
type ServiceLevelObjectiveArgs struct { // The description of the SLI. Description pulumi.StringPtrInput `pulumi:"description"` // A short name for the SLI that will help anyone understand what it is about. Name pulumi.StringPtrInput `pulumi:"name"` // The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted. Target pulumi.Float64Input `pulumi:"target"` // Time window is the period of the objective. TimeWindow ServiceLevelObjectiveTimeWindowInput `pulumi:"timeWindow"` }
func (ServiceLevelObjectiveArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelObjectiveArgs) ElementType() reflect.Type
func (ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutput ¶ added in v4.5.0
func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput
func (ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput
func (ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutput ¶ added in v4.12.0
func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput
func (ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutputWithContext ¶ added in v4.12.0
func (i ServiceLevelObjectiveArgs) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput
type ServiceLevelObjectiveInput ¶ added in v4.5.0
type ServiceLevelObjectiveInput interface { pulumi.Input ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput ToServiceLevelObjectiveOutputWithContext(context.Context) ServiceLevelObjectiveOutput }
ServiceLevelObjectiveInput is an input type that accepts ServiceLevelObjectiveArgs and ServiceLevelObjectiveOutput values. You can construct a concrete instance of `ServiceLevelObjectiveInput` via:
ServiceLevelObjectiveArgs{...}
type ServiceLevelObjectiveOutput ¶ added in v4.5.0
type ServiceLevelObjectiveOutput struct{ *pulumi.OutputState }
func (ServiceLevelObjectiveOutput) Description ¶ added in v4.5.0
func (o ServiceLevelObjectiveOutput) Description() pulumi.StringPtrOutput
The description of the SLI.
func (ServiceLevelObjectiveOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelObjectiveOutput) ElementType() reflect.Type
func (ServiceLevelObjectiveOutput) Name ¶ added in v4.5.0
func (o ServiceLevelObjectiveOutput) Name() pulumi.StringPtrOutput
A short name for the SLI that will help anyone understand what it is about.
func (ServiceLevelObjectiveOutput) Target ¶ added in v4.5.0
func (o ServiceLevelObjectiveOutput) Target() pulumi.Float64Output
The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
func (ServiceLevelObjectiveOutput) TimeWindow ¶ added in v4.5.0
func (o ServiceLevelObjectiveOutput) TimeWindow() ServiceLevelObjectiveTimeWindowOutput
Time window is the period of the objective.
func (ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutput ¶ added in v4.5.0
func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutput() ServiceLevelObjectiveOutput
func (ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectiveOutputWithContext(ctx context.Context) ServiceLevelObjectiveOutput
func (ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutput ¶ added in v4.12.0
func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput
func (ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutputWithContext ¶ added in v4.12.0
func (o ServiceLevelObjectiveOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput
type ServiceLevelObjectivePtrInput ¶ added in v4.12.0
type ServiceLevelObjectivePtrInput interface { pulumi.Input ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput ToServiceLevelObjectivePtrOutputWithContext(context.Context) ServiceLevelObjectivePtrOutput }
ServiceLevelObjectivePtrInput is an input type that accepts ServiceLevelObjectiveArgs, ServiceLevelObjectivePtr and ServiceLevelObjectivePtrOutput values. You can construct a concrete instance of `ServiceLevelObjectivePtrInput` via:
ServiceLevelObjectiveArgs{...} or: nil
func ServiceLevelObjectivePtr ¶ added in v4.12.0
func ServiceLevelObjectivePtr(v *ServiceLevelObjectiveArgs) ServiceLevelObjectivePtrInput
type ServiceLevelObjectivePtrOutput ¶ added in v4.12.0
type ServiceLevelObjectivePtrOutput struct{ *pulumi.OutputState }
func (ServiceLevelObjectivePtrOutput) Description ¶ added in v4.12.0
func (o ServiceLevelObjectivePtrOutput) Description() pulumi.StringPtrOutput
The description of the SLI.
func (ServiceLevelObjectivePtrOutput) Elem ¶ added in v4.12.0
func (o ServiceLevelObjectivePtrOutput) Elem() ServiceLevelObjectiveOutput
func (ServiceLevelObjectivePtrOutput) ElementType ¶ added in v4.12.0
func (ServiceLevelObjectivePtrOutput) ElementType() reflect.Type
func (ServiceLevelObjectivePtrOutput) Name ¶ added in v4.12.0
func (o ServiceLevelObjectivePtrOutput) Name() pulumi.StringPtrOutput
A short name for the SLI that will help anyone understand what it is about.
func (ServiceLevelObjectivePtrOutput) Target ¶ added in v4.12.0
func (o ServiceLevelObjectivePtrOutput) Target() pulumi.Float64PtrOutput
The target of the objective, valid values between `0` and `100`. Up to 5 decimals accepted.
func (ServiceLevelObjectivePtrOutput) TimeWindow ¶ added in v4.12.0
func (o ServiceLevelObjectivePtrOutput) TimeWindow() ServiceLevelObjectiveTimeWindowPtrOutput
Time window is the period of the objective.
func (ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutput ¶ added in v4.12.0
func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutput() ServiceLevelObjectivePtrOutput
func (ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutputWithContext ¶ added in v4.12.0
func (o ServiceLevelObjectivePtrOutput) ToServiceLevelObjectivePtrOutputWithContext(ctx context.Context) ServiceLevelObjectivePtrOutput
type ServiceLevelObjectiveTimeWindow ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindow struct { // Rolling window. Rolling ServiceLevelObjectiveTimeWindowRolling `pulumi:"rolling"` }
type ServiceLevelObjectiveTimeWindowArgs ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindowArgs struct { // Rolling window. Rolling ServiceLevelObjectiveTimeWindowRollingInput `pulumi:"rolling"` }
func (ServiceLevelObjectiveTimeWindowArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelObjectiveTimeWindowArgs) ElementType() reflect.Type
func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutput ¶ added in v4.5.0
func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput
func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput
func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutput ¶ added in v4.12.0
func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput
func (ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext ¶ added in v4.12.0
func (i ServiceLevelObjectiveTimeWindowArgs) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput
type ServiceLevelObjectiveTimeWindowInput ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindowInput interface { pulumi.Input ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput ToServiceLevelObjectiveTimeWindowOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowOutput }
ServiceLevelObjectiveTimeWindowInput is an input type that accepts ServiceLevelObjectiveTimeWindowArgs and ServiceLevelObjectiveTimeWindowOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowInput` via:
ServiceLevelObjectiveTimeWindowArgs{...}
type ServiceLevelObjectiveTimeWindowOutput ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindowOutput struct{ *pulumi.OutputState }
func (ServiceLevelObjectiveTimeWindowOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelObjectiveTimeWindowOutput) ElementType() reflect.Type
func (ServiceLevelObjectiveTimeWindowOutput) Rolling ¶ added in v4.5.0
func (o ServiceLevelObjectiveTimeWindowOutput) Rolling() ServiceLevelObjectiveTimeWindowRollingOutput
Rolling window.
func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutput ¶ added in v4.5.0
func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutput() ServiceLevelObjectiveTimeWindowOutput
func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowOutput
func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutput ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput
func (ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput
type ServiceLevelObjectiveTimeWindowPtrInput ¶ added in v4.12.0
type ServiceLevelObjectiveTimeWindowPtrInput interface { pulumi.Input ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowPtrOutput }
ServiceLevelObjectiveTimeWindowPtrInput is an input type that accepts ServiceLevelObjectiveTimeWindowArgs, ServiceLevelObjectiveTimeWindowPtr and ServiceLevelObjectiveTimeWindowPtrOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowPtrInput` via:
ServiceLevelObjectiveTimeWindowArgs{...} or: nil
func ServiceLevelObjectiveTimeWindowPtr ¶ added in v4.12.0
func ServiceLevelObjectiveTimeWindowPtr(v *ServiceLevelObjectiveTimeWindowArgs) ServiceLevelObjectiveTimeWindowPtrInput
type ServiceLevelObjectiveTimeWindowPtrOutput ¶ added in v4.12.0
type ServiceLevelObjectiveTimeWindowPtrOutput struct{ *pulumi.OutputState }
func (ServiceLevelObjectiveTimeWindowPtrOutput) ElementType ¶ added in v4.12.0
func (ServiceLevelObjectiveTimeWindowPtrOutput) ElementType() reflect.Type
func (ServiceLevelObjectiveTimeWindowPtrOutput) Rolling ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowPtrOutput) Rolling() ServiceLevelObjectiveTimeWindowRollingPtrOutput
Rolling window.
func (ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutput ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutput() ServiceLevelObjectiveTimeWindowPtrOutput
func (ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowPtrOutput) ToServiceLevelObjectiveTimeWindowPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowPtrOutput
type ServiceLevelObjectiveTimeWindowRolling ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindowRollingArgs ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindowRollingArgs struct { // Valid values are `1`, `7` and `28`. Count pulumi.IntInput `pulumi:"count"` // The only supported value is `DAY`. Unit pulumi.StringInput `pulumi:"unit"` }
func (ServiceLevelObjectiveTimeWindowRollingArgs) ElementType ¶ added in v4.5.0
func (ServiceLevelObjectiveTimeWindowRollingArgs) ElementType() reflect.Type
func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutput ¶ added in v4.5.0
func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput
func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext ¶ added in v4.5.0
func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput
func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutput ¶ added in v4.12.0
func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput
func (ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext ¶ added in v4.12.0
func (i ServiceLevelObjectiveTimeWindowRollingArgs) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput
type ServiceLevelObjectiveTimeWindowRollingInput ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindowRollingInput interface { pulumi.Input ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowRollingOutput }
ServiceLevelObjectiveTimeWindowRollingInput is an input type that accepts ServiceLevelObjectiveTimeWindowRollingArgs and ServiceLevelObjectiveTimeWindowRollingOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowRollingInput` via:
ServiceLevelObjectiveTimeWindowRollingArgs{...}
type ServiceLevelObjectiveTimeWindowRollingOutput ¶ added in v4.5.0
type ServiceLevelObjectiveTimeWindowRollingOutput struct{ *pulumi.OutputState }
func (ServiceLevelObjectiveTimeWindowRollingOutput) Count ¶ added in v4.5.0
func (o ServiceLevelObjectiveTimeWindowRollingOutput) Count() pulumi.IntOutput
Valid values are `1`, `7` and `28`.
func (ServiceLevelObjectiveTimeWindowRollingOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelObjectiveTimeWindowRollingOutput) ElementType() reflect.Type
func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutput ¶ added in v4.5.0
func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutput() ServiceLevelObjectiveTimeWindowRollingOutput
func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingOutput
func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput
func (ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowRollingOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput
func (ServiceLevelObjectiveTimeWindowRollingOutput) Unit ¶ added in v4.5.0
func (o ServiceLevelObjectiveTimeWindowRollingOutput) Unit() pulumi.StringOutput
The only supported value is `DAY`.
type ServiceLevelObjectiveTimeWindowRollingPtrInput ¶ added in v4.12.0
type ServiceLevelObjectiveTimeWindowRollingPtrInput interface { pulumi.Input ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput }
ServiceLevelObjectiveTimeWindowRollingPtrInput is an input type that accepts ServiceLevelObjectiveTimeWindowRollingArgs, ServiceLevelObjectiveTimeWindowRollingPtr and ServiceLevelObjectiveTimeWindowRollingPtrOutput values. You can construct a concrete instance of `ServiceLevelObjectiveTimeWindowRollingPtrInput` via:
ServiceLevelObjectiveTimeWindowRollingArgs{...} or: nil
func ServiceLevelObjectiveTimeWindowRollingPtr ¶ added in v4.12.0
func ServiceLevelObjectiveTimeWindowRollingPtr(v *ServiceLevelObjectiveTimeWindowRollingArgs) ServiceLevelObjectiveTimeWindowRollingPtrInput
type ServiceLevelObjectiveTimeWindowRollingPtrOutput ¶ added in v4.12.0
type ServiceLevelObjectiveTimeWindowRollingPtrOutput struct{ *pulumi.OutputState }
func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Count ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) Count() pulumi.IntPtrOutput
Valid values are `1`, `7` and `28`.
func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ElementType ¶ added in v4.12.0
func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ElementType() reflect.Type
func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutput() ServiceLevelObjectiveTimeWindowRollingPtrOutput
func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) ToServiceLevelObjectiveTimeWindowRollingPtrOutputWithContext(ctx context.Context) ServiceLevelObjectiveTimeWindowRollingPtrOutput
func (ServiceLevelObjectiveTimeWindowRollingPtrOutput) Unit ¶ added in v4.12.0
func (o ServiceLevelObjectiveTimeWindowRollingPtrOutput) Unit() pulumi.StringPtrOutput
The only supported value is `DAY`.
type ServiceLevelOutput ¶ added in v4.5.0
type ServiceLevelOutput struct{ *pulumi.OutputState }
func (ServiceLevelOutput) Description ¶ added in v4.15.0
func (o ServiceLevelOutput) Description() pulumi.StringPtrOutput
The description of the SLI.
func (ServiceLevelOutput) ElementType ¶ added in v4.5.0
func (ServiceLevelOutput) ElementType() reflect.Type
func (ServiceLevelOutput) Events ¶ added in v4.15.0
func (o ServiceLevelOutput) Events() ServiceLevelEventsOutput
The events that define the NRDB data for the SLI/SLO calculations. See Events below for details.
func (ServiceLevelOutput) Guid ¶ added in v4.15.0
func (o ServiceLevelOutput) Guid() pulumi.StringOutput
The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource.
func (ServiceLevelOutput) Name ¶ added in v4.15.0
func (o ServiceLevelOutput) Name() pulumi.StringOutput
A short name for the SLI that will help anyone understand what it is about.
func (ServiceLevelOutput) Objective ¶ added in v4.15.0
func (o ServiceLevelOutput) Objective() ServiceLevelObjectiveOutput
The objective of the SLI, only one can be defined. See Objective below for details.
func (ServiceLevelOutput) SliGuid ¶ added in v4.15.0
func (o ServiceLevelOutput) SliGuid() pulumi.StringOutput
The unique entity identifier of the Service Level Indicator in New Relic.
func (ServiceLevelOutput) SliId ¶ added in v4.15.0
func (o ServiceLevelOutput) SliId() pulumi.StringOutput
The unique entity identifier of the Service Level Indicator.
func (ServiceLevelOutput) ToServiceLevelOutput ¶ added in v4.5.0
func (o ServiceLevelOutput) ToServiceLevelOutput() ServiceLevelOutput
func (ServiceLevelOutput) ToServiceLevelOutputWithContext ¶ added in v4.5.0
func (o ServiceLevelOutput) ToServiceLevelOutputWithContext(ctx context.Context) ServiceLevelOutput
type ServiceLevelState ¶ added in v4.5.0
type ServiceLevelState struct { // The description of the SLI. Description pulumi.StringPtrInput // The events that define the NRDB data for the SLI/SLO calculations. // See Events below for details. Events ServiceLevelEventsPtrInput // The GUID of the entity (e.g, APM Service, Browser application, Workload, etc.) that you want to relate this SLI to. Note that changing the GUID will force a new resource. Guid pulumi.StringPtrInput // A short name for the SLI that will help anyone understand what it is about. Name pulumi.StringPtrInput // The objective of the SLI, only one can be defined. // See Objective below for details. Objective ServiceLevelObjectivePtrInput // The unique entity identifier of the Service Level Indicator in New Relic. SliGuid pulumi.StringPtrInput // The unique entity identifier of the Service Level Indicator. SliId pulumi.StringPtrInput }
func (ServiceLevelState) ElementType ¶ added in v4.5.0
func (ServiceLevelState) ElementType() reflect.Type
Source Files
¶
- alertChannel.go
- alertCondition.go
- alertMutingRule.go
- alertPolicy.go
- alertPolicyChannel.go
- apiAccessKey.go
- dashboard.go
- doc.go
- entityTags.go
- eventsToMetricsRule.go
- getAccount.go
- getAlertChannel.go
- getAlertPolicy.go
- getApplication.go
- getCloudAccount.go
- getEntity.go
- getKeyTransaction.go
- infraAlertCondition.go
- init.go
- notificationChannel.go
- notificationDestination.go
- nrqlAlertCondition.go
- nrqlDropRule.go
- oneDashboard.go
- oneDashboardRaw.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- serviceLevel.go