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 exampleMaintenanceWindow = zenduty.getMaintenanceWindow({
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
example_maintenance_window = zenduty.get_maintenance_window(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.LookupMaintenanceWindow(ctx, &zenduty.LookupMaintenanceWindowArgs{
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 exampleMaintenanceWindow = Zenduty.GetMaintenanceWindow.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.GetMaintenanceWindowArgs;
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 exampleMaintenanceWindow = ZendutyFunctions.getMaintenanceWindow(GetMaintenanceWindowArgs.builder()
.teamId("")
.build());
}
}
variables:
exampleMaintenanceWindow:
fn::invoke:
function: zenduty:getMaintenanceWindow
arguments:
teamId: ""
or
import * as pulumi from "@pulumi/pulumi";
export const zendutyMaintenanceWindow = data.zenduty_maintenance_window.example_maintenance_window.maintenance_windows;
import pulumi
pulumi.export("zendutyMaintenanceWindow", data["zenduty_maintenance_window"]["example_maintenance_window"]["maintenance_windows"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("zendutyMaintenanceWindow", data.Zenduty_maintenance_window.Example_maintenance_window.Maintenance_windows)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["zendutyMaintenanceWindow"] = data.Zenduty_maintenance_window.Example_maintenance_window.Maintenance_windows,
};
});
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("zendutyMaintenanceWindow", data.zenduty_maintenance_window().example_maintenance_window().maintenance_windows());
}
}
outputs:
zendutyMaintenanceWindow: ${data.zenduty_maintenance_window.example_maintenance_window.maintenance_windows}
Using getMaintenanceWindow
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 getMaintenanceWindow(args: GetMaintenanceWindowArgs, opts?: InvokeOptions): Promise<GetMaintenanceWindowResult>
function getMaintenanceWindowOutput(args: GetMaintenanceWindowOutputArgs, opts?: InvokeOptions): Output<GetMaintenanceWindowResult>def get_maintenance_window(id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMaintenanceWindowResult
def get_maintenance_window_output(id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMaintenanceWindowResult]func LookupMaintenanceWindow(ctx *Context, args *LookupMaintenanceWindowArgs, opts ...InvokeOption) (*LookupMaintenanceWindowResult, error)
func LookupMaintenanceWindowOutput(ctx *Context, args *LookupMaintenanceWindowOutputArgs, opts ...InvokeOption) LookupMaintenanceWindowResultOutput> Note: This function is named LookupMaintenanceWindow in the Go SDK.
public static class GetMaintenanceWindow
{
public static Task<GetMaintenanceWindowResult> InvokeAsync(GetMaintenanceWindowArgs args, InvokeOptions? opts = null)
public static Output<GetMaintenanceWindowResult> Invoke(GetMaintenanceWindowInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMaintenanceWindowResult> getMaintenanceWindow(GetMaintenanceWindowArgs args, InvokeOptions options)
public static Output<GetMaintenanceWindowResult> getMaintenanceWindow(GetMaintenanceWindowArgs args, InvokeOptions options)
fn::invoke:
function: zenduty:index/getMaintenanceWindow:getMaintenanceWindow
arguments:
# arguments dictionaryThe following arguments are supported:
getMaintenanceWindow Result
The following output properties are available:
- Id string
- Maintenance
Windows List<GetMaintenance Window Maintenance Window> - Team
Id string - The unique_id of the team to create the maintenance window in.
- Id string
- Maintenance
Windows []GetMaintenance Window Maintenance Window - Team
Id string - The unique_id of the team to create the maintenance window in.
- id String
- maintenance
Windows List<GetMaintenance Window Maintenance Window> - team
Id String - The unique_id of the team to create the maintenance window in.
- id string
- maintenance
Windows GetMaintenance Window Maintenance Window[] - team
Id string - The unique_id of the team to create the maintenance window in.
- id str
- maintenance_
windows Sequence[GetMaintenance Window Maintenance Window] - team_
id str - The unique_id of the team to create the maintenance window in.
- id String
- maintenance
Windows List<Property Map> - team
Id String - The unique_id of the team to create the maintenance window in.
Supporting Types
GetMaintenanceWindowMaintenanceWindow
- Creation
Date string - End
Time string - The end time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- Name string
- The name of the maintenance window.
- Repeat
Interval double - The repeat interval of the maintenance window.
- Repeat
Until string - The repeat until of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- Services
List<Get
Maintenance Window Maintenance Window Service> - The service ids that are associated with the maintenance window.These attributes are returned as a list of maps.
- Start
Time string - The start time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- Time
Zone string - Unique
Id string - The unique_id of the maintenance window.
- Creation
Date string - End
Time string - The end time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- Name string
- The name of the maintenance window.
- Repeat
Interval float64 - The repeat interval of the maintenance window.
- Repeat
Until string - The repeat until of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- Services
[]Get
Maintenance Window Maintenance Window Service - The service ids that are associated with the maintenance window.These attributes are returned as a list of maps.
- Start
Time string - The start time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- Time
Zone string - Unique
Id string - The unique_id of the maintenance window.
- creation
Date String - end
Time String - The end time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- name String
- The name of the maintenance window.
- repeat
Interval Double - The repeat interval of the maintenance window.
- repeat
Until String - The repeat until of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- services
List<Get
Maintenance Window Maintenance Window Service> - The service ids that are associated with the maintenance window.These attributes are returned as a list of maps.
- start
Time String - The start time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- time
Zone String - unique
Id String - The unique_id of the maintenance window.
- creation
Date string - end
Time string - The end time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- name string
- The name of the maintenance window.
- repeat
Interval number - The repeat interval of the maintenance window.
- repeat
Until string - The repeat until of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- services
Get
Maintenance Window Maintenance Window Service[] - The service ids that are associated with the maintenance window.These attributes are returned as a list of maps.
- start
Time string - The start time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- time
Zone string - unique
Id string - The unique_id of the maintenance window.
- creation_
date str - end_
time str - The end time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- name str
- The name of the maintenance window.
- repeat_
interval float - The repeat interval of the maintenance window.
- repeat_
until str - The repeat until of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- services
Sequence[Get
Maintenance Window Maintenance Window Service] - The service ids that are associated with the maintenance window.These attributes are returned as a list of maps.
- start_
time str - The start time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- time_
zone str - unique_
id str - The unique_id of the maintenance window.
- creation
Date String - end
Time String - The end time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- name String
- The name of the maintenance window.
- repeat
Interval Number - The repeat interval of the maintenance window.
- repeat
Until String - The repeat until of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- services List<Property Map>
- The service ids that are associated with the maintenance window.These attributes are returned as a list of maps.
- start
Time String - The start time of the maintenance window in the format of "YYYY-MM-DD HH:MM".
- time
Zone String - unique
Id String - The unique_id of the maintenance window.
GetMaintenanceWindowMaintenanceWindowService
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
