Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty
Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty
zenduty.OutgoingRules lists the outgoing rules of an integration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zenduty from "@pulumi/zenduty";
const integrationRules = zenduty.getOutgoingRules({
teamId: exampleteam.id,
serviceId: exampleservice.id,
integrationId: exampleintegration.id,
});
import pulumi
import pulumi_zenduty as zenduty
integration_rules = zenduty.get_outgoing_rules(team_id=exampleteam["id"],
service_id=exampleservice["id"],
integration_id=exampleintegration["id"])
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.LookupOutgoingRules(ctx, &zenduty.LookupOutgoingRulesArgs{
TeamId: exampleteam.Id,
ServiceId: exampleservice.Id,
IntegrationId: exampleintegration.Id,
}, 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 integrationRules = Zenduty.GetOutgoingRules.Invoke(new()
{
TeamId = exampleteam.Id,
ServiceId = exampleservice.Id,
IntegrationId = exampleintegration.Id,
});
});
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.GetOutgoingRulesArgs;
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 integrationRules = ZendutyFunctions.getOutgoingRules(GetOutgoingRulesArgs.builder()
.teamId(exampleteam.id())
.serviceId(exampleservice.id())
.integrationId(exampleintegration.id())
.build());
}
}
variables:
integrationRules:
fn::invoke:
function: zenduty:getOutgoingRules
arguments:
teamId: ${exampleteam.id}
serviceId: ${exampleservice.id}
integrationId: ${exampleintegration.id}
Example coming soon!
Using getOutgoingRules
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 getOutgoingRules(args: GetOutgoingRulesArgs, opts?: InvokeOptions): Promise<GetOutgoingRulesResult>
function getOutgoingRulesOutput(args: GetOutgoingRulesOutputArgs, opts?: InvokeOutputOptions): Output<GetOutgoingRulesResult>def get_outgoing_rules(id: Optional[str] = None,
integration_id: Optional[str] = None,
service_id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOutgoingRulesResult
def get_outgoing_rules_output(id: pulumi.Input[Optional[str]] = None,
integration_id: pulumi.Input[Optional[str]] = None,
service_id: pulumi.Input[Optional[str]] = None,
team_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOutgoingRulesResult]func LookupOutgoingRules(ctx *Context, args *LookupOutgoingRulesArgs, opts ...InvokeOption) (*LookupOutgoingRulesResult, error)
func LookupOutgoingRulesOutput(ctx *Context, args *LookupOutgoingRulesOutputArgs, opts ...InvokeOption) LookupOutgoingRulesResultOutput> Note: This function is named LookupOutgoingRules in the Go SDK.
public static class GetOutgoingRules
{
public static Task<GetOutgoingRulesResult> InvokeAsync(GetOutgoingRulesArgs args, InvokeOptions? opts = null)
public static Output<GetOutgoingRulesResult> Invoke(GetOutgoingRulesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOutgoingRulesResult> Invoke(GetOutgoingRulesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOutgoingRulesResult> getOutgoingRules(GetOutgoingRulesArgs args, InvokeOptions options)
public static Output<GetOutgoingRulesResult> getOutgoingRules(GetOutgoingRulesArgs args, InvokeOptions options)
public static Output<GetOutgoingRulesResult> getOutgoingRules(GetOutgoingRulesArgs args, InvokeOutputOptions options)
fn::invoke:
function: zenduty:index/getOutgoingRules:getOutgoingRules
arguments:
# arguments dictionarydata "zenduty_get_outgoing_rules" "name" {
# arguments
}The following arguments are supported:
- Integration
Id string - The unique_id of the integration whose outgoing rules to list.
- Service
Id string - The unique_id of the service.
- Team
Id string - The unique_id of the team.
- Id string
- Integration
Id string - The unique_id of the integration whose outgoing rules to list.
- Service
Id string - The unique_id of the service.
- Team
Id string - The unique_id of the team.
- Id string
- integration_
id string - The unique_id of the integration whose outgoing rules to list.
- service_
id string - The unique_id of the service.
- team_
id string - The unique_id of the team.
- id string
- integration
Id String - The unique_id of the integration whose outgoing rules to list.
- service
Id String - The unique_id of the service.
- team
Id String - The unique_id of the team.
- id String
- integration
Id string - The unique_id of the integration whose outgoing rules to list.
- service
Id string - The unique_id of the service.
- team
Id string - The unique_id of the team.
- id string
- integration_
id str - The unique_id of the integration whose outgoing rules to list.
- service_
id str - The unique_id of the service.
- team_
id str - The unique_id of the team.
- id str
- integration
Id String - The unique_id of the integration whose outgoing rules to list.
- service
Id String - The unique_id of the service.
- team
Id String - The unique_id of the team.
- id String
getOutgoingRules Result
The following output properties are available:
- Id string
- Integration
Id string - Rules
List<Get
Outgoing Rules Rule> - The list of outgoing rules, each with:
- Service
Id string - Team
Id string
- Id string
- Integration
Id string - Rules
[]Get
Outgoing Rules Rule - The list of outgoing rules, each with:
- Service
Id string - Team
Id string
- id string
- integration_
id string - rules list(object)
- The list of outgoing rules, each with:
- service_
id string - team_
id string
- id String
- integration
Id String - rules
List<Get
Outgoing Rules Rule> - The list of outgoing rules, each with:
- service
Id String - team
Id String
- id string
- integration
Id string - rules
Get
Outgoing Rules Rule[] - The list of outgoing rules, each with:
- service
Id string - team
Id string
- id str
- integration_
id str - rules
Sequence[Get
Outgoing Rules Rule] - The list of outgoing rules, each with:
- service_
id str - team_
id str
- id String
- integration
Id String - rules List<Property Map>
- The list of outgoing rules, each with:
- service
Id String - team
Id String
Supporting Types
GetOutgoingRulesRule
Package Details
- Repository
- zenduty zenduty/terraform-provider-zenduty
- License
- Notes
- This Pulumi package is based on the
zendutyTerraform Provider.
Viewing docs for zenduty 2.0.0
published on Friday, Aug 14, 2026 by zenduty
published on Friday, Aug 14, 2026 by zenduty