1. Packages
  2. Honeycombio Provider
  3. API Docs
  4. MarkerSetting
honeycombio 0.32.0 published on Monday, Apr 7, 2025 by honeycombio

honeycombio.MarkerSetting

Explore with Pulumi AI

# Resource: honeycombio.MarkerSetting

Creates a marker setting. For more information on marker settings, check out the Marker Settings API.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as honeycombio from "@pulumi/honeycombio";

const config = new pulumi.Config();
const dataset = config.require("dataset");
const deployMarker = new honeycombio.MarkerSetting("deployMarker", {
    type: "deploy",
    color: "#DF4661",
    dataset: dataset,
});
Copy
import pulumi
import pulumi_honeycombio as honeycombio

config = pulumi.Config()
dataset = config.require("dataset")
deploy_marker = honeycombio.MarkerSetting("deployMarker",
    type="deploy",
    color="#DF4661",
    dataset=dataset)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/honeycombio/honeycombio"
	"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 := honeycombio.NewMarkerSetting(ctx, "deployMarker", &honeycombio.MarkerSettingArgs{
			Type:    pulumi.String("deploy"),
			Color:   pulumi.String("#DF4661"),
			Dataset: pulumi.String(dataset),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Honeycombio = Pulumi.Honeycombio;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var dataset = config.Require("dataset");
    var deployMarker = new Honeycombio.MarkerSetting("deployMarker", new()
    {
        Type = "deploy",
        Color = "#DF4661",
        Dataset = dataset,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.honeycombio.MarkerSetting;
import com.pulumi.honeycombio.MarkerSettingArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var dataset = config.get("dataset");
        var deployMarker = new MarkerSetting("deployMarker", MarkerSettingArgs.builder()
            .type("deploy")
            .color("#DF4661")
            .dataset(dataset)
            .build());

    }
}
Copy
configuration:
  dataset:
    type: string
resources:
  deployMarker:
    type: honeycombio:MarkerSetting
    properties:
      type: deploy
      color: '#DF4661'
      dataset: ${dataset}
Copy

