1. Registry
  2. Packages
  3. Zenduty Provider
  4. API Docs
  5. AccountSetting
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty
zenduty
Viewing docs for zenduty 2.2.0
published on Friday, Oct 30, 2026 by zenduty

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zenduty from "@pulumi/zenduty";
    
    const main = new zenduty.AccountSetting("main", {
        enableDeleteIncident: false,
        enableTeamManagerInvite: true,
        enableRegenKey: true,
        enableFirstMttaCalculation: true,
    });
    
    import pulumi
    import pulumi_zenduty as zenduty
    
    main = zenduty.AccountSetting("main",
        enable_delete_incident=False,
        enable_team_manager_invite=True,
        enable_regen_key=True,
        enable_first_mtta_calculation=True)
    
    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 {
    		_, err := zenduty.NewAccountSetting(ctx, "main", &zenduty.AccountSettingArgs{
    			EnableDeleteIncident:       pulumi.Bool(false),
    			EnableTeamManagerInvite:    pulumi.Bool(true),
    			EnableRegenKey:             pulumi.Bool(true),
    			EnableFirstMttaCalculation: pulumi.Bool(true),
    		})
    		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 main = new Zenduty.AccountSetting("main", new()
        {
            EnableDeleteIncident = false,
            EnableTeamManagerInvite = true,
            EnableRegenKey = true,
            EnableFirstMttaCalculation = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zenduty.AccountSetting;
    import com.pulumi.zenduty.AccountSettingArgs;
    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) {
            var main = new AccountSetting("main", AccountSettingArgs.builder()
                .enableDeleteIncident(false)
                .enableTeamManagerInvite(true)
                .enableRegenKey(true)
                .enableFirstMttaCalculation(true)
                .build());
    
        }
    }
    
    resources:
      main:
        type: zenduty:AccountSetting
        properties:
          enableDeleteIncident: false
          enableTeamManagerInvite: true
          enableRegenKey: true
          enableFirstMttaCalculation: true
    
    Example coming soon!
    

    Create AccountSetting Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AccountSetting(name: string, args?: AccountSettingArgs, opts?: CustomResourceOptions);
    @overload
    def AccountSetting(resource_name: str,
                       args: Optional[AccountSettingArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountSetting(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_setting_id: Optional[str] = None,
                       enable_delete_incident: Optional[bool] = None,
                       enable_first_mtta_calculation: Optional[bool] = None,
                       enable_regen_key: Optional[bool] = None,
                       enable_team_manager_invite: Optional[bool] = None)
    func NewAccountSetting(ctx *Context, name string, args *AccountSettingArgs, opts ...ResourceOption) (*AccountSetting, error)
    public AccountSetting(string name, AccountSettingArgs? args = null, CustomResourceOptions? opts = null)
    public AccountSetting(String name, AccountSettingArgs args)
    public AccountSetting(String name, AccountSettingArgs args, CustomResourceOptions options)
    
    type: zenduty:AccountSetting
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "zenduty_account_setting" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AccountSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AccountSettingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AccountSettingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountSettingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var accountSettingResource = new Zenduty.AccountSetting("accountSettingResource", new()
    {
        AccountSettingId = "string",
        EnableDeleteIncident = false,
        EnableFirstMttaCalculation = false,
        EnableRegenKey = false,
        EnableTeamManagerInvite = false,
    });
    
    example, err := zenduty.NewAccountSetting(ctx, "accountSettingResource", &zenduty.AccountSettingArgs{
    	AccountSettingId:           pulumi.String("string"),
    	EnableDeleteIncident:       pulumi.Bool(false),
    	EnableFirstMttaCalculation: pulumi.Bool(false),
    	EnableRegenKey:             pulumi.Bool(false),
    	EnableTeamManagerInvite:    pulumi.Bool(false),
    })
    
    resource "zenduty_account_setting" "accountSettingResource" {
      lifecycle {
        create_before_destroy = true
      }
      account_setting_id            = "string"
      enable_delete_incident        = false
      enable_first_mtta_calculation = false
      enable_regen_key              = false
      enable_team_manager_invite    = false
    }
    
    var accountSettingResource = new AccountSetting("accountSettingResource", AccountSettingArgs.builder()
        .accountSettingId("string")
        .enableDeleteIncident(false)
        .enableFirstMttaCalculation(false)
        .enableRegenKey(false)
        .enableTeamManagerInvite(false)
        .build());
    
    account_setting_resource = zenduty.AccountSetting("accountSettingResource",
        account_setting_id="string",
        enable_delete_incident=False,
        enable_first_mtta_calculation=False,
        enable_regen_key=False,
        enable_team_manager_invite=False)
    
    const accountSettingResource = new zenduty.AccountSetting("accountSettingResource", {
        accountSettingId: "string",
        enableDeleteIncident: false,
        enableFirstMttaCalculation: false,
        enableRegenKey: false,
        enableTeamManagerInvite: false,
    });
    
    type: zenduty:AccountSetting
    properties:
        accountSettingId: string
        enableDeleteIncident: false
        enableFirstMttaCalculation: false
        enableRegenKey: false
        enableTeamManagerInvite: false
    

    AccountSetting Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AccountSetting resource accepts the following input properties:

    AccountSettingId string
    Always account.
    EnableDeleteIncident bool
    Whether incidents can be deleted.
    EnableFirstMttaCalculation bool
    Whether MTTA is measured to the first acknowledgement.
    EnableRegenKey bool
    Whether team managers can regenerate integration keys.
    EnableTeamManagerInvite bool
    Whether team managers can invite users.
    AccountSettingId string
    Always account.
    EnableDeleteIncident bool
    Whether incidents can be deleted.
    EnableFirstMttaCalculation bool
    Whether MTTA is measured to the first acknowledgement.
    EnableRegenKey bool
    Whether team managers can regenerate integration keys.
    EnableTeamManagerInvite bool
    Whether team managers can invite users.
    account_setting_id string
    Always account.
    enable_delete_incident bool
    Whether incidents can be deleted.
    enable_first_mtta_calculation bool
    Whether MTTA is measured to the first acknowledgement.
    enable_regen_key bool
    Whether team managers can regenerate integration keys.
    enable_team_manager_invite bool
    Whether team managers can invite users.
    accountSettingId String
    Always account.
    enableDeleteIncident Boolean
    Whether incidents can be deleted.
    enableFirstMttaCalculation Boolean
    Whether MTTA is measured to the first acknowledgement.
    enableRegenKey Boolean
    Whether team managers can regenerate integration keys.
    enableTeamManagerInvite Boolean
    Whether team managers can invite users.
    accountSettingId string
    Always account.
    enableDeleteIncident boolean
    Whether incidents can be deleted.
    enableFirstMttaCalculation boolean
    Whether MTTA is measured to the first acknowledgement.
    enableRegenKey boolean
    Whether team managers can regenerate integration keys.
    enableTeamManagerInvite boolean
    Whether team managers can invite users.
    account_setting_id str
    Always account.
    enable_delete_incident bool
    Whether incidents can be deleted.
    enable_first_mtta_calculation bool
    Whether MTTA is measured to the first acknowledgement.
    enable_regen_key bool
    Whether team managers can regenerate integration keys.
    enable_team_manager_invite bool
    Whether team managers can invite users.
    accountSettingId String
    Always account.
    enableDeleteIncident Boolean
    Whether incidents can be deleted.
    enableFirstMttaCalculation Boolean
    Whether MTTA is measured to the first acknowledgement.
    enableRegenKey Boolean
    Whether team managers can regenerate integration keys.
    enableTeamManagerInvite Boolean
    Whether team managers can invite users.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccountSetting resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AccountSetting Resource

    Get an existing AccountSetting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AccountSettingState, opts?: CustomResourceOptions): AccountSetting
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_setting_id: Optional[str] = None,
            enable_delete_incident: Optional[bool] = None,
            enable_first_mtta_calculation: Optional[bool] = None,
            enable_regen_key: Optional[bool] = None,
            enable_team_manager_invite: Optional[bool] = None) -> AccountSetting
    func GetAccountSetting(ctx *Context, name string, id IDInput, state *AccountSettingState, opts ...ResourceOption) (*AccountSetting, error)
    public static AccountSetting Get(string name, Input<string> id, AccountSettingState? state, CustomResourceOptions? opts = null)
    public static AccountSetting get(String name, Output<String> id, AccountSettingState state, CustomResourceOptions options)
    resources:  _:    type: zenduty:AccountSetting    get:      id: ${id}
    import {
      to = zenduty_account_setting.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountSettingId string
    Always account.
    EnableDeleteIncident bool
    Whether incidents can be deleted.
    EnableFirstMttaCalculation bool
    Whether MTTA is measured to the first acknowledgement.
    EnableRegenKey bool
    Whether team managers can regenerate integration keys.
    EnableTeamManagerInvite bool
    Whether team managers can invite users.
    AccountSettingId string
    Always account.
    EnableDeleteIncident bool
    Whether incidents can be deleted.
    EnableFirstMttaCalculation bool
    Whether MTTA is measured to the first acknowledgement.
    EnableRegenKey bool
    Whether team managers can regenerate integration keys.
    EnableTeamManagerInvite bool
    Whether team managers can invite users.
    account_setting_id string
    Always account.
    enable_delete_incident bool
    Whether incidents can be deleted.
    enable_first_mtta_calculation bool
    Whether MTTA is measured to the first acknowledgement.
    enable_regen_key bool
    Whether team managers can regenerate integration keys.
    enable_team_manager_invite bool
    Whether team managers can invite users.
    accountSettingId String
    Always account.
    enableDeleteIncident Boolean
    Whether incidents can be deleted.
    enableFirstMttaCalculation Boolean
    Whether MTTA is measured to the first acknowledgement.
    enableRegenKey Boolean
    Whether team managers can regenerate integration keys.
    enableTeamManagerInvite Boolean
    Whether team managers can invite users.
    accountSettingId string
    Always account.
    enableDeleteIncident boolean
    Whether incidents can be deleted.
    enableFirstMttaCalculation boolean
    Whether MTTA is measured to the first acknowledgement.
    enableRegenKey boolean
    Whether team managers can regenerate integration keys.
    enableTeamManagerInvite boolean
    Whether team managers can invite users.
    account_setting_id str
    Always account.
    enable_delete_incident bool
    Whether incidents can be deleted.
    enable_first_mtta_calculation bool
    Whether MTTA is measured to the first acknowledgement.
    enable_regen_key bool
    Whether team managers can regenerate integration keys.
    enable_team_manager_invite bool
    Whether team managers can invite users.
    accountSettingId String
    Always account.
    enableDeleteIncident Boolean
    Whether incidents can be deleted.
    enableFirstMttaCalculation Boolean
    Whether MTTA is measured to the first acknowledgement.
    enableRegenKey Boolean
    Whether team managers can regenerate integration keys.
    enableTeamManagerInvite Boolean
    Whether team managers can invite users.

    Import

    hcl

    resource “zenduty_account_setting” “main” {

    }

    $ pulumi import zenduty:index/accountSetting:AccountSetting main account`
    

    $ terraform state show zenduty_account_setting.main

    $ pulumi preview to verify the import

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    zenduty zenduty/terraform-provider-zenduty
    License
    Notes
    This Pulumi package is based on the zenduty Terraform Provider.
    zenduty
    Viewing docs for zenduty 2.2.0
    published on Friday, Oct 30, 2026 by zenduty

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial