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 exampleroles = zenduty.getRoles({
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
exampleroles = zenduty.get_roles(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.LookupRoles(ctx, &zenduty.LookupRolesArgs{
TeamId: "",
}, 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 exampleroles = Zenduty.GetRoles.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.GetRolesArgs;
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 exampleroles = ZendutyFunctions.getRoles(GetRolesArgs.builder()
.teamId("")
.build());
}
}
variables:
exampleroles:
fn::invoke:
function: zenduty:getRoles
arguments:
teamId: ""
import * as pulumi from "@pulumi/pulumi";
export const zendutyRoles = data.zenduty_roles.exampleroles.roles;
import pulumi
pulumi.export("zendutyRoles", data["zenduty_roles"]["exampleroles"]["roles"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("zendutyRoles", data.Zenduty_roles.Exampleroles.Roles)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["zendutyRoles"] = data.Zenduty_roles.Exampleroles.Roles,
};
});
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("zendutyRoles", data.zenduty_roles().exampleroles().roles());
}
}
outputs:
zendutyRoles: ${data.zenduty_roles.exampleroles.roles}
Using getRoles
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 getRoles(args: GetRolesArgs, opts?: InvokeOptions): Promise<GetRolesResult>
function getRolesOutput(args: GetRolesOutputArgs, opts?: InvokeOptions): Output<GetRolesResult>def get_roles(id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRolesResult
def get_roles_output(id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRolesResult]func LookupRoles(ctx *Context, args *LookupRolesArgs, opts ...InvokeOption) (*LookupRolesResult, error)
func LookupRolesOutput(ctx *Context, args *LookupRolesOutputArgs, opts ...InvokeOption) LookupRolesResultOutput> Note: This function is named LookupRoles in the Go SDK.
public static class GetRoles
{
public static Task<GetRolesResult> InvokeAsync(GetRolesArgs args, InvokeOptions? opts = null)
public static Output<GetRolesResult> Invoke(GetRolesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRolesResult> getRoles(GetRolesArgs args, InvokeOptions options)
public static Output<GetRolesResult> getRoles(GetRolesArgs args, InvokeOptions options)
fn::invoke:
function: zenduty:index/getRoles:getRoles
arguments:
# arguments dictionaryThe following arguments are supported:
getRoles Result
The following output properties are available:
- Id string
- Roles
List<Get
Roles Role> - Team
Id string
- Id string
- Roles
[]Get
Roles Role - Team
Id string
- id String
- roles
List<Get
Roles Role> - team
Id String
- id string
- roles
Get
Roles Role[] - team
Id string
- id str
- roles
Sequence[Get
Roles Role] - team_
id str
- id String
- roles List<Property Map>
- team
Id String
Supporting Types
GetRolesRole
- Creation
Date string - Description string
- The description of the role.
- Rank double
- The rank of the role.
- Team string
- The unique_id of team that the role belongs to.
- Title string
- The title of the role.
- Unique
Id string - The unique_id of the role.
- Creation
Date string - Description string
- The description of the role.
- Rank float64
- The rank of the role.
- Team string
- The unique_id of team that the role belongs to.
- Title string
- The title of the role.
- Unique
Id string - The unique_id of the role.
- creation
Date String - description String
- The description of the role.
- rank Double
- The rank of the role.
- team String
- The unique_id of team that the role belongs to.
- title String
- The title of the role.
- unique
Id String - The unique_id of the role.
- creation
Date string - description string
- The description of the role.
- rank number
- The rank of the role.
- team string
- The unique_id of team that the role belongs to.
- title string
- The title of the role.
- unique
Id string - The unique_id of the role.
- creation_
date str - description str
- The description of the role.
- rank float
- The rank of the role.
- team str
- The unique_id of team that the role belongs to.
- title str
- The title of the role.
- unique_
id str - The unique_id of the role.
- creation
Date String - description String
- The description of the role.
- rank Number
- The rank of the role.
- team String
- The unique_id of team that the role belongs to.
- title String
- The title of the role.
- unique
Id String - The unique_id of the role.
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
