Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty
published on Friday, Oct 30, 2026 by zenduty
zenduty
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty
published on Friday, Oct 30, 2026 by zenduty
zenduty.AccountSetting reads the account-wide settings.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const main = zenduty.getAccountSetting({});
export const incidentsDeletable = main.then(main => main.enableDeleteIncident);
import pulumi
import pulumi_zenduty as zenduty
main = zenduty.get_account_setting()
pulumi.export("incidentsDeletable", main.enable_delete_incident)
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 {
main, err := zenduty.LookupAccountSetting(ctx, &zenduty.LookupAccountSettingArgs{}, nil)
if err != nil {
return err
}
ctx.Export("incidentsDeletable", main.EnableDeleteIncident)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zenduty = Pulumi.Zenduty;
return await Deployment.RunAsync(() =>
{
var main = Zenduty.GetAccountSetting.Invoke();
return new Dictionary<string, object?>
{
["incidentsDeletable"] = main.Apply(getAccountSettingResult => getAccountSettingResult.EnableDeleteIncident),
};
});
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.GetAccountSettingArgs;
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 main = ZendutyFunctions.getAccountSetting(GetAccountSettingArgs.builder()
.build());
ctx.export("incidentsDeletable", main.enableDeleteIncident());
}
}
variables:
main:
fn::invoke:
function: zenduty:getAccountSetting
arguments: {}
outputs:
incidentsDeletable: ${main.enableDeleteIncident}
Example coming soon!
Using getAccountSetting
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 getAccountSetting(args: GetAccountSettingArgs, opts?: InvokeOptions): Promise<GetAccountSettingResult>
function getAccountSettingOutput(args: GetAccountSettingOutputArgs, opts?: InvokeOutputOptions): Output<GetAccountSettingResult>def get_account_setting(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountSettingResult
def get_account_setting_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountSettingResult]func LookupAccountSetting(ctx *Context, args *LookupAccountSettingArgs, opts ...InvokeOption) (*LookupAccountSettingResult, error)
func LookupAccountSettingOutput(ctx *Context, args *LookupAccountSettingOutputArgs, opts ...InvokeOption) LookupAccountSettingResultOutput> Note: This function is named LookupAccountSetting in the Go SDK.
public static class GetAccountSetting
{
public static Task<GetAccountSettingResult> InvokeAsync(GetAccountSettingArgs args, InvokeOptions? opts = null)
public static Output<GetAccountSettingResult> Invoke(GetAccountSettingInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAccountSettingResult> Invoke(GetAccountSettingInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAccountSettingResult> getAccountSetting(GetAccountSettingArgs args, InvokeOptions options)
public static Output<GetAccountSettingResult> getAccountSetting(GetAccountSettingArgs args, InvokeOptions options)
public static Output<GetAccountSettingResult> getAccountSetting(GetAccountSettingArgs args, InvokeOutputOptions options)
fn::invoke:
function: zenduty:index/getAccountSetting:getAccountSetting
arguments:
# arguments dictionarydata "zenduty_get_account_setting" "name" {
# arguments
}The following arguments are supported:
- Id string
- Id string
- id string
- id String
- id string
- id str
- id String
getAccountSetting Result
The following output properties are available:
- Enable
Delete boolIncident - Whether incidents can be deleted.
- Enable
First boolMtta Calculation - Whether MTTA is measured to the first acknowledgement.
- Enable
Regen boolKey - Whether team managers can regenerate integration keys.
- Enable
Team boolManager Invite - Whether team managers can invite users.
- Id string
- Enable
Delete boolIncident - Whether incidents can be deleted.
- Enable
First boolMtta Calculation - Whether MTTA is measured to the first acknowledgement.
- Enable
Regen boolKey - Whether team managers can regenerate integration keys.
- Enable
Team boolManager Invite - Whether team managers can invite users.
- Id string
- enable_
delete_ boolincident - Whether incidents can be deleted.
- enable_
first_ boolmtta_ calculation - Whether MTTA is measured to the first acknowledgement.
- enable_
regen_ boolkey - Whether team managers can regenerate integration keys.
- enable_
team_ boolmanager_ invite - Whether team managers can invite users.
- id string
- enable
Delete BooleanIncident - Whether incidents can be deleted.
- enable
First BooleanMtta Calculation - Whether MTTA is measured to the first acknowledgement.
- enable
Regen BooleanKey - Whether team managers can regenerate integration keys.
- enable
Team BooleanManager Invite - Whether team managers can invite users.
- id String
- enable
Delete booleanIncident - Whether incidents can be deleted.
- enable
First booleanMtta Calculation - Whether MTTA is measured to the first acknowledgement.
- enable
Regen booleanKey - Whether team managers can regenerate integration keys.
- enable
Team booleanManager Invite - Whether team managers can invite users.
- id string
- enable_
delete_ boolincident - Whether incidents can be deleted.
- enable_
first_ boolmtta_ calculation - Whether MTTA is measured to the first acknowledgement.
- enable_
regen_ boolkey - Whether team managers can regenerate integration keys.
- enable_
team_ boolmanager_ invite - Whether team managers can invite users.
- id str
- enable
Delete BooleanIncident - Whether incidents can be deleted.
- enable
First BooleanMtta Calculation - Whether MTTA is measured to the first acknowledgement.
- enable
Regen BooleanKey - Whether team managers can regenerate integration keys.
- enable
Team BooleanManager Invite - Whether team managers can invite users.
- id String
Package Details
- Repository
- zenduty zenduty/terraform-provider-zenduty
- License
- Notes
- This Pulumi package is based on the
zendutyTerraform Provider.
zenduty
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty
published on Friday, Oct 30, 2026 by zenduty