Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
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:
Outputs
All input properties are implicitly available as output properties. Additionally, the TagGroup resource produces the following output properties:
- 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.
- 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.
Package Details
- Repository
- ohdear matthiashamacher/pulumi-ohdear
- License
- Apache-2.0
Viewing docs for Oh Dear v1.0.0
published on Tuesday, Sep 1, 2026 by Matthias Hamacher
published on Tuesday, Sep 1, 2026 by Matthias Hamacher