Viewing docs for zenduty 1.0.6
published on Wednesday, Sep 3, 2025 by zenduty
published on Wednesday, Sep 3, 2025 by zenduty
Viewing docs for zenduty 1.0.6
published on Wednesday, Sep 3, 2025 by zenduty
published on Wednesday, Sep 3, 2025 by zenduty
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const exampleteams = zenduty.getTeams({});
import pulumi
import pulumi_zenduty as zenduty
exampleteams = zenduty.get_teams()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/zenduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zenduty.LookupTeams(ctx, &zenduty.LookupTeamsArgs{}, nil)
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 exampleteams = Zenduty.GetTeams.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zenduty.ZendutyFunctions;
import com.pulumi.zenduty.inputs.GetTeamsArgs;
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 exampleteams = ZendutyFunctions.getTeams();
}
}
variables:
exampleteams:
fn::invoke:
function: zenduty:getTeams
arguments: {}
or
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const exampleteams = zenduty.getTeams({
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
exampleteams = zenduty.get_teams(team_id="")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/zenduty/zenduty"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zenduty.LookupTeams(ctx, &zenduty.LookupTeamsArgs{
TeamId: pulumi.StringRef(""),
}, nil)
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 exampleteams = Zenduty.GetTeams.Invoke(new()
{
TeamId = "",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zenduty.ZendutyFunctions;
import com.pulumi.zenduty.inputs.GetTeamsArgs;
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 exampleteams = ZendutyFunctions.getTeams(GetTeamsArgs.builder()
.teamId("")
.build());
}
}
variables:
exampleteams:
fn::invoke:
function: zenduty:getTeams
arguments:
teamId: ""
import * as pulumi from "@pulumi/pulumi";
export const teams = data.zenduty_teams.exampleteams.teams;
import pulumi
pulumi.export("teams", data["zenduty_teams"]["exampleteams"]["teams"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("teams", data.Zenduty_teams.Exampleteams.Teams)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["teams"] = data.Zenduty_teams.Exampleteams.Teams,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
ctx.export("teams", data.zenduty_teams().exampleteams().teams());
}
}
outputs:
teams: ${data.zenduty_teams.exampleteams.teams}
Using getTeams
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTeams(args: GetTeamsArgs, opts?: InvokeOptions): Promise<GetTeamsResult>
function getTeamsOutput(args: GetTeamsOutputArgs, opts?: InvokeOptions): Output<GetTeamsResult>def get_teams(id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTeamsResult
def get_teams_output(id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTeamsResult]func LookupTeams(ctx *Context, args *LookupTeamsArgs, opts ...InvokeOption) (*LookupTeamsResult, error)
func LookupTeamsOutput(ctx *Context, args *LookupTeamsOutputArgs, opts ...InvokeOption) LookupTeamsResultOutput> Note: This function is named LookupTeams in the Go SDK.
public static class GetTeams
{
public static Task<GetTeamsResult> InvokeAsync(GetTeamsArgs args, InvokeOptions? opts = null)
public static Output<GetTeamsResult> Invoke(GetTeamsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTeamsResult> getTeams(GetTeamsArgs args, InvokeOptions options)
public static Output<GetTeamsResult> getTeams(GetTeamsArgs args, InvokeOptions options)
fn::invoke:
function: zenduty:index/getTeams:getTeams
arguments:
# arguments dictionaryThe following arguments are supported:
getTeams Result
The following output properties are available:
- Id string
- Teams
List<Get
Teams Team> - Team
Id string
- Id string
- Teams
[]Get
Teams Team - Team
Id string
- id String
- teams
List<Get
Teams Team> - team
Id String
- id string
- teams
Get
Teams Team[] - team
Id string
- id str
- teams
Sequence[Get
Teams Team] - team_
id str
- id String
- teams List<Property Map>
- team
Id String
Supporting Types
GetTeamsTeam
- Account string
- The account_id of the team.
- Creation
Date string - Members
List<Get
Teams Team Member> - The list of members of the team.
- Name string
- The name of the team.
- Owner string
- The username of the owner of the team.
- Roles
List<Get
Teams Team Role> - The list of Incident roles in the team as maps.
- Unique
Id string - The unique_id of the team.
- Account string
- The account_id of the team.
- Creation
Date string - Members
[]Get
Teams Team Member - The list of members of the team.
- Name string
- The name of the team.
- Owner string
- The username of the owner of the team.
- Roles
[]Get
Teams Team Role - The list of Incident roles in the team as maps.
- Unique
Id string - The unique_id of the team.
- account String
- The account_id of the team.
- creation
Date String - members
List<Get
Teams Team Member> - The list of members of the team.
- name String
- The name of the team.
- owner String
- The username of the owner of the team.
- roles
List<Get
Teams Team Role> - The list of Incident roles in the team as maps.
- unique
Id String - The unique_id of the team.
- account string
- The account_id of the team.
- creation
Date string - members
Get
Teams Team Member[] - The list of members of the team.
- name string
- The name of the team.
- owner string
- The username of the owner of the team.
- roles
Get
Teams Team Role[] - The list of Incident roles in the team as maps.
- unique
Id string - The unique_id of the team.
- account str
- The account_id of the team.
- creation_
date str - members
Sequence[Get
Teams Team Member] - The list of members of the team.
- name str
- The name of the team.
- owner str
- The username of the owner of the team.
- roles
Sequence[Get
Teams Team Role] - The list of Incident roles in the team as maps.
- unique_
id str - The unique_id of the team.
- account String
- The account_id of the team.
- creation
Date String - members List<Property Map>
- The list of members of the team.
- name String
- The name of the team.
- owner String
- The username of the owner of the team.
- roles List<Property Map>
- The list of Incident roles in the team as maps.
- unique
Id String - The unique_id of the team.
GetTeamsTeamMember
- Joining
Date string - Role double
- The role of the member.
- Team string
- The unique_id of the team.
- Unique
Id string - The unique_id of the team.
- User Dictionary<string, string>
- contains Maps with attributes
- Joining
Date string - Role float64
- The role of the member.
- Team string
- The unique_id of the team.
- Unique
Id string - The unique_id of the team.
- User map[string]string
- contains Maps with attributes
- joining
Date String - role Double
- The role of the member.
- team String
- The unique_id of the team.
- unique
Id String - The unique_id of the team.
- user Map<String,String>
- contains Maps with attributes
- joining
Date string - role number
- The role of the member.
- team string
- The unique_id of the team.
- unique
Id string - The unique_id of the team.
- user {[key: string]: string}
- contains Maps with attributes
- joining_
date str - role float
- The role of the member.
- team str
- The unique_id of the team.
- unique_
id str - The unique_id of the team.
- user Mapping[str, str]
- contains Maps with attributes
- joining
Date String - role Number
- The role of the member.
- team String
- The unique_id of the team.
- unique
Id String - The unique_id of the team.
- user Map<String>
- contains Maps with attributes
GetTeamsTeamRole
- Creation
Date string - Description string
- The description of the role.
- Rank double
- The rank of the role.
- Team string
- The unique_id of the team.
- Title string
- The title of the role.
- Unique
Id string - The unique_id of the team.
- Creation
Date string - Description string
- The description of the role.
- Rank float64
- The rank of the role.
- Team string
- The unique_id of the team.
- Title string
- The title of the role.
- Unique
Id string - The unique_id of the team.
- creation
Date String - description String
- The description of the role.
- rank Double
- The rank of the role.
- team String
- The unique_id of the team.
- title String
- The title of the role.
- unique
Id String - The unique_id of the team.
- creation
Date string - description string
- The description of the role.
- rank number
- The rank of the role.
- team string
- The unique_id of the team.
- title string
- The title of the role.
- unique
Id string - The unique_id of the team.
- creation_
date str - description str
- The description of the role.
- rank float
- The rank of the role.
- team str
- The unique_id of the team.
- title str
- The title of the role.
- unique_
id str - The unique_id of the team.
- creation
Date String - description String
- The description of the role.
- rank Number
- The rank of the role.
- team String
- The unique_id of the team.
- title String
- The title of the role.
- unique
Id String - The unique_id of the team.
Package Details
- Repository
- zenduty zenduty/terraform-provider-zenduty
- License
- Notes
- This Pulumi package is based on the
zendutyTerraform Provider.
Viewing docs for zenduty 1.0.6
published on Wednesday, Sep 3, 2025 by zenduty
published on Wednesday, Sep 3, 2025 by zenduty
