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 exampleRule = zenduty.getGlobalRoutingRules({
routerId: "router_unique_id",
ruleId: "rule_unique_id",
});
const routerRules = zenduty.getGlobalRoutingRules({
routerId: "router_unique_id",
});
import pulumi
import pulumi_zenduty as zenduty
example_rule = zenduty.get_global_routing_rules(router_id="router_unique_id",
rule_id="rule_unique_id")
router_rules = zenduty.get_global_routing_rules(router_id="router_unique_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.GetGlobalRoutingRules(ctx, &zenduty.GetGlobalRoutingRulesArgs{
RouterId: "router_unique_id",
RuleId: pulumi.StringRef("rule_unique_id"),
}, nil)
if err != nil {
return err
}
_, err = zenduty.GetGlobalRoutingRules(ctx, &zenduty.GetGlobalRoutingRulesArgs{
RouterId: "router_unique_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 exampleRule = Zenduty.GetGlobalRoutingRules.Invoke(new()
{
RouterId = "router_unique_id",
RuleId = "rule_unique_id",
});
var routerRules = Zenduty.GetGlobalRoutingRules.Invoke(new()
{
RouterId = "router_unique_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.GetGlobalRoutingRulesArgs;
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 exampleRule = ZendutyFunctions.getGlobalRoutingRules(GetGlobalRoutingRulesArgs.builder()
.routerId("router_unique_id")
.ruleId("rule_unique_id")
.build());
final var routerRules = ZendutyFunctions.getGlobalRoutingRules(GetGlobalRoutingRulesArgs.builder()
.routerId("router_unique_id")
.build());
}
}
variables:
exampleRule:
fn::invoke:
function: zenduty:getGlobalRoutingRules
arguments:
routerId: router_unique_id
ruleId: rule_unique_id
routerRules:
fn::invoke:
function: zenduty:getGlobalRoutingRules
arguments:
routerId: router_unique_id
import * as pulumi from "@pulumi/pulumi";
export const routingRules = data.zenduty_global_routing_rules.example_rule.routing_rules;
import pulumi
pulumi.export("routingRules", data["zenduty_global_routing_rules"]["example_rule"]["routing_rules"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("routingRules", data.Zenduty_global_routing_rules.Example_rule.Routing_rules)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["routingRules"] = data.Zenduty_global_routing_rules.Example_rule.Routing_rules,
};
});
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("routingRules", data.zenduty_global_routing_rules().example_rule().routing_rules());
}
}
outputs:
routingRules: ${data.zenduty_global_routing_rules.example_rule.routing_rules}
Using getGlobalRoutingRules
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 getGlobalRoutingRules(args: GetGlobalRoutingRulesArgs, opts?: InvokeOptions): Promise<GetGlobalRoutingRulesResult>
function getGlobalRoutingRulesOutput(args: GetGlobalRoutingRulesOutputArgs, opts?: InvokeOptions): Output<GetGlobalRoutingRulesResult>def get_global_routing_rules(id: Optional[str] = None,
router_id: Optional[str] = None,
rule_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGlobalRoutingRulesResult
def get_global_routing_rules_output(id: Optional[pulumi.Input[str]] = None,
router_id: Optional[pulumi.Input[str]] = None,
rule_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGlobalRoutingRulesResult]func GetGlobalRoutingRules(ctx *Context, args *GetGlobalRoutingRulesArgs, opts ...InvokeOption) (*GetGlobalRoutingRulesResult, error)
func GetGlobalRoutingRulesOutput(ctx *Context, args *GetGlobalRoutingRulesOutputArgs, opts ...InvokeOption) GetGlobalRoutingRulesResultOutput> Note: This function is named GetGlobalRoutingRules in the Go SDK.
public static class GetGlobalRoutingRules
{
public static Task<GetGlobalRoutingRulesResult> InvokeAsync(GetGlobalRoutingRulesArgs args, InvokeOptions? opts = null)
public static Output<GetGlobalRoutingRulesResult> Invoke(GetGlobalRoutingRulesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGlobalRoutingRulesResult> getGlobalRoutingRules(GetGlobalRoutingRulesArgs args, InvokeOptions options)
public static Output<GetGlobalRoutingRulesResult> getGlobalRoutingRules(GetGlobalRoutingRulesArgs args, InvokeOptions options)
fn::invoke:
function: zenduty:index/getGlobalRoutingRules:getGlobalRoutingRules
arguments:
# arguments dictionaryThe following arguments are supported:
getGlobalRoutingRules Result
The following output properties are available:
- Id string
- Router
Id string - Routing
Rules List<GetGlobal Routing Rules Routing Rule> - Rule
Id string
- Id string
- Router
Id string - Routing
Rules []GetGlobal Routing Rules Routing Rule - Rule
Id string
- id String
- router
Id String - routing
Rules List<GetGlobal Routing Rules Routing Rule> - rule
Id String
- id string
- router
Id string - routing
Rules GetGlobal Routing Rules Routing Rule[] - rule
Id string
- id String
- router
Id String - routing
Rules List<Property Map> - rule
Id String
Supporting Types
GetGlobalRoutingRulesRoutingRule
- Actions
List<Get
Global Routing Rules Routing Rule Action> - The list of actions for this rule. The following attributes are exported as list of maps:
- Name string
- The name of the routing rule.
- Rule
Json string - The JSON rule configuration.
- Unique
Id string - The UniqueID of the routing rule.
- Actions
[]Get
Global Routing Rules Routing Rule Action - The list of actions for this rule. The following attributes are exported as list of maps:
- Name string
- The name of the routing rule.
- Rule
Json string - The JSON rule configuration.
- Unique
Id string - The UniqueID of the routing rule.
- actions
List<Get
Global Routing Rules Routing Rule Action> - The list of actions for this rule. The following attributes are exported as list of maps:
- name String
- The name of the routing rule.
- rule
Json String - The JSON rule configuration.
- unique
Id String - The UniqueID of the routing rule.
- actions
Get
Global Routing Rules Routing Rule Action[] - The list of actions for this rule. The following attributes are exported as list of maps:
- name string
- The name of the routing rule.
- rule
Json string - The JSON rule configuration.
- unique
Id string - The UniqueID of the routing rule.
- actions
Sequence[Get
Global Routing Rules Routing Rule Action] - The list of actions for this rule. The following attributes are exported as list of maps:
- name str
- The name of the routing rule.
- rule_
json str - The JSON rule configuration.
- unique_
id str - The UniqueID of the routing rule.
- actions List<Property Map>
- The list of actions for this rule. The following attributes are exported as list of maps:
- name String
- The name of the routing rule.
- rule
Json String - The JSON rule configuration.
- unique
Id String - The UniqueID of the routing rule.
GetGlobalRoutingRulesRoutingRuleAction
- Action
Type double - The type of action (0 for integration, 1 for other).
- Integration string
- The integration ID for action_type 0.
- Action
Type float64 - The type of action (0 for integration, 1 for other).
- Integration string
- The integration ID for action_type 0.
- action
Type Double - The type of action (0 for integration, 1 for other).
- integration String
- The integration ID for action_type 0.
- action
Type number - The type of action (0 for integration, 1 for other).
- integration string
- The integration ID for action_type 0.
- action_
type float - The type of action (0 for integration, 1 for other).
- integration str
- The integration ID for action_type 0.
- action
Type Number - The type of action (0 for integration, 1 for other).
- integration String
- The integration ID for action_type 0.
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
