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 exampleschedules = zenduty.getSchedules({
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
exampleschedules = zenduty.get_schedules(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.LookupSchedules(ctx, &zenduty.LookupSchedulesArgs{
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 exampleschedules = Zenduty.GetSchedules.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.GetSchedulesArgs;
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 exampleschedules = ZendutyFunctions.getSchedules(GetSchedulesArgs.builder()
.teamId("")
.build());
}
}
variables:
exampleschedules:
fn::invoke:
function: zenduty:getSchedules
arguments:
teamId: ""
or
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const exampleschedules = zenduty.getSchedules({
scheduleId: "",
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
exampleschedules = zenduty.get_schedules(schedule_id="",
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.LookupSchedules(ctx, &zenduty.LookupSchedulesArgs{
ScheduleId: pulumi.StringRef(""),
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 exampleschedules = Zenduty.GetSchedules.Invoke(new()
{
ScheduleId = "",
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.GetSchedulesArgs;
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 exampleschedules = ZendutyFunctions.getSchedules(GetSchedulesArgs.builder()
.scheduleId("")
.teamId("")
.build());
}
}
variables:
exampleschedules:
fn::invoke:
function: zenduty:getSchedules
arguments:
scheduleId: ""
teamId: ""
import * as pulumi from "@pulumi/pulumi";
export const schedules = data.zenduty_schedules.exampleschedules.schedules;
import pulumi
pulumi.export("schedules", data["zenduty_schedules"]["exampleschedules"]["schedules"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("schedules", data.Zenduty_schedules.Exampleschedules.Schedules)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["schedules"] = data.Zenduty_schedules.Exampleschedules.Schedules,
};
});
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("schedules", data.zenduty_schedules().exampleschedules().schedules());
}
}
outputs:
schedules: ${data.zenduty_schedules.exampleschedules.schedules}
Using getSchedules
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 getSchedules(args: GetSchedulesArgs, opts?: InvokeOptions): Promise<GetSchedulesResult>
function getSchedulesOutput(args: GetSchedulesOutputArgs, opts?: InvokeOptions): Output<GetSchedulesResult>def get_schedules(id: Optional[str] = None,
schedule_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchedulesResult
def get_schedules_output(id: Optional[pulumi.Input[str]] = None,
schedule_id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchedulesResult]func LookupSchedules(ctx *Context, args *LookupSchedulesArgs, opts ...InvokeOption) (*LookupSchedulesResult, error)
func LookupSchedulesOutput(ctx *Context, args *LookupSchedulesOutputArgs, opts ...InvokeOption) LookupSchedulesResultOutput> Note: This function is named LookupSchedules in the Go SDK.
public static class GetSchedules
{
public static Task<GetSchedulesResult> InvokeAsync(GetSchedulesArgs args, InvokeOptions? opts = null)
public static Output<GetSchedulesResult> Invoke(GetSchedulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchedulesResult> getSchedules(GetSchedulesArgs args, InvokeOptions options)
public static Output<GetSchedulesResult> getSchedules(GetSchedulesArgs args, InvokeOptions options)
fn::invoke:
function: zenduty:index/getSchedules:getSchedules
arguments:
# arguments dictionaryThe following arguments are supported:
- Team
Id string - The UniqueID of the team to query.
- Id string
- Schedule
Id string - The UniqueID of the schedule to query.along with team id
- Team
Id string - The UniqueID of the team to query.
- Id string
- Schedule
Id string - The UniqueID of the schedule to query.along with team id
- team
Id String - The UniqueID of the team to query.
- id String
- schedule
Id String - The UniqueID of the schedule to query.along with team id
- team
Id string - The UniqueID of the team to query.
- id string
- schedule
Id string - The UniqueID of the schedule to query.along with team id
- team_
id str - The UniqueID of the team to query.
- id str
- schedule_
id str - The UniqueID of the schedule to query.along with team id
- team
Id String - The UniqueID of the team to query.
- id String
- schedule
Id String - The UniqueID of the schedule to query.along with team id
getSchedules Result
The following output properties are available:
- Id string
- Schedules
List<Get
Schedules Schedule> - Team
Id string - Schedule
Id string
- Id string
- Schedules
[]Get
Schedules Schedule - Team
Id string - Schedule
Id string
- id String
- schedules
List<Get
Schedules Schedule> - team
Id String - schedule
Id String
- id string
- schedules
Get
Schedules Schedule[] - team
Id string - schedule
Id string
- id String
- schedules List<Property Map>
- team
Id String - schedule
Id String
Supporting Types
GetSchedulesSchedule
- Description string
- The description of the schedule.
- Layers
List<Get
Schedules Schedule Layer> - The layers of the schedule as a list of maps.
- Name string
- The name of the override.
- Overrides
List<Get
Schedules Schedule Override> - The list of overrides in the schedule.
- Summary string
- The summary of the schedule.
- Team string
- The unique_id of the team.
- Time
Zone string - The time_zone of the schedule.
- Unique
Id string - The unique_id of the schedule.
- Description string
- The description of the schedule.
- Layers
[]Get
Schedules Schedule Layer - The layers of the schedule as a list of maps.
- Name string
- The name of the override.
- Overrides
[]Get
Schedules Schedule Override - The list of overrides in the schedule.
- Summary string
- The summary of the schedule.
- Team string
- The unique_id of the team.
- Time
Zone string - The time_zone of the schedule.
- Unique
Id string - The unique_id of the schedule.
- description String
- The description of the schedule.
- layers
List<Get
Schedules Schedule Layer> - The layers of the schedule as a list of maps.
- name String
- The name of the override.
- overrides
List<Get
Schedules Schedule Override> - The list of overrides in the schedule.
- summary String
- The summary of the schedule.
- team String
- The unique_id of the team.
- time
Zone String - The time_zone of the schedule.
- unique
Id String - The unique_id of the schedule.
- description string
- The description of the schedule.
- layers
Get
Schedules Schedule Layer[] - The layers of the schedule as a list of maps.
- name string
- The name of the override.
- overrides
Get
Schedules Schedule Override[] - The list of overrides in the schedule.
- summary string
- The summary of the schedule.
- team string
- The unique_id of the team.
- time
Zone string - The time_zone of the schedule.
- unique
Id string - The unique_id of the schedule.
- description str
- The description of the schedule.
- layers
Sequence[Get
Schedules Schedule Layer] - The layers of the schedule as a list of maps.
- name str
- The name of the override.
- overrides
Sequence[Get
Schedules Schedule Override] - The list of overrides in the schedule.
- summary str
- The summary of the schedule.
- team str
- The unique_id of the team.
- time_
zone str - The time_zone of the schedule.
- unique_
id str - The unique_id of the schedule.
- description String
- The description of the schedule.
- layers List<Property Map>
- The layers of the schedule as a list of maps.
- name String
- The name of the override.
- overrides List<Property Map>
- The list of overrides in the schedule.
- summary String
- The summary of the schedule.
- team String
- The unique_id of the team.
- time
Zone String - The time_zone of the schedule.
- unique
Id String - The unique_id of the schedule.
GetSchedulesScheduleLayer
- Is
Active bool - Last
Edited string - Name string
- The name of the override.
- Restriction
Type double - The restriction_type of the layer. ex:
1for day,2for week ,0for default - Restrictions
List<Get
Schedules Schedule Layer Restriction> - The list of restrictions in the layer.
- Rotation
End stringTime - end time of the layer.
- Rotation
Start stringTime - start time of the layer.
- Shift
Length double - The shift length of the layer in seconds.
- Unique
Id string - The unique_id of the schedule.
- Users
List<Get
Schedules Schedule Layer User> - The list of users in the layer.
- Is
Active bool - Last
Edited string - Name string
- The name of the override.
- Restriction
Type float64 - The restriction_type of the layer. ex:
1for day,2for week ,0for default - Restrictions
[]Get
Schedules Schedule Layer Restriction - The list of restrictions in the layer.
- Rotation
End stringTime - end time of the layer.
- Rotation
Start stringTime - start time of the layer.
- Shift
Length float64 - The shift length of the layer in seconds.
- Unique
Id string - The unique_id of the schedule.
- Users
[]Get
Schedules Schedule Layer User - The list of users in the layer.
- is
Active Boolean - last
Edited String - name String
- The name of the override.
- restriction
Type Double - The restriction_type of the layer. ex:
1for day,2for week ,0for default - restrictions
List<Get
Schedules Schedule Layer Restriction> - The list of restrictions in the layer.
- rotation
End StringTime - end time of the layer.
- rotation
Start StringTime - start time of the layer.
- shift
Length Double - The shift length of the layer in seconds.
- unique
Id String - The unique_id of the schedule.
- users
List<Get
Schedules Schedule Layer User> - The list of users in the layer.
- is
Active boolean - last
Edited string - name string
- The name of the override.
- restriction
Type number - The restriction_type of the layer. ex:
1for day,2for week ,0for default - restrictions
Get
Schedules Schedule Layer Restriction[] - The list of restrictions in the layer.
- rotation
End stringTime - end time of the layer.
- rotation
Start stringTime - start time of the layer.
- shift
Length number - The shift length of the layer in seconds.
- unique
Id string - The unique_id of the schedule.
- users
Get
Schedules Schedule Layer User[] - The list of users in the layer.
- is_
active bool - last_
edited str - name str
- The name of the override.
- restriction_
type float - The restriction_type of the layer. ex:
1for day,2for week ,0for default - restrictions
Sequence[Get
Schedules Schedule Layer Restriction] - The list of restrictions in the layer.
- rotation_
end_ strtime - end time of the layer.
- rotation_
start_ strtime - start time of the layer.
- shift_
length float - The shift length of the layer in seconds.
- unique_
id str - The unique_id of the schedule.
- users
Sequence[Get
Schedules Schedule Layer User] - The list of users in the layer.
- is
Active Boolean - last
Edited String - name String
- The name of the override.
- restriction
Type Number - The restriction_type of the layer. ex:
1for day,2for week ,0for default - restrictions List<Property Map>
- The list of restrictions in the layer.
- rotation
End StringTime - end time of the layer.
- rotation
Start StringTime - start time of the layer.
- shift
Length Number - The shift length of the layer in seconds.
- unique
Id String - The unique_id of the schedule.
- users List<Property Map>
- The list of users in the layer.
GetSchedulesScheduleLayerRestriction
- Duration double
- The duration of the restriction in seconds.for daily restriction, max value can be 86400(246060). for weekly restriction, it is 604800(72460*60).
- Start
Day doubleOf Week - The start_day_of_week of the restriction. for daily restriction, it is 7. for weekly restriction, it is the day of the week.ie: 1 for monday, 2 for tuesday, 3 for wednesday, 4 for thursday, 5 for friday, 6 for saturday, 7 for sunday.
- Start
Time stringOf Day - The start_time_of_day of the restriction. time in HH:MM:SS format.
- Unique
Id string - The unique_id of the schedule.
- Duration float64
- The duration of the restriction in seconds.for daily restriction, max value can be 86400(246060). for weekly restriction, it is 604800(72460*60).
- Start
Day float64Of Week - The start_day_of_week of the restriction. for daily restriction, it is 7. for weekly restriction, it is the day of the week.ie: 1 for monday, 2 for tuesday, 3 for wednesday, 4 for thursday, 5 for friday, 6 for saturday, 7 for sunday.
- Start
Time stringOf Day - The start_time_of_day of the restriction. time in HH:MM:SS format.
- Unique
Id string - The unique_id of the schedule.
- duration Double
- The duration of the restriction in seconds.for daily restriction, max value can be 86400(246060). for weekly restriction, it is 604800(72460*60).
- start
Day DoubleOf Week - The start_day_of_week of the restriction. for daily restriction, it is 7. for weekly restriction, it is the day of the week.ie: 1 for monday, 2 for tuesday, 3 for wednesday, 4 for thursday, 5 for friday, 6 for saturday, 7 for sunday.
- start
Time StringOf Day - The start_time_of_day of the restriction. time in HH:MM:SS format.
- unique
Id String - The unique_id of the schedule.
- duration number
- The duration of the restriction in seconds.for daily restriction, max value can be 86400(246060). for weekly restriction, it is 604800(72460*60).
- start
Day numberOf Week - The start_day_of_week of the restriction. for daily restriction, it is 7. for weekly restriction, it is the day of the week.ie: 1 for monday, 2 for tuesday, 3 for wednesday, 4 for thursday, 5 for friday, 6 for saturday, 7 for sunday.
- start
Time stringOf Day - The start_time_of_day of the restriction. time in HH:MM:SS format.
- unique
Id string - The unique_id of the schedule.
- duration float
- The duration of the restriction in seconds.for daily restriction, max value can be 86400(246060). for weekly restriction, it is 604800(72460*60).
- start_
day_ floatof_ week - The start_day_of_week of the restriction. for daily restriction, it is 7. for weekly restriction, it is the day of the week.ie: 1 for monday, 2 for tuesday, 3 for wednesday, 4 for thursday, 5 for friday, 6 for saturday, 7 for sunday.
- start_
time_ strof_ day - The start_time_of_day of the restriction. time in HH:MM:SS format.
- unique_
id str - The unique_id of the schedule.
- duration Number
- The duration of the restriction in seconds.for daily restriction, max value can be 86400(246060). for weekly restriction, it is 604800(72460*60).
- start
Day NumberOf Week - The start_day_of_week of the restriction. for daily restriction, it is 7. for weekly restriction, it is the day of the week.ie: 1 for monday, 2 for tuesday, 3 for wednesday, 4 for thursday, 5 for friday, 6 for saturday, 7 for sunday.
- start
Time StringOf Day - The start_time_of_day of the restriction. time in HH:MM:SS format.
- unique
Id String - The unique_id of the schedule.
GetSchedulesScheduleLayerUser
GetSchedulesScheduleOverride
- end_
time str - The end_time of the override.
- name str
- The name of the override.
- start_
time str - The start_time of the override. .
- unique_
id str - The unique_id of the schedule.
- user str
- The user of the override.
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
