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 exampleEsps = zenduty.getEsp({
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
example_esps = zenduty.get_esp(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.LookupEsp(ctx, &zenduty.LookupEspArgs{
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 exampleEsps = Zenduty.GetEsp.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.GetEspArgs;
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 exampleEsps = ZendutyFunctions.getEsp(GetEspArgs.builder()
.teamId("")
.build());
}
}
variables:
exampleEsps:
fn::invoke:
function: zenduty:getEsp
arguments:
teamId: ""
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const exampleEsp = zenduty.getEsp({
espId: "",
teamId: "",
});
import pulumi
import pulumi_zenduty as zenduty
example_esp = zenduty.get_esp(esp_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.LookupEsp(ctx, &zenduty.LookupEspArgs{
EspId: 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 exampleEsp = Zenduty.GetEsp.Invoke(new()
{
EspId = "",
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.GetEspArgs;
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 exampleEsp = ZendutyFunctions.getEsp(GetEspArgs.builder()
.espId("")
.teamId("")
.build());
}
}
variables:
exampleEsp:
fn::invoke:
function: zenduty:getEsp
arguments:
espId: ""
teamId: ""
import * as pulumi from "@pulumi/pulumi";
export const esps = data.zenduty_esp.example_esp.escalation_policies;
import pulumi
pulumi.export("esps", data["zenduty_esp"]["example_esp"]["escalation_policies"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("esps", data.Zenduty_esp.Example_esp.Escalation_policies)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["esps"] = data.Zenduty_esp.Example_esp.Escalation_policies,
};
});
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("esps", data.zenduty_esp().example_esp().escalation_policies());
}
}
outputs:
esps: ${data.zenduty_esp.example_esp.escalation_policies}
Using getEsp
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 getEsp(args: GetEspArgs, opts?: InvokeOptions): Promise<GetEspResult>
function getEspOutput(args: GetEspOutputArgs, opts?: InvokeOptions): Output<GetEspResult>def get_esp(esp_id: Optional[str] = None,
id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEspResult
def get_esp_output(esp_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEspResult]func LookupEsp(ctx *Context, args *LookupEspArgs, opts ...InvokeOption) (*LookupEspResult, error)
func LookupEspOutput(ctx *Context, args *LookupEspOutputArgs, opts ...InvokeOption) LookupEspResultOutput> Note: This function is named LookupEsp in the Go SDK.
public static class GetEsp
{
public static Task<GetEspResult> InvokeAsync(GetEspArgs args, InvokeOptions? opts = null)
public static Output<GetEspResult> Invoke(GetEspInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEspResult> getEsp(GetEspArgs args, InvokeOptions options)
public static Output<GetEspResult> getEsp(GetEspArgs args, InvokeOptions options)
fn::invoke:
function: zenduty:index/getEsp:getEsp
arguments:
# arguments dictionaryThe following arguments are supported:
getEsp Result
The following output properties are available:
- Escalation
Policies List<GetEsp Escalation Policy> - Id string
- Team
Id string - Esp
Id string
- Escalation
Policies []GetEsp Escalation Policy - Id string
- Team
Id string - Esp
Id string
- escalation
Policies List<GetEsp Escalation Policy> - id String
- team
Id String - esp
Id String
- escalation
Policies GetEsp Escalation Policy[] - id string
- team
Id string - esp
Id string
- escalation
Policies List<Property Map> - id String
- team
Id String - esp
Id String
Supporting Types
GetEspEscalationPolicy
- Description string
- The description of the ESP.
- Global
Ep bool - Move
To boolNext - (bool) - Whether the ESP should move to the next ESP.
- Name string
- The name of the ESP.
- Repeat
Policy double - Number of times the ESP should repeat.
- Rules
List<Get
Esp Escalation Policy Rule> - The list of rules that the ESP has.
The following attributes are exported as list of maps:
delay- The delay of the rule in minutes.targets- The list of targets that the rule applies to.target_type- The type of the target.target_id- The unique_id of the target. - Summary string
- Team string
- The unique_id of team that the ESP belongs to.
- Unique
Id string - The UniqueID of the ESP.
- Description string
- The description of the ESP.
- Global
Ep bool - Move
To boolNext - (bool) - Whether the ESP should move to the next ESP.
- Name string
- The name of the ESP.
- Repeat
Policy float64 - Number of times the ESP should repeat.
- Rules
[]Get
Esp Escalation Policy Rule - The list of rules that the ESP has.
The following attributes are exported as list of maps:
delay- The delay of the rule in minutes.targets- The list of targets that the rule applies to.target_type- The type of the target.target_id- The unique_id of the target. - Summary string
- Team string
- The unique_id of team that the ESP belongs to.
- Unique
Id string - The UniqueID of the ESP.
- description String
- The description of the ESP.
- global
Ep Boolean - move
To BooleanNext - (bool) - Whether the ESP should move to the next ESP.
- name String
- The name of the ESP.
- repeat
Policy Double - Number of times the ESP should repeat.
- rules
List<Get
Esp Escalation Policy Rule> - The list of rules that the ESP has.
The following attributes are exported as list of maps:
delay- The delay of the rule in minutes.targets- The list of targets that the rule applies to.target_type- The type of the target.target_id- The unique_id of the target. - summary String
- team String
- The unique_id of team that the ESP belongs to.
- unique
Id String - The UniqueID of the ESP.
- description string
- The description of the ESP.
- global
Ep boolean - move
To booleanNext - (bool) - Whether the ESP should move to the next ESP.
- name string
- The name of the ESP.
- repeat
Policy number - Number of times the ESP should repeat.
- rules
Get
Esp Escalation Policy Rule[] - The list of rules that the ESP has.
The following attributes are exported as list of maps:
delay- The delay of the rule in minutes.targets- The list of targets that the rule applies to.target_type- The type of the target.target_id- The unique_id of the target. - summary string
- team string
- The unique_id of team that the ESP belongs to.
- unique
Id string - The UniqueID of the ESP.
- description str
- The description of the ESP.
- global_
ep bool - move_
to_ boolnext - (bool) - Whether the ESP should move to the next ESP.
- name str
- The name of the ESP.
- repeat_
policy float - Number of times the ESP should repeat.
- rules
Sequence[Get
Esp Escalation Policy Rule] - The list of rules that the ESP has.
The following attributes are exported as list of maps:
delay- The delay of the rule in minutes.targets- The list of targets that the rule applies to.target_type- The type of the target.target_id- The unique_id of the target. - summary str
- team str
- The unique_id of team that the ESP belongs to.
- unique_
id str - The UniqueID of the ESP.
- description String
- The description of the ESP.
- global
Ep Boolean - move
To BooleanNext - (bool) - Whether the ESP should move to the next ESP.
- name String
- The name of the ESP.
- repeat
Policy Number - Number of times the ESP should repeat.
- rules List<Property Map>
- The list of rules that the ESP has.
The following attributes are exported as list of maps:
delay- The delay of the rule in minutes.targets- The list of targets that the rule applies to.target_type- The type of the target.target_id- The unique_id of the target. - summary String
- team String
- The unique_id of team that the ESP belongs to.
- unique
Id String - The UniqueID of the ESP.
GetEspEscalationPolicyRule
- Delay double
- Position double
- Targets
List<Get
Esp Escalation Policy Rule Target> - Unique
Id string - The UniqueID of the ESP.
- Delay float64
- Position float64
- Targets
[]Get
Esp Escalation Policy Rule Target - Unique
Id string - The UniqueID of the ESP.
- delay Double
- position Double
- targets
List<Get
Esp Escalation Policy Rule Target> - unique
Id String - The UniqueID of the ESP.
- delay number
- position number
- targets
Get
Esp Escalation Policy Rule Target[] - unique
Id string - The UniqueID of the ESP.
- delay float
- position float
- targets
Sequence[Get
Esp Escalation Policy Rule Target] - unique_
id str - The UniqueID of the ESP.
- delay Number
- position Number
- targets List<Property Map>
- unique
Id String - The UniqueID of the ESP.
GetEspEscalationPolicyRuleTarget
- Position double
- Target
Id string - Target
Type double
- Position float64
- Target
Id string - Target
Type float64
- position Double
- target
Id String - target
Type Double
- position number
- target
Id string - target
Type number
- position float
- target_
id str - target_
type float
- position Number
- target
Id String - target
Type Number
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
