published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty
Provides a Zenduty TeamLeveLPermissions Resource. This allows TeamLeveLPermissions to be created, updated, 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 restricted = new zenduty.TeamPermissions("restricted", {
teamId: exampleteam.id,
permissions: ["analytics_read"],
});
import pulumi
import pulumi_zenduty as zenduty
restricted = zenduty.TeamPermissions("restricted",
team_id=exampleteam["id"],
permissions=["analytics_read"])
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.NewTeamPermissions(ctx, "restricted", &zenduty.TeamPermissionsArgs{
TeamId: pulumi.Any(exampleteam.Id),
Permissions: pulumi.StringArray{
pulumi.String("analytics_read"),
},
})
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 restricted = new Zenduty.TeamPermissions("restricted", new()
{
TeamId = exampleteam.Id,
Permissions = new[]
{
"analytics_read",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zenduty.TeamPermissions;
import com.pulumi.zenduty.TeamPermissionsArgs;
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 restricted = new TeamPermissions("restricted", TeamPermissionsArgs.builder()
.teamId(exampleteam.id())
.permissions("analytics_read")
.build());
}
}
resources:
restricted:
type: zenduty:TeamPermissions
properties:
teamId: ${exampleteam.id}
permissions:
- analytics_read
Example coming soon!
Create TeamPermissions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeamPermissions(name: string, args: TeamPermissionsArgs, opts?: CustomResourceOptions);@overload
def TeamPermissions(resource_name: str,
args: TeamPermissionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeamPermissions(resource_name: str,
opts: Optional[ResourceOptions] = None,
permissions: Optional[Sequence[str]] = None,
team_id: Optional[str] = None,
team_permissions_id: Optional[str] = None)func NewTeamPermissions(ctx *Context, name string, args TeamPermissionsArgs, opts ...ResourceOption) (*TeamPermissions, error)public TeamPermissions(string name, TeamPermissionsArgs args, CustomResourceOptions? opts = null)
public TeamPermissions(String name, TeamPermissionsArgs args)
public TeamPermissions(String name, TeamPermissionsArgs args, CustomResourceOptions options)
type: zenduty:TeamPermissions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "zenduty_team_permissions" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TeamPermissionsArgs
- 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 TeamPermissionsArgs
- 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 TeamPermissionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamPermissionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamPermissionsArgs
- 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 teamPermissionsResource = new Zenduty.TeamPermissions("teamPermissionsResource", new()
{
Permissions = new[]
{
"string",
},
TeamId = "string",
TeamPermissionsId = "string",
});
example, err := zenduty.NewTeamPermissions(ctx, "teamPermissionsResource", &zenduty.TeamPermissionsArgs{
Permissions: pulumi.StringArray{
pulumi.String("string"),
},
TeamId: pulumi.String("string"),
TeamPermissionsId: pulumi.String("string"),
})
resource "zenduty_team_permissions" "teamPermissionsResource" {
lifecycle {
create_before_destroy = true
}
permissions = ["string"]
team_id = "string"
team_permissions_id = "string"
}
var teamPermissionsResource = new TeamPermissions("teamPermissionsResource", TeamPermissionsArgs.builder()
.permissions("string")
.teamId("string")
.teamPermissionsId("string")
.build());
team_permissions_resource = zenduty.TeamPermissions("teamPermissionsResource",
permissions=["string"],
team_id="string",
team_permissions_id="string")
const teamPermissionsResource = new zenduty.TeamPermissions("teamPermissionsResource", {
permissions: ["string"],
teamId: "string",
teamPermissionsId: "string",
});
type: zenduty:TeamPermissions
properties:
permissions:
- string
teamId: string
teamPermissionsId: string
TeamPermissions 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 TeamPermissions resource accepts the following input properties:
- Permissions List<string>
- List of permissions that your team can give to non-team members within your account
- Team
Id string - UniqueID of the team
- Team
Permissions stringId - The UniqueID of the Zenduty Team.
- Permissions []string
- List of permissions that your team can give to non-team members within your account
- Team
Id string - UniqueID of the team
- Team
Permissions stringId - The UniqueID of the Zenduty Team.
- permissions list(string)
- List of permissions that your team can give to non-team members within your account
- team_
id string - UniqueID of the team
- team_
permissions_ stringid - The UniqueID of the Zenduty Team.
- permissions List<String>
- List of permissions that your team can give to non-team members within your account
- team
Id String - UniqueID of the team
- team
Permissions StringId - The UniqueID of the Zenduty Team.
- permissions string[]
- List of permissions that your team can give to non-team members within your account
- team
Id string - UniqueID of the team
- team
Permissions stringId - The UniqueID of the Zenduty Team.
- permissions Sequence[str]
- List of permissions that your team can give to non-team members within your account
- team_
id str - UniqueID of the team
- team_
permissions_ strid - The UniqueID of the Zenduty Team.
- permissions List<String>
- List of permissions that your team can give to non-team members within your account
- team
Id String - UniqueID of the team
- team
Permissions StringId - The UniqueID of the Zenduty Team.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeamPermissions 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 TeamPermissions Resource
Get an existing TeamPermissions 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?: TeamPermissionsState, opts?: CustomResourceOptions): TeamPermissions@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
permissions: Optional[Sequence[str]] = None,
team_id: Optional[str] = None,
team_permissions_id: Optional[str] = None) -> TeamPermissionsfunc GetTeamPermissions(ctx *Context, name string, id IDInput, state *TeamPermissionsState, opts ...ResourceOption) (*TeamPermissions, error)public static TeamPermissions Get(string name, Input<string> id, TeamPermissionsState? state, CustomResourceOptions? opts = null)public static TeamPermissions get(String name, Output<String> id, TeamPermissionsState state, CustomResourceOptions options)resources: _: type: zenduty:TeamPermissions get: id: ${id}import {
to = zenduty_team_permissions.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.
- Permissions List<string>
- List of permissions that your team can give to non-team members within your account
- Team
Id string - UniqueID of the team
- Team
Permissions stringId - The UniqueID of the Zenduty Team.
- Permissions []string
- List of permissions that your team can give to non-team members within your account
- Team
Id string - UniqueID of the team
- Team
Permissions stringId - The UniqueID of the Zenduty Team.
- permissions list(string)
- List of permissions that your team can give to non-team members within your account
- team_
id string - UniqueID of the team
- team_
permissions_ stringid - The UniqueID of the Zenduty Team.
- permissions List<String>
- List of permissions that your team can give to non-team members within your account
- team
Id String - UniqueID of the team
- team
Permissions StringId - The UniqueID of the Zenduty Team.
- permissions string[]
- List of permissions that your team can give to non-team members within your account
- team
Id string - UniqueID of the team
- team
Permissions stringId - The UniqueID of the Zenduty Team.
- permissions Sequence[str]
- List of permissions that your team can give to non-team members within your account
- team_
id str - UniqueID of the team
- team_
permissions_ strid - The UniqueID of the Zenduty Team.
- permissions List<String>
- List of permissions that your team can give to non-team members within your account
- team
Id String - UniqueID of the team
- team
Permissions StringId - The UniqueID of the Zenduty Team.
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