1. Registry
  2. Packages
  3. Oh Dear
  4. API Docs
  5. TagGroup
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
ohdear logo
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher

    An Oh Dear tag group. tags holds tag names and supports wildcards such as prod-*.

    Create TagGroup Resource

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

    Constructor syntax

    new TagGroup(name: string, args: TagGroupArgs, opts?: CustomResourceOptions);
    @overload
    def TagGroup(resource_name: str,
                 args: TagGroupArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def TagGroup(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 label: Optional[str] = None,
                 team_id: Optional[int] = None,
                 tags: Optional[Sequence[str]] = None)
    func NewTagGroup(ctx *Context, name string, args TagGroupArgs, opts ...ResourceOption) (*TagGroup, error)
    public TagGroup(string name, TagGroupArgs args, CustomResourceOptions? opts = null)
    public TagGroup(String name, TagGroupArgs args)
    public TagGroup(String name, TagGroupArgs args, CustomResourceOptions options)
    
    type: ohdear:TagGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ohdear_tag_group" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TagGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TagGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TagGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TagGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TagGroupArgs
    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 tagGroupResource = new Ohdear.TagGroup("tagGroupResource", new()
    {
        Label = "string",
        TeamId = 0,
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := ohdear.NewTagGroup(ctx, "tagGroupResource", &ohdear.TagGroupArgs{
    	Label:  pulumi.String("string"),
    	TeamId: pulumi.Int(0),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "ohdear_tag_group" "tagGroupResource" {
      lifecycle {
        create_before_destroy = true
      }
      label   = "string"
      team_id = 0
      tags    = ["string"]
    }
    
    var tagGroupResource = new TagGroup("tagGroupResource", TagGroupArgs.builder()
        .label("string")
        .teamId(0)
        .tags("string")
        .build());
    
    tag_group_resource = ohdear.TagGroup("tagGroupResource",
        label="string",
        team_id=0,
        tags=["string"])
    
    const tagGroupResource = new ohdear.TagGroup("tagGroupResource", {
        label: "string",
        teamId: 0,
        tags: ["string"],
    });
    
    type: ohdear:TagGroup
    properties:
        label: string
        tags:
            - string
        teamId: 0
    

    TagGroup 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 TagGroup resource accepts the following input properties:

    Label string
    Display label for the group.
    TeamId int
    Team that owns the tag group.
    Tags List<string>
    Tag names in the group; wildcards such as prod-* are allowed.
    Label string
    Display label for the group.
    TeamId int
    Team that owns the tag group.
    Tags []string
    Tag names in the group; wildcards such as prod-* are allowed.
    label string
    Display label for the group.
    team_id number
    Team that owns the tag group.
    tags list(string)
    Tag names in the group; wildcards such as prod-* are allowed.
    label String
    Display label for the group.
    teamId Integer
    Team that owns the tag group.
    tags List<String>
    Tag names in the group; wildcards such as prod-* are allowed.
    label string
    Display label for the group.
    teamId number
    Team that owns the tag group.
    tags string[]
    Tag names in the group; wildcards such as prod-* are allowed.
    label str
    Display label for the group.
    team_id int
    Team that owns the tag group.
    tags Sequence[str]
    Tag names in the group; wildcards such as prod-* are allowed.
    label String
    Display label for the group.
    teamId Number
    Team that owns the tag group.
    tags List<String>
    Tag names in the group; wildcards such as prod-* are allowed.

    Outputs

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

    CreatedAt string
    When the tag group was created, as an ISO 8601 timestamp.
    GroupId int
    Numeric Oh Dear tag group ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    TeamName string
    Name of the owning team.
    CreatedAt string
    When the tag group was created, as an ISO 8601 timestamp.
    GroupId int
    Numeric Oh Dear tag group ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    TeamName string
    Name of the owning team.
    created_at string
    When the tag group was created, as an ISO 8601 timestamp.
    group_id number
    Numeric Oh Dear tag group ID.
    id string
    The provider-assigned unique ID for this managed resource.
    team_name string
    Name of the owning team.
    createdAt String
    When the tag group was created, as an ISO 8601 timestamp.
    groupId Integer
    Numeric Oh Dear tag group ID.
    id String
    The provider-assigned unique ID for this managed resource.
    teamName String
    Name of the owning team.
    createdAt string
    When the tag group was created, as an ISO 8601 timestamp.
    groupId number
    Numeric Oh Dear tag group ID.
    id string
    The provider-assigned unique ID for this managed resource.
    teamName string
    Name of the owning team.
    created_at str
    When the tag group was created, as an ISO 8601 timestamp.
    group_id int
    Numeric Oh Dear tag group ID.
    id str
    The provider-assigned unique ID for this managed resource.
    team_name str
    Name of the owning team.
    createdAt String
    When the tag group was created, as an ISO 8601 timestamp.
    groupId Number
    Numeric Oh Dear tag group ID.
    id String
    The provider-assigned unique ID for this managed resource.
    teamName String
    Name of the owning team.

    Package Details

    Repository
    ohdear matthiashamacher/pulumi-ohdear
    License
    Apache-2.0
    ohdear logo
    Viewing docs for Oh Dear v1.0.0
    published on Tuesday, Sep 1, 2026 by Matthias Hamacher

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial