published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty
Provides a Zenduty Tags Resource. This allows Tags to be created, updated, and deleted.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const exampleteam = new zenduty.Teams("exampleteam", {name: "exmaple team"});
import pulumi
import pulumi_zenduty as zenduty
exampleteam = zenduty.Teams("exampleteam", name="exmaple team")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/v2/zenduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zenduty.NewTeams(ctx, "exampleteam", &zenduty.TeamsArgs{
Name: pulumi.String("exmaple team"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zenduty = Pulumi.Zenduty;
return await Deployment.RunAsync(() =>
{
var exampleteam = new Zenduty.Teams("exampleteam", new()
{
Name = "exmaple team",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zenduty.Teams;
import com.pulumi.zenduty.TeamsArgs;
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) {
var exampleteam = new Teams("exampleteam", TeamsArgs.builder()
.name("exmaple team")
.build());
}
}
resources:
exampleteam:
type: zenduty:Teams
properties:
name: exmaple team
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const exampleTag = new zenduty.Tags("example_tag", {
name: "Incident Lead",
teamId: exampleteam.id,
color: "",
});
import pulumi
import pulumi_zenduty as zenduty
example_tag = zenduty.Tags("example_tag",
name="Incident Lead",
team_id=exampleteam["id"],
color="")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/v2/zenduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zenduty.NewTags(ctx, "example_tag", &zenduty.TagsArgs{
Name: pulumi.String("Incident Lead"),
TeamId: pulumi.Any(exampleteam.Id),
Color: pulumi.String(""),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zenduty = Pulumi.Zenduty;
return await Deployment.RunAsync(() =>
{
var exampleTag = new Zenduty.Tags("example_tag", new()
{
Name = "Incident Lead",
TeamId = exampleteam.Id,
Color = "",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zenduty.Tags;
import com.pulumi.zenduty.TagsArgs;
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) {
var exampleTag = new Tags("exampleTag", TagsArgs.builder()
.name("Incident Lead")
.teamId(exampleteam.id())
.color("")
.build());
}
}
resources:
exampleTag:
type: zenduty:Tags
name: example_tag
properties:
name: Incident Lead
teamId: ${exampleteam.id}
color: ""
Example coming soon!
Create Tags Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Tags(name: string, args: TagsArgs, opts?: CustomResourceOptions);@overload
def Tags(resource_name: str,
args: TagsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Tags(resource_name: str,
opts: Optional[ResourceOptions] = None,
team_id: Optional[str] = None,
color: Optional[str] = None,
name: Optional[str] = None,
tags_id: Optional[str] = None)func NewTags(ctx *Context, name string, args TagsArgs, opts ...ResourceOption) (*Tags, error)public Tags(string name, TagsArgs args, CustomResourceOptions? opts = null)type: zenduty:Tags
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "zenduty_tags" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TagsArgs
- 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 TagsArgs
- 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 TagsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TagsArgs
- 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 tagsResource = new Zenduty.Tags("tagsResource", new()
{
TeamId = "string",
Color = "string",
Name = "string",
TagsId = "string",
});
example, err := zenduty.NewTags(ctx, "tagsResource", &zenduty.TagsArgs{
TeamId: pulumi.String("string"),
Color: pulumi.String("string"),
Name: pulumi.String("string"),
TagsId: pulumi.String("string"),
})
resource "zenduty_tags" "tagsResource" {
lifecycle {
create_before_destroy = true
}
team_id = "string"
color = "string"
name = "string"
tags_id = "string"
}
var tagsResource = new Tags("tagsResource", TagsArgs.builder()
.teamId("string")
.color("string")
.name("string")
.tagsId("string")
.build());
tags_resource = zenduty.Tags("tagsResource",
team_id="string",
color="string",
name="string",
tags_id="string")
const tagsResource = new zenduty.Tags("tagsResource", {
teamId: "string",
color: "string",
name: "string",
tagsId: "string",
});
type: zenduty:Tags
properties:
color: string
name: string
tagsId: string
teamId: string
Tags 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 Tags resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Tags resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Tags Resource
Get an existing Tags 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?: TagsState, opts?: CustomResourceOptions): Tags@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color: Optional[str] = None,
name: Optional[str] = None,
tags_id: Optional[str] = None,
team_id: Optional[str] = None) -> Tagsfunc GetTags(ctx *Context, name string, id IDInput, state *TagsState, opts ...ResourceOption) (*Tags, error)public static Tags Get(string name, Input<string> id, TagsState? state, CustomResourceOptions? opts = null)public static Tags get(String name, Output<String> id, TagsState state, CustomResourceOptions options)resources: _: type: zenduty:Tags get: id: ${id}import {
to = zenduty_tags.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
Import
Team Tags can be imported using the team_id(ie. unique_id of the team) and tag_id(ie. unique_id of the tag), e.g.
hcl
resource “zenduty_tags” “tag1” {
}
$ pulumi import zenduty:index/tags:Tags tag1 team_id/tag_id`
$ terraform state show zenduty_tags.tag1
* copy the output data and paste inside zenduty_tags.tag1 resource block and remove the id attribute
$ pulumi preview to verify the import
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zenduty zenduty/terraform-provider-zenduty
- License
- Notes
- This Pulumi package is based on the
zendutyTerraform Provider.
published on Friday, Aug 14, 2026 by zenduty