Documentation
¶
Overview ¶
A Pulumi package for creating and managing honeycomb.io resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type Board
- type BoardArgs
- type BoardArray
- type BoardArrayInput
- type BoardArrayOutput
- type BoardInput
- type BoardMap
- type BoardMapInput
- type BoardMapOutput
- type BoardOutput
- func (o BoardOutput) ColumnLayout() pulumi.StringOutput
- func (o BoardOutput) Description() pulumi.StringPtrOutput
- func (BoardOutput) ElementType() reflect.Type
- func (o BoardOutput) Name() pulumi.StringOutput
- func (o BoardOutput) Queries() BoardQueryArrayOutput
- func (o BoardOutput) Style() pulumi.StringPtrOutput
- func (o BoardOutput) ToBoardOutput() BoardOutput
- func (o BoardOutput) ToBoardOutputWithContext(ctx context.Context) BoardOutput
- type BoardQuery
- type BoardQueryArgs
- type BoardQueryArray
- type BoardQueryArrayInput
- type BoardQueryArrayOutput
- func (BoardQueryArrayOutput) ElementType() reflect.Type
- func (o BoardQueryArrayOutput) Index(i pulumi.IntInput) BoardQueryOutput
- func (o BoardQueryArrayOutput) ToBoardQueryArrayOutput() BoardQueryArrayOutput
- func (o BoardQueryArrayOutput) ToBoardQueryArrayOutputWithContext(ctx context.Context) BoardQueryArrayOutput
- type BoardQueryGraphSettings
- type BoardQueryGraphSettingsArgs
- func (BoardQueryGraphSettingsArgs) ElementType() reflect.Type
- func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsOutput() BoardQueryGraphSettingsOutput
- func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsOutputWithContext(ctx context.Context) BoardQueryGraphSettingsOutput
- func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsPtrOutput() BoardQueryGraphSettingsPtrOutput
- func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsPtrOutputWithContext(ctx context.Context) BoardQueryGraphSettingsPtrOutput
- type BoardQueryGraphSettingsInput
- type BoardQueryGraphSettingsOutput
- func (BoardQueryGraphSettingsOutput) ElementType() reflect.Type
- func (o BoardQueryGraphSettingsOutput) HideMarkers() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsOutput) LogScale() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsOutput) OmitMissingValues() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsOutput) StackedGraphs() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsOutput() BoardQueryGraphSettingsOutput
- func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsOutputWithContext(ctx context.Context) BoardQueryGraphSettingsOutput
- func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsPtrOutput() BoardQueryGraphSettingsPtrOutput
- func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsPtrOutputWithContext(ctx context.Context) BoardQueryGraphSettingsPtrOutput
- func (o BoardQueryGraphSettingsOutput) UtcXaxis() pulumi.BoolPtrOutput
- type BoardQueryGraphSettingsPtrInput
- type BoardQueryGraphSettingsPtrOutput
- func (o BoardQueryGraphSettingsPtrOutput) Elem() BoardQueryGraphSettingsOutput
- func (BoardQueryGraphSettingsPtrOutput) ElementType() reflect.Type
- func (o BoardQueryGraphSettingsPtrOutput) HideMarkers() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsPtrOutput) LogScale() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsPtrOutput) OmitMissingValues() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsPtrOutput) StackedGraphs() pulumi.BoolPtrOutput
- func (o BoardQueryGraphSettingsPtrOutput) ToBoardQueryGraphSettingsPtrOutput() BoardQueryGraphSettingsPtrOutput
- func (o BoardQueryGraphSettingsPtrOutput) ToBoardQueryGraphSettingsPtrOutputWithContext(ctx context.Context) BoardQueryGraphSettingsPtrOutput
- func (o BoardQueryGraphSettingsPtrOutput) UtcXaxis() pulumi.BoolPtrOutput
- type BoardQueryInput
- type BoardQueryOutput
- func (o BoardQueryOutput) Caption() pulumi.StringPtrOutput
- func (o BoardQueryOutput) Dataset() pulumi.StringPtrOutputdeprecated
- func (BoardQueryOutput) ElementType() reflect.Type
- func (o BoardQueryOutput) GraphSettings() BoardQueryGraphSettingsPtrOutput
- func (o BoardQueryOutput) QueryAnnotationId() pulumi.StringPtrOutput
- func (o BoardQueryOutput) QueryId() pulumi.StringOutput
- func (o BoardQueryOutput) QueryStyle() pulumi.StringPtrOutput
- func (o BoardQueryOutput) ToBoardQueryOutput() BoardQueryOutput
- func (o BoardQueryOutput) ToBoardQueryOutputWithContext(ctx context.Context) BoardQueryOutput
- type BoardState
- type BurnAlert
- type BurnAlertArgs
- type BurnAlertArray
- type BurnAlertArrayInput
- type BurnAlertArrayOutput
- func (BurnAlertArrayOutput) ElementType() reflect.Type
- func (o BurnAlertArrayOutput) Index(i pulumi.IntInput) BurnAlertOutput
- func (o BurnAlertArrayOutput) ToBurnAlertArrayOutput() BurnAlertArrayOutput
- func (o BurnAlertArrayOutput) ToBurnAlertArrayOutputWithContext(ctx context.Context) BurnAlertArrayOutput
- type BurnAlertInput
- type BurnAlertMap
- type BurnAlertMapInput
- type BurnAlertMapOutput
- type BurnAlertOutput
- func (o BurnAlertOutput) Dataset() pulumi.StringOutput
- func (BurnAlertOutput) ElementType() reflect.Type
- func (o BurnAlertOutput) ExhaustionMinutes() pulumi.IntOutput
- func (o BurnAlertOutput) Recipients() BurnAlertRecipientArrayOutput
- func (o BurnAlertOutput) SloId() pulumi.StringOutput
- func (o BurnAlertOutput) ToBurnAlertOutput() BurnAlertOutput
- func (o BurnAlertOutput) ToBurnAlertOutputWithContext(ctx context.Context) BurnAlertOutput
- type BurnAlertRecipient
- type BurnAlertRecipientArgs
- type BurnAlertRecipientArray
- type BurnAlertRecipientArrayInput
- type BurnAlertRecipientArrayOutput
- func (BurnAlertRecipientArrayOutput) ElementType() reflect.Type
- func (o BurnAlertRecipientArrayOutput) Index(i pulumi.IntInput) BurnAlertRecipientOutput
- func (o BurnAlertRecipientArrayOutput) ToBurnAlertRecipientArrayOutput() BurnAlertRecipientArrayOutput
- func (o BurnAlertRecipientArrayOutput) ToBurnAlertRecipientArrayOutputWithContext(ctx context.Context) BurnAlertRecipientArrayOutput
- type BurnAlertRecipientInput
- type BurnAlertRecipientNotificationDetails
- type BurnAlertRecipientNotificationDetailsArgs
- func (BurnAlertRecipientNotificationDetailsArgs) ElementType() reflect.Type
- func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsOutput() BurnAlertRecipientNotificationDetailsOutput
- func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsOutput
- func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsPtrOutput() BurnAlertRecipientNotificationDetailsPtrOutput
- func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsPtrOutput
- type BurnAlertRecipientNotificationDetailsInput
- type BurnAlertRecipientNotificationDetailsOutput
- func (BurnAlertRecipientNotificationDetailsOutput) ElementType() reflect.Type
- func (o BurnAlertRecipientNotificationDetailsOutput) PagerdutySeverity() pulumi.StringOutput
- func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsOutput() BurnAlertRecipientNotificationDetailsOutput
- func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsOutput
- func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsPtrOutput() BurnAlertRecipientNotificationDetailsPtrOutput
- func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsPtrOutput
- type BurnAlertRecipientNotificationDetailsPtrInput
- type BurnAlertRecipientNotificationDetailsPtrOutput
- func (o BurnAlertRecipientNotificationDetailsPtrOutput) Elem() BurnAlertRecipientNotificationDetailsOutput
- func (BurnAlertRecipientNotificationDetailsPtrOutput) ElementType() reflect.Type
- func (o BurnAlertRecipientNotificationDetailsPtrOutput) PagerdutySeverity() pulumi.StringPtrOutput
- func (o BurnAlertRecipientNotificationDetailsPtrOutput) ToBurnAlertRecipientNotificationDetailsPtrOutput() BurnAlertRecipientNotificationDetailsPtrOutput
- func (o BurnAlertRecipientNotificationDetailsPtrOutput) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsPtrOutput
- type BurnAlertRecipientOutput
- func (BurnAlertRecipientOutput) ElementType() reflect.Type
- func (o BurnAlertRecipientOutput) Id() pulumi.StringPtrOutput
- func (o BurnAlertRecipientOutput) NotificationDetails() BurnAlertRecipientNotificationDetailsPtrOutput
- func (o BurnAlertRecipientOutput) Target() pulumi.StringPtrOutput
- func (o BurnAlertRecipientOutput) ToBurnAlertRecipientOutput() BurnAlertRecipientOutput
- func (o BurnAlertRecipientOutput) ToBurnAlertRecipientOutputWithContext(ctx context.Context) BurnAlertRecipientOutput
- func (o BurnAlertRecipientOutput) Type() pulumi.StringPtrOutput
- type BurnAlertState
- type Column
- type ColumnArgs
- type ColumnArray
- type ColumnArrayInput
- type ColumnArrayOutput
- type ColumnInput
- type ColumnMap
- type ColumnMapInput
- type ColumnMapOutput
- type ColumnOutput
- func (o ColumnOutput) CreatedAt() pulumi.StringOutput
- func (o ColumnOutput) Dataset() pulumi.StringOutput
- func (o ColumnOutput) Description() pulumi.StringPtrOutput
- func (ColumnOutput) ElementType() reflect.Type
- func (o ColumnOutput) Hidden() pulumi.BoolPtrOutput
- func (o ColumnOutput) KeyName() pulumi.StringOutput
- func (o ColumnOutput) LastWrittenAt() pulumi.StringOutput
- func (o ColumnOutput) ToColumnOutput() ColumnOutput
- func (o ColumnOutput) ToColumnOutputWithContext(ctx context.Context) ColumnOutput
- func (o ColumnOutput) Type() pulumi.StringPtrOutput
- func (o ColumnOutput) UpdatedAt() pulumi.StringOutput
- type ColumnState
- type Dataset
- type DatasetArgs
- type DatasetArray
- type DatasetArrayInput
- type DatasetArrayOutput
- type DatasetInput
- type DatasetMap
- type DatasetMapInput
- type DatasetMapOutput
- type DatasetOutput
- func (o DatasetOutput) CreatedAt() pulumi.StringOutput
- func (o DatasetOutput) Description() pulumi.StringPtrOutput
- func (DatasetOutput) ElementType() reflect.Type
- func (o DatasetOutput) ExpandJsonDepth() pulumi.IntPtrOutput
- func (o DatasetOutput) LastWrittenAt() pulumi.StringOutput
- func (o DatasetOutput) Name() pulumi.StringOutput
- func (o DatasetOutput) Slug() pulumi.StringOutput
- func (o DatasetOutput) ToDatasetOutput() DatasetOutput
- func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput
- type DatasetState
- type DerivedColumn
- type DerivedColumnArgs
- type DerivedColumnArray
- type DerivedColumnArrayInput
- type DerivedColumnArrayOutput
- func (DerivedColumnArrayOutput) ElementType() reflect.Type
- func (o DerivedColumnArrayOutput) Index(i pulumi.IntInput) DerivedColumnOutput
- func (o DerivedColumnArrayOutput) ToDerivedColumnArrayOutput() DerivedColumnArrayOutput
- func (o DerivedColumnArrayOutput) ToDerivedColumnArrayOutputWithContext(ctx context.Context) DerivedColumnArrayOutput
- type DerivedColumnInput
- type DerivedColumnMap
- type DerivedColumnMapInput
- type DerivedColumnMapOutput
- func (DerivedColumnMapOutput) ElementType() reflect.Type
- func (o DerivedColumnMapOutput) MapIndex(k pulumi.StringInput) DerivedColumnOutput
- func (o DerivedColumnMapOutput) ToDerivedColumnMapOutput() DerivedColumnMapOutput
- func (o DerivedColumnMapOutput) ToDerivedColumnMapOutputWithContext(ctx context.Context) DerivedColumnMapOutput
- type DerivedColumnOutput
- func (o DerivedColumnOutput) Alias() pulumi.StringOutput
- func (o DerivedColumnOutput) Dataset() pulumi.StringOutput
- func (o DerivedColumnOutput) Description() pulumi.StringPtrOutput
- func (DerivedColumnOutput) ElementType() reflect.Type
- func (o DerivedColumnOutput) Expression() pulumi.StringOutput
- func (o DerivedColumnOutput) ToDerivedColumnOutput() DerivedColumnOutput
- func (o DerivedColumnOutput) ToDerivedColumnOutputWithContext(ctx context.Context) DerivedColumnOutput
- type DerivedColumnState
- type EmailRecipient
- type EmailRecipientArgs
- type EmailRecipientArray
- type EmailRecipientArrayInput
- type EmailRecipientArrayOutput
- func (EmailRecipientArrayOutput) ElementType() reflect.Type
- func (o EmailRecipientArrayOutput) Index(i pulumi.IntInput) EmailRecipientOutput
- func (o EmailRecipientArrayOutput) ToEmailRecipientArrayOutput() EmailRecipientArrayOutput
- func (o EmailRecipientArrayOutput) ToEmailRecipientArrayOutputWithContext(ctx context.Context) EmailRecipientArrayOutput
- type EmailRecipientInput
- type EmailRecipientMap
- type EmailRecipientMapInput
- type EmailRecipientMapOutput
- func (EmailRecipientMapOutput) ElementType() reflect.Type
- func (o EmailRecipientMapOutput) MapIndex(k pulumi.StringInput) EmailRecipientOutput
- func (o EmailRecipientMapOutput) ToEmailRecipientMapOutput() EmailRecipientMapOutput
- func (o EmailRecipientMapOutput) ToEmailRecipientMapOutputWithContext(ctx context.Context) EmailRecipientMapOutput
- type EmailRecipientOutput
- type EmailRecipientState
- type GetDatasetsArgs
- type GetDatasetsOutputArgs
- type GetDatasetsResult
- type GetDatasetsResultOutput
- func (GetDatasetsResultOutput) ElementType() reflect.Type
- func (o GetDatasetsResultOutput) Id() pulumi.StringOutput
- func (o GetDatasetsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetDatasetsResultOutput) Slugs() pulumi.StringArrayOutput
- func (o GetDatasetsResultOutput) StartsWith() pulumi.StringPtrOutput
- func (o GetDatasetsResultOutput) ToGetDatasetsResultOutput() GetDatasetsResultOutput
- func (o GetDatasetsResultOutput) ToGetDatasetsResultOutputWithContext(ctx context.Context) GetDatasetsResultOutput
- type GetQueryResultArgs
- type GetQueryResultOutputArgs
- type GetQueryResultResult
- type GetQueryResultResultOutput
- func (o GetQueryResultResultOutput) Dataset() pulumi.StringOutput
- func (GetQueryResultResultOutput) ElementType() reflect.Type
- func (o GetQueryResultResultOutput) GraphImageUrl() pulumi.StringOutput
- func (o GetQueryResultResultOutput) Id() pulumi.StringOutput
- func (o GetQueryResultResultOutput) QueryId() pulumi.StringOutput
- func (o GetQueryResultResultOutput) QueryJson() pulumi.StringOutput
- func (o GetQueryResultResultOutput) QueryUrl() pulumi.StringOutput
- func (o GetQueryResultResultOutput) Results() pulumi.MapArrayOutput
- func (o GetQueryResultResultOutput) ToGetQueryResultResultOutput() GetQueryResultResultOutput
- func (o GetQueryResultResultOutput) ToGetQueryResultResultOutputWithContext(ctx context.Context) GetQueryResultResultOutput
- type GetQuerySpecificationArgs
- type GetQuerySpecificationCalculation
- type GetQuerySpecificationCalculationArgs
- func (GetQuerySpecificationCalculationArgs) ElementType() reflect.Type
- func (i GetQuerySpecificationCalculationArgs) ToGetQuerySpecificationCalculationOutput() GetQuerySpecificationCalculationOutput
- func (i GetQuerySpecificationCalculationArgs) ToGetQuerySpecificationCalculationOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationOutput
- type GetQuerySpecificationCalculationArray
- func (GetQuerySpecificationCalculationArray) ElementType() reflect.Type
- func (i GetQuerySpecificationCalculationArray) ToGetQuerySpecificationCalculationArrayOutput() GetQuerySpecificationCalculationArrayOutput
- func (i GetQuerySpecificationCalculationArray) ToGetQuerySpecificationCalculationArrayOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationArrayOutput
- type GetQuerySpecificationCalculationArrayInput
- type GetQuerySpecificationCalculationArrayOutput
- func (GetQuerySpecificationCalculationArrayOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationCalculationArrayOutput) Index(i pulumi.IntInput) GetQuerySpecificationCalculationOutput
- func (o GetQuerySpecificationCalculationArrayOutput) ToGetQuerySpecificationCalculationArrayOutput() GetQuerySpecificationCalculationArrayOutput
- func (o GetQuerySpecificationCalculationArrayOutput) ToGetQuerySpecificationCalculationArrayOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationArrayOutput
- type GetQuerySpecificationCalculationInput
- type GetQuerySpecificationCalculationOutput
- func (o GetQuerySpecificationCalculationOutput) Column() pulumi.StringPtrOutput
- func (GetQuerySpecificationCalculationOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationCalculationOutput) Op() pulumi.StringOutput
- func (o GetQuerySpecificationCalculationOutput) ToGetQuerySpecificationCalculationOutput() GetQuerySpecificationCalculationOutput
- func (o GetQuerySpecificationCalculationOutput) ToGetQuerySpecificationCalculationOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationOutput
- type GetQuerySpecificationFilter
- type GetQuerySpecificationFilterArgs
- func (GetQuerySpecificationFilterArgs) ElementType() reflect.Type
- func (i GetQuerySpecificationFilterArgs) ToGetQuerySpecificationFilterOutput() GetQuerySpecificationFilterOutput
- func (i GetQuerySpecificationFilterArgs) ToGetQuerySpecificationFilterOutputWithContext(ctx context.Context) GetQuerySpecificationFilterOutput
- type GetQuerySpecificationFilterArray
- func (GetQuerySpecificationFilterArray) ElementType() reflect.Type
- func (i GetQuerySpecificationFilterArray) ToGetQuerySpecificationFilterArrayOutput() GetQuerySpecificationFilterArrayOutput
- func (i GetQuerySpecificationFilterArray) ToGetQuerySpecificationFilterArrayOutputWithContext(ctx context.Context) GetQuerySpecificationFilterArrayOutput
- type GetQuerySpecificationFilterArrayInput
- type GetQuerySpecificationFilterArrayOutput
- func (GetQuerySpecificationFilterArrayOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationFilterArrayOutput) Index(i pulumi.IntInput) GetQuerySpecificationFilterOutput
- func (o GetQuerySpecificationFilterArrayOutput) ToGetQuerySpecificationFilterArrayOutput() GetQuerySpecificationFilterArrayOutput
- func (o GetQuerySpecificationFilterArrayOutput) ToGetQuerySpecificationFilterArrayOutputWithContext(ctx context.Context) GetQuerySpecificationFilterArrayOutput
- type GetQuerySpecificationFilterInput
- type GetQuerySpecificationFilterOutput
- func (o GetQuerySpecificationFilterOutput) Column() pulumi.StringOutput
- func (GetQuerySpecificationFilterOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationFilterOutput) Op() pulumi.StringOutput
- func (o GetQuerySpecificationFilterOutput) ToGetQuerySpecificationFilterOutput() GetQuerySpecificationFilterOutput
- func (o GetQuerySpecificationFilterOutput) ToGetQuerySpecificationFilterOutputWithContext(ctx context.Context) GetQuerySpecificationFilterOutput
- func (o GetQuerySpecificationFilterOutput) Value() pulumi.StringPtrOutput
- func (o GetQuerySpecificationFilterOutput) ValueBoolean() pulumi.BoolPtrOutputdeprecated
- func (o GetQuerySpecificationFilterOutput) ValueFloat() pulumi.Float64PtrOutputdeprecated
- func (o GetQuerySpecificationFilterOutput) ValueInteger() pulumi.IntPtrOutputdeprecated
- func (o GetQuerySpecificationFilterOutput) ValueString() pulumi.StringPtrOutputdeprecated
- type GetQuerySpecificationHaving
- type GetQuerySpecificationHavingArgs
- func (GetQuerySpecificationHavingArgs) ElementType() reflect.Type
- func (i GetQuerySpecificationHavingArgs) ToGetQuerySpecificationHavingOutput() GetQuerySpecificationHavingOutput
- func (i GetQuerySpecificationHavingArgs) ToGetQuerySpecificationHavingOutputWithContext(ctx context.Context) GetQuerySpecificationHavingOutput
- type GetQuerySpecificationHavingArray
- func (GetQuerySpecificationHavingArray) ElementType() reflect.Type
- func (i GetQuerySpecificationHavingArray) ToGetQuerySpecificationHavingArrayOutput() GetQuerySpecificationHavingArrayOutput
- func (i GetQuerySpecificationHavingArray) ToGetQuerySpecificationHavingArrayOutputWithContext(ctx context.Context) GetQuerySpecificationHavingArrayOutput
- type GetQuerySpecificationHavingArrayInput
- type GetQuerySpecificationHavingArrayOutput
- func (GetQuerySpecificationHavingArrayOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationHavingArrayOutput) Index(i pulumi.IntInput) GetQuerySpecificationHavingOutput
- func (o GetQuerySpecificationHavingArrayOutput) ToGetQuerySpecificationHavingArrayOutput() GetQuerySpecificationHavingArrayOutput
- func (o GetQuerySpecificationHavingArrayOutput) ToGetQuerySpecificationHavingArrayOutputWithContext(ctx context.Context) GetQuerySpecificationHavingArrayOutput
- type GetQuerySpecificationHavingInput
- type GetQuerySpecificationHavingOutput
- func (o GetQuerySpecificationHavingOutput) CalculateOp() pulumi.StringOutput
- func (o GetQuerySpecificationHavingOutput) Column() pulumi.StringPtrOutput
- func (GetQuerySpecificationHavingOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationHavingOutput) Op() pulumi.StringOutput
- func (o GetQuerySpecificationHavingOutput) ToGetQuerySpecificationHavingOutput() GetQuerySpecificationHavingOutput
- func (o GetQuerySpecificationHavingOutput) ToGetQuerySpecificationHavingOutputWithContext(ctx context.Context) GetQuerySpecificationHavingOutput
- func (o GetQuerySpecificationHavingOutput) Value() pulumi.Float64Output
- type GetQuerySpecificationOrder
- type GetQuerySpecificationOrderArgs
- func (GetQuerySpecificationOrderArgs) ElementType() reflect.Type
- func (i GetQuerySpecificationOrderArgs) ToGetQuerySpecificationOrderOutput() GetQuerySpecificationOrderOutput
- func (i GetQuerySpecificationOrderArgs) ToGetQuerySpecificationOrderOutputWithContext(ctx context.Context) GetQuerySpecificationOrderOutput
- type GetQuerySpecificationOrderArray
- func (GetQuerySpecificationOrderArray) ElementType() reflect.Type
- func (i GetQuerySpecificationOrderArray) ToGetQuerySpecificationOrderArrayOutput() GetQuerySpecificationOrderArrayOutput
- func (i GetQuerySpecificationOrderArray) ToGetQuerySpecificationOrderArrayOutputWithContext(ctx context.Context) GetQuerySpecificationOrderArrayOutput
- type GetQuerySpecificationOrderArrayInput
- type GetQuerySpecificationOrderArrayOutput
- func (GetQuerySpecificationOrderArrayOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationOrderArrayOutput) Index(i pulumi.IntInput) GetQuerySpecificationOrderOutput
- func (o GetQuerySpecificationOrderArrayOutput) ToGetQuerySpecificationOrderArrayOutput() GetQuerySpecificationOrderArrayOutput
- func (o GetQuerySpecificationOrderArrayOutput) ToGetQuerySpecificationOrderArrayOutputWithContext(ctx context.Context) GetQuerySpecificationOrderArrayOutput
- type GetQuerySpecificationOrderInput
- type GetQuerySpecificationOrderOutput
- func (o GetQuerySpecificationOrderOutput) Column() pulumi.StringPtrOutput
- func (GetQuerySpecificationOrderOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationOrderOutput) Op() pulumi.StringPtrOutput
- func (o GetQuerySpecificationOrderOutput) Order() pulumi.StringPtrOutput
- func (o GetQuerySpecificationOrderOutput) ToGetQuerySpecificationOrderOutput() GetQuerySpecificationOrderOutput
- func (o GetQuerySpecificationOrderOutput) ToGetQuerySpecificationOrderOutputWithContext(ctx context.Context) GetQuerySpecificationOrderOutput
- type GetQuerySpecificationOutputArgs
- type GetQuerySpecificationResult
- type GetQuerySpecificationResultOutput
- func (o GetQuerySpecificationResultOutput) Breakdowns() pulumi.StringArrayOutput
- func (o GetQuerySpecificationResultOutput) Calculations() GetQuerySpecificationCalculationArrayOutput
- func (GetQuerySpecificationResultOutput) ElementType() reflect.Type
- func (o GetQuerySpecificationResultOutput) EndTime() pulumi.IntPtrOutput
- func (o GetQuerySpecificationResultOutput) FilterCombination() pulumi.StringPtrOutput
- func (o GetQuerySpecificationResultOutput) Filters() GetQuerySpecificationFilterArrayOutput
- func (o GetQuerySpecificationResultOutput) Granularity() pulumi.IntPtrOutput
- func (o GetQuerySpecificationResultOutput) Havings() GetQuerySpecificationHavingArrayOutput
- func (o GetQuerySpecificationResultOutput) Id() pulumi.StringOutput
- func (o GetQuerySpecificationResultOutput) Json() pulumi.StringOutput
- func (o GetQuerySpecificationResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetQuerySpecificationResultOutput) Orders() GetQuerySpecificationOrderArrayOutput
- func (o GetQuerySpecificationResultOutput) StartTime() pulumi.IntPtrOutput
- func (o GetQuerySpecificationResultOutput) TimeRange() pulumi.IntPtrOutput
- func (o GetQuerySpecificationResultOutput) ToGetQuerySpecificationResultOutput() GetQuerySpecificationResultOutput
- func (o GetQuerySpecificationResultOutput) ToGetQuerySpecificationResultOutputWithContext(ctx context.Context) GetQuerySpecificationResultOutput
- type GetRecipientArgs
- type GetRecipientDetailFilter
- type GetRecipientDetailFilterArgs
- func (GetRecipientDetailFilterArgs) ElementType() reflect.Type
- func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterOutput() GetRecipientDetailFilterOutput
- func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterOutputWithContext(ctx context.Context) GetRecipientDetailFilterOutput
- func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterPtrOutput() GetRecipientDetailFilterPtrOutput
- func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientDetailFilterPtrOutput
- type GetRecipientDetailFilterInput
- type GetRecipientDetailFilterOutput
- func (GetRecipientDetailFilterOutput) ElementType() reflect.Type
- func (o GetRecipientDetailFilterOutput) Name() pulumi.StringOutput
- func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterOutput() GetRecipientDetailFilterOutput
- func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterOutputWithContext(ctx context.Context) GetRecipientDetailFilterOutput
- func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterPtrOutput() GetRecipientDetailFilterPtrOutput
- func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientDetailFilterPtrOutput
- func (o GetRecipientDetailFilterOutput) Value() pulumi.StringPtrOutput
- func (o GetRecipientDetailFilterOutput) ValueRegex() pulumi.StringPtrOutput
- type GetRecipientDetailFilterPtrInput
- type GetRecipientDetailFilterPtrOutput
- func (o GetRecipientDetailFilterPtrOutput) Elem() GetRecipientDetailFilterOutput
- func (GetRecipientDetailFilterPtrOutput) ElementType() reflect.Type
- func (o GetRecipientDetailFilterPtrOutput) Name() pulumi.StringPtrOutput
- func (o GetRecipientDetailFilterPtrOutput) ToGetRecipientDetailFilterPtrOutput() GetRecipientDetailFilterPtrOutput
- func (o GetRecipientDetailFilterPtrOutput) ToGetRecipientDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientDetailFilterPtrOutput
- func (o GetRecipientDetailFilterPtrOutput) Value() pulumi.StringPtrOutput
- func (o GetRecipientDetailFilterPtrOutput) ValueRegex() pulumi.StringPtrOutput
- type GetRecipientOutputArgs
- type GetRecipientResult
- type GetRecipientResultOutput
- func (o GetRecipientResultOutput) Address() pulumi.StringOutput
- func (o GetRecipientResultOutput) Channel() pulumi.StringOutput
- func (o GetRecipientResultOutput) Dataset() pulumi.StringPtrOutputdeprecated
- func (o GetRecipientResultOutput) DetailFilter() GetRecipientDetailFilterPtrOutput
- func (GetRecipientResultOutput) ElementType() reflect.Type
- func (o GetRecipientResultOutput) Id() pulumi.StringOutput
- func (o GetRecipientResultOutput) IntegrationKey() pulumi.StringOutput
- func (o GetRecipientResultOutput) IntegrationName() pulumi.StringOutput
- func (o GetRecipientResultOutput) Name() pulumi.StringOutput
- func (o GetRecipientResultOutput) Secret() pulumi.StringOutput
- func (o GetRecipientResultOutput) Target() pulumi.StringPtrOutputdeprecated
- func (o GetRecipientResultOutput) ToGetRecipientResultOutput() GetRecipientResultOutput
- func (o GetRecipientResultOutput) ToGetRecipientResultOutputWithContext(ctx context.Context) GetRecipientResultOutput
- func (o GetRecipientResultOutput) Type() pulumi.StringOutput
- func (o GetRecipientResultOutput) Url() pulumi.StringOutput
- type GetRecipientsArgs
- type GetRecipientsDetailFilter
- type GetRecipientsDetailFilterArgs
- func (GetRecipientsDetailFilterArgs) ElementType() reflect.Type
- func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterOutput() GetRecipientsDetailFilterOutput
- func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterOutputWithContext(ctx context.Context) GetRecipientsDetailFilterOutput
- func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterPtrOutput() GetRecipientsDetailFilterPtrOutput
- func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientsDetailFilterPtrOutput
- type GetRecipientsDetailFilterInput
- type GetRecipientsDetailFilterOutput
- func (GetRecipientsDetailFilterOutput) ElementType() reflect.Type
- func (o GetRecipientsDetailFilterOutput) Name() pulumi.StringOutput
- func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterOutput() GetRecipientsDetailFilterOutput
- func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterOutputWithContext(ctx context.Context) GetRecipientsDetailFilterOutput
- func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterPtrOutput() GetRecipientsDetailFilterPtrOutput
- func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientsDetailFilterPtrOutput
- func (o GetRecipientsDetailFilterOutput) Value() pulumi.StringPtrOutput
- func (o GetRecipientsDetailFilterOutput) ValueRegex() pulumi.StringPtrOutput
- type GetRecipientsDetailFilterPtrInput
- type GetRecipientsDetailFilterPtrOutput
- func (o GetRecipientsDetailFilterPtrOutput) Elem() GetRecipientsDetailFilterOutput
- func (GetRecipientsDetailFilterPtrOutput) ElementType() reflect.Type
- func (o GetRecipientsDetailFilterPtrOutput) Name() pulumi.StringPtrOutput
- func (o GetRecipientsDetailFilterPtrOutput) ToGetRecipientsDetailFilterPtrOutput() GetRecipientsDetailFilterPtrOutput
- func (o GetRecipientsDetailFilterPtrOutput) ToGetRecipientsDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientsDetailFilterPtrOutput
- func (o GetRecipientsDetailFilterPtrOutput) Value() pulumi.StringPtrOutput
- func (o GetRecipientsDetailFilterPtrOutput) ValueRegex() pulumi.StringPtrOutput
- type GetRecipientsOutputArgs
- type GetRecipientsResult
- type GetRecipientsResultOutput
- func (o GetRecipientsResultOutput) DetailFilter() GetRecipientsDetailFilterPtrOutput
- func (GetRecipientsResultOutput) ElementType() reflect.Type
- func (o GetRecipientsResultOutput) Id() pulumi.StringOutput
- func (o GetRecipientsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRecipientsResultOutput) ToGetRecipientsResultOutput() GetRecipientsResultOutput
- func (o GetRecipientsResultOutput) ToGetRecipientsResultOutputWithContext(ctx context.Context) GetRecipientsResultOutput
- func (o GetRecipientsResultOutput) Type() pulumi.StringPtrOutput
- type GetTriggerRecipientArgs
- type GetTriggerRecipientOutputArgs
- type GetTriggerRecipientResult
- type GetTriggerRecipientResultOutput
- func (o GetTriggerRecipientResultOutput) Dataset() pulumi.StringOutput
- func (GetTriggerRecipientResultOutput) ElementType() reflect.Type
- func (o GetTriggerRecipientResultOutput) Id() pulumi.StringOutput
- func (o GetTriggerRecipientResultOutput) Target() pulumi.StringPtrOutput
- func (o GetTriggerRecipientResultOutput) ToGetTriggerRecipientResultOutput() GetTriggerRecipientResultOutput
- func (o GetTriggerRecipientResultOutput) ToGetTriggerRecipientResultOutputWithContext(ctx context.Context) GetTriggerRecipientResultOutput
- func (o GetTriggerRecipientResultOutput) Type() pulumi.StringOutput
- type Marker
- type MarkerArgs
- type MarkerArray
- type MarkerArrayInput
- type MarkerArrayOutput
- type MarkerInput
- type MarkerMap
- type MarkerMapInput
- type MarkerMapOutput
- type MarkerOutput
- func (o MarkerOutput) Dataset() pulumi.StringOutput
- func (MarkerOutput) ElementType() reflect.Type
- func (o MarkerOutput) Message() pulumi.StringPtrOutput
- func (o MarkerOutput) ToMarkerOutput() MarkerOutput
- func (o MarkerOutput) ToMarkerOutputWithContext(ctx context.Context) MarkerOutput
- func (o MarkerOutput) Type() pulumi.StringPtrOutput
- func (o MarkerOutput) Url() pulumi.StringPtrOutput
- type MarkerSetting
- type MarkerSettingArgs
- type MarkerSettingArray
- type MarkerSettingArrayInput
- type MarkerSettingArrayOutput
- func (MarkerSettingArrayOutput) ElementType() reflect.Type
- func (o MarkerSettingArrayOutput) Index(i pulumi.IntInput) MarkerSettingOutput
- func (o MarkerSettingArrayOutput) ToMarkerSettingArrayOutput() MarkerSettingArrayOutput
- func (o MarkerSettingArrayOutput) ToMarkerSettingArrayOutputWithContext(ctx context.Context) MarkerSettingArrayOutput
- type MarkerSettingInput
- type MarkerSettingMap
- type MarkerSettingMapInput
- type MarkerSettingMapOutput
- func (MarkerSettingMapOutput) ElementType() reflect.Type
- func (o MarkerSettingMapOutput) MapIndex(k pulumi.StringInput) MarkerSettingOutput
- func (o MarkerSettingMapOutput) ToMarkerSettingMapOutput() MarkerSettingMapOutput
- func (o MarkerSettingMapOutput) ToMarkerSettingMapOutputWithContext(ctx context.Context) MarkerSettingMapOutput
- type MarkerSettingOutput
- func (o MarkerSettingOutput) Color() pulumi.StringOutput
- func (o MarkerSettingOutput) CreatedAt() pulumi.StringOutput
- func (o MarkerSettingOutput) Dataset() pulumi.StringOutput
- func (MarkerSettingOutput) ElementType() reflect.Type
- func (o MarkerSettingOutput) ToMarkerSettingOutput() MarkerSettingOutput
- func (o MarkerSettingOutput) ToMarkerSettingOutputWithContext(ctx context.Context) MarkerSettingOutput
- func (o MarkerSettingOutput) Type() pulumi.StringOutput
- func (o MarkerSettingOutput) UpdatedAt() pulumi.StringOutput
- type MarkerSettingState
- type MarkerState
- type PagerdutyRecipient
- type PagerdutyRecipientArgs
- type PagerdutyRecipientArray
- type PagerdutyRecipientArrayInput
- type PagerdutyRecipientArrayOutput
- func (PagerdutyRecipientArrayOutput) ElementType() reflect.Type
- func (o PagerdutyRecipientArrayOutput) Index(i pulumi.IntInput) PagerdutyRecipientOutput
- func (o PagerdutyRecipientArrayOutput) ToPagerdutyRecipientArrayOutput() PagerdutyRecipientArrayOutput
- func (o PagerdutyRecipientArrayOutput) ToPagerdutyRecipientArrayOutputWithContext(ctx context.Context) PagerdutyRecipientArrayOutput
- type PagerdutyRecipientInput
- type PagerdutyRecipientMap
- type PagerdutyRecipientMapInput
- type PagerdutyRecipientMapOutput
- func (PagerdutyRecipientMapOutput) ElementType() reflect.Type
- func (o PagerdutyRecipientMapOutput) MapIndex(k pulumi.StringInput) PagerdutyRecipientOutput
- func (o PagerdutyRecipientMapOutput) ToPagerdutyRecipientMapOutput() PagerdutyRecipientMapOutput
- func (o PagerdutyRecipientMapOutput) ToPagerdutyRecipientMapOutputWithContext(ctx context.Context) PagerdutyRecipientMapOutput
- type PagerdutyRecipientOutput
- func (PagerdutyRecipientOutput) ElementType() reflect.Type
- func (o PagerdutyRecipientOutput) IntegrationKey() pulumi.StringOutput
- func (o PagerdutyRecipientOutput) IntegrationName() pulumi.StringOutput
- func (o PagerdutyRecipientOutput) ToPagerdutyRecipientOutput() PagerdutyRecipientOutput
- func (o PagerdutyRecipientOutput) ToPagerdutyRecipientOutputWithContext(ctx context.Context) PagerdutyRecipientOutput
- type PagerdutyRecipientState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) ApiKey() pulumi.StringOutput
- func (o ProviderOutput) ApiUrl() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- type Query
- type QueryAnnotation
- type QueryAnnotationArgs
- type QueryAnnotationArray
- type QueryAnnotationArrayInput
- type QueryAnnotationArrayOutput
- func (QueryAnnotationArrayOutput) ElementType() reflect.Type
- func (o QueryAnnotationArrayOutput) Index(i pulumi.IntInput) QueryAnnotationOutput
- func (o QueryAnnotationArrayOutput) ToQueryAnnotationArrayOutput() QueryAnnotationArrayOutput
- func (o QueryAnnotationArrayOutput) ToQueryAnnotationArrayOutputWithContext(ctx context.Context) QueryAnnotationArrayOutput
- type QueryAnnotationInput
- type QueryAnnotationMap
- type QueryAnnotationMapInput
- type QueryAnnotationMapOutput
- func (QueryAnnotationMapOutput) ElementType() reflect.Type
- func (o QueryAnnotationMapOutput) MapIndex(k pulumi.StringInput) QueryAnnotationOutput
- func (o QueryAnnotationMapOutput) ToQueryAnnotationMapOutput() QueryAnnotationMapOutput
- func (o QueryAnnotationMapOutput) ToQueryAnnotationMapOutputWithContext(ctx context.Context) QueryAnnotationMapOutput
- type QueryAnnotationOutput
- func (o QueryAnnotationOutput) Dataset() pulumi.StringOutput
- func (o QueryAnnotationOutput) Description() pulumi.StringPtrOutput
- func (QueryAnnotationOutput) ElementType() reflect.Type
- func (o QueryAnnotationOutput) Name() pulumi.StringOutput
- func (o QueryAnnotationOutput) QueryId() pulumi.StringOutput
- func (o QueryAnnotationOutput) ToQueryAnnotationOutput() QueryAnnotationOutput
- func (o QueryAnnotationOutput) ToQueryAnnotationOutputWithContext(ctx context.Context) QueryAnnotationOutput
- type QueryAnnotationState
- type QueryArgs
- type QueryArray
- type QueryArrayInput
- type QueryArrayOutput
- type QueryInput
- type QueryMap
- type QueryMapInput
- type QueryMapOutput
- type QueryOutput
- type QueryState
- type SLO
- type SLOArgs
- type SLOArray
- type SLOArrayInput
- type SLOArrayOutput
- type SLOInput
- type SLOMap
- type SLOMapInput
- type SLOMapOutput
- type SLOOutput
- func (o SLOOutput) Dataset() pulumi.StringOutput
- func (o SLOOutput) Description() pulumi.StringPtrOutput
- func (SLOOutput) ElementType() reflect.Type
- func (o SLOOutput) Name() pulumi.StringOutput
- func (o SLOOutput) Sli() pulumi.StringOutput
- func (o SLOOutput) TargetPercentage() pulumi.Float64Output
- func (o SLOOutput) TimePeriod() pulumi.IntOutput
- func (o SLOOutput) ToSLOOutput() SLOOutput
- func (o SLOOutput) ToSLOOutputWithContext(ctx context.Context) SLOOutput
- type SLOState
- type SlackRecipient
- type SlackRecipientArgs
- type SlackRecipientArray
- type SlackRecipientArrayInput
- type SlackRecipientArrayOutput
- func (SlackRecipientArrayOutput) ElementType() reflect.Type
- func (o SlackRecipientArrayOutput) Index(i pulumi.IntInput) SlackRecipientOutput
- func (o SlackRecipientArrayOutput) ToSlackRecipientArrayOutput() SlackRecipientArrayOutput
- func (o SlackRecipientArrayOutput) ToSlackRecipientArrayOutputWithContext(ctx context.Context) SlackRecipientArrayOutput
- type SlackRecipientInput
- type SlackRecipientMap
- type SlackRecipientMapInput
- type SlackRecipientMapOutput
- func (SlackRecipientMapOutput) ElementType() reflect.Type
- func (o SlackRecipientMapOutput) MapIndex(k pulumi.StringInput) SlackRecipientOutput
- func (o SlackRecipientMapOutput) ToSlackRecipientMapOutput() SlackRecipientMapOutput
- func (o SlackRecipientMapOutput) ToSlackRecipientMapOutputWithContext(ctx context.Context) SlackRecipientMapOutput
- type SlackRecipientOutput
- type SlackRecipientState
- type Trigger
- type TriggerArgs
- type TriggerArray
- type TriggerArrayInput
- type TriggerArrayOutput
- type TriggerInput
- type TriggerMap
- type TriggerMapInput
- type TriggerMapOutput
- type TriggerOutput
- func (o TriggerOutput) AlertType() pulumi.StringPtrOutput
- func (o TriggerOutput) Dataset() pulumi.StringOutput
- func (o TriggerOutput) Description() pulumi.StringPtrOutput
- func (o TriggerOutput) Disabled() pulumi.BoolPtrOutput
- func (TriggerOutput) ElementType() reflect.Type
- func (o TriggerOutput) Frequency() pulumi.IntOutput
- func (o TriggerOutput) Name() pulumi.StringOutput
- func (o TriggerOutput) QueryId() pulumi.StringOutput
- func (o TriggerOutput) Recipients() TriggerRecipientArrayOutput
- func (o TriggerOutput) Threshold() TriggerThresholdOutput
- func (o TriggerOutput) ToTriggerOutput() TriggerOutput
- func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
- type TriggerRecipient
- type TriggerRecipientArgs
- type TriggerRecipientArray
- type TriggerRecipientArrayInput
- type TriggerRecipientArrayOutput
- func (TriggerRecipientArrayOutput) ElementType() reflect.Type
- func (o TriggerRecipientArrayOutput) Index(i pulumi.IntInput) TriggerRecipientOutput
- func (o TriggerRecipientArrayOutput) ToTriggerRecipientArrayOutput() TriggerRecipientArrayOutput
- func (o TriggerRecipientArrayOutput) ToTriggerRecipientArrayOutputWithContext(ctx context.Context) TriggerRecipientArrayOutput
- type TriggerRecipientInput
- type TriggerRecipientNotificationDetails
- type TriggerRecipientNotificationDetailsArgs
- func (TriggerRecipientNotificationDetailsArgs) ElementType() reflect.Type
- func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsOutput() TriggerRecipientNotificationDetailsOutput
- func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsOutput
- func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsPtrOutput() TriggerRecipientNotificationDetailsPtrOutput
- func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsPtrOutput
- type TriggerRecipientNotificationDetailsInput
- type TriggerRecipientNotificationDetailsOutput
- func (TriggerRecipientNotificationDetailsOutput) ElementType() reflect.Type
- func (o TriggerRecipientNotificationDetailsOutput) PagerdutySeverity() pulumi.StringOutput
- func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsOutput() TriggerRecipientNotificationDetailsOutput
- func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsOutput
- func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsPtrOutput() TriggerRecipientNotificationDetailsPtrOutput
- func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsPtrOutput
- type TriggerRecipientNotificationDetailsPtrInput
- type TriggerRecipientNotificationDetailsPtrOutput
- func (o TriggerRecipientNotificationDetailsPtrOutput) Elem() TriggerRecipientNotificationDetailsOutput
- func (TriggerRecipientNotificationDetailsPtrOutput) ElementType() reflect.Type
- func (o TriggerRecipientNotificationDetailsPtrOutput) PagerdutySeverity() pulumi.StringPtrOutput
- func (o TriggerRecipientNotificationDetailsPtrOutput) ToTriggerRecipientNotificationDetailsPtrOutput() TriggerRecipientNotificationDetailsPtrOutput
- func (o TriggerRecipientNotificationDetailsPtrOutput) ToTriggerRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsPtrOutput
- type TriggerRecipientOutput
- func (TriggerRecipientOutput) ElementType() reflect.Type
- func (o TriggerRecipientOutput) Id() pulumi.StringPtrOutput
- func (o TriggerRecipientOutput) NotificationDetails() TriggerRecipientNotificationDetailsPtrOutput
- func (o TriggerRecipientOutput) Target() pulumi.StringPtrOutput
- func (o TriggerRecipientOutput) ToTriggerRecipientOutput() TriggerRecipientOutput
- func (o TriggerRecipientOutput) ToTriggerRecipientOutputWithContext(ctx context.Context) TriggerRecipientOutput
- func (o TriggerRecipientOutput) Type() pulumi.StringPtrOutput
- type TriggerState
- type TriggerThreshold
- type TriggerThresholdArgs
- func (TriggerThresholdArgs) ElementType() reflect.Type
- func (i TriggerThresholdArgs) ToTriggerThresholdOutput() TriggerThresholdOutput
- func (i TriggerThresholdArgs) ToTriggerThresholdOutputWithContext(ctx context.Context) TriggerThresholdOutput
- func (i TriggerThresholdArgs) ToTriggerThresholdPtrOutput() TriggerThresholdPtrOutput
- func (i TriggerThresholdArgs) ToTriggerThresholdPtrOutputWithContext(ctx context.Context) TriggerThresholdPtrOutput
- type TriggerThresholdInput
- type TriggerThresholdOutput
- func (TriggerThresholdOutput) ElementType() reflect.Type
- func (o TriggerThresholdOutput) Op() pulumi.StringOutput
- func (o TriggerThresholdOutput) ToTriggerThresholdOutput() TriggerThresholdOutput
- func (o TriggerThresholdOutput) ToTriggerThresholdOutputWithContext(ctx context.Context) TriggerThresholdOutput
- func (o TriggerThresholdOutput) ToTriggerThresholdPtrOutput() TriggerThresholdPtrOutput
- func (o TriggerThresholdOutput) ToTriggerThresholdPtrOutputWithContext(ctx context.Context) TriggerThresholdPtrOutput
- func (o TriggerThresholdOutput) Value() pulumi.Float64Output
- type TriggerThresholdPtrInput
- type TriggerThresholdPtrOutput
- func (o TriggerThresholdPtrOutput) Elem() TriggerThresholdOutput
- func (TriggerThresholdPtrOutput) ElementType() reflect.Type
- func (o TriggerThresholdPtrOutput) Op() pulumi.StringPtrOutput
- func (o TriggerThresholdPtrOutput) ToTriggerThresholdPtrOutput() TriggerThresholdPtrOutput
- func (o TriggerThresholdPtrOutput) ToTriggerThresholdPtrOutputWithContext(ctx context.Context) TriggerThresholdPtrOutput
- func (o TriggerThresholdPtrOutput) Value() pulumi.Float64PtrOutput
- type WebhookRecipient
- type WebhookRecipientArgs
- type WebhookRecipientArray
- type WebhookRecipientArrayInput
- type WebhookRecipientArrayOutput
- func (WebhookRecipientArrayOutput) ElementType() reflect.Type
- func (o WebhookRecipientArrayOutput) Index(i pulumi.IntInput) WebhookRecipientOutput
- func (o WebhookRecipientArrayOutput) ToWebhookRecipientArrayOutput() WebhookRecipientArrayOutput
- func (o WebhookRecipientArrayOutput) ToWebhookRecipientArrayOutputWithContext(ctx context.Context) WebhookRecipientArrayOutput
- type WebhookRecipientInput
- type WebhookRecipientMap
- type WebhookRecipientMapInput
- type WebhookRecipientMapOutput
- func (WebhookRecipientMapOutput) ElementType() reflect.Type
- func (o WebhookRecipientMapOutput) MapIndex(k pulumi.StringInput) WebhookRecipientOutput
- func (o WebhookRecipientMapOutput) ToWebhookRecipientMapOutput() WebhookRecipientMapOutput
- func (o WebhookRecipientMapOutput) ToWebhookRecipientMapOutputWithContext(ctx context.Context) WebhookRecipientMapOutput
- type WebhookRecipientOutput
- func (WebhookRecipientOutput) ElementType() reflect.Type
- func (o WebhookRecipientOutput) Name() pulumi.StringOutput
- func (o WebhookRecipientOutput) Secret() pulumi.StringOutput
- func (o WebhookRecipientOutput) ToWebhookRecipientOutput() WebhookRecipientOutput
- func (o WebhookRecipientOutput) ToWebhookRecipientOutputWithContext(ctx context.Context) WebhookRecipientOutput
- func (o WebhookRecipientOutput) Url() pulumi.StringOutput
- type WebhookRecipientState
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 Board ¶
type Board struct { pulumi.CustomResourceState // the number of columns to layout on the board, either `multi` (the default) or `single`. Only `visual` style boards (see below) have a column layout. ColumnLayout pulumi.StringOutput `pulumi:"columnLayout"` // Description of the board. Supports markdown. Description pulumi.StringPtrOutput `pulumi:"description"` // Name of the board. Name pulumi.StringOutput `pulumi:"name"` // Zero or more configurations blocks (described below) with the queries of the board. Queries BoardQueryArrayOutput `pulumi:"queries"` // How the board should be displayed in the UI, either `list` (the default) or `visual`. Style pulumi.StringPtrOutput `pulumi:"style"` }
## # Resource: Board
Creates a board. For more information about boards, check out [Collaborate with Boards](https://docs.honeycomb.io/working-with-your-data/collaborating/boards/#docs-sidebar).
## Example Usage ### Simple Board
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { queryGetQuerySpecification, err := honeycomb.GetQuerySpecification(ctx, &GetQuerySpecificationArgs{ Calculations: []GetQuerySpecificationCalculation{ GetQuerySpecificationCalculation{ Op: "P99", Column: pulumi.StringRef("duration_ms"), }, }, Filters: []GetQuerySpecificationFilter{ GetQuerySpecificationFilter{ Column: "trace.parent_id", Op: "does-not-exist", }, }, Breakdowns: []string{ "app.tenant", }, }, nil) if err != nil { return err } queryQuery, err := honeycomb.NewQuery(ctx, "queryQuery", &honeycomb.QueryArgs{ Dataset: pulumi.Any(_var.Dataset), QueryJson: pulumi.String(queryGetQuerySpecification.Json), }) if err != nil { return err } _, err = honeycomb.NewBoard(ctx, "board", &honeycomb.BoardArgs{ Queries: BoardQueryArray{ &BoardQueryArgs{ Dataset: pulumi.Any(_var.Dataset), QueryId: queryQuery.ID(), }, }, }) if err != nil { return err } return nil }) }
``` ### Annotated Board
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { latencyByUseridGetQuerySpecification, err := honeycomb.GetQuerySpecification(ctx, &GetQuerySpecificationArgs{ TimeRange: pulumi.IntRef(86400), Breakdowns: []string{ "app.user_id", }, Calculations: []GetQuerySpecificationCalculation{ GetQuerySpecificationCalculation{ Op: "HEATMAP", Column: pulumi.StringRef("duration_ms"), }, GetQuerySpecificationCalculation{ Op: "P99", Column: pulumi.StringRef("duration_ms"), }, }, Filters: []GetQuerySpecificationFilter{ GetQuerySpecificationFilter{ Column: "trace.parent_id", Op: "does-not-exist", }, }, Orders: []GetQuerySpecificationOrder{ GetQuerySpecificationOrder{ Column: pulumi.StringRef("duration_ms"), Op: pulumi.StringRef("P99"), Order: pulumi.StringRef("descending"), }, }, }, nil) if err != nil { return err } latencyByUseridQuery, err := honeycomb.NewQuery(ctx, "latencyByUseridQuery", &honeycomb.QueryArgs{ Dataset: pulumi.Any(_var.Dataset), QueryJson: pulumi.String(latencyByUseridGetQuerySpecification.Json), }) if err != nil { return err } latencyByUseridQueryAnnotation, err := honeycomb.NewQueryAnnotation(ctx, "latencyByUseridQueryAnnotation", &honeycomb.QueryAnnotationArgs{ Dataset: pulumi.Any(_var.Dataset), QueryId: latencyByUseridQuery.ID(), Description: pulumi.String("A breakdown of trace latency by User over the last 24 hours"), }) if err != nil { return err } _, err = honeycomb.NewBoard(ctx, "overview", &honeycomb.BoardArgs{ Style: pulumi.String("visual"), Queries: BoardQueryArray{ &BoardQueryArgs{ Caption: pulumi.String("Latency by User"), QueryId: latencyByUseridQuery.ID(), QueryAnnotationId: latencyByUseridQueryAnnotation.ID(), GraphSettings: &BoardQueryGraphSettingsArgs{ UtcXaxis: pulumi.Bool(true), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Boards can be imported using their ID, e.g.
```sh
$ pulumi import honeycomb:index/board:Board my_board AobW9oAZX71
```
You can find the ID in the URL bar when visiting the board from the UI.
func GetBoard ¶
func GetBoard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BoardState, opts ...pulumi.ResourceOption) (*Board, error)
GetBoard gets an existing Board 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 NewBoard ¶
func NewBoard(ctx *pulumi.Context, name string, args *BoardArgs, opts ...pulumi.ResourceOption) (*Board, error)
NewBoard registers a new resource with the given unique name, arguments, and options.
func (*Board) ElementType ¶
func (*Board) ToBoardOutput ¶
func (i *Board) ToBoardOutput() BoardOutput
func (*Board) ToBoardOutputWithContext ¶
func (i *Board) ToBoardOutputWithContext(ctx context.Context) BoardOutput
type BoardArgs ¶
type BoardArgs struct { // the number of columns to layout on the board, either `multi` (the default) or `single`. Only `visual` style boards (see below) have a column layout. ColumnLayout pulumi.StringPtrInput // Description of the board. Supports markdown. Description pulumi.StringPtrInput // Name of the board. Name pulumi.StringPtrInput // Zero or more configurations blocks (described below) with the queries of the board. Queries BoardQueryArrayInput // How the board should be displayed in the UI, either `list` (the default) or `visual`. Style pulumi.StringPtrInput }
The set of arguments for constructing a Board resource.
func (BoardArgs) ElementType ¶
type BoardArray ¶
type BoardArray []BoardInput
func (BoardArray) ElementType ¶
func (BoardArray) ElementType() reflect.Type
func (BoardArray) ToBoardArrayOutput ¶
func (i BoardArray) ToBoardArrayOutput() BoardArrayOutput
func (BoardArray) ToBoardArrayOutputWithContext ¶
func (i BoardArray) ToBoardArrayOutputWithContext(ctx context.Context) BoardArrayOutput
type BoardArrayInput ¶
type BoardArrayInput interface { pulumi.Input ToBoardArrayOutput() BoardArrayOutput ToBoardArrayOutputWithContext(context.Context) BoardArrayOutput }
BoardArrayInput is an input type that accepts BoardArray and BoardArrayOutput values. You can construct a concrete instance of `BoardArrayInput` via:
BoardArray{ BoardArgs{...} }
type BoardArrayOutput ¶
type BoardArrayOutput struct{ *pulumi.OutputState }
func (BoardArrayOutput) ElementType ¶
func (BoardArrayOutput) ElementType() reflect.Type
func (BoardArrayOutput) Index ¶
func (o BoardArrayOutput) Index(i pulumi.IntInput) BoardOutput
func (BoardArrayOutput) ToBoardArrayOutput ¶
func (o BoardArrayOutput) ToBoardArrayOutput() BoardArrayOutput
func (BoardArrayOutput) ToBoardArrayOutputWithContext ¶
func (o BoardArrayOutput) ToBoardArrayOutputWithContext(ctx context.Context) BoardArrayOutput
type BoardInput ¶
type BoardInput interface { pulumi.Input ToBoardOutput() BoardOutput ToBoardOutputWithContext(ctx context.Context) BoardOutput }
type BoardMap ¶
type BoardMap map[string]BoardInput
func (BoardMap) ElementType ¶
func (BoardMap) ToBoardMapOutput ¶
func (i BoardMap) ToBoardMapOutput() BoardMapOutput
func (BoardMap) ToBoardMapOutputWithContext ¶
func (i BoardMap) ToBoardMapOutputWithContext(ctx context.Context) BoardMapOutput
type BoardMapInput ¶
type BoardMapInput interface { pulumi.Input ToBoardMapOutput() BoardMapOutput ToBoardMapOutputWithContext(context.Context) BoardMapOutput }
BoardMapInput is an input type that accepts BoardMap and BoardMapOutput values. You can construct a concrete instance of `BoardMapInput` via:
BoardMap{ "key": BoardArgs{...} }
type BoardMapOutput ¶
type BoardMapOutput struct{ *pulumi.OutputState }
func (BoardMapOutput) ElementType ¶
func (BoardMapOutput) ElementType() reflect.Type
func (BoardMapOutput) MapIndex ¶
func (o BoardMapOutput) MapIndex(k pulumi.StringInput) BoardOutput
func (BoardMapOutput) ToBoardMapOutput ¶
func (o BoardMapOutput) ToBoardMapOutput() BoardMapOutput
func (BoardMapOutput) ToBoardMapOutputWithContext ¶
func (o BoardMapOutput) ToBoardMapOutputWithContext(ctx context.Context) BoardMapOutput
type BoardOutput ¶
type BoardOutput struct{ *pulumi.OutputState }
func (BoardOutput) ColumnLayout ¶
func (o BoardOutput) ColumnLayout() pulumi.StringOutput
the number of columns to layout on the board, either `multi` (the default) or `single`. Only `visual` style boards (see below) have a column layout.
func (BoardOutput) Description ¶
func (o BoardOutput) Description() pulumi.StringPtrOutput
Description of the board. Supports markdown.
func (BoardOutput) ElementType ¶
func (BoardOutput) ElementType() reflect.Type
func (BoardOutput) Queries ¶
func (o BoardOutput) Queries() BoardQueryArrayOutput
Zero or more configurations blocks (described below) with the queries of the board.
func (BoardOutput) Style ¶
func (o BoardOutput) Style() pulumi.StringPtrOutput
How the board should be displayed in the UI, either `list` (the default) or `visual`.
func (BoardOutput) ToBoardOutput ¶
func (o BoardOutput) ToBoardOutput() BoardOutput
func (BoardOutput) ToBoardOutputWithContext ¶
func (o BoardOutput) ToBoardOutputWithContext(ctx context.Context) BoardOutput
type BoardQuery ¶
type BoardQuery struct { // A description of the query that will be displayed on the board. Supports markdown. Caption *string `pulumi:"caption"` // The dataset this query is associated with. // // Deprecated: Board Queries no longer require the dataset as they rely on the provided Query ID's dataset. Dataset *string `pulumi:"dataset"` // A map of boolean toggles to manages the settings for this query's graph on the board. // If a value is unspecified, it is assumed to be false. // Currently supported toggles are: // * `hideMarkers` // * `logScale` // * `omitMissingValues` // * `stackedGraphs` // * `utcXaxis` GraphSettings *BoardQueryGraphSettings `pulumi:"graphSettings"` // The ID of the Query Annotation to associate with this query. QueryAnnotationId *string `pulumi:"queryAnnotationId"` // The ID of the Query to run. QueryId string `pulumi:"queryId"` // How the query should be displayed within the board, either `graph` (the default), `table` or `combo`. QueryStyle *string `pulumi:"queryStyle"` }
type BoardQueryArgs ¶
type BoardQueryArgs struct { // A description of the query that will be displayed on the board. Supports markdown. Caption pulumi.StringPtrInput `pulumi:"caption"` // The dataset this query is associated with. // // Deprecated: Board Queries no longer require the dataset as they rely on the provided Query ID's dataset. Dataset pulumi.StringPtrInput `pulumi:"dataset"` // A map of boolean toggles to manages the settings for this query's graph on the board. // If a value is unspecified, it is assumed to be false. // Currently supported toggles are: // * `hideMarkers` // * `logScale` // * `omitMissingValues` // * `stackedGraphs` // * `utcXaxis` GraphSettings BoardQueryGraphSettingsPtrInput `pulumi:"graphSettings"` // The ID of the Query Annotation to associate with this query. QueryAnnotationId pulumi.StringPtrInput `pulumi:"queryAnnotationId"` // The ID of the Query to run. QueryId pulumi.StringInput `pulumi:"queryId"` // How the query should be displayed within the board, either `graph` (the default), `table` or `combo`. QueryStyle pulumi.StringPtrInput `pulumi:"queryStyle"` }
func (BoardQueryArgs) ElementType ¶
func (BoardQueryArgs) ElementType() reflect.Type
func (BoardQueryArgs) ToBoardQueryOutput ¶
func (i BoardQueryArgs) ToBoardQueryOutput() BoardQueryOutput
func (BoardQueryArgs) ToBoardQueryOutputWithContext ¶
func (i BoardQueryArgs) ToBoardQueryOutputWithContext(ctx context.Context) BoardQueryOutput
type BoardQueryArray ¶
type BoardQueryArray []BoardQueryInput
func (BoardQueryArray) ElementType ¶
func (BoardQueryArray) ElementType() reflect.Type
func (BoardQueryArray) ToBoardQueryArrayOutput ¶
func (i BoardQueryArray) ToBoardQueryArrayOutput() BoardQueryArrayOutput
func (BoardQueryArray) ToBoardQueryArrayOutputWithContext ¶
func (i BoardQueryArray) ToBoardQueryArrayOutputWithContext(ctx context.Context) BoardQueryArrayOutput
type BoardQueryArrayInput ¶
type BoardQueryArrayInput interface { pulumi.Input ToBoardQueryArrayOutput() BoardQueryArrayOutput ToBoardQueryArrayOutputWithContext(context.Context) BoardQueryArrayOutput }
BoardQueryArrayInput is an input type that accepts BoardQueryArray and BoardQueryArrayOutput values. You can construct a concrete instance of `BoardQueryArrayInput` via:
BoardQueryArray{ BoardQueryArgs{...} }
type BoardQueryArrayOutput ¶
type BoardQueryArrayOutput struct{ *pulumi.OutputState }
func (BoardQueryArrayOutput) ElementType ¶
func (BoardQueryArrayOutput) ElementType() reflect.Type
func (BoardQueryArrayOutput) Index ¶
func (o BoardQueryArrayOutput) Index(i pulumi.IntInput) BoardQueryOutput
func (BoardQueryArrayOutput) ToBoardQueryArrayOutput ¶
func (o BoardQueryArrayOutput) ToBoardQueryArrayOutput() BoardQueryArrayOutput
func (BoardQueryArrayOutput) ToBoardQueryArrayOutputWithContext ¶
func (o BoardQueryArrayOutput) ToBoardQueryArrayOutputWithContext(ctx context.Context) BoardQueryArrayOutput
type BoardQueryGraphSettings ¶
type BoardQueryGraphSettingsArgs ¶
type BoardQueryGraphSettingsArgs struct { HideMarkers pulumi.BoolPtrInput `pulumi:"hideMarkers"` LogScale pulumi.BoolPtrInput `pulumi:"logScale"` OmitMissingValues pulumi.BoolPtrInput `pulumi:"omitMissingValues"` StackedGraphs pulumi.BoolPtrInput `pulumi:"stackedGraphs"` UtcXaxis pulumi.BoolPtrInput `pulumi:"utcXaxis"` }
func (BoardQueryGraphSettingsArgs) ElementType ¶
func (BoardQueryGraphSettingsArgs) ElementType() reflect.Type
func (BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsOutput ¶
func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsOutput() BoardQueryGraphSettingsOutput
func (BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsOutputWithContext ¶
func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsOutputWithContext(ctx context.Context) BoardQueryGraphSettingsOutput
func (BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsPtrOutput ¶
func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsPtrOutput() BoardQueryGraphSettingsPtrOutput
func (BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsPtrOutputWithContext ¶
func (i BoardQueryGraphSettingsArgs) ToBoardQueryGraphSettingsPtrOutputWithContext(ctx context.Context) BoardQueryGraphSettingsPtrOutput
type BoardQueryGraphSettingsInput ¶
type BoardQueryGraphSettingsInput interface { pulumi.Input ToBoardQueryGraphSettingsOutput() BoardQueryGraphSettingsOutput ToBoardQueryGraphSettingsOutputWithContext(context.Context) BoardQueryGraphSettingsOutput }
BoardQueryGraphSettingsInput is an input type that accepts BoardQueryGraphSettingsArgs and BoardQueryGraphSettingsOutput values. You can construct a concrete instance of `BoardQueryGraphSettingsInput` via:
BoardQueryGraphSettingsArgs{...}
type BoardQueryGraphSettingsOutput ¶
type BoardQueryGraphSettingsOutput struct{ *pulumi.OutputState }
func (BoardQueryGraphSettingsOutput) ElementType ¶
func (BoardQueryGraphSettingsOutput) ElementType() reflect.Type
func (BoardQueryGraphSettingsOutput) HideMarkers ¶
func (o BoardQueryGraphSettingsOutput) HideMarkers() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsOutput) LogScale ¶
func (o BoardQueryGraphSettingsOutput) LogScale() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsOutput) OmitMissingValues ¶
func (o BoardQueryGraphSettingsOutput) OmitMissingValues() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsOutput) StackedGraphs ¶
func (o BoardQueryGraphSettingsOutput) StackedGraphs() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsOutput ¶
func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsOutput() BoardQueryGraphSettingsOutput
func (BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsOutputWithContext ¶
func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsOutputWithContext(ctx context.Context) BoardQueryGraphSettingsOutput
func (BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsPtrOutput ¶
func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsPtrOutput() BoardQueryGraphSettingsPtrOutput
func (BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsPtrOutputWithContext ¶
func (o BoardQueryGraphSettingsOutput) ToBoardQueryGraphSettingsPtrOutputWithContext(ctx context.Context) BoardQueryGraphSettingsPtrOutput
func (BoardQueryGraphSettingsOutput) UtcXaxis ¶
func (o BoardQueryGraphSettingsOutput) UtcXaxis() pulumi.BoolPtrOutput
type BoardQueryGraphSettingsPtrInput ¶
type BoardQueryGraphSettingsPtrInput interface { pulumi.Input ToBoardQueryGraphSettingsPtrOutput() BoardQueryGraphSettingsPtrOutput ToBoardQueryGraphSettingsPtrOutputWithContext(context.Context) BoardQueryGraphSettingsPtrOutput }
BoardQueryGraphSettingsPtrInput is an input type that accepts BoardQueryGraphSettingsArgs, BoardQueryGraphSettingsPtr and BoardQueryGraphSettingsPtrOutput values. You can construct a concrete instance of `BoardQueryGraphSettingsPtrInput` via:
BoardQueryGraphSettingsArgs{...} or: nil
func BoardQueryGraphSettingsPtr ¶
func BoardQueryGraphSettingsPtr(v *BoardQueryGraphSettingsArgs) BoardQueryGraphSettingsPtrInput
type BoardQueryGraphSettingsPtrOutput ¶
type BoardQueryGraphSettingsPtrOutput struct{ *pulumi.OutputState }
func (BoardQueryGraphSettingsPtrOutput) Elem ¶
func (o BoardQueryGraphSettingsPtrOutput) Elem() BoardQueryGraphSettingsOutput
func (BoardQueryGraphSettingsPtrOutput) ElementType ¶
func (BoardQueryGraphSettingsPtrOutput) ElementType() reflect.Type
func (BoardQueryGraphSettingsPtrOutput) HideMarkers ¶
func (o BoardQueryGraphSettingsPtrOutput) HideMarkers() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsPtrOutput) LogScale ¶
func (o BoardQueryGraphSettingsPtrOutput) LogScale() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsPtrOutput) OmitMissingValues ¶
func (o BoardQueryGraphSettingsPtrOutput) OmitMissingValues() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsPtrOutput) StackedGraphs ¶
func (o BoardQueryGraphSettingsPtrOutput) StackedGraphs() pulumi.BoolPtrOutput
func (BoardQueryGraphSettingsPtrOutput) ToBoardQueryGraphSettingsPtrOutput ¶
func (o BoardQueryGraphSettingsPtrOutput) ToBoardQueryGraphSettingsPtrOutput() BoardQueryGraphSettingsPtrOutput
func (BoardQueryGraphSettingsPtrOutput) ToBoardQueryGraphSettingsPtrOutputWithContext ¶
func (o BoardQueryGraphSettingsPtrOutput) ToBoardQueryGraphSettingsPtrOutputWithContext(ctx context.Context) BoardQueryGraphSettingsPtrOutput
func (BoardQueryGraphSettingsPtrOutput) UtcXaxis ¶
func (o BoardQueryGraphSettingsPtrOutput) UtcXaxis() pulumi.BoolPtrOutput
type BoardQueryInput ¶
type BoardQueryInput interface { pulumi.Input ToBoardQueryOutput() BoardQueryOutput ToBoardQueryOutputWithContext(context.Context) BoardQueryOutput }
BoardQueryInput is an input type that accepts BoardQueryArgs and BoardQueryOutput values. You can construct a concrete instance of `BoardQueryInput` via:
BoardQueryArgs{...}
type BoardQueryOutput ¶
type BoardQueryOutput struct{ *pulumi.OutputState }
func (BoardQueryOutput) Caption ¶
func (o BoardQueryOutput) Caption() pulumi.StringPtrOutput
A description of the query that will be displayed on the board. Supports markdown.
func (BoardQueryOutput) Dataset
deprecated
func (o BoardQueryOutput) Dataset() pulumi.StringPtrOutput
The dataset this query is associated with.
Deprecated: Board Queries no longer require the dataset as they rely on the provided Query ID's dataset.
func (BoardQueryOutput) ElementType ¶
func (BoardQueryOutput) ElementType() reflect.Type
func (BoardQueryOutput) GraphSettings ¶
func (o BoardQueryOutput) GraphSettings() BoardQueryGraphSettingsPtrOutput
A map of boolean toggles to manages the settings for this query's graph on the board. If a value is unspecified, it is assumed to be false. Currently supported toggles are: * `hideMarkers` * `logScale` * `omitMissingValues` * `stackedGraphs` * `utcXaxis`
func (BoardQueryOutput) QueryAnnotationId ¶
func (o BoardQueryOutput) QueryAnnotationId() pulumi.StringPtrOutput
The ID of the Query Annotation to associate with this query.
func (BoardQueryOutput) QueryId ¶
func (o BoardQueryOutput) QueryId() pulumi.StringOutput
The ID of the Query to run.
func (BoardQueryOutput) QueryStyle ¶
func (o BoardQueryOutput) QueryStyle() pulumi.StringPtrOutput
How the query should be displayed within the board, either `graph` (the default), `table` or `combo`.
func (BoardQueryOutput) ToBoardQueryOutput ¶
func (o BoardQueryOutput) ToBoardQueryOutput() BoardQueryOutput
func (BoardQueryOutput) ToBoardQueryOutputWithContext ¶
func (o BoardQueryOutput) ToBoardQueryOutputWithContext(ctx context.Context) BoardQueryOutput
type BoardState ¶
type BoardState struct { // the number of columns to layout on the board, either `multi` (the default) or `single`. Only `visual` style boards (see below) have a column layout. ColumnLayout pulumi.StringPtrInput // Description of the board. Supports markdown. Description pulumi.StringPtrInput // Name of the board. Name pulumi.StringPtrInput // Zero or more configurations blocks (described below) with the queries of the board. Queries BoardQueryArrayInput // How the board should be displayed in the UI, either `list` (the default) or `visual`. Style pulumi.StringPtrInput }
func (BoardState) ElementType ¶
func (BoardState) ElementType() reflect.Type
type BurnAlert ¶
type BurnAlert struct { pulumi.CustomResourceState // The dataset this burn alert is associated with. Dataset pulumi.StringOutput `pulumi:"dataset"` // The amount of time, in minutes, remaining before the SLO's error budget will be exhausted and the alert will fire. ExhaustionMinutes pulumi.IntOutput `pulumi:"exhaustionMinutes"` // Zero or more configuration blocks (described below) with the recipients to notify when the alert fires. Recipients BurnAlertRecipientArrayOutput `pulumi:"recipients"` // ID of the SLO this burn alert is associated with. SloId pulumi.StringOutput `pulumi:"sloId"` }
## # Resource: BurnAlert
Creates a burn alert. For more information about burn alerts, check out [Define Burn Alerts](https://docs.honeycomb.io/working-with-your-data/slos/slo-process/#define-burn-alerts).
## Example Usage ### Basic Example
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") sloId := cfg.Require("sloId") _, err := honeycomb.NewBurnAlert(ctx, "exampleAlert", &honeycomb.BurnAlertArgs{ Dataset: pulumi.String(dataset), SloId: pulumi.String(sloId), ExhaustionMinutes: pulumi.Int(480), Recipients: BurnAlertRecipientArray{ &BurnAlertRecipientArgs{ Type: pulumi.String("email"), Target: pulumi.String("hello@example.com"), }, &BurnAlertRecipientArgs{ Type: pulumi.String("slack"), Target: pulumi.String("#example-channel"), }, }, }) if err != nil { return err } return nil }) }
``` ### Example with PagerDuty Recipient and Severity ```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") sloId := cfg.Require("sloId") pd_prod, err := honeycomb.GetRecipient(ctx, &GetRecipientArgs{ Type: "pagerduty", DetailFilter: GetRecipientDetailFilter{ Name: "integration_name", Value: pulumi.StringRef("Prod On-Call"), }, }, nil) if err != nil { return err } _, err = honeycomb.NewBurnAlert(ctx, "exampleAlert", &honeycomb.BurnAlertArgs{ Dataset: pulumi.String(dataset), SloId: pulumi.String(sloId), ExhaustionMinutes: pulumi.Int(60), Recipients: BurnAlertRecipientArray{ &BurnAlertRecipientArgs{ Id: pulumi.String(pd_prod.Id), NotificationDetails: &BurnAlertRecipientNotificationDetailsArgs{ PagerdutySeverity: pulumi.String("critical"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Burn Alerts can be imported using a combination of the dataset name and their ID, e.g.
```sh
$ pulumi import honeycomb:index/burnAlert:BurnAlert my_alert my-dataset/bj9BwOb1uKz
```
func GetBurnAlert ¶
func GetBurnAlert(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BurnAlertState, opts ...pulumi.ResourceOption) (*BurnAlert, error)
GetBurnAlert gets an existing BurnAlert 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 NewBurnAlert ¶
func NewBurnAlert(ctx *pulumi.Context, name string, args *BurnAlertArgs, opts ...pulumi.ResourceOption) (*BurnAlert, error)
NewBurnAlert registers a new resource with the given unique name, arguments, and options.
func (*BurnAlert) ElementType ¶
func (*BurnAlert) ToBurnAlertOutput ¶
func (i *BurnAlert) ToBurnAlertOutput() BurnAlertOutput
func (*BurnAlert) ToBurnAlertOutputWithContext ¶
func (i *BurnAlert) ToBurnAlertOutputWithContext(ctx context.Context) BurnAlertOutput
type BurnAlertArgs ¶
type BurnAlertArgs struct { // The dataset this burn alert is associated with. Dataset pulumi.StringInput // The amount of time, in minutes, remaining before the SLO's error budget will be exhausted and the alert will fire. ExhaustionMinutes pulumi.IntInput // Zero or more configuration blocks (described below) with the recipients to notify when the alert fires. Recipients BurnAlertRecipientArrayInput // ID of the SLO this burn alert is associated with. SloId pulumi.StringInput }
The set of arguments for constructing a BurnAlert resource.
func (BurnAlertArgs) ElementType ¶
func (BurnAlertArgs) ElementType() reflect.Type
type BurnAlertArray ¶
type BurnAlertArray []BurnAlertInput
func (BurnAlertArray) ElementType ¶
func (BurnAlertArray) ElementType() reflect.Type
func (BurnAlertArray) ToBurnAlertArrayOutput ¶
func (i BurnAlertArray) ToBurnAlertArrayOutput() BurnAlertArrayOutput
func (BurnAlertArray) ToBurnAlertArrayOutputWithContext ¶
func (i BurnAlertArray) ToBurnAlertArrayOutputWithContext(ctx context.Context) BurnAlertArrayOutput
type BurnAlertArrayInput ¶
type BurnAlertArrayInput interface { pulumi.Input ToBurnAlertArrayOutput() BurnAlertArrayOutput ToBurnAlertArrayOutputWithContext(context.Context) BurnAlertArrayOutput }
BurnAlertArrayInput is an input type that accepts BurnAlertArray and BurnAlertArrayOutput values. You can construct a concrete instance of `BurnAlertArrayInput` via:
BurnAlertArray{ BurnAlertArgs{...} }
type BurnAlertArrayOutput ¶
type BurnAlertArrayOutput struct{ *pulumi.OutputState }
func (BurnAlertArrayOutput) ElementType ¶
func (BurnAlertArrayOutput) ElementType() reflect.Type
func (BurnAlertArrayOutput) Index ¶
func (o BurnAlertArrayOutput) Index(i pulumi.IntInput) BurnAlertOutput
func (BurnAlertArrayOutput) ToBurnAlertArrayOutput ¶
func (o BurnAlertArrayOutput) ToBurnAlertArrayOutput() BurnAlertArrayOutput
func (BurnAlertArrayOutput) ToBurnAlertArrayOutputWithContext ¶
func (o BurnAlertArrayOutput) ToBurnAlertArrayOutputWithContext(ctx context.Context) BurnAlertArrayOutput
type BurnAlertInput ¶
type BurnAlertInput interface { pulumi.Input ToBurnAlertOutput() BurnAlertOutput ToBurnAlertOutputWithContext(ctx context.Context) BurnAlertOutput }
type BurnAlertMap ¶
type BurnAlertMap map[string]BurnAlertInput
func (BurnAlertMap) ElementType ¶
func (BurnAlertMap) ElementType() reflect.Type
func (BurnAlertMap) ToBurnAlertMapOutput ¶
func (i BurnAlertMap) ToBurnAlertMapOutput() BurnAlertMapOutput
func (BurnAlertMap) ToBurnAlertMapOutputWithContext ¶
func (i BurnAlertMap) ToBurnAlertMapOutputWithContext(ctx context.Context) BurnAlertMapOutput
type BurnAlertMapInput ¶
type BurnAlertMapInput interface { pulumi.Input ToBurnAlertMapOutput() BurnAlertMapOutput ToBurnAlertMapOutputWithContext(context.Context) BurnAlertMapOutput }
BurnAlertMapInput is an input type that accepts BurnAlertMap and BurnAlertMapOutput values. You can construct a concrete instance of `BurnAlertMapInput` via:
BurnAlertMap{ "key": BurnAlertArgs{...} }
type BurnAlertMapOutput ¶
type BurnAlertMapOutput struct{ *pulumi.OutputState }
func (BurnAlertMapOutput) ElementType ¶
func (BurnAlertMapOutput) ElementType() reflect.Type
func (BurnAlertMapOutput) MapIndex ¶
func (o BurnAlertMapOutput) MapIndex(k pulumi.StringInput) BurnAlertOutput
func (BurnAlertMapOutput) ToBurnAlertMapOutput ¶
func (o BurnAlertMapOutput) ToBurnAlertMapOutput() BurnAlertMapOutput
func (BurnAlertMapOutput) ToBurnAlertMapOutputWithContext ¶
func (o BurnAlertMapOutput) ToBurnAlertMapOutputWithContext(ctx context.Context) BurnAlertMapOutput
type BurnAlertOutput ¶
type BurnAlertOutput struct{ *pulumi.OutputState }
func (BurnAlertOutput) Dataset ¶
func (o BurnAlertOutput) Dataset() pulumi.StringOutput
The dataset this burn alert is associated with.
func (BurnAlertOutput) ElementType ¶
func (BurnAlertOutput) ElementType() reflect.Type
func (BurnAlertOutput) ExhaustionMinutes ¶
func (o BurnAlertOutput) ExhaustionMinutes() pulumi.IntOutput
The amount of time, in minutes, remaining before the SLO's error budget will be exhausted and the alert will fire.
func (BurnAlertOutput) Recipients ¶
func (o BurnAlertOutput) Recipients() BurnAlertRecipientArrayOutput
Zero or more configuration blocks (described below) with the recipients to notify when the alert fires.
func (BurnAlertOutput) SloId ¶
func (o BurnAlertOutput) SloId() pulumi.StringOutput
ID of the SLO this burn alert is associated with.
func (BurnAlertOutput) ToBurnAlertOutput ¶
func (o BurnAlertOutput) ToBurnAlertOutput() BurnAlertOutput
func (BurnAlertOutput) ToBurnAlertOutputWithContext ¶
func (o BurnAlertOutput) ToBurnAlertOutputWithContext(ctx context.Context) BurnAlertOutput
type BurnAlertRecipient ¶
type BurnAlertRecipient struct { // The ID of an already existing recipient. Should not be used in combination with `type` and `target`. Id *string `pulumi:"id"` // a block of additional details to send along with the notification. The only supported option currently is `pagerdutySeverity` which has a default value of `critical` but can be set to one of `info`, `warning`, `error`, or `critical` and must be used in combination with a PagerDuty recipient. NotificationDetails *BurnAlertRecipientNotificationDetails `pulumi:"notificationDetails"` // Target of the recipient, this has another meaning depending on the type of recipient (see the table below). Should not be used in combination with `id`. Target *string `pulumi:"target"` // The type of the recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`. Should not be used in combination with `id`. Type *string `pulumi:"type"` }
type BurnAlertRecipientArgs ¶
type BurnAlertRecipientArgs struct { // The ID of an already existing recipient. Should not be used in combination with `type` and `target`. Id pulumi.StringPtrInput `pulumi:"id"` // a block of additional details to send along with the notification. The only supported option currently is `pagerdutySeverity` which has a default value of `critical` but can be set to one of `info`, `warning`, `error`, or `critical` and must be used in combination with a PagerDuty recipient. NotificationDetails BurnAlertRecipientNotificationDetailsPtrInput `pulumi:"notificationDetails"` // Target of the recipient, this has another meaning depending on the type of recipient (see the table below). Should not be used in combination with `id`. Target pulumi.StringPtrInput `pulumi:"target"` // The type of the recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`. Should not be used in combination with `id`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (BurnAlertRecipientArgs) ElementType ¶
func (BurnAlertRecipientArgs) ElementType() reflect.Type
func (BurnAlertRecipientArgs) ToBurnAlertRecipientOutput ¶
func (i BurnAlertRecipientArgs) ToBurnAlertRecipientOutput() BurnAlertRecipientOutput
func (BurnAlertRecipientArgs) ToBurnAlertRecipientOutputWithContext ¶
func (i BurnAlertRecipientArgs) ToBurnAlertRecipientOutputWithContext(ctx context.Context) BurnAlertRecipientOutput
type BurnAlertRecipientArray ¶
type BurnAlertRecipientArray []BurnAlertRecipientInput
func (BurnAlertRecipientArray) ElementType ¶
func (BurnAlertRecipientArray) ElementType() reflect.Type
func (BurnAlertRecipientArray) ToBurnAlertRecipientArrayOutput ¶
func (i BurnAlertRecipientArray) ToBurnAlertRecipientArrayOutput() BurnAlertRecipientArrayOutput
func (BurnAlertRecipientArray) ToBurnAlertRecipientArrayOutputWithContext ¶
func (i BurnAlertRecipientArray) ToBurnAlertRecipientArrayOutputWithContext(ctx context.Context) BurnAlertRecipientArrayOutput
type BurnAlertRecipientArrayInput ¶
type BurnAlertRecipientArrayInput interface { pulumi.Input ToBurnAlertRecipientArrayOutput() BurnAlertRecipientArrayOutput ToBurnAlertRecipientArrayOutputWithContext(context.Context) BurnAlertRecipientArrayOutput }
BurnAlertRecipientArrayInput is an input type that accepts BurnAlertRecipientArray and BurnAlertRecipientArrayOutput values. You can construct a concrete instance of `BurnAlertRecipientArrayInput` via:
BurnAlertRecipientArray{ BurnAlertRecipientArgs{...} }
type BurnAlertRecipientArrayOutput ¶
type BurnAlertRecipientArrayOutput struct{ *pulumi.OutputState }
func (BurnAlertRecipientArrayOutput) ElementType ¶
func (BurnAlertRecipientArrayOutput) ElementType() reflect.Type
func (BurnAlertRecipientArrayOutput) Index ¶
func (o BurnAlertRecipientArrayOutput) Index(i pulumi.IntInput) BurnAlertRecipientOutput
func (BurnAlertRecipientArrayOutput) ToBurnAlertRecipientArrayOutput ¶
func (o BurnAlertRecipientArrayOutput) ToBurnAlertRecipientArrayOutput() BurnAlertRecipientArrayOutput
func (BurnAlertRecipientArrayOutput) ToBurnAlertRecipientArrayOutputWithContext ¶
func (o BurnAlertRecipientArrayOutput) ToBurnAlertRecipientArrayOutputWithContext(ctx context.Context) BurnAlertRecipientArrayOutput
type BurnAlertRecipientInput ¶
type BurnAlertRecipientInput interface { pulumi.Input ToBurnAlertRecipientOutput() BurnAlertRecipientOutput ToBurnAlertRecipientOutputWithContext(context.Context) BurnAlertRecipientOutput }
BurnAlertRecipientInput is an input type that accepts BurnAlertRecipientArgs and BurnAlertRecipientOutput values. You can construct a concrete instance of `BurnAlertRecipientInput` via:
BurnAlertRecipientArgs{...}
type BurnAlertRecipientNotificationDetails ¶
type BurnAlertRecipientNotificationDetails struct {
PagerdutySeverity string `pulumi:"pagerdutySeverity"`
}
type BurnAlertRecipientNotificationDetailsArgs ¶
type BurnAlertRecipientNotificationDetailsArgs struct {
PagerdutySeverity pulumi.StringInput `pulumi:"pagerdutySeverity"`
}
func (BurnAlertRecipientNotificationDetailsArgs) ElementType ¶
func (BurnAlertRecipientNotificationDetailsArgs) ElementType() reflect.Type
func (BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsOutput ¶
func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsOutput() BurnAlertRecipientNotificationDetailsOutput
func (BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsOutputWithContext ¶
func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsOutput
func (BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsPtrOutput ¶
func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsPtrOutput() BurnAlertRecipientNotificationDetailsPtrOutput
func (BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext ¶
func (i BurnAlertRecipientNotificationDetailsArgs) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsPtrOutput
type BurnAlertRecipientNotificationDetailsInput ¶
type BurnAlertRecipientNotificationDetailsInput interface { pulumi.Input ToBurnAlertRecipientNotificationDetailsOutput() BurnAlertRecipientNotificationDetailsOutput ToBurnAlertRecipientNotificationDetailsOutputWithContext(context.Context) BurnAlertRecipientNotificationDetailsOutput }
BurnAlertRecipientNotificationDetailsInput is an input type that accepts BurnAlertRecipientNotificationDetailsArgs and BurnAlertRecipientNotificationDetailsOutput values. You can construct a concrete instance of `BurnAlertRecipientNotificationDetailsInput` via:
BurnAlertRecipientNotificationDetailsArgs{...}
type BurnAlertRecipientNotificationDetailsOutput ¶
type BurnAlertRecipientNotificationDetailsOutput struct{ *pulumi.OutputState }
func (BurnAlertRecipientNotificationDetailsOutput) ElementType ¶
func (BurnAlertRecipientNotificationDetailsOutput) ElementType() reflect.Type
func (BurnAlertRecipientNotificationDetailsOutput) PagerdutySeverity ¶
func (o BurnAlertRecipientNotificationDetailsOutput) PagerdutySeverity() pulumi.StringOutput
func (BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsOutput ¶
func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsOutput() BurnAlertRecipientNotificationDetailsOutput
func (BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsOutputWithContext ¶
func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsOutput
func (BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsPtrOutput ¶
func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsPtrOutput() BurnAlertRecipientNotificationDetailsPtrOutput
func (BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext ¶
func (o BurnAlertRecipientNotificationDetailsOutput) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsPtrOutput
type BurnAlertRecipientNotificationDetailsPtrInput ¶
type BurnAlertRecipientNotificationDetailsPtrInput interface { pulumi.Input ToBurnAlertRecipientNotificationDetailsPtrOutput() BurnAlertRecipientNotificationDetailsPtrOutput ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext(context.Context) BurnAlertRecipientNotificationDetailsPtrOutput }
BurnAlertRecipientNotificationDetailsPtrInput is an input type that accepts BurnAlertRecipientNotificationDetailsArgs, BurnAlertRecipientNotificationDetailsPtr and BurnAlertRecipientNotificationDetailsPtrOutput values. You can construct a concrete instance of `BurnAlertRecipientNotificationDetailsPtrInput` via:
BurnAlertRecipientNotificationDetailsArgs{...} or: nil
func BurnAlertRecipientNotificationDetailsPtr ¶
func BurnAlertRecipientNotificationDetailsPtr(v *BurnAlertRecipientNotificationDetailsArgs) BurnAlertRecipientNotificationDetailsPtrInput
type BurnAlertRecipientNotificationDetailsPtrOutput ¶
type BurnAlertRecipientNotificationDetailsPtrOutput struct{ *pulumi.OutputState }
func (BurnAlertRecipientNotificationDetailsPtrOutput) ElementType ¶
func (BurnAlertRecipientNotificationDetailsPtrOutput) ElementType() reflect.Type
func (BurnAlertRecipientNotificationDetailsPtrOutput) PagerdutySeverity ¶
func (o BurnAlertRecipientNotificationDetailsPtrOutput) PagerdutySeverity() pulumi.StringPtrOutput
func (BurnAlertRecipientNotificationDetailsPtrOutput) ToBurnAlertRecipientNotificationDetailsPtrOutput ¶
func (o BurnAlertRecipientNotificationDetailsPtrOutput) ToBurnAlertRecipientNotificationDetailsPtrOutput() BurnAlertRecipientNotificationDetailsPtrOutput
func (BurnAlertRecipientNotificationDetailsPtrOutput) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext ¶
func (o BurnAlertRecipientNotificationDetailsPtrOutput) ToBurnAlertRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) BurnAlertRecipientNotificationDetailsPtrOutput
type BurnAlertRecipientOutput ¶
type BurnAlertRecipientOutput struct{ *pulumi.OutputState }
func (BurnAlertRecipientOutput) ElementType ¶
func (BurnAlertRecipientOutput) ElementType() reflect.Type
func (BurnAlertRecipientOutput) Id ¶
func (o BurnAlertRecipientOutput) Id() pulumi.StringPtrOutput
The ID of an already existing recipient. Should not be used in combination with `type` and `target`.
func (BurnAlertRecipientOutput) NotificationDetails ¶
func (o BurnAlertRecipientOutput) NotificationDetails() BurnAlertRecipientNotificationDetailsPtrOutput
a block of additional details to send along with the notification. The only supported option currently is `pagerdutySeverity` which has a default value of `critical` but can be set to one of `info`, `warning`, `error`, or `critical` and must be used in combination with a PagerDuty recipient.
func (BurnAlertRecipientOutput) Target ¶
func (o BurnAlertRecipientOutput) Target() pulumi.StringPtrOutput
Target of the recipient, this has another meaning depending on the type of recipient (see the table below). Should not be used in combination with `id`.
func (BurnAlertRecipientOutput) ToBurnAlertRecipientOutput ¶
func (o BurnAlertRecipientOutput) ToBurnAlertRecipientOutput() BurnAlertRecipientOutput
func (BurnAlertRecipientOutput) ToBurnAlertRecipientOutputWithContext ¶
func (o BurnAlertRecipientOutput) ToBurnAlertRecipientOutputWithContext(ctx context.Context) BurnAlertRecipientOutput
func (BurnAlertRecipientOutput) Type ¶
func (o BurnAlertRecipientOutput) Type() pulumi.StringPtrOutput
The type of the recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`. Should not be used in combination with `id`.
type BurnAlertState ¶
type BurnAlertState struct { // The dataset this burn alert is associated with. Dataset pulumi.StringPtrInput // The amount of time, in minutes, remaining before the SLO's error budget will be exhausted and the alert will fire. ExhaustionMinutes pulumi.IntPtrInput // Zero or more configuration blocks (described below) with the recipients to notify when the alert fires. Recipients BurnAlertRecipientArrayInput // ID of the SLO this burn alert is associated with. SloId pulumi.StringPtrInput }
func (BurnAlertState) ElementType ¶
func (BurnAlertState) ElementType() reflect.Type
type Column ¶
type Column struct { pulumi.CustomResourceState // ISO8601 formatted time the column was created CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The dataset this column is added to. Dataset pulumi.StringOutput `pulumi:"dataset"` // A description that is shown in the UI. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether this column should be hidden in the query builder and sample data. Defaults to false. Hidden pulumi.BoolPtrOutput `pulumi:"hidden"` // The name of the column. Must be unique per dataset. KeyName pulumi.StringOutput `pulumi:"keyName"` // ISO8601 formatted time the column was last written to (received event data) LastWrittenAt pulumi.StringOutput `pulumi:"lastWrittenAt"` // The type of the column, allowed values are `string`, `float`, `integer` and `boolean`. Defaults to `string`. Type pulumi.StringPtrOutput `pulumi:"type"` // ISO8601 formatted time the column was updated UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") _, err := honeycomb.NewColumn(ctx, "durationMs", &honeycomb.ColumnArgs{ KeyName: pulumi.String("duration_ms_log10"), Type: pulumi.String("float"), Description: pulumi.String("Duration of the trace"), Dataset: pulumi.String(dataset), }) if err != nil { return err } return nil }) }
```
## Import
Columns can be imported using a combination of the dataset name and their key name, e.g.
```sh
$ pulumi import honeycomb:index/column:Column my_column my-dataset/duration_ms
```
func GetColumn ¶
func GetColumn(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ColumnState, opts ...pulumi.ResourceOption) (*Column, error)
GetColumn gets an existing Column 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 NewColumn ¶
func NewColumn(ctx *pulumi.Context, name string, args *ColumnArgs, opts ...pulumi.ResourceOption) (*Column, error)
NewColumn registers a new resource with the given unique name, arguments, and options.
func (*Column) ElementType ¶
func (*Column) ToColumnOutput ¶
func (i *Column) ToColumnOutput() ColumnOutput
func (*Column) ToColumnOutputWithContext ¶
func (i *Column) ToColumnOutputWithContext(ctx context.Context) ColumnOutput
type ColumnArgs ¶
type ColumnArgs struct { // The dataset this column is added to. Dataset pulumi.StringInput // A description that is shown in the UI. Description pulumi.StringPtrInput // Whether this column should be hidden in the query builder and sample data. Defaults to false. Hidden pulumi.BoolPtrInput // The name of the column. Must be unique per dataset. KeyName pulumi.StringInput // The type of the column, allowed values are `string`, `float`, `integer` and `boolean`. Defaults to `string`. Type pulumi.StringPtrInput }
The set of arguments for constructing a Column resource.
func (ColumnArgs) ElementType ¶
func (ColumnArgs) ElementType() reflect.Type
type ColumnArray ¶
type ColumnArray []ColumnInput
func (ColumnArray) ElementType ¶
func (ColumnArray) ElementType() reflect.Type
func (ColumnArray) ToColumnArrayOutput ¶
func (i ColumnArray) ToColumnArrayOutput() ColumnArrayOutput
func (ColumnArray) ToColumnArrayOutputWithContext ¶
func (i ColumnArray) ToColumnArrayOutputWithContext(ctx context.Context) ColumnArrayOutput
type ColumnArrayInput ¶
type ColumnArrayInput interface { pulumi.Input ToColumnArrayOutput() ColumnArrayOutput ToColumnArrayOutputWithContext(context.Context) ColumnArrayOutput }
ColumnArrayInput is an input type that accepts ColumnArray and ColumnArrayOutput values. You can construct a concrete instance of `ColumnArrayInput` via:
ColumnArray{ ColumnArgs{...} }
type ColumnArrayOutput ¶
type ColumnArrayOutput struct{ *pulumi.OutputState }
func (ColumnArrayOutput) ElementType ¶
func (ColumnArrayOutput) ElementType() reflect.Type
func (ColumnArrayOutput) Index ¶
func (o ColumnArrayOutput) Index(i pulumi.IntInput) ColumnOutput
func (ColumnArrayOutput) ToColumnArrayOutput ¶
func (o ColumnArrayOutput) ToColumnArrayOutput() ColumnArrayOutput
func (ColumnArrayOutput) ToColumnArrayOutputWithContext ¶
func (o ColumnArrayOutput) ToColumnArrayOutputWithContext(ctx context.Context) ColumnArrayOutput
type ColumnInput ¶
type ColumnInput interface { pulumi.Input ToColumnOutput() ColumnOutput ToColumnOutputWithContext(ctx context.Context) ColumnOutput }
type ColumnMap ¶
type ColumnMap map[string]ColumnInput
func (ColumnMap) ElementType ¶
func (ColumnMap) ToColumnMapOutput ¶
func (i ColumnMap) ToColumnMapOutput() ColumnMapOutput
func (ColumnMap) ToColumnMapOutputWithContext ¶
func (i ColumnMap) ToColumnMapOutputWithContext(ctx context.Context) ColumnMapOutput
type ColumnMapInput ¶
type ColumnMapInput interface { pulumi.Input ToColumnMapOutput() ColumnMapOutput ToColumnMapOutputWithContext(context.Context) ColumnMapOutput }
ColumnMapInput is an input type that accepts ColumnMap and ColumnMapOutput values. You can construct a concrete instance of `ColumnMapInput` via:
ColumnMap{ "key": ColumnArgs{...} }
type ColumnMapOutput ¶
type ColumnMapOutput struct{ *pulumi.OutputState }
func (ColumnMapOutput) ElementType ¶
func (ColumnMapOutput) ElementType() reflect.Type
func (ColumnMapOutput) MapIndex ¶
func (o ColumnMapOutput) MapIndex(k pulumi.StringInput) ColumnOutput
func (ColumnMapOutput) ToColumnMapOutput ¶
func (o ColumnMapOutput) ToColumnMapOutput() ColumnMapOutput
func (ColumnMapOutput) ToColumnMapOutputWithContext ¶
func (o ColumnMapOutput) ToColumnMapOutputWithContext(ctx context.Context) ColumnMapOutput
type ColumnOutput ¶
type ColumnOutput struct{ *pulumi.OutputState }
func (ColumnOutput) CreatedAt ¶
func (o ColumnOutput) CreatedAt() pulumi.StringOutput
ISO8601 formatted time the column was created
func (ColumnOutput) Dataset ¶
func (o ColumnOutput) Dataset() pulumi.StringOutput
The dataset this column is added to.
func (ColumnOutput) Description ¶
func (o ColumnOutput) Description() pulumi.StringPtrOutput
A description that is shown in the UI.
func (ColumnOutput) ElementType ¶
func (ColumnOutput) ElementType() reflect.Type
func (ColumnOutput) Hidden ¶
func (o ColumnOutput) Hidden() pulumi.BoolPtrOutput
Whether this column should be hidden in the query builder and sample data. Defaults to false.
func (ColumnOutput) KeyName ¶
func (o ColumnOutput) KeyName() pulumi.StringOutput
The name of the column. Must be unique per dataset.
func (ColumnOutput) LastWrittenAt ¶
func (o ColumnOutput) LastWrittenAt() pulumi.StringOutput
ISO8601 formatted time the column was last written to (received event data)
func (ColumnOutput) ToColumnOutput ¶
func (o ColumnOutput) ToColumnOutput() ColumnOutput
func (ColumnOutput) ToColumnOutputWithContext ¶
func (o ColumnOutput) ToColumnOutputWithContext(ctx context.Context) ColumnOutput
func (ColumnOutput) Type ¶
func (o ColumnOutput) Type() pulumi.StringPtrOutput
The type of the column, allowed values are `string`, `float`, `integer` and `boolean`. Defaults to `string`.
func (ColumnOutput) UpdatedAt ¶
func (o ColumnOutput) UpdatedAt() pulumi.StringOutput
ISO8601 formatted time the column was updated
type ColumnState ¶
type ColumnState struct { // ISO8601 formatted time the column was created CreatedAt pulumi.StringPtrInput // The dataset this column is added to. Dataset pulumi.StringPtrInput // A description that is shown in the UI. Description pulumi.StringPtrInput // Whether this column should be hidden in the query builder and sample data. Defaults to false. Hidden pulumi.BoolPtrInput // The name of the column. Must be unique per dataset. KeyName pulumi.StringPtrInput // ISO8601 formatted time the column was last written to (received event data) LastWrittenAt pulumi.StringPtrInput // The type of the column, allowed values are `string`, `float`, `integer` and `boolean`. Defaults to `string`. Type pulumi.StringPtrInput // ISO8601 formatted time the column was updated UpdatedAt pulumi.StringPtrInput }
func (ColumnState) ElementType ¶
func (ColumnState) ElementType() reflect.Type
type Dataset ¶
type Dataset struct { pulumi.CustomResourceState // ISO8601 formatted time the column was created CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // A longer description for dataset. Description pulumi.StringPtrOutput `pulumi:"description"` // The maximum unpacking depth of nested JSON fields. ExpandJsonDepth pulumi.IntPtrOutput `pulumi:"expandJsonDepth"` // ISO8601 formatted time the column was last written to (received event data) LastWrittenAt pulumi.StringOutput `pulumi:"lastWrittenAt"` // The name of the dataset. Name pulumi.StringOutput `pulumi:"name"` // The slug of the dataset. Slug pulumi.StringOutput `pulumi:"slug"` }
## # Resource: Dataset
Creates a dataset.
> **Note** If this dataset already exists, creating this resource is a no-op.
> **Note** Destroying or replacing this resource will not delete the created dataset. It's not possible to delete a dataset using the API.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := honeycomb.NewDataset(ctx, "myDataset", &honeycomb.DatasetArgs{ Description: pulumi.String("buzzing with data"), }) if err != nil { return err } return nil }) }
```
func GetDataset ¶
func GetDataset(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatasetState, opts ...pulumi.ResourceOption) (*Dataset, error)
GetDataset gets an existing Dataset 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 NewDataset ¶
func NewDataset(ctx *pulumi.Context, name string, args *DatasetArgs, opts ...pulumi.ResourceOption) (*Dataset, error)
NewDataset registers a new resource with the given unique name, arguments, and options.
func (*Dataset) ElementType ¶
func (*Dataset) ToDatasetOutput ¶
func (i *Dataset) ToDatasetOutput() DatasetOutput
func (*Dataset) ToDatasetOutputWithContext ¶
func (i *Dataset) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput
type DatasetArgs ¶
type DatasetArgs struct { // A longer description for dataset. Description pulumi.StringPtrInput // The maximum unpacking depth of nested JSON fields. ExpandJsonDepth pulumi.IntPtrInput // The name of the dataset. Name pulumi.StringPtrInput }
The set of arguments for constructing a Dataset resource.
func (DatasetArgs) ElementType ¶
func (DatasetArgs) ElementType() reflect.Type
type DatasetArray ¶
type DatasetArray []DatasetInput
func (DatasetArray) ElementType ¶
func (DatasetArray) ElementType() reflect.Type
func (DatasetArray) ToDatasetArrayOutput ¶
func (i DatasetArray) ToDatasetArrayOutput() DatasetArrayOutput
func (DatasetArray) ToDatasetArrayOutputWithContext ¶
func (i DatasetArray) ToDatasetArrayOutputWithContext(ctx context.Context) DatasetArrayOutput
type DatasetArrayInput ¶
type DatasetArrayInput interface { pulumi.Input ToDatasetArrayOutput() DatasetArrayOutput ToDatasetArrayOutputWithContext(context.Context) DatasetArrayOutput }
DatasetArrayInput is an input type that accepts DatasetArray and DatasetArrayOutput values. You can construct a concrete instance of `DatasetArrayInput` via:
DatasetArray{ DatasetArgs{...} }
type DatasetArrayOutput ¶
type DatasetArrayOutput struct{ *pulumi.OutputState }
func (DatasetArrayOutput) ElementType ¶
func (DatasetArrayOutput) ElementType() reflect.Type
func (DatasetArrayOutput) Index ¶
func (o DatasetArrayOutput) Index(i pulumi.IntInput) DatasetOutput
func (DatasetArrayOutput) ToDatasetArrayOutput ¶
func (o DatasetArrayOutput) ToDatasetArrayOutput() DatasetArrayOutput
func (DatasetArrayOutput) ToDatasetArrayOutputWithContext ¶
func (o DatasetArrayOutput) ToDatasetArrayOutputWithContext(ctx context.Context) DatasetArrayOutput
type DatasetInput ¶
type DatasetInput interface { pulumi.Input ToDatasetOutput() DatasetOutput ToDatasetOutputWithContext(ctx context.Context) DatasetOutput }
type DatasetMap ¶
type DatasetMap map[string]DatasetInput
func (DatasetMap) ElementType ¶
func (DatasetMap) ElementType() reflect.Type
func (DatasetMap) ToDatasetMapOutput ¶
func (i DatasetMap) ToDatasetMapOutput() DatasetMapOutput
func (DatasetMap) ToDatasetMapOutputWithContext ¶
func (i DatasetMap) ToDatasetMapOutputWithContext(ctx context.Context) DatasetMapOutput
type DatasetMapInput ¶
type DatasetMapInput interface { pulumi.Input ToDatasetMapOutput() DatasetMapOutput ToDatasetMapOutputWithContext(context.Context) DatasetMapOutput }
DatasetMapInput is an input type that accepts DatasetMap and DatasetMapOutput values. You can construct a concrete instance of `DatasetMapInput` via:
DatasetMap{ "key": DatasetArgs{...} }
type DatasetMapOutput ¶
type DatasetMapOutput struct{ *pulumi.OutputState }
func (DatasetMapOutput) ElementType ¶
func (DatasetMapOutput) ElementType() reflect.Type
func (DatasetMapOutput) MapIndex ¶
func (o DatasetMapOutput) MapIndex(k pulumi.StringInput) DatasetOutput
func (DatasetMapOutput) ToDatasetMapOutput ¶
func (o DatasetMapOutput) ToDatasetMapOutput() DatasetMapOutput
func (DatasetMapOutput) ToDatasetMapOutputWithContext ¶
func (o DatasetMapOutput) ToDatasetMapOutputWithContext(ctx context.Context) DatasetMapOutput
type DatasetOutput ¶
type DatasetOutput struct{ *pulumi.OutputState }
func (DatasetOutput) CreatedAt ¶
func (o DatasetOutput) CreatedAt() pulumi.StringOutput
ISO8601 formatted time the column was created
func (DatasetOutput) Description ¶
func (o DatasetOutput) Description() pulumi.StringPtrOutput
A longer description for dataset.
func (DatasetOutput) ElementType ¶
func (DatasetOutput) ElementType() reflect.Type
func (DatasetOutput) ExpandJsonDepth ¶
func (o DatasetOutput) ExpandJsonDepth() pulumi.IntPtrOutput
The maximum unpacking depth of nested JSON fields.
func (DatasetOutput) LastWrittenAt ¶
func (o DatasetOutput) LastWrittenAt() pulumi.StringOutput
ISO8601 formatted time the column was last written to (received event data)
func (DatasetOutput) Name ¶
func (o DatasetOutput) Name() pulumi.StringOutput
The name of the dataset.
func (DatasetOutput) Slug ¶
func (o DatasetOutput) Slug() pulumi.StringOutput
The slug of the dataset.
func (DatasetOutput) ToDatasetOutput ¶
func (o DatasetOutput) ToDatasetOutput() DatasetOutput
func (DatasetOutput) ToDatasetOutputWithContext ¶
func (o DatasetOutput) ToDatasetOutputWithContext(ctx context.Context) DatasetOutput
type DatasetState ¶
type DatasetState struct { // ISO8601 formatted time the column was created CreatedAt pulumi.StringPtrInput // A longer description for dataset. Description pulumi.StringPtrInput // The maximum unpacking depth of nested JSON fields. ExpandJsonDepth pulumi.IntPtrInput // ISO8601 formatted time the column was last written to (received event data) LastWrittenAt pulumi.StringPtrInput // The name of the dataset. Name pulumi.StringPtrInput // The slug of the dataset. Slug pulumi.StringPtrInput }
func (DatasetState) ElementType ¶
func (DatasetState) ElementType() reflect.Type
type DerivedColumn ¶
type DerivedColumn struct { pulumi.CustomResourceState // The name of the derived column. Must be unique per dataset. Alias pulumi.StringOutput `pulumi:"alias"` // The dataset this derived column is added to. Dataset pulumi.StringOutput `pulumi:"dataset"` // A description that is shown in the UI. Description pulumi.StringPtrOutput `pulumi:"description"` // The function of the derived column. See [Derived Column Syntax](https://docs.honeycomb.io/working-with-your-data/customizing-your-query/derived-columns/#derived-column-syntax). Expression pulumi.StringOutput `pulumi:"expression"` }
## # Resource: DerivedColumn
Creates a derived column. For more information about derived columns, check out [Calculate with derived columns](https://docs.honeycomb.io/working-with-your-data/customizing-your-query/derived-columns/).
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") _, err := honeycomb.NewDerivedColumn(ctx, "durationMsLog", &honeycomb.DerivedColumnArgs{ Alias: pulumi.String("duration_ms_log10"), Expression: pulumi.String(fmt.Sprintf("LOG10($duration_ms)")), Description: pulumi.String("LOG10 of duration_ms"), Dataset: pulumi.String(dataset), }) if err != nil { return err } return nil }) }
```
## Import
Derived columns can be imported using a combination of the dataset name and their alias, e.g.
```sh
$ pulumi import honeycomb:index/derivedColumn:DerivedColumn my_column my-dataset/duration_ms_log10
```
func GetDerivedColumn ¶
func GetDerivedColumn(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DerivedColumnState, opts ...pulumi.ResourceOption) (*DerivedColumn, error)
GetDerivedColumn gets an existing DerivedColumn 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 NewDerivedColumn ¶
func NewDerivedColumn(ctx *pulumi.Context, name string, args *DerivedColumnArgs, opts ...pulumi.ResourceOption) (*DerivedColumn, error)
NewDerivedColumn registers a new resource with the given unique name, arguments, and options.
func (*DerivedColumn) ElementType ¶
func (*DerivedColumn) ElementType() reflect.Type
func (*DerivedColumn) ToDerivedColumnOutput ¶
func (i *DerivedColumn) ToDerivedColumnOutput() DerivedColumnOutput
func (*DerivedColumn) ToDerivedColumnOutputWithContext ¶
func (i *DerivedColumn) ToDerivedColumnOutputWithContext(ctx context.Context) DerivedColumnOutput
type DerivedColumnArgs ¶
type DerivedColumnArgs struct { // The name of the derived column. Must be unique per dataset. Alias pulumi.StringInput // The dataset this derived column is added to. Dataset pulumi.StringInput // A description that is shown in the UI. Description pulumi.StringPtrInput // The function of the derived column. See [Derived Column Syntax](https://docs.honeycomb.io/working-with-your-data/customizing-your-query/derived-columns/#derived-column-syntax). Expression pulumi.StringInput }
The set of arguments for constructing a DerivedColumn resource.
func (DerivedColumnArgs) ElementType ¶
func (DerivedColumnArgs) ElementType() reflect.Type
type DerivedColumnArray ¶
type DerivedColumnArray []DerivedColumnInput
func (DerivedColumnArray) ElementType ¶
func (DerivedColumnArray) ElementType() reflect.Type
func (DerivedColumnArray) ToDerivedColumnArrayOutput ¶
func (i DerivedColumnArray) ToDerivedColumnArrayOutput() DerivedColumnArrayOutput
func (DerivedColumnArray) ToDerivedColumnArrayOutputWithContext ¶
func (i DerivedColumnArray) ToDerivedColumnArrayOutputWithContext(ctx context.Context) DerivedColumnArrayOutput
type DerivedColumnArrayInput ¶
type DerivedColumnArrayInput interface { pulumi.Input ToDerivedColumnArrayOutput() DerivedColumnArrayOutput ToDerivedColumnArrayOutputWithContext(context.Context) DerivedColumnArrayOutput }
DerivedColumnArrayInput is an input type that accepts DerivedColumnArray and DerivedColumnArrayOutput values. You can construct a concrete instance of `DerivedColumnArrayInput` via:
DerivedColumnArray{ DerivedColumnArgs{...} }
type DerivedColumnArrayOutput ¶
type DerivedColumnArrayOutput struct{ *pulumi.OutputState }
func (DerivedColumnArrayOutput) ElementType ¶
func (DerivedColumnArrayOutput) ElementType() reflect.Type
func (DerivedColumnArrayOutput) Index ¶
func (o DerivedColumnArrayOutput) Index(i pulumi.IntInput) DerivedColumnOutput
func (DerivedColumnArrayOutput) ToDerivedColumnArrayOutput ¶
func (o DerivedColumnArrayOutput) ToDerivedColumnArrayOutput() DerivedColumnArrayOutput
func (DerivedColumnArrayOutput) ToDerivedColumnArrayOutputWithContext ¶
func (o DerivedColumnArrayOutput) ToDerivedColumnArrayOutputWithContext(ctx context.Context) DerivedColumnArrayOutput
type DerivedColumnInput ¶
type DerivedColumnInput interface { pulumi.Input ToDerivedColumnOutput() DerivedColumnOutput ToDerivedColumnOutputWithContext(ctx context.Context) DerivedColumnOutput }
type DerivedColumnMap ¶
type DerivedColumnMap map[string]DerivedColumnInput
func (DerivedColumnMap) ElementType ¶
func (DerivedColumnMap) ElementType() reflect.Type
func (DerivedColumnMap) ToDerivedColumnMapOutput ¶
func (i DerivedColumnMap) ToDerivedColumnMapOutput() DerivedColumnMapOutput
func (DerivedColumnMap) ToDerivedColumnMapOutputWithContext ¶
func (i DerivedColumnMap) ToDerivedColumnMapOutputWithContext(ctx context.Context) DerivedColumnMapOutput
type DerivedColumnMapInput ¶
type DerivedColumnMapInput interface { pulumi.Input ToDerivedColumnMapOutput() DerivedColumnMapOutput ToDerivedColumnMapOutputWithContext(context.Context) DerivedColumnMapOutput }
DerivedColumnMapInput is an input type that accepts DerivedColumnMap and DerivedColumnMapOutput values. You can construct a concrete instance of `DerivedColumnMapInput` via:
DerivedColumnMap{ "key": DerivedColumnArgs{...} }
type DerivedColumnMapOutput ¶
type DerivedColumnMapOutput struct{ *pulumi.OutputState }
func (DerivedColumnMapOutput) ElementType ¶
func (DerivedColumnMapOutput) ElementType() reflect.Type
func (DerivedColumnMapOutput) MapIndex ¶
func (o DerivedColumnMapOutput) MapIndex(k pulumi.StringInput) DerivedColumnOutput
func (DerivedColumnMapOutput) ToDerivedColumnMapOutput ¶
func (o DerivedColumnMapOutput) ToDerivedColumnMapOutput() DerivedColumnMapOutput
func (DerivedColumnMapOutput) ToDerivedColumnMapOutputWithContext ¶
func (o DerivedColumnMapOutput) ToDerivedColumnMapOutputWithContext(ctx context.Context) DerivedColumnMapOutput
type DerivedColumnOutput ¶
type DerivedColumnOutput struct{ *pulumi.OutputState }
func (DerivedColumnOutput) Alias ¶
func (o DerivedColumnOutput) Alias() pulumi.StringOutput
The name of the derived column. Must be unique per dataset.
func (DerivedColumnOutput) Dataset ¶
func (o DerivedColumnOutput) Dataset() pulumi.StringOutput
The dataset this derived column is added to.
func (DerivedColumnOutput) Description ¶
func (o DerivedColumnOutput) Description() pulumi.StringPtrOutput
A description that is shown in the UI.
func (DerivedColumnOutput) ElementType ¶
func (DerivedColumnOutput) ElementType() reflect.Type
func (DerivedColumnOutput) Expression ¶
func (o DerivedColumnOutput) Expression() pulumi.StringOutput
The function of the derived column. See [Derived Column Syntax](https://docs.honeycomb.io/working-with-your-data/customizing-your-query/derived-columns/#derived-column-syntax).
func (DerivedColumnOutput) ToDerivedColumnOutput ¶
func (o DerivedColumnOutput) ToDerivedColumnOutput() DerivedColumnOutput
func (DerivedColumnOutput) ToDerivedColumnOutputWithContext ¶
func (o DerivedColumnOutput) ToDerivedColumnOutputWithContext(ctx context.Context) DerivedColumnOutput
type DerivedColumnState ¶
type DerivedColumnState struct { // The name of the derived column. Must be unique per dataset. Alias pulumi.StringPtrInput // The dataset this derived column is added to. Dataset pulumi.StringPtrInput // A description that is shown in the UI. Description pulumi.StringPtrInput // The function of the derived column. See [Derived Column Syntax](https://docs.honeycomb.io/working-with-your-data/customizing-your-query/derived-columns/#derived-column-syntax). Expression pulumi.StringPtrInput }
func (DerivedColumnState) ElementType ¶
func (DerivedColumnState) ElementType() reflect.Type
type EmailRecipient ¶
type EmailRecipient struct { pulumi.CustomResourceState // The email address to send the notification to. Address pulumi.StringOutput `pulumi:"address"` }
## # Resource: EmailRecipient
`EmailRecipient` allows you to define and manage an Email recipient that can be used by Triggers or BurnAlerts notifications.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := honeycomb.NewEmailRecipient(ctx, "alerts", &honeycomb.EmailRecipientArgs{ Address: pulumi.String("alerts@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
Email Recipients can be imported by their ID, e.g.
```sh
$ pulumi import honeycomb:index/emailRecipient:EmailRecipient my_recipient nx2zsegA0dZ
```
func GetEmailRecipient ¶
func GetEmailRecipient(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EmailRecipientState, opts ...pulumi.ResourceOption) (*EmailRecipient, error)
GetEmailRecipient gets an existing EmailRecipient 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 NewEmailRecipient ¶
func NewEmailRecipient(ctx *pulumi.Context, name string, args *EmailRecipientArgs, opts ...pulumi.ResourceOption) (*EmailRecipient, error)
NewEmailRecipient registers a new resource with the given unique name, arguments, and options.
func (*EmailRecipient) ElementType ¶
func (*EmailRecipient) ElementType() reflect.Type
func (*EmailRecipient) ToEmailRecipientOutput ¶
func (i *EmailRecipient) ToEmailRecipientOutput() EmailRecipientOutput
func (*EmailRecipient) ToEmailRecipientOutputWithContext ¶
func (i *EmailRecipient) ToEmailRecipientOutputWithContext(ctx context.Context) EmailRecipientOutput
type EmailRecipientArgs ¶
type EmailRecipientArgs struct { // The email address to send the notification to. Address pulumi.StringInput }
The set of arguments for constructing a EmailRecipient resource.
func (EmailRecipientArgs) ElementType ¶
func (EmailRecipientArgs) ElementType() reflect.Type
type EmailRecipientArray ¶
type EmailRecipientArray []EmailRecipientInput
func (EmailRecipientArray) ElementType ¶
func (EmailRecipientArray) ElementType() reflect.Type
func (EmailRecipientArray) ToEmailRecipientArrayOutput ¶
func (i EmailRecipientArray) ToEmailRecipientArrayOutput() EmailRecipientArrayOutput
func (EmailRecipientArray) ToEmailRecipientArrayOutputWithContext ¶
func (i EmailRecipientArray) ToEmailRecipientArrayOutputWithContext(ctx context.Context) EmailRecipientArrayOutput
type EmailRecipientArrayInput ¶
type EmailRecipientArrayInput interface { pulumi.Input ToEmailRecipientArrayOutput() EmailRecipientArrayOutput ToEmailRecipientArrayOutputWithContext(context.Context) EmailRecipientArrayOutput }
EmailRecipientArrayInput is an input type that accepts EmailRecipientArray and EmailRecipientArrayOutput values. You can construct a concrete instance of `EmailRecipientArrayInput` via:
EmailRecipientArray{ EmailRecipientArgs{...} }
type EmailRecipientArrayOutput ¶
type EmailRecipientArrayOutput struct{ *pulumi.OutputState }
func (EmailRecipientArrayOutput) ElementType ¶
func (EmailRecipientArrayOutput) ElementType() reflect.Type
func (EmailRecipientArrayOutput) Index ¶
func (o EmailRecipientArrayOutput) Index(i pulumi.IntInput) EmailRecipientOutput
func (EmailRecipientArrayOutput) ToEmailRecipientArrayOutput ¶
func (o EmailRecipientArrayOutput) ToEmailRecipientArrayOutput() EmailRecipientArrayOutput
func (EmailRecipientArrayOutput) ToEmailRecipientArrayOutputWithContext ¶
func (o EmailRecipientArrayOutput) ToEmailRecipientArrayOutputWithContext(ctx context.Context) EmailRecipientArrayOutput
type EmailRecipientInput ¶
type EmailRecipientInput interface { pulumi.Input ToEmailRecipientOutput() EmailRecipientOutput ToEmailRecipientOutputWithContext(ctx context.Context) EmailRecipientOutput }
type EmailRecipientMap ¶
type EmailRecipientMap map[string]EmailRecipientInput
func (EmailRecipientMap) ElementType ¶
func (EmailRecipientMap) ElementType() reflect.Type
func (EmailRecipientMap) ToEmailRecipientMapOutput ¶
func (i EmailRecipientMap) ToEmailRecipientMapOutput() EmailRecipientMapOutput
func (EmailRecipientMap) ToEmailRecipientMapOutputWithContext ¶
func (i EmailRecipientMap) ToEmailRecipientMapOutputWithContext(ctx context.Context) EmailRecipientMapOutput
type EmailRecipientMapInput ¶
type EmailRecipientMapInput interface { pulumi.Input ToEmailRecipientMapOutput() EmailRecipientMapOutput ToEmailRecipientMapOutputWithContext(context.Context) EmailRecipientMapOutput }
EmailRecipientMapInput is an input type that accepts EmailRecipientMap and EmailRecipientMapOutput values. You can construct a concrete instance of `EmailRecipientMapInput` via:
EmailRecipientMap{ "key": EmailRecipientArgs{...} }
type EmailRecipientMapOutput ¶
type EmailRecipientMapOutput struct{ *pulumi.OutputState }
func (EmailRecipientMapOutput) ElementType ¶
func (EmailRecipientMapOutput) ElementType() reflect.Type
func (EmailRecipientMapOutput) MapIndex ¶
func (o EmailRecipientMapOutput) MapIndex(k pulumi.StringInput) EmailRecipientOutput
func (EmailRecipientMapOutput) ToEmailRecipientMapOutput ¶
func (o EmailRecipientMapOutput) ToEmailRecipientMapOutput() EmailRecipientMapOutput
func (EmailRecipientMapOutput) ToEmailRecipientMapOutputWithContext ¶
func (o EmailRecipientMapOutput) ToEmailRecipientMapOutputWithContext(ctx context.Context) EmailRecipientMapOutput
type EmailRecipientOutput ¶
type EmailRecipientOutput struct{ *pulumi.OutputState }
func (EmailRecipientOutput) Address ¶
func (o EmailRecipientOutput) Address() pulumi.StringOutput
The email address to send the notification to.
func (EmailRecipientOutput) ElementType ¶
func (EmailRecipientOutput) ElementType() reflect.Type
func (EmailRecipientOutput) ToEmailRecipientOutput ¶
func (o EmailRecipientOutput) ToEmailRecipientOutput() EmailRecipientOutput
func (EmailRecipientOutput) ToEmailRecipientOutputWithContext ¶
func (o EmailRecipientOutput) ToEmailRecipientOutputWithContext(ctx context.Context) EmailRecipientOutput
type EmailRecipientState ¶
type EmailRecipientState struct { // The email address to send the notification to. Address pulumi.StringPtrInput }
func (EmailRecipientState) ElementType ¶
func (EmailRecipientState) ElementType() reflect.Type
type GetDatasetsArgs ¶
type GetDatasetsArgs struct { // Only return datasets starting with the given value. StartsWith *string `pulumi:"startsWith"` }
A collection of arguments for invoking GetDatasets.
type GetDatasetsOutputArgs ¶
type GetDatasetsOutputArgs struct { // Only return datasets starting with the given value. StartsWith pulumi.StringPtrInput `pulumi:"startsWith"` }
A collection of arguments for invoking GetDatasets.
func (GetDatasetsOutputArgs) ElementType ¶
func (GetDatasetsOutputArgs) ElementType() reflect.Type
type GetDatasetsResult ¶
type GetDatasetsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // a list of all the dataset names. Names []string `pulumi:"names"` // a list of all the dataset slugs. Slugs []string `pulumi:"slugs"` StartsWith *string `pulumi:"startsWith"` }
A collection of values returned by GetDatasets.
func GetDatasets ¶
func GetDatasets(ctx *pulumi.Context, args *GetDatasetsArgs, opts ...pulumi.InvokeOption) (*GetDatasetsResult, error)
## # Data Source: GetDatasets
The datasets data source allows the datasets of an account to be retrieved.
type GetDatasetsResultOutput ¶
type GetDatasetsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetDatasets.
func GetDatasetsOutput ¶
func GetDatasetsOutput(ctx *pulumi.Context, args GetDatasetsOutputArgs, opts ...pulumi.InvokeOption) GetDatasetsResultOutput
func (GetDatasetsResultOutput) ElementType ¶
func (GetDatasetsResultOutput) ElementType() reflect.Type
func (GetDatasetsResultOutput) Id ¶
func (o GetDatasetsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDatasetsResultOutput) Names ¶
func (o GetDatasetsResultOutput) Names() pulumi.StringArrayOutput
a list of all the dataset names.
func (GetDatasetsResultOutput) Slugs ¶
func (o GetDatasetsResultOutput) Slugs() pulumi.StringArrayOutput
a list of all the dataset slugs.
func (GetDatasetsResultOutput) StartsWith ¶
func (o GetDatasetsResultOutput) StartsWith() pulumi.StringPtrOutput
func (GetDatasetsResultOutput) ToGetDatasetsResultOutput ¶
func (o GetDatasetsResultOutput) ToGetDatasetsResultOutput() GetDatasetsResultOutput
func (GetDatasetsResultOutput) ToGetDatasetsResultOutputWithContext ¶
func (o GetDatasetsResultOutput) ToGetDatasetsResultOutputWithContext(ctx context.Context) GetDatasetsResultOutput
type GetQueryResultArgs ¶
type GetQueryResultArgs struct { // The dataset this query is associated with. Dataset string `pulumi:"dataset"` // A JSON object describing the query according to the Query Specification. While the JSON can be constructed manually, it is easiest to use the GetQuerySpecification data source. QueryJson string `pulumi:"queryJson"` }
A collection of arguments for invoking GetQueryResult.
type GetQueryResultOutputArgs ¶
type GetQueryResultOutputArgs struct { // The dataset this query is associated with. Dataset pulumi.StringInput `pulumi:"dataset"` // A JSON object describing the query according to the Query Specification. While the JSON can be constructed manually, it is easiest to use the GetQuerySpecification data source. QueryJson pulumi.StringInput `pulumi:"queryJson"` }
A collection of arguments for invoking GetQueryResult.
func (GetQueryResultOutputArgs) ElementType ¶
func (GetQueryResultOutputArgs) ElementType() reflect.Type
type GetQueryResultResult ¶
type GetQueryResultResult struct { Dataset string `pulumi:"dataset"` GraphImageUrl string `pulumi:"graphImageUrl"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ID of the Query created and executed to obtain the result. QueryId string `pulumi:"queryId"` QueryJson string `pulumi:"queryJson"` // The permalink to the executed query's results. QueryUrl string `pulumi:"queryUrl"` Results []map[string]interface{} `pulumi:"results"` }
A collection of values returned by GetQueryResult.
func GetQueryResult ¶
func GetQueryResult(ctx *pulumi.Context, args *GetQueryResultArgs, opts ...pulumi.InvokeOption) (*GetQueryResultResult, error)
type GetQueryResultResultOutput ¶
type GetQueryResultResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetQueryResult.
func GetQueryResultOutput ¶
func GetQueryResultOutput(ctx *pulumi.Context, args GetQueryResultOutputArgs, opts ...pulumi.InvokeOption) GetQueryResultResultOutput
func (GetQueryResultResultOutput) Dataset ¶
func (o GetQueryResultResultOutput) Dataset() pulumi.StringOutput
func (GetQueryResultResultOutput) ElementType ¶
func (GetQueryResultResultOutput) ElementType() reflect.Type
func (GetQueryResultResultOutput) GraphImageUrl ¶
func (o GetQueryResultResultOutput) GraphImageUrl() pulumi.StringOutput
func (GetQueryResultResultOutput) Id ¶
func (o GetQueryResultResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetQueryResultResultOutput) QueryId ¶
func (o GetQueryResultResultOutput) QueryId() pulumi.StringOutput
The ID of the Query created and executed to obtain the result.
func (GetQueryResultResultOutput) QueryJson ¶
func (o GetQueryResultResultOutput) QueryJson() pulumi.StringOutput
func (GetQueryResultResultOutput) QueryUrl ¶
func (o GetQueryResultResultOutput) QueryUrl() pulumi.StringOutput
The permalink to the executed query's results.
func (GetQueryResultResultOutput) Results ¶
func (o GetQueryResultResultOutput) Results() pulumi.MapArrayOutput
func (GetQueryResultResultOutput) ToGetQueryResultResultOutput ¶
func (o GetQueryResultResultOutput) ToGetQueryResultResultOutput() GetQueryResultResultOutput
func (GetQueryResultResultOutput) ToGetQueryResultResultOutputWithContext ¶
func (o GetQueryResultResultOutput) ToGetQueryResultResultOutputWithContext(ctx context.Context) GetQueryResultResultOutput
type GetQuerySpecificationArgs ¶
type GetQuerySpecificationArgs struct { // A list of fields to group by. Breakdowns []string `pulumi:"breakdowns"` // Zero or more configuration blocks (described below) with the calculations that should be displayed. If no calculations are specified, `COUNT` will be used. Calculations []GetQuerySpecificationCalculation `pulumi:"calculations"` // The absolute end time of the query in Unix Time (= seconds since epoch). EndTime *int `pulumi:"endTime"` // How to combine multiple filters, either `AND` (default) or `OR`. FilterCombination *string `pulumi:"filterCombination"` // Zero or more configuration blocks (described below) with the filters that should be applied. Filters []GetQuerySpecificationFilter `pulumi:"filters"` // The time resolution of the query’s graph, in seconds. Valid values must be in between the query’s time range /10 at maximum, and /1000 at minimum. Granularity *int `pulumi:"granularity"` // Zero or more filters used to restrict returned groups in the query result. Havings []GetQuerySpecificationHaving `pulumi:"havings"` // The maximum number of query results, must be between 1 and 1000. Limit *int `pulumi:"limit"` // Zero or more configuration blocks (described below) describing how to order the query results. Each term must appear in either `calculation` or `breakdowns`. Orders []GetQuerySpecificationOrder `pulumi:"orders"` // The absolute start time of the query in Unix Time (= seconds since epoch). StartTime *int `pulumi:"startTime"` // The time range of the query in seconds, defaults to two hours. TimeRange *int `pulumi:"timeRange"` }
A collection of arguments for invoking GetQuerySpecification.
type GetQuerySpecificationCalculation ¶
type GetQuerySpecificationCalculation struct { // The column to apply the operator to, not needed with `COUNT` or `CONCURRENCY`. Column *string `pulumi:"column"` // The operator to apply, see the supported list of calculation operators at [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators). Op string `pulumi:"op"` }
type GetQuerySpecificationCalculationArgs ¶
type GetQuerySpecificationCalculationArgs struct { // The column to apply the operator to, not needed with `COUNT` or `CONCURRENCY`. Column pulumi.StringPtrInput `pulumi:"column"` // The operator to apply, see the supported list of calculation operators at [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators). Op pulumi.StringInput `pulumi:"op"` }
func (GetQuerySpecificationCalculationArgs) ElementType ¶
func (GetQuerySpecificationCalculationArgs) ElementType() reflect.Type
func (GetQuerySpecificationCalculationArgs) ToGetQuerySpecificationCalculationOutput ¶
func (i GetQuerySpecificationCalculationArgs) ToGetQuerySpecificationCalculationOutput() GetQuerySpecificationCalculationOutput
func (GetQuerySpecificationCalculationArgs) ToGetQuerySpecificationCalculationOutputWithContext ¶
func (i GetQuerySpecificationCalculationArgs) ToGetQuerySpecificationCalculationOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationOutput
type GetQuerySpecificationCalculationArray ¶
type GetQuerySpecificationCalculationArray []GetQuerySpecificationCalculationInput
func (GetQuerySpecificationCalculationArray) ElementType ¶
func (GetQuerySpecificationCalculationArray) ElementType() reflect.Type
func (GetQuerySpecificationCalculationArray) ToGetQuerySpecificationCalculationArrayOutput ¶
func (i GetQuerySpecificationCalculationArray) ToGetQuerySpecificationCalculationArrayOutput() GetQuerySpecificationCalculationArrayOutput
func (GetQuerySpecificationCalculationArray) ToGetQuerySpecificationCalculationArrayOutputWithContext ¶
func (i GetQuerySpecificationCalculationArray) ToGetQuerySpecificationCalculationArrayOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationArrayOutput
type GetQuerySpecificationCalculationArrayInput ¶
type GetQuerySpecificationCalculationArrayInput interface { pulumi.Input ToGetQuerySpecificationCalculationArrayOutput() GetQuerySpecificationCalculationArrayOutput ToGetQuerySpecificationCalculationArrayOutputWithContext(context.Context) GetQuerySpecificationCalculationArrayOutput }
GetQuerySpecificationCalculationArrayInput is an input type that accepts GetQuerySpecificationCalculationArray and GetQuerySpecificationCalculationArrayOutput values. You can construct a concrete instance of `GetQuerySpecificationCalculationArrayInput` via:
GetQuerySpecificationCalculationArray{ GetQuerySpecificationCalculationArgs{...} }
type GetQuerySpecificationCalculationArrayOutput ¶
type GetQuerySpecificationCalculationArrayOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationCalculationArrayOutput) ElementType ¶
func (GetQuerySpecificationCalculationArrayOutput) ElementType() reflect.Type
func (GetQuerySpecificationCalculationArrayOutput) ToGetQuerySpecificationCalculationArrayOutput ¶
func (o GetQuerySpecificationCalculationArrayOutput) ToGetQuerySpecificationCalculationArrayOutput() GetQuerySpecificationCalculationArrayOutput
func (GetQuerySpecificationCalculationArrayOutput) ToGetQuerySpecificationCalculationArrayOutputWithContext ¶
func (o GetQuerySpecificationCalculationArrayOutput) ToGetQuerySpecificationCalculationArrayOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationArrayOutput
type GetQuerySpecificationCalculationInput ¶
type GetQuerySpecificationCalculationInput interface { pulumi.Input ToGetQuerySpecificationCalculationOutput() GetQuerySpecificationCalculationOutput ToGetQuerySpecificationCalculationOutputWithContext(context.Context) GetQuerySpecificationCalculationOutput }
GetQuerySpecificationCalculationInput is an input type that accepts GetQuerySpecificationCalculationArgs and GetQuerySpecificationCalculationOutput values. You can construct a concrete instance of `GetQuerySpecificationCalculationInput` via:
GetQuerySpecificationCalculationArgs{...}
type GetQuerySpecificationCalculationOutput ¶
type GetQuerySpecificationCalculationOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationCalculationOutput) Column ¶
func (o GetQuerySpecificationCalculationOutput) Column() pulumi.StringPtrOutput
The column to apply the operator to, not needed with `COUNT` or `CONCURRENCY`.
func (GetQuerySpecificationCalculationOutput) ElementType ¶
func (GetQuerySpecificationCalculationOutput) ElementType() reflect.Type
func (GetQuerySpecificationCalculationOutput) Op ¶
func (o GetQuerySpecificationCalculationOutput) Op() pulumi.StringOutput
The operator to apply, see the supported list of calculation operators at [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators).
func (GetQuerySpecificationCalculationOutput) ToGetQuerySpecificationCalculationOutput ¶
func (o GetQuerySpecificationCalculationOutput) ToGetQuerySpecificationCalculationOutput() GetQuerySpecificationCalculationOutput
func (GetQuerySpecificationCalculationOutput) ToGetQuerySpecificationCalculationOutputWithContext ¶
func (o GetQuerySpecificationCalculationOutput) ToGetQuerySpecificationCalculationOutputWithContext(ctx context.Context) GetQuerySpecificationCalculationOutput
type GetQuerySpecificationFilter ¶
type GetQuerySpecificationFilter struct { // The column to apply the filter to. Column string `pulumi:"column"` // The operator to apply, see the supported list of filter operators at [Filter Operators](https://docs.honeycomb.io/api/query-specification/#filter-operators). Not all operators require a value. Op string `pulumi:"op"` // The value used for the filter. Not needed if op is `exists`, `not-exists`, `in` or `not-in`. Mutually exclusive with the other `value_*` options. Value *string `pulumi:"value"` // Deprecated: use 'value' instead. The value used for the filter when the column is a boolean. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_boolean` is discouraged and will fail to plan if using 'false'. Use of `value` is encouraged. ValueBoolean *bool `pulumi:"valueBoolean"` // Deprecated: use 'value' instead. The value used for the filter when the column is a float. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_float` is discouraged and will fail to plan if using '0'. Use of `value` is encouraged. ValueFloat *float64 `pulumi:"valueFloat"` // Deprecated: use 'value' instead. The value used for the filter when the column is an integer. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_integer` is discouraged and will fail to plan if using '0'. Use of `value` is encouraged. ValueInteger *int `pulumi:"valueInteger"` // Deprecated: use 'value' instead. The value used for the filter when the column is a string. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_string` is discouraged and will fail to plan if using the empty string. Use of `value` is encouraged. ValueString *string `pulumi:"valueString"` }
type GetQuerySpecificationFilterArgs ¶
type GetQuerySpecificationFilterArgs struct { // The column to apply the filter to. Column pulumi.StringInput `pulumi:"column"` // The operator to apply, see the supported list of filter operators at [Filter Operators](https://docs.honeycomb.io/api/query-specification/#filter-operators). Not all operators require a value. Op pulumi.StringInput `pulumi:"op"` // The value used for the filter. Not needed if op is `exists`, `not-exists`, `in` or `not-in`. Mutually exclusive with the other `value_*` options. Value pulumi.StringPtrInput `pulumi:"value"` // Deprecated: use 'value' instead. The value used for the filter when the column is a boolean. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_boolean` is discouraged and will fail to plan if using 'false'. Use of `value` is encouraged. ValueBoolean pulumi.BoolPtrInput `pulumi:"valueBoolean"` // Deprecated: use 'value' instead. The value used for the filter when the column is a float. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_float` is discouraged and will fail to plan if using '0'. Use of `value` is encouraged. ValueFloat pulumi.Float64PtrInput `pulumi:"valueFloat"` // Deprecated: use 'value' instead. The value used for the filter when the column is an integer. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_integer` is discouraged and will fail to plan if using '0'. Use of `value` is encouraged. ValueInteger pulumi.IntPtrInput `pulumi:"valueInteger"` // Deprecated: use 'value' instead. The value used for the filter when the column is a string. Mutually exclusive with `value` and the other `value_*` options. // // Deprecated: Use of attribute `value_string` is discouraged and will fail to plan if using the empty string. Use of `value` is encouraged. ValueString pulumi.StringPtrInput `pulumi:"valueString"` }
func (GetQuerySpecificationFilterArgs) ElementType ¶
func (GetQuerySpecificationFilterArgs) ElementType() reflect.Type
func (GetQuerySpecificationFilterArgs) ToGetQuerySpecificationFilterOutput ¶
func (i GetQuerySpecificationFilterArgs) ToGetQuerySpecificationFilterOutput() GetQuerySpecificationFilterOutput
func (GetQuerySpecificationFilterArgs) ToGetQuerySpecificationFilterOutputWithContext ¶
func (i GetQuerySpecificationFilterArgs) ToGetQuerySpecificationFilterOutputWithContext(ctx context.Context) GetQuerySpecificationFilterOutput
type GetQuerySpecificationFilterArray ¶
type GetQuerySpecificationFilterArray []GetQuerySpecificationFilterInput
func (GetQuerySpecificationFilterArray) ElementType ¶
func (GetQuerySpecificationFilterArray) ElementType() reflect.Type
func (GetQuerySpecificationFilterArray) ToGetQuerySpecificationFilterArrayOutput ¶
func (i GetQuerySpecificationFilterArray) ToGetQuerySpecificationFilterArrayOutput() GetQuerySpecificationFilterArrayOutput
func (GetQuerySpecificationFilterArray) ToGetQuerySpecificationFilterArrayOutputWithContext ¶
func (i GetQuerySpecificationFilterArray) ToGetQuerySpecificationFilterArrayOutputWithContext(ctx context.Context) GetQuerySpecificationFilterArrayOutput
type GetQuerySpecificationFilterArrayInput ¶
type GetQuerySpecificationFilterArrayInput interface { pulumi.Input ToGetQuerySpecificationFilterArrayOutput() GetQuerySpecificationFilterArrayOutput ToGetQuerySpecificationFilterArrayOutputWithContext(context.Context) GetQuerySpecificationFilterArrayOutput }
GetQuerySpecificationFilterArrayInput is an input type that accepts GetQuerySpecificationFilterArray and GetQuerySpecificationFilterArrayOutput values. You can construct a concrete instance of `GetQuerySpecificationFilterArrayInput` via:
GetQuerySpecificationFilterArray{ GetQuerySpecificationFilterArgs{...} }
type GetQuerySpecificationFilterArrayOutput ¶
type GetQuerySpecificationFilterArrayOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationFilterArrayOutput) ElementType ¶
func (GetQuerySpecificationFilterArrayOutput) ElementType() reflect.Type
func (GetQuerySpecificationFilterArrayOutput) ToGetQuerySpecificationFilterArrayOutput ¶
func (o GetQuerySpecificationFilterArrayOutput) ToGetQuerySpecificationFilterArrayOutput() GetQuerySpecificationFilterArrayOutput
func (GetQuerySpecificationFilterArrayOutput) ToGetQuerySpecificationFilterArrayOutputWithContext ¶
func (o GetQuerySpecificationFilterArrayOutput) ToGetQuerySpecificationFilterArrayOutputWithContext(ctx context.Context) GetQuerySpecificationFilterArrayOutput
type GetQuerySpecificationFilterInput ¶
type GetQuerySpecificationFilterInput interface { pulumi.Input ToGetQuerySpecificationFilterOutput() GetQuerySpecificationFilterOutput ToGetQuerySpecificationFilterOutputWithContext(context.Context) GetQuerySpecificationFilterOutput }
GetQuerySpecificationFilterInput is an input type that accepts GetQuerySpecificationFilterArgs and GetQuerySpecificationFilterOutput values. You can construct a concrete instance of `GetQuerySpecificationFilterInput` via:
GetQuerySpecificationFilterArgs{...}
type GetQuerySpecificationFilterOutput ¶
type GetQuerySpecificationFilterOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationFilterOutput) Column ¶
func (o GetQuerySpecificationFilterOutput) Column() pulumi.StringOutput
The column to apply the filter to.
func (GetQuerySpecificationFilterOutput) ElementType ¶
func (GetQuerySpecificationFilterOutput) ElementType() reflect.Type
func (GetQuerySpecificationFilterOutput) Op ¶
func (o GetQuerySpecificationFilterOutput) Op() pulumi.StringOutput
The operator to apply, see the supported list of filter operators at [Filter Operators](https://docs.honeycomb.io/api/query-specification/#filter-operators). Not all operators require a value.
func (GetQuerySpecificationFilterOutput) ToGetQuerySpecificationFilterOutput ¶
func (o GetQuerySpecificationFilterOutput) ToGetQuerySpecificationFilterOutput() GetQuerySpecificationFilterOutput
func (GetQuerySpecificationFilterOutput) ToGetQuerySpecificationFilterOutputWithContext ¶
func (o GetQuerySpecificationFilterOutput) ToGetQuerySpecificationFilterOutputWithContext(ctx context.Context) GetQuerySpecificationFilterOutput
func (GetQuerySpecificationFilterOutput) Value ¶
func (o GetQuerySpecificationFilterOutput) Value() pulumi.StringPtrOutput
The value used for the filter. Not needed if op is `exists`, `not-exists`, `in` or `not-in`. Mutually exclusive with the other `value_*` options.
func (GetQuerySpecificationFilterOutput) ValueBoolean
deprecated
func (o GetQuerySpecificationFilterOutput) ValueBoolean() pulumi.BoolPtrOutput
Deprecated: use 'value' instead. The value used for the filter when the column is a boolean. Mutually exclusive with `value` and the other `value_*` options.
Deprecated: Use of attribute `value_boolean` is discouraged and will fail to plan if using 'false'. Use of `value` is encouraged.
func (GetQuerySpecificationFilterOutput) ValueFloat
deprecated
func (o GetQuerySpecificationFilterOutput) ValueFloat() pulumi.Float64PtrOutput
Deprecated: use 'value' instead. The value used for the filter when the column is a float. Mutually exclusive with `value` and the other `value_*` options.
Deprecated: Use of attribute `value_float` is discouraged and will fail to plan if using '0'. Use of `value` is encouraged.
func (GetQuerySpecificationFilterOutput) ValueInteger
deprecated
func (o GetQuerySpecificationFilterOutput) ValueInteger() pulumi.IntPtrOutput
Deprecated: use 'value' instead. The value used for the filter when the column is an integer. Mutually exclusive with `value` and the other `value_*` options.
Deprecated: Use of attribute `value_integer` is discouraged and will fail to plan if using '0'. Use of `value` is encouraged.
func (GetQuerySpecificationFilterOutput) ValueString
deprecated
func (o GetQuerySpecificationFilterOutput) ValueString() pulumi.StringPtrOutput
Deprecated: use 'value' instead. The value used for the filter when the column is a string. Mutually exclusive with `value` and the other `value_*` options.
Deprecated: Use of attribute `value_string` is discouraged and will fail to plan if using the empty string. Use of `value` is encouraged.
type GetQuerySpecificationHaving ¶
type GetQuerySpecificationHaving struct { // The calculation operator to apply, supports all of the [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators) with the exception of `HEATMAP`. CalculateOp string `pulumi:"calculateOp"` // The column to apply the `calculateOp` to, not needed with `COUNT` or `CONCURRENCY`. Column *string `pulumi:"column"` // The operator to apply to filter the query results. One of `=`, `!=`, `>`, `>=`, `<`, or `<=`. Op string `pulumi:"op"` // The value used with `op`. Currently assumed to be a number. Value float64 `pulumi:"value"` }
type GetQuerySpecificationHavingArgs ¶
type GetQuerySpecificationHavingArgs struct { // The calculation operator to apply, supports all of the [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators) with the exception of `HEATMAP`. CalculateOp pulumi.StringInput `pulumi:"calculateOp"` // The column to apply the `calculateOp` to, not needed with `COUNT` or `CONCURRENCY`. Column pulumi.StringPtrInput `pulumi:"column"` // The operator to apply to filter the query results. One of `=`, `!=`, `>`, `>=`, `<`, or `<=`. Op pulumi.StringInput `pulumi:"op"` // The value used with `op`. Currently assumed to be a number. Value pulumi.Float64Input `pulumi:"value"` }
func (GetQuerySpecificationHavingArgs) ElementType ¶
func (GetQuerySpecificationHavingArgs) ElementType() reflect.Type
func (GetQuerySpecificationHavingArgs) ToGetQuerySpecificationHavingOutput ¶
func (i GetQuerySpecificationHavingArgs) ToGetQuerySpecificationHavingOutput() GetQuerySpecificationHavingOutput
func (GetQuerySpecificationHavingArgs) ToGetQuerySpecificationHavingOutputWithContext ¶
func (i GetQuerySpecificationHavingArgs) ToGetQuerySpecificationHavingOutputWithContext(ctx context.Context) GetQuerySpecificationHavingOutput
type GetQuerySpecificationHavingArray ¶
type GetQuerySpecificationHavingArray []GetQuerySpecificationHavingInput
func (GetQuerySpecificationHavingArray) ElementType ¶
func (GetQuerySpecificationHavingArray) ElementType() reflect.Type
func (GetQuerySpecificationHavingArray) ToGetQuerySpecificationHavingArrayOutput ¶
func (i GetQuerySpecificationHavingArray) ToGetQuerySpecificationHavingArrayOutput() GetQuerySpecificationHavingArrayOutput
func (GetQuerySpecificationHavingArray) ToGetQuerySpecificationHavingArrayOutputWithContext ¶
func (i GetQuerySpecificationHavingArray) ToGetQuerySpecificationHavingArrayOutputWithContext(ctx context.Context) GetQuerySpecificationHavingArrayOutput
type GetQuerySpecificationHavingArrayInput ¶
type GetQuerySpecificationHavingArrayInput interface { pulumi.Input ToGetQuerySpecificationHavingArrayOutput() GetQuerySpecificationHavingArrayOutput ToGetQuerySpecificationHavingArrayOutputWithContext(context.Context) GetQuerySpecificationHavingArrayOutput }
GetQuerySpecificationHavingArrayInput is an input type that accepts GetQuerySpecificationHavingArray and GetQuerySpecificationHavingArrayOutput values. You can construct a concrete instance of `GetQuerySpecificationHavingArrayInput` via:
GetQuerySpecificationHavingArray{ GetQuerySpecificationHavingArgs{...} }
type GetQuerySpecificationHavingArrayOutput ¶
type GetQuerySpecificationHavingArrayOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationHavingArrayOutput) ElementType ¶
func (GetQuerySpecificationHavingArrayOutput) ElementType() reflect.Type
func (GetQuerySpecificationHavingArrayOutput) ToGetQuerySpecificationHavingArrayOutput ¶
func (o GetQuerySpecificationHavingArrayOutput) ToGetQuerySpecificationHavingArrayOutput() GetQuerySpecificationHavingArrayOutput
func (GetQuerySpecificationHavingArrayOutput) ToGetQuerySpecificationHavingArrayOutputWithContext ¶
func (o GetQuerySpecificationHavingArrayOutput) ToGetQuerySpecificationHavingArrayOutputWithContext(ctx context.Context) GetQuerySpecificationHavingArrayOutput
type GetQuerySpecificationHavingInput ¶
type GetQuerySpecificationHavingInput interface { pulumi.Input ToGetQuerySpecificationHavingOutput() GetQuerySpecificationHavingOutput ToGetQuerySpecificationHavingOutputWithContext(context.Context) GetQuerySpecificationHavingOutput }
GetQuerySpecificationHavingInput is an input type that accepts GetQuerySpecificationHavingArgs and GetQuerySpecificationHavingOutput values. You can construct a concrete instance of `GetQuerySpecificationHavingInput` via:
GetQuerySpecificationHavingArgs{...}
type GetQuerySpecificationHavingOutput ¶
type GetQuerySpecificationHavingOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationHavingOutput) CalculateOp ¶
func (o GetQuerySpecificationHavingOutput) CalculateOp() pulumi.StringOutput
The calculation operator to apply, supports all of the [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators) with the exception of `HEATMAP`.
func (GetQuerySpecificationHavingOutput) Column ¶
func (o GetQuerySpecificationHavingOutput) Column() pulumi.StringPtrOutput
The column to apply the `calculateOp` to, not needed with `COUNT` or `CONCURRENCY`.
func (GetQuerySpecificationHavingOutput) ElementType ¶
func (GetQuerySpecificationHavingOutput) ElementType() reflect.Type
func (GetQuerySpecificationHavingOutput) Op ¶
func (o GetQuerySpecificationHavingOutput) Op() pulumi.StringOutput
The operator to apply to filter the query results. One of `=`, `!=`, `>`, `>=`, `<`, or `<=`.
func (GetQuerySpecificationHavingOutput) ToGetQuerySpecificationHavingOutput ¶
func (o GetQuerySpecificationHavingOutput) ToGetQuerySpecificationHavingOutput() GetQuerySpecificationHavingOutput
func (GetQuerySpecificationHavingOutput) ToGetQuerySpecificationHavingOutputWithContext ¶
func (o GetQuerySpecificationHavingOutput) ToGetQuerySpecificationHavingOutputWithContext(ctx context.Context) GetQuerySpecificationHavingOutput
func (GetQuerySpecificationHavingOutput) Value ¶
func (o GetQuerySpecificationHavingOutput) Value() pulumi.Float64Output
The value used with `op`. Currently assumed to be a number.
type GetQuerySpecificationOrder ¶
type GetQuerySpecificationOrder struct { // Either a column present in `breakdown` or a column to `op` applies to. Column *string `pulumi:"column"` // The calculation operator to apply, see the supported list of calculation operators at [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators). Op *string `pulumi:"op"` // The sort direction, if set must be `ascending` or `descending`. Order *string `pulumi:"order"` }
type GetQuerySpecificationOrderArgs ¶
type GetQuerySpecificationOrderArgs struct { // Either a column present in `breakdown` or a column to `op` applies to. Column pulumi.StringPtrInput `pulumi:"column"` // The calculation operator to apply, see the supported list of calculation operators at [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators). Op pulumi.StringPtrInput `pulumi:"op"` // The sort direction, if set must be `ascending` or `descending`. Order pulumi.StringPtrInput `pulumi:"order"` }
func (GetQuerySpecificationOrderArgs) ElementType ¶
func (GetQuerySpecificationOrderArgs) ElementType() reflect.Type
func (GetQuerySpecificationOrderArgs) ToGetQuerySpecificationOrderOutput ¶
func (i GetQuerySpecificationOrderArgs) ToGetQuerySpecificationOrderOutput() GetQuerySpecificationOrderOutput
func (GetQuerySpecificationOrderArgs) ToGetQuerySpecificationOrderOutputWithContext ¶
func (i GetQuerySpecificationOrderArgs) ToGetQuerySpecificationOrderOutputWithContext(ctx context.Context) GetQuerySpecificationOrderOutput
type GetQuerySpecificationOrderArray ¶
type GetQuerySpecificationOrderArray []GetQuerySpecificationOrderInput
func (GetQuerySpecificationOrderArray) ElementType ¶
func (GetQuerySpecificationOrderArray) ElementType() reflect.Type
func (GetQuerySpecificationOrderArray) ToGetQuerySpecificationOrderArrayOutput ¶
func (i GetQuerySpecificationOrderArray) ToGetQuerySpecificationOrderArrayOutput() GetQuerySpecificationOrderArrayOutput
func (GetQuerySpecificationOrderArray) ToGetQuerySpecificationOrderArrayOutputWithContext ¶
func (i GetQuerySpecificationOrderArray) ToGetQuerySpecificationOrderArrayOutputWithContext(ctx context.Context) GetQuerySpecificationOrderArrayOutput
type GetQuerySpecificationOrderArrayInput ¶
type GetQuerySpecificationOrderArrayInput interface { pulumi.Input ToGetQuerySpecificationOrderArrayOutput() GetQuerySpecificationOrderArrayOutput ToGetQuerySpecificationOrderArrayOutputWithContext(context.Context) GetQuerySpecificationOrderArrayOutput }
GetQuerySpecificationOrderArrayInput is an input type that accepts GetQuerySpecificationOrderArray and GetQuerySpecificationOrderArrayOutput values. You can construct a concrete instance of `GetQuerySpecificationOrderArrayInput` via:
GetQuerySpecificationOrderArray{ GetQuerySpecificationOrderArgs{...} }
type GetQuerySpecificationOrderArrayOutput ¶
type GetQuerySpecificationOrderArrayOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationOrderArrayOutput) ElementType ¶
func (GetQuerySpecificationOrderArrayOutput) ElementType() reflect.Type
func (GetQuerySpecificationOrderArrayOutput) Index ¶
func (o GetQuerySpecificationOrderArrayOutput) Index(i pulumi.IntInput) GetQuerySpecificationOrderOutput
func (GetQuerySpecificationOrderArrayOutput) ToGetQuerySpecificationOrderArrayOutput ¶
func (o GetQuerySpecificationOrderArrayOutput) ToGetQuerySpecificationOrderArrayOutput() GetQuerySpecificationOrderArrayOutput
func (GetQuerySpecificationOrderArrayOutput) ToGetQuerySpecificationOrderArrayOutputWithContext ¶
func (o GetQuerySpecificationOrderArrayOutput) ToGetQuerySpecificationOrderArrayOutputWithContext(ctx context.Context) GetQuerySpecificationOrderArrayOutput
type GetQuerySpecificationOrderInput ¶
type GetQuerySpecificationOrderInput interface { pulumi.Input ToGetQuerySpecificationOrderOutput() GetQuerySpecificationOrderOutput ToGetQuerySpecificationOrderOutputWithContext(context.Context) GetQuerySpecificationOrderOutput }
GetQuerySpecificationOrderInput is an input type that accepts GetQuerySpecificationOrderArgs and GetQuerySpecificationOrderOutput values. You can construct a concrete instance of `GetQuerySpecificationOrderInput` via:
GetQuerySpecificationOrderArgs{...}
type GetQuerySpecificationOrderOutput ¶
type GetQuerySpecificationOrderOutput struct{ *pulumi.OutputState }
func (GetQuerySpecificationOrderOutput) Column ¶
func (o GetQuerySpecificationOrderOutput) Column() pulumi.StringPtrOutput
Either a column present in `breakdown` or a column to `op` applies to.
func (GetQuerySpecificationOrderOutput) ElementType ¶
func (GetQuerySpecificationOrderOutput) ElementType() reflect.Type
func (GetQuerySpecificationOrderOutput) Op ¶
func (o GetQuerySpecificationOrderOutput) Op() pulumi.StringPtrOutput
The calculation operator to apply, see the supported list of calculation operators at [Calculation Operators](https://docs.honeycomb.io/api/query-specification/#calculation-operators).
func (GetQuerySpecificationOrderOutput) Order ¶
func (o GetQuerySpecificationOrderOutput) Order() pulumi.StringPtrOutput
The sort direction, if set must be `ascending` or `descending`.
func (GetQuerySpecificationOrderOutput) ToGetQuerySpecificationOrderOutput ¶
func (o GetQuerySpecificationOrderOutput) ToGetQuerySpecificationOrderOutput() GetQuerySpecificationOrderOutput
func (GetQuerySpecificationOrderOutput) ToGetQuerySpecificationOrderOutputWithContext ¶
func (o GetQuerySpecificationOrderOutput) ToGetQuerySpecificationOrderOutputWithContext(ctx context.Context) GetQuerySpecificationOrderOutput
type GetQuerySpecificationOutputArgs ¶
type GetQuerySpecificationOutputArgs struct { // A list of fields to group by. Breakdowns pulumi.StringArrayInput `pulumi:"breakdowns"` // Zero or more configuration blocks (described below) with the calculations that should be displayed. If no calculations are specified, `COUNT` will be used. Calculations GetQuerySpecificationCalculationArrayInput `pulumi:"calculations"` // The absolute end time of the query in Unix Time (= seconds since epoch). EndTime pulumi.IntPtrInput `pulumi:"endTime"` // How to combine multiple filters, either `AND` (default) or `OR`. FilterCombination pulumi.StringPtrInput `pulumi:"filterCombination"` // Zero or more configuration blocks (described below) with the filters that should be applied. Filters GetQuerySpecificationFilterArrayInput `pulumi:"filters"` // The time resolution of the query’s graph, in seconds. Valid values must be in between the query’s time range /10 at maximum, and /1000 at minimum. Granularity pulumi.IntPtrInput `pulumi:"granularity"` // Zero or more filters used to restrict returned groups in the query result. Havings GetQuerySpecificationHavingArrayInput `pulumi:"havings"` // The maximum number of query results, must be between 1 and 1000. Limit pulumi.IntPtrInput `pulumi:"limit"` // Zero or more configuration blocks (described below) describing how to order the query results. Each term must appear in either `calculation` or `breakdowns`. Orders GetQuerySpecificationOrderArrayInput `pulumi:"orders"` // The absolute start time of the query in Unix Time (= seconds since epoch). StartTime pulumi.IntPtrInput `pulumi:"startTime"` // The time range of the query in seconds, defaults to two hours. TimeRange pulumi.IntPtrInput `pulumi:"timeRange"` }
A collection of arguments for invoking GetQuerySpecification.
func (GetQuerySpecificationOutputArgs) ElementType ¶
func (GetQuerySpecificationOutputArgs) ElementType() reflect.Type
type GetQuerySpecificationResult ¶
type GetQuerySpecificationResult struct { Breakdowns []string `pulumi:"breakdowns"` Calculations []GetQuerySpecificationCalculation `pulumi:"calculations"` EndTime *int `pulumi:"endTime"` FilterCombination *string `pulumi:"filterCombination"` Filters []GetQuerySpecificationFilter `pulumi:"filters"` Granularity *int `pulumi:"granularity"` Havings []GetQuerySpecificationHaving `pulumi:"havings"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // JSON representation of the query according to the [Query Specification](https://docs.honeycomb.io/api/query-specification/#fields-on-a-query-specification), can be used as input for other resources. Json string `pulumi:"json"` Limit *int `pulumi:"limit"` Orders []GetQuerySpecificationOrder `pulumi:"orders"` StartTime *int `pulumi:"startTime"` TimeRange *int `pulumi:"timeRange"` }
A collection of values returned by GetQuerySpecification.
func GetQuerySpecification ¶
func GetQuerySpecification(ctx *pulumi.Context, args *GetQuerySpecificationArgs, opts ...pulumi.InvokeOption) (*GetQuerySpecificationResult, error)
## # Data Source: GetQuerySpecification
Generates a [Query Specificaiton](https://docs.honeycomb.io/api/query-specification/) in JSON format.
This is a data source which can be used to construct a JSON representation of a Honeycomb [Query Specification](https://docs.honeycomb.io/api/query-specification/). The `json` attribute contains a serialized JSON representation which can be passed to the `queryJson` field of the `Query` resource for use in boards and triggers.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := honeycomb.GetQuerySpecification(ctx, &GetQuerySpecificationArgs{ Calculations: []GetQuerySpecificationCalculation{ GetQuerySpecificationCalculation{ Op: "AVG", Column: pulumi.StringRef("duration_ms"), }, }, Filters: []GetQuerySpecificationFilter{ GetQuerySpecificationFilter{ Column: "trace.parent_id", Op: "does-not-exist", }, GetQuerySpecificationFilter{ Column: "app.tenant", Op: "=", Value: pulumi.StringRef("ThatSpecialTenant"), }, }, FilterCombination: pulumi.StringRef("AND"), Breakdowns: []string{ "app.tenant", }, TimeRange: pulumi.IntRef(28800), }, nil) if err != nil { return err } ctx.Export("jsonQuery", example.Json) return nil }) }
```
type GetQuerySpecificationResultOutput ¶
type GetQuerySpecificationResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetQuerySpecification.
func GetQuerySpecificationOutput ¶
func GetQuerySpecificationOutput(ctx *pulumi.Context, args GetQuerySpecificationOutputArgs, opts ...pulumi.InvokeOption) GetQuerySpecificationResultOutput
func (GetQuerySpecificationResultOutput) Breakdowns ¶
func (o GetQuerySpecificationResultOutput) Breakdowns() pulumi.StringArrayOutput
func (GetQuerySpecificationResultOutput) Calculations ¶
func (o GetQuerySpecificationResultOutput) Calculations() GetQuerySpecificationCalculationArrayOutput
func (GetQuerySpecificationResultOutput) ElementType ¶
func (GetQuerySpecificationResultOutput) ElementType() reflect.Type
func (GetQuerySpecificationResultOutput) EndTime ¶
func (o GetQuerySpecificationResultOutput) EndTime() pulumi.IntPtrOutput
func (GetQuerySpecificationResultOutput) FilterCombination ¶
func (o GetQuerySpecificationResultOutput) FilterCombination() pulumi.StringPtrOutput
func (GetQuerySpecificationResultOutput) Filters ¶
func (o GetQuerySpecificationResultOutput) Filters() GetQuerySpecificationFilterArrayOutput
func (GetQuerySpecificationResultOutput) Granularity ¶
func (o GetQuerySpecificationResultOutput) Granularity() pulumi.IntPtrOutput
func (GetQuerySpecificationResultOutput) Havings ¶
func (o GetQuerySpecificationResultOutput) Havings() GetQuerySpecificationHavingArrayOutput
func (GetQuerySpecificationResultOutput) Id ¶
func (o GetQuerySpecificationResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetQuerySpecificationResultOutput) Json ¶
func (o GetQuerySpecificationResultOutput) Json() pulumi.StringOutput
JSON representation of the query according to the [Query Specification](https://docs.honeycomb.io/api/query-specification/#fields-on-a-query-specification), can be used as input for other resources.
func (GetQuerySpecificationResultOutput) Limit ¶
func (o GetQuerySpecificationResultOutput) Limit() pulumi.IntPtrOutput
func (GetQuerySpecificationResultOutput) Orders ¶
func (o GetQuerySpecificationResultOutput) Orders() GetQuerySpecificationOrderArrayOutput
func (GetQuerySpecificationResultOutput) StartTime ¶
func (o GetQuerySpecificationResultOutput) StartTime() pulumi.IntPtrOutput
func (GetQuerySpecificationResultOutput) TimeRange ¶
func (o GetQuerySpecificationResultOutput) TimeRange() pulumi.IntPtrOutput
func (GetQuerySpecificationResultOutput) ToGetQuerySpecificationResultOutput ¶
func (o GetQuerySpecificationResultOutput) ToGetQuerySpecificationResultOutput() GetQuerySpecificationResultOutput
func (GetQuerySpecificationResultOutput) ToGetQuerySpecificationResultOutputWithContext ¶
func (o GetQuerySpecificationResultOutput) ToGetQuerySpecificationResultOutputWithContext(ctx context.Context) GetQuerySpecificationResultOutput
type GetRecipientArgs ¶
type GetRecipientArgs struct { // Deprecated: recpients are now a Team-level construct. Any provided value will be ignored. // // Deprecated: Recpients are now a Team-level construct. The provided 'dataset' value is being ignored and should be removed. Dataset *string `pulumi:"dataset"` // a block to further filter recipients as described below. DetailFilter *GetRecipientDetailFilter `pulumi:"detailFilter"` // Deprecated: use `detailFilter` instead. The target of the recipient, this has another meaning depending on the type of recipient (see the table below). // // Deprecated: Use of 'target' has been replaced by 'detail_filter'. Target *string `pulumi:"target"` // The type of recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`. Type string `pulumi:"type"` }
A collection of arguments for invoking GetRecipient.
type GetRecipientDetailFilter ¶
type GetRecipientDetailFilter struct { // The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`. Name string `pulumi:"name"` // The value of the detail field to match on. Value *string `pulumi:"value"` // A regular expression string to apply to the value of the detail field to match on. ValueRegex *string `pulumi:"valueRegex"` }
type GetRecipientDetailFilterArgs ¶
type GetRecipientDetailFilterArgs struct { // The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`. Name pulumi.StringInput `pulumi:"name"` // The value of the detail field to match on. Value pulumi.StringPtrInput `pulumi:"value"` // A regular expression string to apply to the value of the detail field to match on. ValueRegex pulumi.StringPtrInput `pulumi:"valueRegex"` }
func (GetRecipientDetailFilterArgs) ElementType ¶
func (GetRecipientDetailFilterArgs) ElementType() reflect.Type
func (GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterOutput ¶
func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterOutput() GetRecipientDetailFilterOutput
func (GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterOutputWithContext ¶
func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterOutputWithContext(ctx context.Context) GetRecipientDetailFilterOutput
func (GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterPtrOutput ¶
func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterPtrOutput() GetRecipientDetailFilterPtrOutput
func (GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterPtrOutputWithContext ¶
func (i GetRecipientDetailFilterArgs) ToGetRecipientDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientDetailFilterPtrOutput
type GetRecipientDetailFilterInput ¶
type GetRecipientDetailFilterInput interface { pulumi.Input ToGetRecipientDetailFilterOutput() GetRecipientDetailFilterOutput ToGetRecipientDetailFilterOutputWithContext(context.Context) GetRecipientDetailFilterOutput }
GetRecipientDetailFilterInput is an input type that accepts GetRecipientDetailFilterArgs and GetRecipientDetailFilterOutput values. You can construct a concrete instance of `GetRecipientDetailFilterInput` via:
GetRecipientDetailFilterArgs{...}
type GetRecipientDetailFilterOutput ¶
type GetRecipientDetailFilterOutput struct{ *pulumi.OutputState }
func (GetRecipientDetailFilterOutput) ElementType ¶
func (GetRecipientDetailFilterOutput) ElementType() reflect.Type
func (GetRecipientDetailFilterOutput) Name ¶
func (o GetRecipientDetailFilterOutput) Name() pulumi.StringOutput
The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`.
func (GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterOutput ¶
func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterOutput() GetRecipientDetailFilterOutput
func (GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterOutputWithContext ¶
func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterOutputWithContext(ctx context.Context) GetRecipientDetailFilterOutput
func (GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterPtrOutput ¶
func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterPtrOutput() GetRecipientDetailFilterPtrOutput
func (GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterPtrOutputWithContext ¶
func (o GetRecipientDetailFilterOutput) ToGetRecipientDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientDetailFilterPtrOutput
func (GetRecipientDetailFilterOutput) Value ¶
func (o GetRecipientDetailFilterOutput) Value() pulumi.StringPtrOutput
The value of the detail field to match on.
func (GetRecipientDetailFilterOutput) ValueRegex ¶
func (o GetRecipientDetailFilterOutput) ValueRegex() pulumi.StringPtrOutput
A regular expression string to apply to the value of the detail field to match on.
type GetRecipientDetailFilterPtrInput ¶
type GetRecipientDetailFilterPtrInput interface { pulumi.Input ToGetRecipientDetailFilterPtrOutput() GetRecipientDetailFilterPtrOutput ToGetRecipientDetailFilterPtrOutputWithContext(context.Context) GetRecipientDetailFilterPtrOutput }
GetRecipientDetailFilterPtrInput is an input type that accepts GetRecipientDetailFilterArgs, GetRecipientDetailFilterPtr and GetRecipientDetailFilterPtrOutput values. You can construct a concrete instance of `GetRecipientDetailFilterPtrInput` via:
GetRecipientDetailFilterArgs{...} or: nil
func GetRecipientDetailFilterPtr ¶
func GetRecipientDetailFilterPtr(v *GetRecipientDetailFilterArgs) GetRecipientDetailFilterPtrInput
type GetRecipientDetailFilterPtrOutput ¶
type GetRecipientDetailFilterPtrOutput struct{ *pulumi.OutputState }
func (GetRecipientDetailFilterPtrOutput) Elem ¶
func (o GetRecipientDetailFilterPtrOutput) Elem() GetRecipientDetailFilterOutput
func (GetRecipientDetailFilterPtrOutput) ElementType ¶
func (GetRecipientDetailFilterPtrOutput) ElementType() reflect.Type
func (GetRecipientDetailFilterPtrOutput) Name ¶
func (o GetRecipientDetailFilterPtrOutput) Name() pulumi.StringPtrOutput
The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`.
func (GetRecipientDetailFilterPtrOutput) ToGetRecipientDetailFilterPtrOutput ¶
func (o GetRecipientDetailFilterPtrOutput) ToGetRecipientDetailFilterPtrOutput() GetRecipientDetailFilterPtrOutput
func (GetRecipientDetailFilterPtrOutput) ToGetRecipientDetailFilterPtrOutputWithContext ¶
func (o GetRecipientDetailFilterPtrOutput) ToGetRecipientDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientDetailFilterPtrOutput
func (GetRecipientDetailFilterPtrOutput) Value ¶
func (o GetRecipientDetailFilterPtrOutput) Value() pulumi.StringPtrOutput
The value of the detail field to match on.
func (GetRecipientDetailFilterPtrOutput) ValueRegex ¶
func (o GetRecipientDetailFilterPtrOutput) ValueRegex() pulumi.StringPtrOutput
A regular expression string to apply to the value of the detail field to match on.
type GetRecipientOutputArgs ¶
type GetRecipientOutputArgs struct { // Deprecated: recpients are now a Team-level construct. Any provided value will be ignored. // // Deprecated: Recpients are now a Team-level construct. The provided 'dataset' value is being ignored and should be removed. Dataset pulumi.StringPtrInput `pulumi:"dataset"` // a block to further filter recipients as described below. DetailFilter GetRecipientDetailFilterPtrInput `pulumi:"detailFilter"` // Deprecated: use `detailFilter` instead. The target of the recipient, this has another meaning depending on the type of recipient (see the table below). // // Deprecated: Use of 'target' has been replaced by 'detail_filter'. Target pulumi.StringPtrInput `pulumi:"target"` // The type of recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`. Type pulumi.StringInput `pulumi:"type"` }
A collection of arguments for invoking GetRecipient.
func (GetRecipientOutputArgs) ElementType ¶
func (GetRecipientOutputArgs) ElementType() reflect.Type
type GetRecipientResult ¶
type GetRecipientResult struct { // The email recipient's address -- if of type `email`. Address string `pulumi:"address"` // The Slack recipient's channel -- if of type `slack`. Channel string `pulumi:"channel"` // Deprecated: Recpients are now a Team-level construct. The provided 'dataset' value is being ignored and should be removed. Dataset *string `pulumi:"dataset"` DetailFilter *GetRecipientDetailFilter `pulumi:"detailFilter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (Sensitive) The PagerDuty recipient's integration key -- if of type `pagerduty`. IntegrationKey string `pulumi:"integrationKey"` // The PagerDuty recipient's inregration name -- if of type `pagerduty`. IntegrationName string `pulumi:"integrationName"` // The webhook recipient's name -- if of type `webhook`. Name string `pulumi:"name"` // (Sensitive) The webhook recipient's secret -- if of type `webhook`. Secret string `pulumi:"secret"` // Deprecated: Use of 'target' has been replaced by 'detail_filter'. Target *string `pulumi:"target"` Type string `pulumi:"type"` // The webhook recipient's URL - if of type `webhook`. Url string `pulumi:"url"` }
A collection of values returned by GetRecipient.
func GetRecipient ¶
func GetRecipient(ctx *pulumi.Context, args *GetRecipientArgs, opts ...pulumi.InvokeOption) (*GetRecipientResult, error)
type GetRecipientResultOutput ¶
type GetRecipientResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetRecipient.
func GetRecipientOutput ¶
func GetRecipientOutput(ctx *pulumi.Context, args GetRecipientOutputArgs, opts ...pulumi.InvokeOption) GetRecipientResultOutput
func (GetRecipientResultOutput) Address ¶
func (o GetRecipientResultOutput) Address() pulumi.StringOutput
The email recipient's address -- if of type `email`.
func (GetRecipientResultOutput) Channel ¶
func (o GetRecipientResultOutput) Channel() pulumi.StringOutput
The Slack recipient's channel -- if of type `slack`.
func (GetRecipientResultOutput) Dataset
deprecated
func (o GetRecipientResultOutput) Dataset() pulumi.StringPtrOutput
Deprecated: Recpients are now a Team-level construct. The provided 'dataset' value is being ignored and should be removed.
func (GetRecipientResultOutput) DetailFilter ¶
func (o GetRecipientResultOutput) DetailFilter() GetRecipientDetailFilterPtrOutput
func (GetRecipientResultOutput) ElementType ¶
func (GetRecipientResultOutput) ElementType() reflect.Type
func (GetRecipientResultOutput) Id ¶
func (o GetRecipientResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRecipientResultOutput) IntegrationKey ¶
func (o GetRecipientResultOutput) IntegrationKey() pulumi.StringOutput
(Sensitive) The PagerDuty recipient's integration key -- if of type `pagerduty`.
func (GetRecipientResultOutput) IntegrationName ¶
func (o GetRecipientResultOutput) IntegrationName() pulumi.StringOutput
The PagerDuty recipient's inregration name -- if of type `pagerduty`.
func (GetRecipientResultOutput) Name ¶
func (o GetRecipientResultOutput) Name() pulumi.StringOutput
The webhook recipient's name -- if of type `webhook`.
func (GetRecipientResultOutput) Secret ¶
func (o GetRecipientResultOutput) Secret() pulumi.StringOutput
(Sensitive) The webhook recipient's secret -- if of type `webhook`.
func (GetRecipientResultOutput) Target
deprecated
func (o GetRecipientResultOutput) Target() pulumi.StringPtrOutput
Deprecated: Use of 'target' has been replaced by 'detail_filter'.
func (GetRecipientResultOutput) ToGetRecipientResultOutput ¶
func (o GetRecipientResultOutput) ToGetRecipientResultOutput() GetRecipientResultOutput
func (GetRecipientResultOutput) ToGetRecipientResultOutputWithContext ¶
func (o GetRecipientResultOutput) ToGetRecipientResultOutputWithContext(ctx context.Context) GetRecipientResultOutput
func (GetRecipientResultOutput) Type ¶
func (o GetRecipientResultOutput) Type() pulumi.StringOutput
func (GetRecipientResultOutput) Url ¶
func (o GetRecipientResultOutput) Url() pulumi.StringOutput
The webhook recipient's URL - if of type `webhook`.
type GetRecipientsArgs ¶
type GetRecipientsArgs struct { // a block to further filter recipients as described below. `type` must be set when providing a filter. DetailFilter *GetRecipientsDetailFilter `pulumi:"detailFilter"` // The type of recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`. Type *string `pulumi:"type"` }
A collection of arguments for invoking GetRecipients.
type GetRecipientsDetailFilter ¶
type GetRecipientsDetailFilter struct { // The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`. Name string `pulumi:"name"` // The value of the detail field to match on. Value *string `pulumi:"value"` // A regular expression string to apply to the value of the detail field to match on. ValueRegex *string `pulumi:"valueRegex"` }
type GetRecipientsDetailFilterArgs ¶
type GetRecipientsDetailFilterArgs struct { // The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`. Name pulumi.StringInput `pulumi:"name"` // The value of the detail field to match on. Value pulumi.StringPtrInput `pulumi:"value"` // A regular expression string to apply to the value of the detail field to match on. ValueRegex pulumi.StringPtrInput `pulumi:"valueRegex"` }
func (GetRecipientsDetailFilterArgs) ElementType ¶
func (GetRecipientsDetailFilterArgs) ElementType() reflect.Type
func (GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterOutput ¶
func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterOutput() GetRecipientsDetailFilterOutput
func (GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterOutputWithContext ¶
func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterOutputWithContext(ctx context.Context) GetRecipientsDetailFilterOutput
func (GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterPtrOutput ¶
func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterPtrOutput() GetRecipientsDetailFilterPtrOutput
func (GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterPtrOutputWithContext ¶
func (i GetRecipientsDetailFilterArgs) ToGetRecipientsDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientsDetailFilterPtrOutput
type GetRecipientsDetailFilterInput ¶
type GetRecipientsDetailFilterInput interface { pulumi.Input ToGetRecipientsDetailFilterOutput() GetRecipientsDetailFilterOutput ToGetRecipientsDetailFilterOutputWithContext(context.Context) GetRecipientsDetailFilterOutput }
GetRecipientsDetailFilterInput is an input type that accepts GetRecipientsDetailFilterArgs and GetRecipientsDetailFilterOutput values. You can construct a concrete instance of `GetRecipientsDetailFilterInput` via:
GetRecipientsDetailFilterArgs{...}
type GetRecipientsDetailFilterOutput ¶
type GetRecipientsDetailFilterOutput struct{ *pulumi.OutputState }
func (GetRecipientsDetailFilterOutput) ElementType ¶
func (GetRecipientsDetailFilterOutput) ElementType() reflect.Type
func (GetRecipientsDetailFilterOutput) Name ¶
func (o GetRecipientsDetailFilterOutput) Name() pulumi.StringOutput
The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`.
func (GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterOutput ¶
func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterOutput() GetRecipientsDetailFilterOutput
func (GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterOutputWithContext ¶
func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterOutputWithContext(ctx context.Context) GetRecipientsDetailFilterOutput
func (GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterPtrOutput ¶
func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterPtrOutput() GetRecipientsDetailFilterPtrOutput
func (GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterPtrOutputWithContext ¶
func (o GetRecipientsDetailFilterOutput) ToGetRecipientsDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientsDetailFilterPtrOutput
func (GetRecipientsDetailFilterOutput) Value ¶
func (o GetRecipientsDetailFilterOutput) Value() pulumi.StringPtrOutput
The value of the detail field to match on.
func (GetRecipientsDetailFilterOutput) ValueRegex ¶
func (o GetRecipientsDetailFilterOutput) ValueRegex() pulumi.StringPtrOutput
A regular expression string to apply to the value of the detail field to match on.
type GetRecipientsDetailFilterPtrInput ¶
type GetRecipientsDetailFilterPtrInput interface { pulumi.Input ToGetRecipientsDetailFilterPtrOutput() GetRecipientsDetailFilterPtrOutput ToGetRecipientsDetailFilterPtrOutputWithContext(context.Context) GetRecipientsDetailFilterPtrOutput }
GetRecipientsDetailFilterPtrInput is an input type that accepts GetRecipientsDetailFilterArgs, GetRecipientsDetailFilterPtr and GetRecipientsDetailFilterPtrOutput values. You can construct a concrete instance of `GetRecipientsDetailFilterPtrInput` via:
GetRecipientsDetailFilterArgs{...} or: nil
func GetRecipientsDetailFilterPtr ¶
func GetRecipientsDetailFilterPtr(v *GetRecipientsDetailFilterArgs) GetRecipientsDetailFilterPtrInput
type GetRecipientsDetailFilterPtrOutput ¶
type GetRecipientsDetailFilterPtrOutput struct{ *pulumi.OutputState }
func (GetRecipientsDetailFilterPtrOutput) Elem ¶
func (o GetRecipientsDetailFilterPtrOutput) Elem() GetRecipientsDetailFilterOutput
func (GetRecipientsDetailFilterPtrOutput) ElementType ¶
func (GetRecipientsDetailFilterPtrOutput) ElementType() reflect.Type
func (GetRecipientsDetailFilterPtrOutput) Name ¶
func (o GetRecipientsDetailFilterPtrOutput) Name() pulumi.StringPtrOutput
The name of the detail field to filter by. Allowed values are `address`, `channel`, `name`, `integrationName`, and `url`.
func (GetRecipientsDetailFilterPtrOutput) ToGetRecipientsDetailFilterPtrOutput ¶
func (o GetRecipientsDetailFilterPtrOutput) ToGetRecipientsDetailFilterPtrOutput() GetRecipientsDetailFilterPtrOutput
func (GetRecipientsDetailFilterPtrOutput) ToGetRecipientsDetailFilterPtrOutputWithContext ¶
func (o GetRecipientsDetailFilterPtrOutput) ToGetRecipientsDetailFilterPtrOutputWithContext(ctx context.Context) GetRecipientsDetailFilterPtrOutput
func (GetRecipientsDetailFilterPtrOutput) Value ¶
func (o GetRecipientsDetailFilterPtrOutput) Value() pulumi.StringPtrOutput
The value of the detail field to match on.
func (GetRecipientsDetailFilterPtrOutput) ValueRegex ¶
func (o GetRecipientsDetailFilterPtrOutput) ValueRegex() pulumi.StringPtrOutput
A regular expression string to apply to the value of the detail field to match on.
type GetRecipientsOutputArgs ¶
type GetRecipientsOutputArgs struct { // a block to further filter recipients as described below. `type` must be set when providing a filter. DetailFilter GetRecipientsDetailFilterPtrInput `pulumi:"detailFilter"` // The type of recipient, allowed types are `email`, `pagerduty`, `slack` and `webhook`. Type pulumi.StringPtrInput `pulumi:"type"` }
A collection of arguments for invoking GetRecipients.
func (GetRecipientsOutputArgs) ElementType ¶
func (GetRecipientsOutputArgs) ElementType() reflect.Type
type GetRecipientsResult ¶
type GetRecipientsResult struct { DetailFilter *GetRecipientsDetailFilter `pulumi:"detailFilter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of all the recipient IDs found. Ids []string `pulumi:"ids"` Type *string `pulumi:"type"` }
A collection of values returned by GetRecipients.
func GetRecipients ¶
func GetRecipients(ctx *pulumi.Context, args *GetRecipientsArgs, opts ...pulumi.InvokeOption) (*GetRecipientsResult, error)
## # Data Source: GetRecipients
`GetRecipients` data source provides recipient IDs of recipients matching a set of criteria.
## Example Usage ### Get all recipients ```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := honeycomb.GetRecipients(ctx, nil, nil) if err != nil { return err } return nil }) }
``` ### Get all email recipients matching a specific domain ```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := honeycomb.GetRecipients(ctx, &GetRecipientsArgs{ DetailFilter: GetRecipientsDetailFilter{ Name: "address", ValueRegex: pulumi.StringRef(".*@example.com"), }, Type: pulumi.StringRef("email"), }, nil) if err != nil { return err } return nil }) }
```
type GetRecipientsResultOutput ¶
type GetRecipientsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetRecipients.
func GetRecipientsOutput ¶
func GetRecipientsOutput(ctx *pulumi.Context, args GetRecipientsOutputArgs, opts ...pulumi.InvokeOption) GetRecipientsResultOutput
func (GetRecipientsResultOutput) DetailFilter ¶
func (o GetRecipientsResultOutput) DetailFilter() GetRecipientsDetailFilterPtrOutput
func (GetRecipientsResultOutput) ElementType ¶
func (GetRecipientsResultOutput) ElementType() reflect.Type
func (GetRecipientsResultOutput) Id ¶
func (o GetRecipientsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRecipientsResultOutput) Ids ¶
func (o GetRecipientsResultOutput) Ids() pulumi.StringArrayOutput
A list of all the recipient IDs found.
func (GetRecipientsResultOutput) ToGetRecipientsResultOutput ¶
func (o GetRecipientsResultOutput) ToGetRecipientsResultOutput() GetRecipientsResultOutput
func (GetRecipientsResultOutput) ToGetRecipientsResultOutputWithContext ¶
func (o GetRecipientsResultOutput) ToGetRecipientsResultOutputWithContext(ctx context.Context) GetRecipientsResultOutput
func (GetRecipientsResultOutput) Type ¶
func (o GetRecipientsResultOutput) Type() pulumi.StringPtrOutput
type GetTriggerRecipientArgs ¶
type GetTriggerRecipientArgs struct { // Search through all triggers linked to this dataset. Dataset string `pulumi:"dataset"` // Target of the trigger, this has another meaning depending on the type of recipient (see the table below). Target *string `pulumi:"target"` // The type of recipient, allowed types are `email`, `marker`, `pagerduty`, `slack` and `webhook`. Type string `pulumi:"type"` }
A collection of arguments for invoking GetTriggerRecipient.
type GetTriggerRecipientOutputArgs ¶
type GetTriggerRecipientOutputArgs struct { // Search through all triggers linked to this dataset. Dataset pulumi.StringInput `pulumi:"dataset"` // Target of the trigger, this has another meaning depending on the type of recipient (see the table below). Target pulumi.StringPtrInput `pulumi:"target"` // The type of recipient, allowed types are `email`, `marker`, `pagerduty`, `slack` and `webhook`. Type pulumi.StringInput `pulumi:"type"` }
A collection of arguments for invoking GetTriggerRecipient.
func (GetTriggerRecipientOutputArgs) ElementType ¶
func (GetTriggerRecipientOutputArgs) ElementType() reflect.Type
type GetTriggerRecipientResult ¶
type GetTriggerRecipientResult struct { Dataset string `pulumi:"dataset"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Target *string `pulumi:"target"` Type string `pulumi:"type"` }
A collection of values returned by GetTriggerRecipient.
func GetTriggerRecipient ¶
func GetTriggerRecipient(ctx *pulumi.Context, args *GetTriggerRecipientArgs, opts ...pulumi.InvokeOption) (*GetTriggerRecipientResult, error)
## # Data Source: GetTriggerRecipient
Search the triggers of a dataset for a trigger recipient. The ID of the existing trigger recipient can be used when adding trigger recipients to new triggers.
> **Deprecated** Use the `GetRecipient` data source instead.
type GetTriggerRecipientResultOutput ¶
type GetTriggerRecipientResultOutput struct{ *pulumi.OutputState }
A collection of values returned by GetTriggerRecipient.
func GetTriggerRecipientOutput ¶
func GetTriggerRecipientOutput(ctx *pulumi.Context, args GetTriggerRecipientOutputArgs, opts ...pulumi.InvokeOption) GetTriggerRecipientResultOutput
func (GetTriggerRecipientResultOutput) Dataset ¶
func (o GetTriggerRecipientResultOutput) Dataset() pulumi.StringOutput
func (GetTriggerRecipientResultOutput) ElementType ¶
func (GetTriggerRecipientResultOutput) ElementType() reflect.Type
func (GetTriggerRecipientResultOutput) Id ¶
func (o GetTriggerRecipientResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTriggerRecipientResultOutput) Target ¶
func (o GetTriggerRecipientResultOutput) Target() pulumi.StringPtrOutput
func (GetTriggerRecipientResultOutput) ToGetTriggerRecipientResultOutput ¶
func (o GetTriggerRecipientResultOutput) ToGetTriggerRecipientResultOutput() GetTriggerRecipientResultOutput
func (GetTriggerRecipientResultOutput) ToGetTriggerRecipientResultOutputWithContext ¶
func (o GetTriggerRecipientResultOutput) ToGetTriggerRecipientResultOutputWithContext(ctx context.Context) GetTriggerRecipientResultOutput
func (GetTriggerRecipientResultOutput) Type ¶
func (o GetTriggerRecipientResultOutput) Type() pulumi.StringOutput
type Marker ¶
type Marker struct { pulumi.CustomResourceState // The dataset this marker is placed on. Dataset pulumi.StringOutput `pulumi:"dataset"` // The message on the marker. Message pulumi.StringPtrOutput `pulumi:"message"` // The type of the marker, Honeycomb.io can display markers in different colors depending on their type. Type pulumi.StringPtrOutput `pulumi:"type"` // A target for the Marker. If you click on the Marker text, it will take you to this URL. Url pulumi.StringPtrOutput `pulumi:"url"` }
## # Resource: Marker
Creates a marker. For more information about markers, check out [Annotate the timeline with Markers](https://docs.honeycomb.io/working-with-your-data/customizing-your-query/markers/).
> **Note** Destroying or replacing this resource will not delete the previously created marker. This is intentional to preserve the markers. At this time, it is not possible to remove markers using this provider.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") appVersion := cfg.Require("appVersion") _, err := honeycomb.NewMarker(ctx, "marker", &honeycomb.MarkerArgs{ Message: pulumi.String(fmt.Sprintf("deploy %v", appVersion)), Type: pulumi.String("deploy"), Url: pulumi.String("http://www.example.com/"), Dataset: pulumi.String(dataset), }) if err != nil { return err } return nil }) }
```
func GetMarker ¶
func GetMarker(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MarkerState, opts ...pulumi.ResourceOption) (*Marker, error)
GetMarker gets an existing Marker 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 NewMarker ¶
func NewMarker(ctx *pulumi.Context, name string, args *MarkerArgs, opts ...pulumi.ResourceOption) (*Marker, error)
NewMarker registers a new resource with the given unique name, arguments, and options.
func (*Marker) ElementType ¶
func (*Marker) ToMarkerOutput ¶
func (i *Marker) ToMarkerOutput() MarkerOutput
func (*Marker) ToMarkerOutputWithContext ¶
func (i *Marker) ToMarkerOutputWithContext(ctx context.Context) MarkerOutput
type MarkerArgs ¶
type MarkerArgs struct { // The dataset this marker is placed on. Dataset pulumi.StringInput // The message on the marker. Message pulumi.StringPtrInput // The type of the marker, Honeycomb.io can display markers in different colors depending on their type. Type pulumi.StringPtrInput // A target for the Marker. If you click on the Marker text, it will take you to this URL. Url pulumi.StringPtrInput }
The set of arguments for constructing a Marker resource.
func (MarkerArgs) ElementType ¶
func (MarkerArgs) ElementType() reflect.Type
type MarkerArray ¶
type MarkerArray []MarkerInput
func (MarkerArray) ElementType ¶
func (MarkerArray) ElementType() reflect.Type
func (MarkerArray) ToMarkerArrayOutput ¶
func (i MarkerArray) ToMarkerArrayOutput() MarkerArrayOutput
func (MarkerArray) ToMarkerArrayOutputWithContext ¶
func (i MarkerArray) ToMarkerArrayOutputWithContext(ctx context.Context) MarkerArrayOutput
type MarkerArrayInput ¶
type MarkerArrayInput interface { pulumi.Input ToMarkerArrayOutput() MarkerArrayOutput ToMarkerArrayOutputWithContext(context.Context) MarkerArrayOutput }
MarkerArrayInput is an input type that accepts MarkerArray and MarkerArrayOutput values. You can construct a concrete instance of `MarkerArrayInput` via:
MarkerArray{ MarkerArgs{...} }
type MarkerArrayOutput ¶
type MarkerArrayOutput struct{ *pulumi.OutputState }
func (MarkerArrayOutput) ElementType ¶
func (MarkerArrayOutput) ElementType() reflect.Type
func (MarkerArrayOutput) Index ¶
func (o MarkerArrayOutput) Index(i pulumi.IntInput) MarkerOutput
func (MarkerArrayOutput) ToMarkerArrayOutput ¶
func (o MarkerArrayOutput) ToMarkerArrayOutput() MarkerArrayOutput
func (MarkerArrayOutput) ToMarkerArrayOutputWithContext ¶
func (o MarkerArrayOutput) ToMarkerArrayOutputWithContext(ctx context.Context) MarkerArrayOutput
type MarkerInput ¶
type MarkerInput interface { pulumi.Input ToMarkerOutput() MarkerOutput ToMarkerOutputWithContext(ctx context.Context) MarkerOutput }
type MarkerMap ¶
type MarkerMap map[string]MarkerInput
func (MarkerMap) ElementType ¶
func (MarkerMap) ToMarkerMapOutput ¶
func (i MarkerMap) ToMarkerMapOutput() MarkerMapOutput
func (MarkerMap) ToMarkerMapOutputWithContext ¶
func (i MarkerMap) ToMarkerMapOutputWithContext(ctx context.Context) MarkerMapOutput
type MarkerMapInput ¶
type MarkerMapInput interface { pulumi.Input ToMarkerMapOutput() MarkerMapOutput ToMarkerMapOutputWithContext(context.Context) MarkerMapOutput }
MarkerMapInput is an input type that accepts MarkerMap and MarkerMapOutput values. You can construct a concrete instance of `MarkerMapInput` via:
MarkerMap{ "key": MarkerArgs{...} }
type MarkerMapOutput ¶
type MarkerMapOutput struct{ *pulumi.OutputState }
func (MarkerMapOutput) ElementType ¶
func (MarkerMapOutput) ElementType() reflect.Type
func (MarkerMapOutput) MapIndex ¶
func (o MarkerMapOutput) MapIndex(k pulumi.StringInput) MarkerOutput
func (MarkerMapOutput) ToMarkerMapOutput ¶
func (o MarkerMapOutput) ToMarkerMapOutput() MarkerMapOutput
func (MarkerMapOutput) ToMarkerMapOutputWithContext ¶
func (o MarkerMapOutput) ToMarkerMapOutputWithContext(ctx context.Context) MarkerMapOutput
type MarkerOutput ¶
type MarkerOutput struct{ *pulumi.OutputState }
func (MarkerOutput) Dataset ¶
func (o MarkerOutput) Dataset() pulumi.StringOutput
The dataset this marker is placed on.
func (MarkerOutput) ElementType ¶
func (MarkerOutput) ElementType() reflect.Type
func (MarkerOutput) Message ¶
func (o MarkerOutput) Message() pulumi.StringPtrOutput
The message on the marker.
func (MarkerOutput) ToMarkerOutput ¶
func (o MarkerOutput) ToMarkerOutput() MarkerOutput
func (MarkerOutput) ToMarkerOutputWithContext ¶
func (o MarkerOutput) ToMarkerOutputWithContext(ctx context.Context) MarkerOutput
func (MarkerOutput) Type ¶
func (o MarkerOutput) Type() pulumi.StringPtrOutput
The type of the marker, Honeycomb.io can display markers in different colors depending on their type.
func (MarkerOutput) Url ¶
func (o MarkerOutput) Url() pulumi.StringPtrOutput
A target for the Marker. If you click on the Marker text, it will take you to this URL.
type MarkerSetting ¶
type MarkerSetting struct { pulumi.CustomResourceState // The color set for the marker as a hex color code (e.g. `#DF4661`) Color pulumi.StringOutput `pulumi:"color"` // Timestamp when the marker setting was created. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // The dataset this marker setting is placed on. Dataset pulumi.StringOutput `pulumi:"dataset"` // The type of the marker setting, Honeycomb.io can display markers in different colors depending on their type. Type pulumi.StringOutput `pulumi:"type"` // Timestamp when the marker setting was last modified. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
## # Resource: MarkerSetting
Creates a marker setting. For more information about marker settings, check out the [Marker Settings API](https://docs.honeycomb.io/api/marker-settings/).
func GetMarkerSetting ¶
func GetMarkerSetting(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MarkerSettingState, opts ...pulumi.ResourceOption) (*MarkerSetting, error)
GetMarkerSetting gets an existing MarkerSetting 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 NewMarkerSetting ¶
func NewMarkerSetting(ctx *pulumi.Context, name string, args *MarkerSettingArgs, opts ...pulumi.ResourceOption) (*MarkerSetting, error)
NewMarkerSetting registers a new resource with the given unique name, arguments, and options.
func (*MarkerSetting) ElementType ¶
func (*MarkerSetting) ElementType() reflect.Type
func (*MarkerSetting) ToMarkerSettingOutput ¶
func (i *MarkerSetting) ToMarkerSettingOutput() MarkerSettingOutput
func (*MarkerSetting) ToMarkerSettingOutputWithContext ¶
func (i *MarkerSetting) ToMarkerSettingOutputWithContext(ctx context.Context) MarkerSettingOutput
type MarkerSettingArgs ¶
type MarkerSettingArgs struct { // The color set for the marker as a hex color code (e.g. `#DF4661`) Color pulumi.StringInput // The dataset this marker setting is placed on. Dataset pulumi.StringInput // The type of the marker setting, Honeycomb.io can display markers in different colors depending on their type. Type pulumi.StringInput }
The set of arguments for constructing a MarkerSetting resource.
func (MarkerSettingArgs) ElementType ¶
func (MarkerSettingArgs) ElementType() reflect.Type
type MarkerSettingArray ¶
type MarkerSettingArray []MarkerSettingInput
func (MarkerSettingArray) ElementType ¶
func (MarkerSettingArray) ElementType() reflect.Type
func (MarkerSettingArray) ToMarkerSettingArrayOutput ¶
func (i MarkerSettingArray) ToMarkerSettingArrayOutput() MarkerSettingArrayOutput
func (MarkerSettingArray) ToMarkerSettingArrayOutputWithContext ¶
func (i MarkerSettingArray) ToMarkerSettingArrayOutputWithContext(ctx context.Context) MarkerSettingArrayOutput
type MarkerSettingArrayInput ¶
type MarkerSettingArrayInput interface { pulumi.Input ToMarkerSettingArrayOutput() MarkerSettingArrayOutput ToMarkerSettingArrayOutputWithContext(context.Context) MarkerSettingArrayOutput }
MarkerSettingArrayInput is an input type that accepts MarkerSettingArray and MarkerSettingArrayOutput values. You can construct a concrete instance of `MarkerSettingArrayInput` via:
MarkerSettingArray{ MarkerSettingArgs{...} }
type MarkerSettingArrayOutput ¶
type MarkerSettingArrayOutput struct{ *pulumi.OutputState }
func (MarkerSettingArrayOutput) ElementType ¶
func (MarkerSettingArrayOutput) ElementType() reflect.Type
func (MarkerSettingArrayOutput) Index ¶
func (o MarkerSettingArrayOutput) Index(i pulumi.IntInput) MarkerSettingOutput
func (MarkerSettingArrayOutput) ToMarkerSettingArrayOutput ¶
func (o MarkerSettingArrayOutput) ToMarkerSettingArrayOutput() MarkerSettingArrayOutput
func (MarkerSettingArrayOutput) ToMarkerSettingArrayOutputWithContext ¶
func (o MarkerSettingArrayOutput) ToMarkerSettingArrayOutputWithContext(ctx context.Context) MarkerSettingArrayOutput
type MarkerSettingInput ¶
type MarkerSettingInput interface { pulumi.Input ToMarkerSettingOutput() MarkerSettingOutput ToMarkerSettingOutputWithContext(ctx context.Context) MarkerSettingOutput }
type MarkerSettingMap ¶
type MarkerSettingMap map[string]MarkerSettingInput
func (MarkerSettingMap) ElementType ¶
func (MarkerSettingMap) ElementType() reflect.Type
func (MarkerSettingMap) ToMarkerSettingMapOutput ¶
func (i MarkerSettingMap) ToMarkerSettingMapOutput() MarkerSettingMapOutput
func (MarkerSettingMap) ToMarkerSettingMapOutputWithContext ¶
func (i MarkerSettingMap) ToMarkerSettingMapOutputWithContext(ctx context.Context) MarkerSettingMapOutput
type MarkerSettingMapInput ¶
type MarkerSettingMapInput interface { pulumi.Input ToMarkerSettingMapOutput() MarkerSettingMapOutput ToMarkerSettingMapOutputWithContext(context.Context) MarkerSettingMapOutput }
MarkerSettingMapInput is an input type that accepts MarkerSettingMap and MarkerSettingMapOutput values. You can construct a concrete instance of `MarkerSettingMapInput` via:
MarkerSettingMap{ "key": MarkerSettingArgs{...} }
type MarkerSettingMapOutput ¶
type MarkerSettingMapOutput struct{ *pulumi.OutputState }
func (MarkerSettingMapOutput) ElementType ¶
func (MarkerSettingMapOutput) ElementType() reflect.Type
func (MarkerSettingMapOutput) MapIndex ¶
func (o MarkerSettingMapOutput) MapIndex(k pulumi.StringInput) MarkerSettingOutput
func (MarkerSettingMapOutput) ToMarkerSettingMapOutput ¶
func (o MarkerSettingMapOutput) ToMarkerSettingMapOutput() MarkerSettingMapOutput
func (MarkerSettingMapOutput) ToMarkerSettingMapOutputWithContext ¶
func (o MarkerSettingMapOutput) ToMarkerSettingMapOutputWithContext(ctx context.Context) MarkerSettingMapOutput
type MarkerSettingOutput ¶
type MarkerSettingOutput struct{ *pulumi.OutputState }
func (MarkerSettingOutput) Color ¶
func (o MarkerSettingOutput) Color() pulumi.StringOutput
The color set for the marker as a hex color code (e.g. `#DF4661`)
func (MarkerSettingOutput) CreatedAt ¶
func (o MarkerSettingOutput) CreatedAt() pulumi.StringOutput
Timestamp when the marker setting was created.
func (MarkerSettingOutput) Dataset ¶
func (o MarkerSettingOutput) Dataset() pulumi.StringOutput
The dataset this marker setting is placed on.
func (MarkerSettingOutput) ElementType ¶
func (MarkerSettingOutput) ElementType() reflect.Type
func (MarkerSettingOutput) ToMarkerSettingOutput ¶
func (o MarkerSettingOutput) ToMarkerSettingOutput() MarkerSettingOutput
func (MarkerSettingOutput) ToMarkerSettingOutputWithContext ¶
func (o MarkerSettingOutput) ToMarkerSettingOutputWithContext(ctx context.Context) MarkerSettingOutput
func (MarkerSettingOutput) Type ¶
func (o MarkerSettingOutput) Type() pulumi.StringOutput
The type of the marker setting, Honeycomb.io can display markers in different colors depending on their type.
func (MarkerSettingOutput) UpdatedAt ¶
func (o MarkerSettingOutput) UpdatedAt() pulumi.StringOutput
Timestamp when the marker setting was last modified.
type MarkerSettingState ¶
type MarkerSettingState struct { // The color set for the marker as a hex color code (e.g. `#DF4661`) Color pulumi.StringPtrInput // Timestamp when the marker setting was created. CreatedAt pulumi.StringPtrInput // The dataset this marker setting is placed on. Dataset pulumi.StringPtrInput // The type of the marker setting, Honeycomb.io can display markers in different colors depending on their type. Type pulumi.StringPtrInput // Timestamp when the marker setting was last modified. UpdatedAt pulumi.StringPtrInput }
func (MarkerSettingState) ElementType ¶
func (MarkerSettingState) ElementType() reflect.Type
type MarkerState ¶
type MarkerState struct { // The dataset this marker is placed on. Dataset pulumi.StringPtrInput // The message on the marker. Message pulumi.StringPtrInput // The type of the marker, Honeycomb.io can display markers in different colors depending on their type. Type pulumi.StringPtrInput // A target for the Marker. If you click on the Marker text, it will take you to this URL. Url pulumi.StringPtrInput }
func (MarkerState) ElementType ¶
func (MarkerState) ElementType() reflect.Type
type PagerdutyRecipient ¶
type PagerdutyRecipient struct { pulumi.CustomResourceState // The key of the PagerDuty Integration to send the notification to. IntegrationKey pulumi.StringOutput `pulumi:"integrationKey"` // The name of the PagerDuty Integration to send the notification to. IntegrationName pulumi.StringOutput `pulumi:"integrationName"` }
## # Resource: PagerdutyRecipient
`PagerdutyRecipient` allows you to define and manage a PagerDuty recipient that can be used by Triggers or BurnAlerts notifications.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := honeycomb.NewPagerdutyRecipient(ctx, "prod-oncall", &honeycomb.PagerdutyRecipientArgs{ IntegrationKey: pulumi.String("cd6e8de3c857aefc950e0d5ebcb79ac2"), IntegrationName: pulumi.String("Production on-call notifications"), }) if err != nil { return err } return nil }) }
```
## Import
PagerDuty Recipients can be imported by their ID, e.g.
```sh
$ pulumi import honeycomb:index/pagerdutyRecipient:PagerdutyRecipient my_recipient nx2zsegA0dZ
```
func GetPagerdutyRecipient ¶
func GetPagerdutyRecipient(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PagerdutyRecipientState, opts ...pulumi.ResourceOption) (*PagerdutyRecipient, error)
GetPagerdutyRecipient gets an existing PagerdutyRecipient 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 NewPagerdutyRecipient ¶
func NewPagerdutyRecipient(ctx *pulumi.Context, name string, args *PagerdutyRecipientArgs, opts ...pulumi.ResourceOption) (*PagerdutyRecipient, error)
NewPagerdutyRecipient registers a new resource with the given unique name, arguments, and options.
func (*PagerdutyRecipient) ElementType ¶
func (*PagerdutyRecipient) ElementType() reflect.Type
func (*PagerdutyRecipient) ToPagerdutyRecipientOutput ¶
func (i *PagerdutyRecipient) ToPagerdutyRecipientOutput() PagerdutyRecipientOutput
func (*PagerdutyRecipient) ToPagerdutyRecipientOutputWithContext ¶
func (i *PagerdutyRecipient) ToPagerdutyRecipientOutputWithContext(ctx context.Context) PagerdutyRecipientOutput
type PagerdutyRecipientArgs ¶
type PagerdutyRecipientArgs struct { // The key of the PagerDuty Integration to send the notification to. IntegrationKey pulumi.StringInput // The name of the PagerDuty Integration to send the notification to. IntegrationName pulumi.StringInput }
The set of arguments for constructing a PagerdutyRecipient resource.
func (PagerdutyRecipientArgs) ElementType ¶
func (PagerdutyRecipientArgs) ElementType() reflect.Type
type PagerdutyRecipientArray ¶
type PagerdutyRecipientArray []PagerdutyRecipientInput
func (PagerdutyRecipientArray) ElementType ¶
func (PagerdutyRecipientArray) ElementType() reflect.Type
func (PagerdutyRecipientArray) ToPagerdutyRecipientArrayOutput ¶
func (i PagerdutyRecipientArray) ToPagerdutyRecipientArrayOutput() PagerdutyRecipientArrayOutput
func (PagerdutyRecipientArray) ToPagerdutyRecipientArrayOutputWithContext ¶
func (i PagerdutyRecipientArray) ToPagerdutyRecipientArrayOutputWithContext(ctx context.Context) PagerdutyRecipientArrayOutput
type PagerdutyRecipientArrayInput ¶
type PagerdutyRecipientArrayInput interface { pulumi.Input ToPagerdutyRecipientArrayOutput() PagerdutyRecipientArrayOutput ToPagerdutyRecipientArrayOutputWithContext(context.Context) PagerdutyRecipientArrayOutput }
PagerdutyRecipientArrayInput is an input type that accepts PagerdutyRecipientArray and PagerdutyRecipientArrayOutput values. You can construct a concrete instance of `PagerdutyRecipientArrayInput` via:
PagerdutyRecipientArray{ PagerdutyRecipientArgs{...} }
type PagerdutyRecipientArrayOutput ¶
type PagerdutyRecipientArrayOutput struct{ *pulumi.OutputState }
func (PagerdutyRecipientArrayOutput) ElementType ¶
func (PagerdutyRecipientArrayOutput) ElementType() reflect.Type
func (PagerdutyRecipientArrayOutput) Index ¶
func (o PagerdutyRecipientArrayOutput) Index(i pulumi.IntInput) PagerdutyRecipientOutput
func (PagerdutyRecipientArrayOutput) ToPagerdutyRecipientArrayOutput ¶
func (o PagerdutyRecipientArrayOutput) ToPagerdutyRecipientArrayOutput() PagerdutyRecipientArrayOutput
func (PagerdutyRecipientArrayOutput) ToPagerdutyRecipientArrayOutputWithContext ¶
func (o PagerdutyRecipientArrayOutput) ToPagerdutyRecipientArrayOutputWithContext(ctx context.Context) PagerdutyRecipientArrayOutput
type PagerdutyRecipientInput ¶
type PagerdutyRecipientInput interface { pulumi.Input ToPagerdutyRecipientOutput() PagerdutyRecipientOutput ToPagerdutyRecipientOutputWithContext(ctx context.Context) PagerdutyRecipientOutput }
type PagerdutyRecipientMap ¶
type PagerdutyRecipientMap map[string]PagerdutyRecipientInput
func (PagerdutyRecipientMap) ElementType ¶
func (PagerdutyRecipientMap) ElementType() reflect.Type
func (PagerdutyRecipientMap) ToPagerdutyRecipientMapOutput ¶
func (i PagerdutyRecipientMap) ToPagerdutyRecipientMapOutput() PagerdutyRecipientMapOutput
func (PagerdutyRecipientMap) ToPagerdutyRecipientMapOutputWithContext ¶
func (i PagerdutyRecipientMap) ToPagerdutyRecipientMapOutputWithContext(ctx context.Context) PagerdutyRecipientMapOutput
type PagerdutyRecipientMapInput ¶
type PagerdutyRecipientMapInput interface { pulumi.Input ToPagerdutyRecipientMapOutput() PagerdutyRecipientMapOutput ToPagerdutyRecipientMapOutputWithContext(context.Context) PagerdutyRecipientMapOutput }
PagerdutyRecipientMapInput is an input type that accepts PagerdutyRecipientMap and PagerdutyRecipientMapOutput values. You can construct a concrete instance of `PagerdutyRecipientMapInput` via:
PagerdutyRecipientMap{ "key": PagerdutyRecipientArgs{...} }
type PagerdutyRecipientMapOutput ¶
type PagerdutyRecipientMapOutput struct{ *pulumi.OutputState }
func (PagerdutyRecipientMapOutput) ElementType ¶
func (PagerdutyRecipientMapOutput) ElementType() reflect.Type
func (PagerdutyRecipientMapOutput) MapIndex ¶
func (o PagerdutyRecipientMapOutput) MapIndex(k pulumi.StringInput) PagerdutyRecipientOutput
func (PagerdutyRecipientMapOutput) ToPagerdutyRecipientMapOutput ¶
func (o PagerdutyRecipientMapOutput) ToPagerdutyRecipientMapOutput() PagerdutyRecipientMapOutput
func (PagerdutyRecipientMapOutput) ToPagerdutyRecipientMapOutputWithContext ¶
func (o PagerdutyRecipientMapOutput) ToPagerdutyRecipientMapOutputWithContext(ctx context.Context) PagerdutyRecipientMapOutput
type PagerdutyRecipientOutput ¶
type PagerdutyRecipientOutput struct{ *pulumi.OutputState }
func (PagerdutyRecipientOutput) ElementType ¶
func (PagerdutyRecipientOutput) ElementType() reflect.Type
func (PagerdutyRecipientOutput) IntegrationKey ¶
func (o PagerdutyRecipientOutput) IntegrationKey() pulumi.StringOutput
The key of the PagerDuty Integration to send the notification to.
func (PagerdutyRecipientOutput) IntegrationName ¶
func (o PagerdutyRecipientOutput) IntegrationName() pulumi.StringOutput
The name of the PagerDuty Integration to send the notification to.
func (PagerdutyRecipientOutput) ToPagerdutyRecipientOutput ¶
func (o PagerdutyRecipientOutput) ToPagerdutyRecipientOutput() PagerdutyRecipientOutput
func (PagerdutyRecipientOutput) ToPagerdutyRecipientOutputWithContext ¶
func (o PagerdutyRecipientOutput) ToPagerdutyRecipientOutputWithContext(ctx context.Context) PagerdutyRecipientOutput
type PagerdutyRecipientState ¶
type PagerdutyRecipientState struct { // The key of the PagerDuty Integration to send the notification to. IntegrationKey pulumi.StringPtrInput // The name of the PagerDuty Integration to send the notification to. IntegrationName pulumi.StringPtrInput }
func (PagerdutyRecipientState) ElementType ¶
func (PagerdutyRecipientState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState ApiKey pulumi.StringOutput `pulumi:"apiKey"` ApiUrl pulumi.StringPtrOutput `pulumi:"apiUrl"` }
The provider type for the honeycombio 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 { ApiKey pulumi.StringInput ApiUrl pulumi.StringPtrInput // Enable the API client's debug logs. By default, a `TF_LOG` setting of debug or higher will enable this. Debug pulumi.BoolPtrInput }
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) ApiKey ¶
func (o ProviderOutput) ApiKey() pulumi.StringOutput
func (ProviderOutput) ApiUrl ¶
func (o ProviderOutput) ApiUrl() pulumi.StringPtrOutput
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type Query ¶
type Query struct { pulumi.CustomResourceState // The dataset this query is added to. Dataset pulumi.StringOutput `pulumi:"dataset"` // A JSON object describing the query according to the [Query Specification](https://docs.honeycomb.io/api/query-specification/#fields-on-a-query-specification). While the JSON can be constructed manually, it is easiest to use the `GetQuerySpecification` data source. QueryJson pulumi.StringOutput `pulumi:"queryJson"` }
## # Resource: Query
Creates a query in a dataset.
Queries can be used by triggers and boards, or be executed via the [Query Data API](https://docs.honeycomb.io/api/query-results/).
> **Note** Queries can only be created or read. Any changes will result in a new query object being created, and destroying it does nothing.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") testQueryGetQuerySpecification, err := honeycomb.GetQuerySpecification(ctx, &GetQuerySpecificationArgs{ Calculations: []GetQuerySpecificationCalculation{ GetQuerySpecificationCalculation{ Op: "AVG", Column: pulumi.StringRef("duration_ms"), }, }, Filters: []GetQuerySpecificationFilter{ GetQuerySpecificationFilter{ Column: "duration_ms", Op: ">", Value: pulumi.StringRef("200"), }, }, }, nil) if err != nil { return err } _, err = honeycomb.NewQuery(ctx, "testQueryQuery", &honeycomb.QueryArgs{ Dataset: pulumi.String(fmt.Sprintf("%vs", "%")), QueryJson: pulumi.String(testQueryGetQuerySpecification.Json), }) if err != nil { return err } return nil }) }
```
## Import
Queries cannot be imported.
func GetQuery ¶
func GetQuery(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueryState, opts ...pulumi.ResourceOption) (*Query, error)
GetQuery gets an existing Query 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 NewQuery ¶
func NewQuery(ctx *pulumi.Context, name string, args *QueryArgs, opts ...pulumi.ResourceOption) (*Query, error)
NewQuery registers a new resource with the given unique name, arguments, and options.
func (*Query) ElementType ¶
func (*Query) ToQueryOutput ¶
func (i *Query) ToQueryOutput() QueryOutput
func (*Query) ToQueryOutputWithContext ¶
func (i *Query) ToQueryOutputWithContext(ctx context.Context) QueryOutput
type QueryAnnotation ¶
type QueryAnnotation struct { pulumi.CustomResourceState // The dataset this query is added to. Dataset pulumi.StringOutput `pulumi:"dataset"` // The description for the query annotation. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the query annotation that will display in the Honeycomb UI. Name pulumi.StringOutput `pulumi:"name"` // The ID of the query that the annotation will be created on. Note that a query can have more than one annotation. QueryId pulumi.StringOutput `pulumi:"queryId"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") testQueryGetQuerySpecification, err := honeycomb.GetQuerySpecification(ctx, &GetQuerySpecificationArgs{ Calculations: []GetQuerySpecificationCalculation{ GetQuerySpecificationCalculation{ Op: "AVG", Column: pulumi.StringRef("duration_ms"), }, }, Filters: []GetQuerySpecificationFilter{ GetQuerySpecificationFilter{ Column: "duration_ms", Op: ">", Value: pulumi.StringRef("10"), }, }, }, nil) if err != nil { return err } testQueryQuery, err := honeycomb.NewQuery(ctx, "testQueryQuery", &honeycomb.QueryArgs{ Dataset: pulumi.String(dataset), QueryJson: pulumi.String(testQueryGetQuerySpecification.Json), }) if err != nil { return err } _, err = honeycomb.NewQueryAnnotation(ctx, "testAnnotation", &honeycomb.QueryAnnotationArgs{ Dataset: pulumi.String(dataset), QueryId: testQueryQuery.ID(), Description: pulumi.String("Describes my cool query (optional)"), }) if err != nil { return err } return nil }) }
```
## Import
Query annotations cannot be imported.
func GetQueryAnnotation ¶
func GetQueryAnnotation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueryAnnotationState, opts ...pulumi.ResourceOption) (*QueryAnnotation, error)
GetQueryAnnotation gets an existing QueryAnnotation 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 NewQueryAnnotation ¶
func NewQueryAnnotation(ctx *pulumi.Context, name string, args *QueryAnnotationArgs, opts ...pulumi.ResourceOption) (*QueryAnnotation, error)
NewQueryAnnotation registers a new resource with the given unique name, arguments, and options.
func (*QueryAnnotation) ElementType ¶
func (*QueryAnnotation) ElementType() reflect.Type
func (*QueryAnnotation) ToQueryAnnotationOutput ¶
func (i *QueryAnnotation) ToQueryAnnotationOutput() QueryAnnotationOutput
func (*QueryAnnotation) ToQueryAnnotationOutputWithContext ¶
func (i *QueryAnnotation) ToQueryAnnotationOutputWithContext(ctx context.Context) QueryAnnotationOutput
type QueryAnnotationArgs ¶
type QueryAnnotationArgs struct { // The dataset this query is added to. Dataset pulumi.StringInput // The description for the query annotation. Description pulumi.StringPtrInput // The name of the query annotation that will display in the Honeycomb UI. Name pulumi.StringPtrInput // The ID of the query that the annotation will be created on. Note that a query can have more than one annotation. QueryId pulumi.StringInput }
The set of arguments for constructing a QueryAnnotation resource.
func (QueryAnnotationArgs) ElementType ¶
func (QueryAnnotationArgs) ElementType() reflect.Type
type QueryAnnotationArray ¶
type QueryAnnotationArray []QueryAnnotationInput
func (QueryAnnotationArray) ElementType ¶
func (QueryAnnotationArray) ElementType() reflect.Type
func (QueryAnnotationArray) ToQueryAnnotationArrayOutput ¶
func (i QueryAnnotationArray) ToQueryAnnotationArrayOutput() QueryAnnotationArrayOutput
func (QueryAnnotationArray) ToQueryAnnotationArrayOutputWithContext ¶
func (i QueryAnnotationArray) ToQueryAnnotationArrayOutputWithContext(ctx context.Context) QueryAnnotationArrayOutput
type QueryAnnotationArrayInput ¶
type QueryAnnotationArrayInput interface { pulumi.Input ToQueryAnnotationArrayOutput() QueryAnnotationArrayOutput ToQueryAnnotationArrayOutputWithContext(context.Context) QueryAnnotationArrayOutput }
QueryAnnotationArrayInput is an input type that accepts QueryAnnotationArray and QueryAnnotationArrayOutput values. You can construct a concrete instance of `QueryAnnotationArrayInput` via:
QueryAnnotationArray{ QueryAnnotationArgs{...} }
type QueryAnnotationArrayOutput ¶
type QueryAnnotationArrayOutput struct{ *pulumi.OutputState }
func (QueryAnnotationArrayOutput) ElementType ¶
func (QueryAnnotationArrayOutput) ElementType() reflect.Type
func (QueryAnnotationArrayOutput) Index ¶
func (o QueryAnnotationArrayOutput) Index(i pulumi.IntInput) QueryAnnotationOutput
func (QueryAnnotationArrayOutput) ToQueryAnnotationArrayOutput ¶
func (o QueryAnnotationArrayOutput) ToQueryAnnotationArrayOutput() QueryAnnotationArrayOutput
func (QueryAnnotationArrayOutput) ToQueryAnnotationArrayOutputWithContext ¶
func (o QueryAnnotationArrayOutput) ToQueryAnnotationArrayOutputWithContext(ctx context.Context) QueryAnnotationArrayOutput
type QueryAnnotationInput ¶
type QueryAnnotationInput interface { pulumi.Input ToQueryAnnotationOutput() QueryAnnotationOutput ToQueryAnnotationOutputWithContext(ctx context.Context) QueryAnnotationOutput }
type QueryAnnotationMap ¶
type QueryAnnotationMap map[string]QueryAnnotationInput
func (QueryAnnotationMap) ElementType ¶
func (QueryAnnotationMap) ElementType() reflect.Type
func (QueryAnnotationMap) ToQueryAnnotationMapOutput ¶
func (i QueryAnnotationMap) ToQueryAnnotationMapOutput() QueryAnnotationMapOutput
func (QueryAnnotationMap) ToQueryAnnotationMapOutputWithContext ¶
func (i QueryAnnotationMap) ToQueryAnnotationMapOutputWithContext(ctx context.Context) QueryAnnotationMapOutput
type QueryAnnotationMapInput ¶
type QueryAnnotationMapInput interface { pulumi.Input ToQueryAnnotationMapOutput() QueryAnnotationMapOutput ToQueryAnnotationMapOutputWithContext(context.Context) QueryAnnotationMapOutput }
QueryAnnotationMapInput is an input type that accepts QueryAnnotationMap and QueryAnnotationMapOutput values. You can construct a concrete instance of `QueryAnnotationMapInput` via:
QueryAnnotationMap{ "key": QueryAnnotationArgs{...} }
type QueryAnnotationMapOutput ¶
type QueryAnnotationMapOutput struct{ *pulumi.OutputState }
func (QueryAnnotationMapOutput) ElementType ¶
func (QueryAnnotationMapOutput) ElementType() reflect.Type
func (QueryAnnotationMapOutput) MapIndex ¶
func (o QueryAnnotationMapOutput) MapIndex(k pulumi.StringInput) QueryAnnotationOutput
func (QueryAnnotationMapOutput) ToQueryAnnotationMapOutput ¶
func (o QueryAnnotationMapOutput) ToQueryAnnotationMapOutput() QueryAnnotationMapOutput
func (QueryAnnotationMapOutput) ToQueryAnnotationMapOutputWithContext ¶
func (o QueryAnnotationMapOutput) ToQueryAnnotationMapOutputWithContext(ctx context.Context) QueryAnnotationMapOutput
type QueryAnnotationOutput ¶
type QueryAnnotationOutput struct{ *pulumi.OutputState }
func (QueryAnnotationOutput) Dataset ¶
func (o QueryAnnotationOutput) Dataset() pulumi.StringOutput
The dataset this query is added to.
func (QueryAnnotationOutput) Description ¶
func (o QueryAnnotationOutput) Description() pulumi.StringPtrOutput
The description for the query annotation.
func (QueryAnnotationOutput) ElementType ¶
func (QueryAnnotationOutput) ElementType() reflect.Type
func (QueryAnnotationOutput) Name ¶
func (o QueryAnnotationOutput) Name() pulumi.StringOutput
The name of the query annotation that will display in the Honeycomb UI.
func (QueryAnnotationOutput) QueryId ¶
func (o QueryAnnotationOutput) QueryId() pulumi.StringOutput
The ID of the query that the annotation will be created on. Note that a query can have more than one annotation.
func (QueryAnnotationOutput) ToQueryAnnotationOutput ¶
func (o QueryAnnotationOutput) ToQueryAnnotationOutput() QueryAnnotationOutput
func (QueryAnnotationOutput) ToQueryAnnotationOutputWithContext ¶
func (o QueryAnnotationOutput) ToQueryAnnotationOutputWithContext(ctx context.Context) QueryAnnotationOutput
type QueryAnnotationState ¶
type QueryAnnotationState struct { // The dataset this query is added to. Dataset pulumi.StringPtrInput // The description for the query annotation. Description pulumi.StringPtrInput // The name of the query annotation that will display in the Honeycomb UI. Name pulumi.StringPtrInput // The ID of the query that the annotation will be created on. Note that a query can have more than one annotation. QueryId pulumi.StringPtrInput }
func (QueryAnnotationState) ElementType ¶
func (QueryAnnotationState) ElementType() reflect.Type
type QueryArgs ¶
type QueryArgs struct { // The dataset this query is added to. Dataset pulumi.StringInput // A JSON object describing the query according to the [Query Specification](https://docs.honeycomb.io/api/query-specification/#fields-on-a-query-specification). While the JSON can be constructed manually, it is easiest to use the `GetQuerySpecification` data source. QueryJson pulumi.StringInput }
The set of arguments for constructing a Query resource.
func (QueryArgs) ElementType ¶
type QueryArray ¶
type QueryArray []QueryInput
func (QueryArray) ElementType ¶
func (QueryArray) ElementType() reflect.Type
func (QueryArray) ToQueryArrayOutput ¶
func (i QueryArray) ToQueryArrayOutput() QueryArrayOutput
func (QueryArray) ToQueryArrayOutputWithContext ¶
func (i QueryArray) ToQueryArrayOutputWithContext(ctx context.Context) QueryArrayOutput
type QueryArrayInput ¶
type QueryArrayInput interface { pulumi.Input ToQueryArrayOutput() QueryArrayOutput ToQueryArrayOutputWithContext(context.Context) QueryArrayOutput }
QueryArrayInput is an input type that accepts QueryArray and QueryArrayOutput values. You can construct a concrete instance of `QueryArrayInput` via:
QueryArray{ QueryArgs{...} }
type QueryArrayOutput ¶
type QueryArrayOutput struct{ *pulumi.OutputState }
func (QueryArrayOutput) ElementType ¶
func (QueryArrayOutput) ElementType() reflect.Type
func (QueryArrayOutput) Index ¶
func (o QueryArrayOutput) Index(i pulumi.IntInput) QueryOutput
func (QueryArrayOutput) ToQueryArrayOutput ¶
func (o QueryArrayOutput) ToQueryArrayOutput() QueryArrayOutput
func (QueryArrayOutput) ToQueryArrayOutputWithContext ¶
func (o QueryArrayOutput) ToQueryArrayOutputWithContext(ctx context.Context) QueryArrayOutput
type QueryInput ¶
type QueryInput interface { pulumi.Input ToQueryOutput() QueryOutput ToQueryOutputWithContext(ctx context.Context) QueryOutput }
type QueryMap ¶
type QueryMap map[string]QueryInput
func (QueryMap) ElementType ¶
func (QueryMap) ToQueryMapOutput ¶
func (i QueryMap) ToQueryMapOutput() QueryMapOutput
func (QueryMap) ToQueryMapOutputWithContext ¶
func (i QueryMap) ToQueryMapOutputWithContext(ctx context.Context) QueryMapOutput
type QueryMapInput ¶
type QueryMapInput interface { pulumi.Input ToQueryMapOutput() QueryMapOutput ToQueryMapOutputWithContext(context.Context) QueryMapOutput }
QueryMapInput is an input type that accepts QueryMap and QueryMapOutput values. You can construct a concrete instance of `QueryMapInput` via:
QueryMap{ "key": QueryArgs{...} }
type QueryMapOutput ¶
type QueryMapOutput struct{ *pulumi.OutputState }
func (QueryMapOutput) ElementType ¶
func (QueryMapOutput) ElementType() reflect.Type
func (QueryMapOutput) MapIndex ¶
func (o QueryMapOutput) MapIndex(k pulumi.StringInput) QueryOutput
func (QueryMapOutput) ToQueryMapOutput ¶
func (o QueryMapOutput) ToQueryMapOutput() QueryMapOutput
func (QueryMapOutput) ToQueryMapOutputWithContext ¶
func (o QueryMapOutput) ToQueryMapOutputWithContext(ctx context.Context) QueryMapOutput
type QueryOutput ¶
type QueryOutput struct{ *pulumi.OutputState }
func (QueryOutput) Dataset ¶
func (o QueryOutput) Dataset() pulumi.StringOutput
The dataset this query is added to.
func (QueryOutput) ElementType ¶
func (QueryOutput) ElementType() reflect.Type
func (QueryOutput) QueryJson ¶
func (o QueryOutput) QueryJson() pulumi.StringOutput
A JSON object describing the query according to the [Query Specification](https://docs.honeycomb.io/api/query-specification/#fields-on-a-query-specification). While the JSON can be constructed manually, it is easiest to use the `GetQuerySpecification` data source.
func (QueryOutput) ToQueryOutput ¶
func (o QueryOutput) ToQueryOutput() QueryOutput
func (QueryOutput) ToQueryOutputWithContext ¶
func (o QueryOutput) ToQueryOutputWithContext(ctx context.Context) QueryOutput
type QueryState ¶
type QueryState struct { // The dataset this query is added to. Dataset pulumi.StringPtrInput // A JSON object describing the query according to the [Query Specification](https://docs.honeycomb.io/api/query-specification/#fields-on-a-query-specification). While the JSON can be constructed manually, it is easiest to use the `GetQuerySpecification` data source. QueryJson pulumi.StringPtrInput }
func (QueryState) ElementType ¶
func (QueryState) ElementType() reflect.Type
type SLO ¶
type SLO struct { pulumi.CustomResourceState // The dataset this SLO is created in. Must be the same dataset as the SLI. Dataset pulumi.StringOutput `pulumi:"dataset"` // A description of the SLO's intent and context. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the SLO. Name pulumi.StringOutput `pulumi:"name"` // The alias of the Derived Column that will be used as the SLI to indicate event success. // The derived column used as the SLI must be in the same dataset as the SLO. Additionally, // the column evaluation should consistently return nil, true, or false, as these are the only valid values for an SLI. Sli pulumi.StringOutput `pulumi:"sli"` // The percentage of qualified events that you expect to succeed during the `timePeriod`. TargetPercentage pulumi.Float64Output `pulumi:"targetPercentage"` // The time period, in days, over which your SLO will be evaluated. TimePeriod pulumi.IntOutput `pulumi:"timePeriod"` }
## # Resource: SLO
Creates a service level objective (SLO). For more information about SLOs, check out [Set Service Level Objectives (SLOs)](https://docs.honeycomb.io/working-with-your-data/slos/).
## Example Usage
```go package main
import (
"io/ioutil" "github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) }
func main() { pulumi.Run(func(ctx *pulumi.Context) error { requestLatencySli, err := honeycomb.NewDerivedColumn(ctx, "requestLatencySli", &honeycomb.DerivedColumnArgs{ Alias: pulumi.String("sli.request_latency"), Description: pulumi.String("SLI: request latency less than 300ms"), Dataset: pulumi.Any(_var.Dataset), Expression: readFileOrPanic("../sli/sli.request_latency.honeycomb"), }) if err != nil { return err } _, err = honeycomb.NewSLO(ctx, "slo", &honeycomb.SLOArgs{ Description: pulumi.String("example of an SLO"), Dataset: pulumi.Any(_var.Dataset), Sli: requestLatencySli.Alias, TargetPercentage: pulumi.Float64(99.9), TimePeriod: pulumi.Int(30), }) if err != nil { return err } return nil }) }
```
## Import
SLOs can be imported using a combination of the dataset name and their ID, e.g.
```sh
$ pulumi import honeycomb:index/sLO:SLO my_slo my-dataset/bj9BwOb1uKz
```
You can find the ID in the URL bar when visiting the SLO from the UI.
func GetSLO ¶
func GetSLO(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SLOState, opts ...pulumi.ResourceOption) (*SLO, error)
GetSLO gets an existing SLO 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 NewSLO ¶
func NewSLO(ctx *pulumi.Context, name string, args *SLOArgs, opts ...pulumi.ResourceOption) (*SLO, error)
NewSLO registers a new resource with the given unique name, arguments, and options.
func (*SLO) ElementType ¶
func (*SLO) ToSLOOutput ¶
type SLOArgs ¶
type SLOArgs struct { // The dataset this SLO is created in. Must be the same dataset as the SLI. Dataset pulumi.StringInput // A description of the SLO's intent and context. Description pulumi.StringPtrInput // The name of the SLO. Name pulumi.StringPtrInput // The alias of the Derived Column that will be used as the SLI to indicate event success. // The derived column used as the SLI must be in the same dataset as the SLO. Additionally, // the column evaluation should consistently return nil, true, or false, as these are the only valid values for an SLI. Sli pulumi.StringInput // The percentage of qualified events that you expect to succeed during the `timePeriod`. TargetPercentage pulumi.Float64Input // The time period, in days, over which your SLO will be evaluated. TimePeriod pulumi.IntInput }
The set of arguments for constructing a SLO resource.
func (SLOArgs) ElementType ¶
type SLOArray ¶
type SLOArray []SLOInput
func (SLOArray) ElementType ¶
func (SLOArray) ToSLOArrayOutput ¶
func (i SLOArray) ToSLOArrayOutput() SLOArrayOutput
func (SLOArray) ToSLOArrayOutputWithContext ¶
func (i SLOArray) ToSLOArrayOutputWithContext(ctx context.Context) SLOArrayOutput
type SLOArrayInput ¶
type SLOArrayInput interface { pulumi.Input ToSLOArrayOutput() SLOArrayOutput ToSLOArrayOutputWithContext(context.Context) SLOArrayOutput }
SLOArrayInput is an input type that accepts SLOArray and SLOArrayOutput values. You can construct a concrete instance of `SLOArrayInput` via:
SLOArray{ SLOArgs{...} }
type SLOArrayOutput ¶
type SLOArrayOutput struct{ *pulumi.OutputState }
func (SLOArrayOutput) ElementType ¶
func (SLOArrayOutput) ElementType() reflect.Type
func (SLOArrayOutput) ToSLOArrayOutput ¶
func (o SLOArrayOutput) ToSLOArrayOutput() SLOArrayOutput
func (SLOArrayOutput) ToSLOArrayOutputWithContext ¶
func (o SLOArrayOutput) ToSLOArrayOutputWithContext(ctx context.Context) SLOArrayOutput
type SLOMap ¶
func (SLOMap) ElementType ¶
func (SLOMap) ToSLOMapOutput ¶
func (i SLOMap) ToSLOMapOutput() SLOMapOutput
func (SLOMap) ToSLOMapOutputWithContext ¶
func (i SLOMap) ToSLOMapOutputWithContext(ctx context.Context) SLOMapOutput
type SLOMapInput ¶
type SLOMapInput interface { pulumi.Input ToSLOMapOutput() SLOMapOutput ToSLOMapOutputWithContext(context.Context) SLOMapOutput }
SLOMapInput is an input type that accepts SLOMap and SLOMapOutput values. You can construct a concrete instance of `SLOMapInput` via:
SLOMap{ "key": SLOArgs{...} }
type SLOMapOutput ¶
type SLOMapOutput struct{ *pulumi.OutputState }
func (SLOMapOutput) ElementType ¶
func (SLOMapOutput) ElementType() reflect.Type
func (SLOMapOutput) MapIndex ¶
func (o SLOMapOutput) MapIndex(k pulumi.StringInput) SLOOutput
func (SLOMapOutput) ToSLOMapOutput ¶
func (o SLOMapOutput) ToSLOMapOutput() SLOMapOutput
func (SLOMapOutput) ToSLOMapOutputWithContext ¶
func (o SLOMapOutput) ToSLOMapOutputWithContext(ctx context.Context) SLOMapOutput
type SLOOutput ¶
type SLOOutput struct{ *pulumi.OutputState }
func (SLOOutput) Dataset ¶
func (o SLOOutput) Dataset() pulumi.StringOutput
The dataset this SLO is created in. Must be the same dataset as the SLI.
func (SLOOutput) Description ¶
func (o SLOOutput) Description() pulumi.StringPtrOutput
A description of the SLO's intent and context.
func (SLOOutput) ElementType ¶
func (SLOOutput) Sli ¶
func (o SLOOutput) Sli() pulumi.StringOutput
The alias of the Derived Column that will be used as the SLI to indicate event success. The derived column used as the SLI must be in the same dataset as the SLO. Additionally, the column evaluation should consistently return nil, true, or false, as these are the only valid values for an SLI.
func (SLOOutput) TargetPercentage ¶
func (o SLOOutput) TargetPercentage() pulumi.Float64Output
The percentage of qualified events that you expect to succeed during the `timePeriod`.
func (SLOOutput) TimePeriod ¶
The time period, in days, over which your SLO will be evaluated.
func (SLOOutput) ToSLOOutput ¶
type SLOState ¶
type SLOState struct { // The dataset this SLO is created in. Must be the same dataset as the SLI. Dataset pulumi.StringPtrInput // A description of the SLO's intent and context. Description pulumi.StringPtrInput // The name of the SLO. Name pulumi.StringPtrInput // The alias of the Derived Column that will be used as the SLI to indicate event success. // The derived column used as the SLI must be in the same dataset as the SLO. Additionally, // the column evaluation should consistently return nil, true, or false, as these are the only valid values for an SLI. Sli pulumi.StringPtrInput // The percentage of qualified events that you expect to succeed during the `timePeriod`. TargetPercentage pulumi.Float64PtrInput // The time period, in days, over which your SLO will be evaluated. TimePeriod pulumi.IntPtrInput }
func (SLOState) ElementType ¶
type SlackRecipient ¶
type SlackRecipient struct { pulumi.CustomResourceState // The Slack channel or username to send the notification to. Must begin with `#` or `@`. Channel pulumi.StringOutput `pulumi:"channel"` }
## # Resource: SlackRecipient
`SlackRecipient` allows you to define and manage a Slack channel or user recipient that can be used by Triggers or BurnAlerts notifications.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := honeycomb.NewSlackRecipient(ctx, "alerts", &honeycomb.SlackRecipientArgs{ Channel: pulumi.String("#alerts"), }) if err != nil { return err } return nil }) }
```
## Import
Slack Recipients can be imported by their ID, e.g.
```sh
$ pulumi import honeycomb:index/slackRecipient:SlackRecipient my_recipient nx2zsegA0dZ
```
func GetSlackRecipient ¶
func GetSlackRecipient(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SlackRecipientState, opts ...pulumi.ResourceOption) (*SlackRecipient, error)
GetSlackRecipient gets an existing SlackRecipient 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 NewSlackRecipient ¶
func NewSlackRecipient(ctx *pulumi.Context, name string, args *SlackRecipientArgs, opts ...pulumi.ResourceOption) (*SlackRecipient, error)
NewSlackRecipient registers a new resource with the given unique name, arguments, and options.
func (*SlackRecipient) ElementType ¶
func (*SlackRecipient) ElementType() reflect.Type
func (*SlackRecipient) ToSlackRecipientOutput ¶
func (i *SlackRecipient) ToSlackRecipientOutput() SlackRecipientOutput
func (*SlackRecipient) ToSlackRecipientOutputWithContext ¶
func (i *SlackRecipient) ToSlackRecipientOutputWithContext(ctx context.Context) SlackRecipientOutput
type SlackRecipientArgs ¶
type SlackRecipientArgs struct { // The Slack channel or username to send the notification to. Must begin with `#` or `@`. Channel pulumi.StringInput }
The set of arguments for constructing a SlackRecipient resource.
func (SlackRecipientArgs) ElementType ¶
func (SlackRecipientArgs) ElementType() reflect.Type
type SlackRecipientArray ¶
type SlackRecipientArray []SlackRecipientInput
func (SlackRecipientArray) ElementType ¶
func (SlackRecipientArray) ElementType() reflect.Type
func (SlackRecipientArray) ToSlackRecipientArrayOutput ¶
func (i SlackRecipientArray) ToSlackRecipientArrayOutput() SlackRecipientArrayOutput
func (SlackRecipientArray) ToSlackRecipientArrayOutputWithContext ¶
func (i SlackRecipientArray) ToSlackRecipientArrayOutputWithContext(ctx context.Context) SlackRecipientArrayOutput
type SlackRecipientArrayInput ¶
type SlackRecipientArrayInput interface { pulumi.Input ToSlackRecipientArrayOutput() SlackRecipientArrayOutput ToSlackRecipientArrayOutputWithContext(context.Context) SlackRecipientArrayOutput }
SlackRecipientArrayInput is an input type that accepts SlackRecipientArray and SlackRecipientArrayOutput values. You can construct a concrete instance of `SlackRecipientArrayInput` via:
SlackRecipientArray{ SlackRecipientArgs{...} }
type SlackRecipientArrayOutput ¶
type SlackRecipientArrayOutput struct{ *pulumi.OutputState }
func (SlackRecipientArrayOutput) ElementType ¶
func (SlackRecipientArrayOutput) ElementType() reflect.Type
func (SlackRecipientArrayOutput) Index ¶
func (o SlackRecipientArrayOutput) Index(i pulumi.IntInput) SlackRecipientOutput
func (SlackRecipientArrayOutput) ToSlackRecipientArrayOutput ¶
func (o SlackRecipientArrayOutput) ToSlackRecipientArrayOutput() SlackRecipientArrayOutput
func (SlackRecipientArrayOutput) ToSlackRecipientArrayOutputWithContext ¶
func (o SlackRecipientArrayOutput) ToSlackRecipientArrayOutputWithContext(ctx context.Context) SlackRecipientArrayOutput
type SlackRecipientInput ¶
type SlackRecipientInput interface { pulumi.Input ToSlackRecipientOutput() SlackRecipientOutput ToSlackRecipientOutputWithContext(ctx context.Context) SlackRecipientOutput }
type SlackRecipientMap ¶
type SlackRecipientMap map[string]SlackRecipientInput
func (SlackRecipientMap) ElementType ¶
func (SlackRecipientMap) ElementType() reflect.Type
func (SlackRecipientMap) ToSlackRecipientMapOutput ¶
func (i SlackRecipientMap) ToSlackRecipientMapOutput() SlackRecipientMapOutput
func (SlackRecipientMap) ToSlackRecipientMapOutputWithContext ¶
func (i SlackRecipientMap) ToSlackRecipientMapOutputWithContext(ctx context.Context) SlackRecipientMapOutput
type SlackRecipientMapInput ¶
type SlackRecipientMapInput interface { pulumi.Input ToSlackRecipientMapOutput() SlackRecipientMapOutput ToSlackRecipientMapOutputWithContext(context.Context) SlackRecipientMapOutput }
SlackRecipientMapInput is an input type that accepts SlackRecipientMap and SlackRecipientMapOutput values. You can construct a concrete instance of `SlackRecipientMapInput` via:
SlackRecipientMap{ "key": SlackRecipientArgs{...} }
type SlackRecipientMapOutput ¶
type SlackRecipientMapOutput struct{ *pulumi.OutputState }
func (SlackRecipientMapOutput) ElementType ¶
func (SlackRecipientMapOutput) ElementType() reflect.Type
func (SlackRecipientMapOutput) MapIndex ¶
func (o SlackRecipientMapOutput) MapIndex(k pulumi.StringInput) SlackRecipientOutput
func (SlackRecipientMapOutput) ToSlackRecipientMapOutput ¶
func (o SlackRecipientMapOutput) ToSlackRecipientMapOutput() SlackRecipientMapOutput
func (SlackRecipientMapOutput) ToSlackRecipientMapOutputWithContext ¶
func (o SlackRecipientMapOutput) ToSlackRecipientMapOutputWithContext(ctx context.Context) SlackRecipientMapOutput
type SlackRecipientOutput ¶
type SlackRecipientOutput struct{ *pulumi.OutputState }
func (SlackRecipientOutput) Channel ¶
func (o SlackRecipientOutput) Channel() pulumi.StringOutput
The Slack channel or username to send the notification to. Must begin with `#` or `@`.
func (SlackRecipientOutput) ElementType ¶
func (SlackRecipientOutput) ElementType() reflect.Type
func (SlackRecipientOutput) ToSlackRecipientOutput ¶
func (o SlackRecipientOutput) ToSlackRecipientOutput() SlackRecipientOutput
func (SlackRecipientOutput) ToSlackRecipientOutputWithContext ¶
func (o SlackRecipientOutput) ToSlackRecipientOutputWithContext(ctx context.Context) SlackRecipientOutput
type SlackRecipientState ¶
type SlackRecipientState struct { // The Slack channel or username to send the notification to. Must begin with `#` or `@`. Channel pulumi.StringPtrInput }
func (SlackRecipientState) ElementType ¶
func (SlackRecipientState) ElementType() reflect.Type
type Trigger ¶
type Trigger struct { pulumi.CustomResourceState // The frequency for the alert to trigger. (`onChange` is the default behavior, `onTrue` can also be selected) AlertType pulumi.StringPtrOutput `pulumi:"alertType"` // The dataset this trigger is associated with. Dataset pulumi.StringOutput `pulumi:"dataset"` // Description of the trigger. Description pulumi.StringPtrOutput `pulumi:"description"` // The state of the trigger. If true, the trigger will not be run. Defaults to false. Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` // The interval (in seconds) in which to check the results of the query’s calculation against the threshold. This value must be divisible by 60, between 60 and 86400 (between 1 minute and 1 day), and not be more than 4 times the query's duration. Defaults to 900 (15 minutes). Frequency pulumi.IntOutput `pulumi:"frequency"` // Name of the trigger. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Query that the Trigger will execute. QueryId pulumi.StringOutput `pulumi:"queryId"` // Zero or more configuration blocks (described below) with the recipients to notify when the trigger fires. Recipients TriggerRecipientArrayOutput `pulumi:"recipients"` // A configuration block (described below) describing the threshold of the trigger. Threshold TriggerThresholdOutput `pulumi:"threshold"` }
## # Resource: Trigger
Creates a trigger. For more information about triggers, check out [Alert with Triggers](https://docs.honeycomb.io/working-with-your-data/triggers/).
## Example Usage ### Basic Example
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") exampleGetQuerySpecification, err := honeycomb.GetQuerySpecification(ctx, &GetQuerySpecificationArgs{ Calculations: []GetQuerySpecificationCalculation{ GetQuerySpecificationCalculation{ Op: "AVG", Column: pulumi.StringRef("duration_ms"), }, }, Filters: []GetQuerySpecificationFilter{ GetQuerySpecificationFilter{ Column: "trace.parent_id", Op: "does-not-exist", }, }, }, nil) if err != nil { return err } exampleQuery, err := honeycomb.NewQuery(ctx, "exampleQuery", &honeycomb.QueryArgs{ Dataset: pulumi.String(dataset), QueryJson: pulumi.String(exampleGetQuerySpecification.Json), }) if err != nil { return err } _, err = honeycomb.NewTrigger(ctx, "exampleTrigger", &honeycomb.TriggerArgs{ Description: pulumi.String("Average duration of all requests for the last 10 minutes."), QueryId: exampleQuery.ID(), Dataset: pulumi.String(dataset), Frequency: pulumi.Int(600), AlertType: pulumi.String("on_change"), Threshold: &TriggerThresholdArgs{ Op: pulumi.String(">"), Value: pulumi.Float64(1000), }, Recipients: TriggerRecipientArray{ &TriggerRecipientArgs{ Type: pulumi.String("email"), Target: pulumi.String("hello@example.com"), }, &TriggerRecipientArgs{ Type: pulumi.String("marker"), Target: pulumi.String("Trigger - requests are slow"), }, }, }) if err != nil { return err } return nil }) }
``` ### Example with PagerDuty Recipient and Severity ```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") dataset := cfg.Require("dataset") pd_prod, err := honeycomb.GetRecipient(ctx, &GetRecipientArgs{ Type: "pagerduty", DetailFilter: GetRecipientDetailFilter{ Name: "integration_name", Value: pulumi.StringRef("Prod On-Call"), }, }, nil) if err != nil { return err } exampleGetQuerySpecification, err := honeycomb.GetQuerySpecification(ctx, &GetQuerySpecificationArgs{ Calculations: []GetQuerySpecificationCalculation{ GetQuerySpecificationCalculation{ Op: "AVG", Column: pulumi.StringRef("duration_ms"), }, }, Filters: []GetQuerySpecificationFilter{ GetQuerySpecificationFilter{ Column: "trace.parent_id", Op: "does-not-exist", }, }, }, nil) if err != nil { return err } exampleQuery, err := honeycomb.NewQuery(ctx, "exampleQuery", &honeycomb.QueryArgs{ Dataset: pulumi.String(dataset), QueryJson: pulumi.String(exampleGetQuerySpecification.Json), }) if err != nil { return err } _, err = honeycomb.NewTrigger(ctx, "exampleTrigger", &honeycomb.TriggerArgs{ Description: pulumi.String("Average duration of all requests for the last 10 minutes."), QueryId: exampleQuery.ID(), Dataset: pulumi.String(dataset), Frequency: pulumi.Int(600), Threshold: &TriggerThresholdArgs{ Op: pulumi.String(">"), Value: pulumi.Float64(1000), }, Recipients: TriggerRecipientArray{ &TriggerRecipientArgs{ Id: pulumi.String(pd_prod.Id), NotificationDetails: &TriggerRecipientNotificationDetailsArgs{ PagerdutySeverity: pulumi.String("info"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Triggers can be imported using a combination of the dataset name and their ID, e.g.
```sh
$ pulumi import honeycomb:index/trigger:Trigger my_trigger my-dataset/AeZzSoWws9G
```
You can find the ID in the URL bar when visiting the trigger from the UI.
func GetTrigger ¶
func GetTrigger(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TriggerState, opts ...pulumi.ResourceOption) (*Trigger, error)
GetTrigger gets an existing Trigger 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 NewTrigger ¶
func NewTrigger(ctx *pulumi.Context, name string, args *TriggerArgs, opts ...pulumi.ResourceOption) (*Trigger, error)
NewTrigger registers a new resource with the given unique name, arguments, and options.
func (*Trigger) ElementType ¶
func (*Trigger) ToTriggerOutput ¶
func (i *Trigger) ToTriggerOutput() TriggerOutput
func (*Trigger) ToTriggerOutputWithContext ¶
func (i *Trigger) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
type TriggerArgs ¶
type TriggerArgs struct { // The frequency for the alert to trigger. (`onChange` is the default behavior, `onTrue` can also be selected) AlertType pulumi.StringPtrInput // The dataset this trigger is associated with. Dataset pulumi.StringInput // Description of the trigger. Description pulumi.StringPtrInput // The state of the trigger. If true, the trigger will not be run. Defaults to false. Disabled pulumi.BoolPtrInput // The interval (in seconds) in which to check the results of the query’s calculation against the threshold. This value must be divisible by 60, between 60 and 86400 (between 1 minute and 1 day), and not be more than 4 times the query's duration. Defaults to 900 (15 minutes). Frequency pulumi.IntPtrInput // Name of the trigger. Name pulumi.StringPtrInput // The ID of the Query that the Trigger will execute. QueryId pulumi.StringInput // Zero or more configuration blocks (described below) with the recipients to notify when the trigger fires. Recipients TriggerRecipientArrayInput // A configuration block (described below) describing the threshold of the trigger. Threshold TriggerThresholdInput }
The set of arguments for constructing a Trigger resource.
func (TriggerArgs) ElementType ¶
func (TriggerArgs) ElementType() reflect.Type
type TriggerArray ¶
type TriggerArray []TriggerInput
func (TriggerArray) ElementType ¶
func (TriggerArray) ElementType() reflect.Type
func (TriggerArray) ToTriggerArrayOutput ¶
func (i TriggerArray) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArray) ToTriggerArrayOutputWithContext ¶
func (i TriggerArray) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerArrayInput ¶
type TriggerArrayInput interface { pulumi.Input ToTriggerArrayOutput() TriggerArrayOutput ToTriggerArrayOutputWithContext(context.Context) TriggerArrayOutput }
TriggerArrayInput is an input type that accepts TriggerArray and TriggerArrayOutput values. You can construct a concrete instance of `TriggerArrayInput` via:
TriggerArray{ TriggerArgs{...} }
type TriggerArrayOutput ¶
type TriggerArrayOutput struct{ *pulumi.OutputState }
func (TriggerArrayOutput) ElementType ¶
func (TriggerArrayOutput) ElementType() reflect.Type
func (TriggerArrayOutput) Index ¶
func (o TriggerArrayOutput) Index(i pulumi.IntInput) TriggerOutput
func (TriggerArrayOutput) ToTriggerArrayOutput ¶
func (o TriggerArrayOutput) ToTriggerArrayOutput() TriggerArrayOutput
func (TriggerArrayOutput) ToTriggerArrayOutputWithContext ¶
func (o TriggerArrayOutput) ToTriggerArrayOutputWithContext(ctx context.Context) TriggerArrayOutput
type TriggerInput ¶
type TriggerInput interface { pulumi.Input ToTriggerOutput() TriggerOutput ToTriggerOutputWithContext(ctx context.Context) TriggerOutput }
type TriggerMap ¶
type TriggerMap map[string]TriggerInput
func (TriggerMap) ElementType ¶
func (TriggerMap) ElementType() reflect.Type
func (TriggerMap) ToTriggerMapOutput ¶
func (i TriggerMap) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMap) ToTriggerMapOutputWithContext ¶
func (i TriggerMap) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerMapInput ¶
type TriggerMapInput interface { pulumi.Input ToTriggerMapOutput() TriggerMapOutput ToTriggerMapOutputWithContext(context.Context) TriggerMapOutput }
TriggerMapInput is an input type that accepts TriggerMap and TriggerMapOutput values. You can construct a concrete instance of `TriggerMapInput` via:
TriggerMap{ "key": TriggerArgs{...} }
type TriggerMapOutput ¶
type TriggerMapOutput struct{ *pulumi.OutputState }
func (TriggerMapOutput) ElementType ¶
func (TriggerMapOutput) ElementType() reflect.Type
func (TriggerMapOutput) MapIndex ¶
func (o TriggerMapOutput) MapIndex(k pulumi.StringInput) TriggerOutput
func (TriggerMapOutput) ToTriggerMapOutput ¶
func (o TriggerMapOutput) ToTriggerMapOutput() TriggerMapOutput
func (TriggerMapOutput) ToTriggerMapOutputWithContext ¶
func (o TriggerMapOutput) ToTriggerMapOutputWithContext(ctx context.Context) TriggerMapOutput
type TriggerOutput ¶
type TriggerOutput struct{ *pulumi.OutputState }
func (TriggerOutput) AlertType ¶
func (o TriggerOutput) AlertType() pulumi.StringPtrOutput
The frequency for the alert to trigger. (`onChange` is the default behavior, `onTrue` can also be selected)
func (TriggerOutput) Dataset ¶
func (o TriggerOutput) Dataset() pulumi.StringOutput
The dataset this trigger is associated with.
func (TriggerOutput) Description ¶
func (o TriggerOutput) Description() pulumi.StringPtrOutput
Description of the trigger.
func (TriggerOutput) Disabled ¶
func (o TriggerOutput) Disabled() pulumi.BoolPtrOutput
The state of the trigger. If true, the trigger will not be run. Defaults to false.
func (TriggerOutput) ElementType ¶
func (TriggerOutput) ElementType() reflect.Type
func (TriggerOutput) Frequency ¶
func (o TriggerOutput) Frequency() pulumi.IntOutput
The interval (in seconds) in which to check the results of the query’s calculation against the threshold. This value must be divisible by 60, between 60 and 86400 (between 1 minute and 1 day), and not be more than 4 times the query's duration. Defaults to 900 (15 minutes).
func (TriggerOutput) QueryId ¶
func (o TriggerOutput) QueryId() pulumi.StringOutput
The ID of the Query that the Trigger will execute.
func (TriggerOutput) Recipients ¶
func (o TriggerOutput) Recipients() TriggerRecipientArrayOutput
Zero or more configuration blocks (described below) with the recipients to notify when the trigger fires.
func (TriggerOutput) Threshold ¶
func (o TriggerOutput) Threshold() TriggerThresholdOutput
A configuration block (described below) describing the threshold of the trigger.
func (TriggerOutput) ToTriggerOutput ¶
func (o TriggerOutput) ToTriggerOutput() TriggerOutput
func (TriggerOutput) ToTriggerOutputWithContext ¶
func (o TriggerOutput) ToTriggerOutputWithContext(ctx context.Context) TriggerOutput
type TriggerRecipient ¶
type TriggerRecipient struct { // The ID of an already existing recipient. Should not be used in combination with `type` and `target`. Id *string `pulumi:"id"` // a block of additional details to send along with the notification. The only supported option currently is `pagerdutySeverity` which has a default value of `critical` but can be set to one of `info`, `warning`, `error`, or `critical` and must be used in combination with a PagerDuty recipient. NotificationDetails *TriggerRecipientNotificationDetails `pulumi:"notificationDetails"` // Target of the trigger recipient, this has another meaning depending on the type of recipient (see the table below). Should not be used in combination with `id`. Target *string `pulumi:"target"` // The type of the trigger recipient, allowed types are `email`, `marker`, `pagerduty`, `slack` and `webhook`. Should not be used in combination with `id`. Type *string `pulumi:"type"` }
type TriggerRecipientArgs ¶
type TriggerRecipientArgs struct { // The ID of an already existing recipient. Should not be used in combination with `type` and `target`. Id pulumi.StringPtrInput `pulumi:"id"` // a block of additional details to send along with the notification. The only supported option currently is `pagerdutySeverity` which has a default value of `critical` but can be set to one of `info`, `warning`, `error`, or `critical` and must be used in combination with a PagerDuty recipient. NotificationDetails TriggerRecipientNotificationDetailsPtrInput `pulumi:"notificationDetails"` // Target of the trigger recipient, this has another meaning depending on the type of recipient (see the table below). Should not be used in combination with `id`. Target pulumi.StringPtrInput `pulumi:"target"` // The type of the trigger recipient, allowed types are `email`, `marker`, `pagerduty`, `slack` and `webhook`. Should not be used in combination with `id`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (TriggerRecipientArgs) ElementType ¶
func (TriggerRecipientArgs) ElementType() reflect.Type
func (TriggerRecipientArgs) ToTriggerRecipientOutput ¶
func (i TriggerRecipientArgs) ToTriggerRecipientOutput() TriggerRecipientOutput
func (TriggerRecipientArgs) ToTriggerRecipientOutputWithContext ¶
func (i TriggerRecipientArgs) ToTriggerRecipientOutputWithContext(ctx context.Context) TriggerRecipientOutput
type TriggerRecipientArray ¶
type TriggerRecipientArray []TriggerRecipientInput
func (TriggerRecipientArray) ElementType ¶
func (TriggerRecipientArray) ElementType() reflect.Type
func (TriggerRecipientArray) ToTriggerRecipientArrayOutput ¶
func (i TriggerRecipientArray) ToTriggerRecipientArrayOutput() TriggerRecipientArrayOutput
func (TriggerRecipientArray) ToTriggerRecipientArrayOutputWithContext ¶
func (i TriggerRecipientArray) ToTriggerRecipientArrayOutputWithContext(ctx context.Context) TriggerRecipientArrayOutput
type TriggerRecipientArrayInput ¶
type TriggerRecipientArrayInput interface { pulumi.Input ToTriggerRecipientArrayOutput() TriggerRecipientArrayOutput ToTriggerRecipientArrayOutputWithContext(context.Context) TriggerRecipientArrayOutput }
TriggerRecipientArrayInput is an input type that accepts TriggerRecipientArray and TriggerRecipientArrayOutput values. You can construct a concrete instance of `TriggerRecipientArrayInput` via:
TriggerRecipientArray{ TriggerRecipientArgs{...} }
type TriggerRecipientArrayOutput ¶
type TriggerRecipientArrayOutput struct{ *pulumi.OutputState }
func (TriggerRecipientArrayOutput) ElementType ¶
func (TriggerRecipientArrayOutput) ElementType() reflect.Type
func (TriggerRecipientArrayOutput) Index ¶
func (o TriggerRecipientArrayOutput) Index(i pulumi.IntInput) TriggerRecipientOutput
func (TriggerRecipientArrayOutput) ToTriggerRecipientArrayOutput ¶
func (o TriggerRecipientArrayOutput) ToTriggerRecipientArrayOutput() TriggerRecipientArrayOutput
func (TriggerRecipientArrayOutput) ToTriggerRecipientArrayOutputWithContext ¶
func (o TriggerRecipientArrayOutput) ToTriggerRecipientArrayOutputWithContext(ctx context.Context) TriggerRecipientArrayOutput
type TriggerRecipientInput ¶
type TriggerRecipientInput interface { pulumi.Input ToTriggerRecipientOutput() TriggerRecipientOutput ToTriggerRecipientOutputWithContext(context.Context) TriggerRecipientOutput }
TriggerRecipientInput is an input type that accepts TriggerRecipientArgs and TriggerRecipientOutput values. You can construct a concrete instance of `TriggerRecipientInput` via:
TriggerRecipientArgs{...}
type TriggerRecipientNotificationDetails ¶
type TriggerRecipientNotificationDetails struct {
PagerdutySeverity string `pulumi:"pagerdutySeverity"`
}
type TriggerRecipientNotificationDetailsArgs ¶
type TriggerRecipientNotificationDetailsArgs struct {
PagerdutySeverity pulumi.StringInput `pulumi:"pagerdutySeverity"`
}
func (TriggerRecipientNotificationDetailsArgs) ElementType ¶
func (TriggerRecipientNotificationDetailsArgs) ElementType() reflect.Type
func (TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsOutput ¶
func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsOutput() TriggerRecipientNotificationDetailsOutput
func (TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsOutputWithContext ¶
func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsOutput
func (TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsPtrOutput ¶
func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsPtrOutput() TriggerRecipientNotificationDetailsPtrOutput
func (TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsPtrOutputWithContext ¶
func (i TriggerRecipientNotificationDetailsArgs) ToTriggerRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsPtrOutput
type TriggerRecipientNotificationDetailsInput ¶
type TriggerRecipientNotificationDetailsInput interface { pulumi.Input ToTriggerRecipientNotificationDetailsOutput() TriggerRecipientNotificationDetailsOutput ToTriggerRecipientNotificationDetailsOutputWithContext(context.Context) TriggerRecipientNotificationDetailsOutput }
TriggerRecipientNotificationDetailsInput is an input type that accepts TriggerRecipientNotificationDetailsArgs and TriggerRecipientNotificationDetailsOutput values. You can construct a concrete instance of `TriggerRecipientNotificationDetailsInput` via:
TriggerRecipientNotificationDetailsArgs{...}
type TriggerRecipientNotificationDetailsOutput ¶
type TriggerRecipientNotificationDetailsOutput struct{ *pulumi.OutputState }
func (TriggerRecipientNotificationDetailsOutput) ElementType ¶
func (TriggerRecipientNotificationDetailsOutput) ElementType() reflect.Type
func (TriggerRecipientNotificationDetailsOutput) PagerdutySeverity ¶
func (o TriggerRecipientNotificationDetailsOutput) PagerdutySeverity() pulumi.StringOutput
func (TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsOutput ¶
func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsOutput() TriggerRecipientNotificationDetailsOutput
func (TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsOutputWithContext ¶
func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsOutput
func (TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsPtrOutput ¶
func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsPtrOutput() TriggerRecipientNotificationDetailsPtrOutput
func (TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsPtrOutputWithContext ¶
func (o TriggerRecipientNotificationDetailsOutput) ToTriggerRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsPtrOutput
type TriggerRecipientNotificationDetailsPtrInput ¶
type TriggerRecipientNotificationDetailsPtrInput interface { pulumi.Input ToTriggerRecipientNotificationDetailsPtrOutput() TriggerRecipientNotificationDetailsPtrOutput ToTriggerRecipientNotificationDetailsPtrOutputWithContext(context.Context) TriggerRecipientNotificationDetailsPtrOutput }
TriggerRecipientNotificationDetailsPtrInput is an input type that accepts TriggerRecipientNotificationDetailsArgs, TriggerRecipientNotificationDetailsPtr and TriggerRecipientNotificationDetailsPtrOutput values. You can construct a concrete instance of `TriggerRecipientNotificationDetailsPtrInput` via:
TriggerRecipientNotificationDetailsArgs{...} or: nil
func TriggerRecipientNotificationDetailsPtr ¶
func TriggerRecipientNotificationDetailsPtr(v *TriggerRecipientNotificationDetailsArgs) TriggerRecipientNotificationDetailsPtrInput
type TriggerRecipientNotificationDetailsPtrOutput ¶
type TriggerRecipientNotificationDetailsPtrOutput struct{ *pulumi.OutputState }
func (TriggerRecipientNotificationDetailsPtrOutput) ElementType ¶
func (TriggerRecipientNotificationDetailsPtrOutput) ElementType() reflect.Type
func (TriggerRecipientNotificationDetailsPtrOutput) PagerdutySeverity ¶
func (o TriggerRecipientNotificationDetailsPtrOutput) PagerdutySeverity() pulumi.StringPtrOutput
func (TriggerRecipientNotificationDetailsPtrOutput) ToTriggerRecipientNotificationDetailsPtrOutput ¶
func (o TriggerRecipientNotificationDetailsPtrOutput) ToTriggerRecipientNotificationDetailsPtrOutput() TriggerRecipientNotificationDetailsPtrOutput
func (TriggerRecipientNotificationDetailsPtrOutput) ToTriggerRecipientNotificationDetailsPtrOutputWithContext ¶
func (o TriggerRecipientNotificationDetailsPtrOutput) ToTriggerRecipientNotificationDetailsPtrOutputWithContext(ctx context.Context) TriggerRecipientNotificationDetailsPtrOutput
type TriggerRecipientOutput ¶
type TriggerRecipientOutput struct{ *pulumi.OutputState }
func (TriggerRecipientOutput) ElementType ¶
func (TriggerRecipientOutput) ElementType() reflect.Type
func (TriggerRecipientOutput) Id ¶
func (o TriggerRecipientOutput) Id() pulumi.StringPtrOutput
The ID of an already existing recipient. Should not be used in combination with `type` and `target`.
func (TriggerRecipientOutput) NotificationDetails ¶
func (o TriggerRecipientOutput) NotificationDetails() TriggerRecipientNotificationDetailsPtrOutput
a block of additional details to send along with the notification. The only supported option currently is `pagerdutySeverity` which has a default value of `critical` but can be set to one of `info`, `warning`, `error`, or `critical` and must be used in combination with a PagerDuty recipient.
func (TriggerRecipientOutput) Target ¶
func (o TriggerRecipientOutput) Target() pulumi.StringPtrOutput
Target of the trigger recipient, this has another meaning depending on the type of recipient (see the table below). Should not be used in combination with `id`.
func (TriggerRecipientOutput) ToTriggerRecipientOutput ¶
func (o TriggerRecipientOutput) ToTriggerRecipientOutput() TriggerRecipientOutput
func (TriggerRecipientOutput) ToTriggerRecipientOutputWithContext ¶
func (o TriggerRecipientOutput) ToTriggerRecipientOutputWithContext(ctx context.Context) TriggerRecipientOutput
func (TriggerRecipientOutput) Type ¶
func (o TriggerRecipientOutput) Type() pulumi.StringPtrOutput
The type of the trigger recipient, allowed types are `email`, `marker`, `pagerduty`, `slack` and `webhook`. Should not be used in combination with `id`.
type TriggerState ¶
type TriggerState struct { // The frequency for the alert to trigger. (`onChange` is the default behavior, `onTrue` can also be selected) AlertType pulumi.StringPtrInput // The dataset this trigger is associated with. Dataset pulumi.StringPtrInput // Description of the trigger. Description pulumi.StringPtrInput // The state of the trigger. If true, the trigger will not be run. Defaults to false. Disabled pulumi.BoolPtrInput // The interval (in seconds) in which to check the results of the query’s calculation against the threshold. This value must be divisible by 60, between 60 and 86400 (between 1 minute and 1 day), and not be more than 4 times the query's duration. Defaults to 900 (15 minutes). Frequency pulumi.IntPtrInput // Name of the trigger. Name pulumi.StringPtrInput // The ID of the Query that the Trigger will execute. QueryId pulumi.StringPtrInput // Zero or more configuration blocks (described below) with the recipients to notify when the trigger fires. Recipients TriggerRecipientArrayInput // A configuration block (described below) describing the threshold of the trigger. Threshold TriggerThresholdPtrInput }
func (TriggerState) ElementType ¶
func (TriggerState) ElementType() reflect.Type
type TriggerThreshold ¶
type TriggerThresholdArgs ¶
type TriggerThresholdArgs struct { // The operator to apply, allowed threshold operators are `>`, `>=`, `<`, and `<=`. Op pulumi.StringInput `pulumi:"op"` // The value to be used with the operator. Value pulumi.Float64Input `pulumi:"value"` }
func (TriggerThresholdArgs) ElementType ¶
func (TriggerThresholdArgs) ElementType() reflect.Type
func (TriggerThresholdArgs) ToTriggerThresholdOutput ¶
func (i TriggerThresholdArgs) ToTriggerThresholdOutput() TriggerThresholdOutput
func (TriggerThresholdArgs) ToTriggerThresholdOutputWithContext ¶
func (i TriggerThresholdArgs) ToTriggerThresholdOutputWithContext(ctx context.Context) TriggerThresholdOutput
func (TriggerThresholdArgs) ToTriggerThresholdPtrOutput ¶
func (i TriggerThresholdArgs) ToTriggerThresholdPtrOutput() TriggerThresholdPtrOutput
func (TriggerThresholdArgs) ToTriggerThresholdPtrOutputWithContext ¶
func (i TriggerThresholdArgs) ToTriggerThresholdPtrOutputWithContext(ctx context.Context) TriggerThresholdPtrOutput
type TriggerThresholdInput ¶
type TriggerThresholdInput interface { pulumi.Input ToTriggerThresholdOutput() TriggerThresholdOutput ToTriggerThresholdOutputWithContext(context.Context) TriggerThresholdOutput }
TriggerThresholdInput is an input type that accepts TriggerThresholdArgs and TriggerThresholdOutput values. You can construct a concrete instance of `TriggerThresholdInput` via:
TriggerThresholdArgs{...}
type TriggerThresholdOutput ¶
type TriggerThresholdOutput struct{ *pulumi.OutputState }
func (TriggerThresholdOutput) ElementType ¶
func (TriggerThresholdOutput) ElementType() reflect.Type
func (TriggerThresholdOutput) Op ¶
func (o TriggerThresholdOutput) Op() pulumi.StringOutput
The operator to apply, allowed threshold operators are `>`, `>=`, `<`, and `<=`.
func (TriggerThresholdOutput) ToTriggerThresholdOutput ¶
func (o TriggerThresholdOutput) ToTriggerThresholdOutput() TriggerThresholdOutput
func (TriggerThresholdOutput) ToTriggerThresholdOutputWithContext ¶
func (o TriggerThresholdOutput) ToTriggerThresholdOutputWithContext(ctx context.Context) TriggerThresholdOutput
func (TriggerThresholdOutput) ToTriggerThresholdPtrOutput ¶
func (o TriggerThresholdOutput) ToTriggerThresholdPtrOutput() TriggerThresholdPtrOutput
func (TriggerThresholdOutput) ToTriggerThresholdPtrOutputWithContext ¶
func (o TriggerThresholdOutput) ToTriggerThresholdPtrOutputWithContext(ctx context.Context) TriggerThresholdPtrOutput
func (TriggerThresholdOutput) Value ¶
func (o TriggerThresholdOutput) Value() pulumi.Float64Output
The value to be used with the operator.
type TriggerThresholdPtrInput ¶
type TriggerThresholdPtrInput interface { pulumi.Input ToTriggerThresholdPtrOutput() TriggerThresholdPtrOutput ToTriggerThresholdPtrOutputWithContext(context.Context) TriggerThresholdPtrOutput }
TriggerThresholdPtrInput is an input type that accepts TriggerThresholdArgs, TriggerThresholdPtr and TriggerThresholdPtrOutput values. You can construct a concrete instance of `TriggerThresholdPtrInput` via:
TriggerThresholdArgs{...} or: nil
func TriggerThresholdPtr ¶
func TriggerThresholdPtr(v *TriggerThresholdArgs) TriggerThresholdPtrInput
type TriggerThresholdPtrOutput ¶
type TriggerThresholdPtrOutput struct{ *pulumi.OutputState }
func (TriggerThresholdPtrOutput) Elem ¶
func (o TriggerThresholdPtrOutput) Elem() TriggerThresholdOutput
func (TriggerThresholdPtrOutput) ElementType ¶
func (TriggerThresholdPtrOutput) ElementType() reflect.Type
func (TriggerThresholdPtrOutput) Op ¶
func (o TriggerThresholdPtrOutput) Op() pulumi.StringPtrOutput
The operator to apply, allowed threshold operators are `>`, `>=`, `<`, and `<=`.
func (TriggerThresholdPtrOutput) ToTriggerThresholdPtrOutput ¶
func (o TriggerThresholdPtrOutput) ToTriggerThresholdPtrOutput() TriggerThresholdPtrOutput
func (TriggerThresholdPtrOutput) ToTriggerThresholdPtrOutputWithContext ¶
func (o TriggerThresholdPtrOutput) ToTriggerThresholdPtrOutputWithContext(ctx context.Context) TriggerThresholdPtrOutput
func (TriggerThresholdPtrOutput) Value ¶
func (o TriggerThresholdPtrOutput) Value() pulumi.Float64PtrOutput
The value to be used with the operator.
type WebhookRecipient ¶
type WebhookRecipient struct { pulumi.CustomResourceState // The name of the Webhook Integration to create. Name pulumi.StringOutput `pulumi:"name"` // The secret to include when sending the notification to the webhook. Secret pulumi.StringOutput `pulumi:"secret"` // The URL of the endpoint to send the notification to. Url pulumi.StringOutput `pulumi:"url"` }
## # Resource: WebhookRecipient
`WebhookRecipient` allows you to define and manage a Webhook recipient that can be used by Triggers or BurnAlerts notifications.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-honeycomb/sdk/go/honeycomb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := honeycomb.NewWebhookRecipient(ctx, "prod", &honeycomb.WebhookRecipientArgs{ Secret: pulumi.String("a63dab148496ecbe04a1a802ca9b95b8"), Url: pulumi.String("https://my.url.corp.net"), }) if err != nil { return err } return nil }) }
```
## Import
Webhook Recipients can be imported by their ID, e.g.
```sh
$ pulumi import honeycomb:index/webhookRecipient:WebhookRecipient my_recipient nx2zsegA0dZ
```
func GetWebhookRecipient ¶
func GetWebhookRecipient(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WebhookRecipientState, opts ...pulumi.ResourceOption) (*WebhookRecipient, error)
GetWebhookRecipient gets an existing WebhookRecipient 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 NewWebhookRecipient ¶
func NewWebhookRecipient(ctx *pulumi.Context, name string, args *WebhookRecipientArgs, opts ...pulumi.ResourceOption) (*WebhookRecipient, error)
NewWebhookRecipient registers a new resource with the given unique name, arguments, and options.
func (*WebhookRecipient) ElementType ¶
func (*WebhookRecipient) ElementType() reflect.Type
func (*WebhookRecipient) ToWebhookRecipientOutput ¶
func (i *WebhookRecipient) ToWebhookRecipientOutput() WebhookRecipientOutput
func (*WebhookRecipient) ToWebhookRecipientOutputWithContext ¶
func (i *WebhookRecipient) ToWebhookRecipientOutputWithContext(ctx context.Context) WebhookRecipientOutput
type WebhookRecipientArgs ¶
type WebhookRecipientArgs struct { // The name of the Webhook Integration to create. Name pulumi.StringPtrInput // The secret to include when sending the notification to the webhook. Secret pulumi.StringInput // The URL of the endpoint to send the notification to. Url pulumi.StringInput }
The set of arguments for constructing a WebhookRecipient resource.
func (WebhookRecipientArgs) ElementType ¶
func (WebhookRecipientArgs) ElementType() reflect.Type
type WebhookRecipientArray ¶
type WebhookRecipientArray []WebhookRecipientInput
func (WebhookRecipientArray) ElementType ¶
func (WebhookRecipientArray) ElementType() reflect.Type
func (WebhookRecipientArray) ToWebhookRecipientArrayOutput ¶
func (i WebhookRecipientArray) ToWebhookRecipientArrayOutput() WebhookRecipientArrayOutput
func (WebhookRecipientArray) ToWebhookRecipientArrayOutputWithContext ¶
func (i WebhookRecipientArray) ToWebhookRecipientArrayOutputWithContext(ctx context.Context) WebhookRecipientArrayOutput
type WebhookRecipientArrayInput ¶
type WebhookRecipientArrayInput interface { pulumi.Input ToWebhookRecipientArrayOutput() WebhookRecipientArrayOutput ToWebhookRecipientArrayOutputWithContext(context.Context) WebhookRecipientArrayOutput }
WebhookRecipientArrayInput is an input type that accepts WebhookRecipientArray and WebhookRecipientArrayOutput values. You can construct a concrete instance of `WebhookRecipientArrayInput` via:
WebhookRecipientArray{ WebhookRecipientArgs{...} }
type WebhookRecipientArrayOutput ¶
type WebhookRecipientArrayOutput struct{ *pulumi.OutputState }
func (WebhookRecipientArrayOutput) ElementType ¶
func (WebhookRecipientArrayOutput) ElementType() reflect.Type
func (WebhookRecipientArrayOutput) Index ¶
func (o WebhookRecipientArrayOutput) Index(i pulumi.IntInput) WebhookRecipientOutput
func (WebhookRecipientArrayOutput) ToWebhookRecipientArrayOutput ¶
func (o WebhookRecipientArrayOutput) ToWebhookRecipientArrayOutput() WebhookRecipientArrayOutput
func (WebhookRecipientArrayOutput) ToWebhookRecipientArrayOutputWithContext ¶
func (o WebhookRecipientArrayOutput) ToWebhookRecipientArrayOutputWithContext(ctx context.Context) WebhookRecipientArrayOutput
type WebhookRecipientInput ¶
type WebhookRecipientInput interface { pulumi.Input ToWebhookRecipientOutput() WebhookRecipientOutput ToWebhookRecipientOutputWithContext(ctx context.Context) WebhookRecipientOutput }
type WebhookRecipientMap ¶
type WebhookRecipientMap map[string]WebhookRecipientInput
func (WebhookRecipientMap) ElementType ¶
func (WebhookRecipientMap) ElementType() reflect.Type
func (WebhookRecipientMap) ToWebhookRecipientMapOutput ¶
func (i WebhookRecipientMap) ToWebhookRecipientMapOutput() WebhookRecipientMapOutput
func (WebhookRecipientMap) ToWebhookRecipientMapOutputWithContext ¶
func (i WebhookRecipientMap) ToWebhookRecipientMapOutputWithContext(ctx context.Context) WebhookRecipientMapOutput
type WebhookRecipientMapInput ¶
type WebhookRecipientMapInput interface { pulumi.Input ToWebhookRecipientMapOutput() WebhookRecipientMapOutput ToWebhookRecipientMapOutputWithContext(context.Context) WebhookRecipientMapOutput }
WebhookRecipientMapInput is an input type that accepts WebhookRecipientMap and WebhookRecipientMapOutput values. You can construct a concrete instance of `WebhookRecipientMapInput` via:
WebhookRecipientMap{ "key": WebhookRecipientArgs{...} }
type WebhookRecipientMapOutput ¶
type WebhookRecipientMapOutput struct{ *pulumi.OutputState }
func (WebhookRecipientMapOutput) ElementType ¶
func (WebhookRecipientMapOutput) ElementType() reflect.Type
func (WebhookRecipientMapOutput) MapIndex ¶
func (o WebhookRecipientMapOutput) MapIndex(k pulumi.StringInput) WebhookRecipientOutput
func (WebhookRecipientMapOutput) ToWebhookRecipientMapOutput ¶
func (o WebhookRecipientMapOutput) ToWebhookRecipientMapOutput() WebhookRecipientMapOutput
func (WebhookRecipientMapOutput) ToWebhookRecipientMapOutputWithContext ¶
func (o WebhookRecipientMapOutput) ToWebhookRecipientMapOutputWithContext(ctx context.Context) WebhookRecipientMapOutput
type WebhookRecipientOutput ¶
type WebhookRecipientOutput struct{ *pulumi.OutputState }
func (WebhookRecipientOutput) ElementType ¶
func (WebhookRecipientOutput) ElementType() reflect.Type
func (WebhookRecipientOutput) Name ¶
func (o WebhookRecipientOutput) Name() pulumi.StringOutput
The name of the Webhook Integration to create.
func (WebhookRecipientOutput) Secret ¶
func (o WebhookRecipientOutput) Secret() pulumi.StringOutput
The secret to include when sending the notification to the webhook.
func (WebhookRecipientOutput) ToWebhookRecipientOutput ¶
func (o WebhookRecipientOutput) ToWebhookRecipientOutput() WebhookRecipientOutput
func (WebhookRecipientOutput) ToWebhookRecipientOutputWithContext ¶
func (o WebhookRecipientOutput) ToWebhookRecipientOutputWithContext(ctx context.Context) WebhookRecipientOutput
func (WebhookRecipientOutput) Url ¶
func (o WebhookRecipientOutput) Url() pulumi.StringOutput
The URL of the endpoint to send the notification to.
type WebhookRecipientState ¶
type WebhookRecipientState struct { // The name of the Webhook Integration to create. Name pulumi.StringPtrInput // The secret to include when sending the notification to the webhook. Secret pulumi.StringPtrInput // The URL of the endpoint to send the notification to. Url pulumi.StringPtrInput }
func (WebhookRecipientState) ElementType ¶
func (WebhookRecipientState) ElementType() reflect.Type
Source Files
¶
- board.go
- burnAlert.go
- column.go
- dataset.go
- derivedColumn.go
- doc.go
- emailRecipient.go
- getDatasets.go
- getQueryResult.go
- getQuerySpecification.go
- getRecipient.go
- getRecipients.go
- getTriggerRecipient.go
- init.go
- marker.go
- markerSetting.go
- pagerdutyRecipient.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- query.go
- queryAnnotation.go
- slackRecipient.go
- slo.go
- trigger.go
- webhookRecipient.go