Create MarkerSetting Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new MarkerSetting(name: string, args: MarkerSettingArgs, opts?: CustomResourceOptions);
@overload
def MarkerSetting(resource_name: str,
                  args: MarkerSettingArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def MarkerSetting(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  color: Optional[str] = None,
                  type: Optional[str] = None,
                  dataset: Optional[str] = None,
                  marker_setting_id: Optional[str] = None)
func NewMarkerSetting(ctx *Context, name string, args MarkerSettingArgs, opts ...ResourceOption) (*MarkerSetting, error)
public MarkerSetting(string name, MarkerSettingArgs args, CustomResourceOptions? opts = null)
public MarkerSetting(String name, MarkerSettingArgs args)
public MarkerSetting(String name, MarkerSettingArgs args, CustomResourceOptions options)
type: honeycombio:MarkerSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MarkerSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MarkerSettingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MarkerSettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MarkerSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MarkerSettingArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var markerSettingResource = new Honeycombio.MarkerSetting("markerSettingResource", new()
{
    Color = "string",
    Type = "string",
    Dataset = "string",
    MarkerSettingId = "string",
});
Copy
example, err := honeycombio.NewMarkerSetting(ctx, "markerSettingResource", &honeycombio.MarkerSettingArgs{
Color: pulumi.String("string"),
Type: pulumi.String("string"),
Dataset: pulumi.String("string"),
MarkerSettingId: pulumi.String("string"),
})
Copy
var markerSettingResource = new MarkerSetting("markerSettingResource", MarkerSettingArgs.builder()
    .color("string")
    .type("string")
    .dataset("string")
    .markerSettingId("string")
    .build());
Copy
marker_setting_resource = honeycombio.MarkerSetting("markerSettingResource",
    color="string",
    type="string",
    dataset="string",
    marker_setting_id="string")
Copy
const markerSettingResource = new honeycombio.MarkerSetting("markerSettingResource", {
    color: "string",
    type: "string",
    dataset: "string",
    markerSettingId: "string",
});
Copy
type: honeycombio:MarkerSetting
properties:
    color: string
    dataset: string
    markerSettingId: string
    type: string
Copy

MarkerSetting Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The MarkerSetting resource accepts the following input properties:

Color This property is required. string
The color set for the marker as a hex color code.(e.g. #DF4661)
Type This property is required. string
The type of the marker setting. (e.g. "deploy", "job-run")
Dataset string
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
MarkerSettingId string
ID of the marker setting.
Color This property is required. string
The color set for the marker as a hex color code.(e.g. #DF4661)
Type This property is required. string
The type of the marker setting. (e.g. "deploy", "job-run")
Dataset string
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
MarkerSettingId string
ID of the marker setting.
color This property is required. String
The color set for the marker as a hex color code.(e.g. #DF4661)
type This property is required. String
The type of the marker setting. (e.g. "deploy", "job-run")
dataset String
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
markerSettingId String
ID of the marker setting.
color This property is required. string
The color set for the marker as a hex color code.(e.g. #DF4661)
type This property is required. string
The type of the marker setting. (e.g. "deploy", "job-run")
dataset string
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
markerSettingId string
ID of the marker setting.
color This property is required. str
The color set for the marker as a hex color code.(e.g. #DF4661)
type This property is required. str
The type of the marker setting. (e.g. "deploy", "job-run")
dataset str
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
marker_setting_id str
ID of the marker setting.
color This property is required. String
The color set for the marker as a hex color code.(e.g. #DF4661)
type This property is required. String
The type of the marker setting. (e.g. "deploy", "job-run")
dataset String
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
markerSettingId String
ID of the marker setting.

Outputs

All input properties are implicitly available as output properties. Additionally, the MarkerSetting resource produces the following output properties:

CreatedAt string
Timestamp when the marker setting was created.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
Timestamp when the marker setting was last modified.
CreatedAt string
Timestamp when the marker setting was created.
Id string
The provider-assigned unique ID for this managed resource.
UpdatedAt string
Timestamp when the marker setting was last modified.
createdAt String
Timestamp when the marker setting was created.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
Timestamp when the marker setting was last modified.
createdAt string
Timestamp when the marker setting was created.
id string
The provider-assigned unique ID for this managed resource.
updatedAt string
Timestamp when the marker setting was last modified.
created_at str
Timestamp when the marker setting was created.
id str
The provider-assigned unique ID for this managed resource.
updated_at str
Timestamp when the marker setting was last modified.
createdAt String
Timestamp when the marker setting was created.
id String
The provider-assigned unique ID for this managed resource.
updatedAt String
Timestamp when the marker setting was last modified.

Look up Existing MarkerSetting Resource

Get an existing MarkerSetting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: MarkerSettingState, opts?: CustomResourceOptions): MarkerSetting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        color: Optional[str] = None,
        created_at: Optional[str] = None,
        dataset: Optional[str] = None,
        marker_setting_id: Optional[str] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None) -> MarkerSetting
func GetMarkerSetting(ctx *Context, name string, id IDInput, state *MarkerSettingState, opts ...ResourceOption) (*MarkerSetting, error)
public static MarkerSetting Get(string name, Input<string> id, MarkerSettingState? state, CustomResourceOptions? opts = null)
public static MarkerSetting get(String name, Output<String> id, MarkerSettingState state, CustomResourceOptions options)
resources:  _:    type: honeycombio:MarkerSetting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Color string
The color set for the marker as a hex color code.(e.g. #DF4661)
CreatedAt string
Timestamp when the marker setting was created.
Dataset string
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
MarkerSettingId string
ID of the marker setting.
Type string
The type of the marker setting. (e.g. "deploy", "job-run")
UpdatedAt string
Timestamp when the marker setting was last modified.
Color string
The color set for the marker as a hex color code.(e.g. #DF4661)
CreatedAt string
Timestamp when the marker setting was created.
Dataset string
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
MarkerSettingId string
ID of the marker setting.
Type string
The type of the marker setting. (e.g. "deploy", "job-run")
UpdatedAt string
Timestamp when the marker setting was last modified.
color String
The color set for the marker as a hex color code.(e.g. #DF4661)
createdAt String
Timestamp when the marker setting was created.
dataset String
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
markerSettingId String
ID of the marker setting.
type String
The type of the marker setting. (e.g. "deploy", "job-run")
updatedAt String
Timestamp when the marker setting was last modified.
color string
The color set for the marker as a hex color code.(e.g. #DF4661)
createdAt string
Timestamp when the marker setting was created.
dataset string
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
markerSettingId string
ID of the marker setting.
type string
The type of the marker setting. (e.g. "deploy", "job-run")
updatedAt string
Timestamp when the marker setting was last modified.
color str
The color set for the marker as a hex color code.(e.g. #DF4661)
created_at str
Timestamp when the marker setting was created.
dataset str
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
marker_setting_id str
ID of the marker setting.
type str
The type of the marker setting. (e.g. "deploy", "job-run")
updated_at str
Timestamp when the marker setting was last modified.
color String
The color set for the marker as a hex color code.(e.g. #DF4661)
createdAt String
Timestamp when the marker setting was created.
dataset String
The dataset this marker setting belongs to. If not set, the marker setting will be Environment-wide.
markerSettingId String
ID of the marker setting.
type String
The type of the marker setting. (e.g. "deploy", "job-run")
updatedAt String
Timestamp when the marker setting was last modified.

Package Details

Repository
honeycombio honeycombio/terraform-provider-honeycombio
License
Notes
This Pulumi package is based on the honeycombio Terraform Provider.