1. Packages
  2. Scm Provider
  3. API Docs
  4. getTrafficSteeringRule
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

scm.getTrafficSteeringRule

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetTrafficSteeringRuleArgs;
    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 example = ScmFunctions.getTrafficSteeringRule(GetTrafficSteeringRuleArgs.builder()
                .id("1234-56-789")
                .folder("Service Connections")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getTrafficSteeringRule
          Arguments:
            id: 1234-56-789
            folder: Service Connections
    

    Using getTrafficSteeringRule

    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 getTrafficSteeringRule(args: GetTrafficSteeringRuleArgs, opts?: InvokeOptions): Promise<GetTrafficSteeringRuleResult>
    function getTrafficSteeringRuleOutput(args: GetTrafficSteeringRuleOutputArgs, opts?: InvokeOptions): Output<GetTrafficSteeringRuleResult>
    def get_traffic_steering_rule(id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetTrafficSteeringRuleResult
    def get_traffic_steering_rule_output(id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetTrafficSteeringRuleResult]
    func LookupTrafficSteeringRule(ctx *Context, args *LookupTrafficSteeringRuleArgs, opts ...InvokeOption) (*LookupTrafficSteeringRuleResult, error)
    func LookupTrafficSteeringRuleOutput(ctx *Context, args *LookupTrafficSteeringRuleOutputArgs, opts ...InvokeOption) LookupTrafficSteeringRuleResultOutput

    > Note: This function is named LookupTrafficSteeringRule in the Go SDK.

    public static class GetTrafficSteeringRule 
    {
        public static Task<GetTrafficSteeringRuleResult> InvokeAsync(GetTrafficSteeringRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetTrafficSteeringRuleResult> Invoke(GetTrafficSteeringRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTrafficSteeringRuleResult> getTrafficSteeringRule(GetTrafficSteeringRuleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getTrafficSteeringRule:getTrafficSteeringRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Id string
    The Id param.
    id String
    The Id param.
    id string
    The Id param.
    id str
    The Id param.
    id String
    The Id param.

    getTrafficSteeringRule Result

    The following output properties are available:

    Action GetTrafficSteeringRuleAction
    The Action param.
    Categories List<string>
    The Category param.
    Destinations List<string>
    The Destination param.
    Id string
    The Id param.
    Name string
    The Name param.
    Services List<string>
    The Service param.
    SourceUsers List<string>
    The SourceUser param.
    Sources List<string>
    The Source param.
    Tfid string
    Action GetTrafficSteeringRuleAction
    The Action param.
    Categories []string
    The Category param.
    Destinations []string
    The Destination param.
    Id string
    The Id param.
    Name string
    The Name param.
    Services []string
    The Service param.
    SourceUsers []string
    The SourceUser param.
    Sources []string
    The Source param.
    Tfid string
    action GetTrafficSteeringRuleAction
    The Action param.
    categories List<String>
    The Category param.
    destinations List<String>
    The Destination param.
    id String
    The Id param.
    name String
    The Name param.
    services List<String>
    The Service param.
    sourceUsers List<String>
    The SourceUser param.
    sources List<String>
    The Source param.
    tfid String
    action GetTrafficSteeringRuleAction
    The Action param.
    categories string[]
    The Category param.
    destinations string[]
    The Destination param.
    id string
    The Id param.
    name string
    The Name param.
    services string[]
    The Service param.
    sourceUsers string[]
    The SourceUser param.
    sources string[]
    The Source param.
    tfid string
    action GetTrafficSteeringRuleAction
    The Action param.
    categories Sequence[str]
    The Category param.
    destinations Sequence[str]
    The Destination param.
    id str
    The Id param.
    name str
    The Name param.
    services Sequence[str]
    The Service param.
    source_users Sequence[str]
    The SourceUser param.
    sources Sequence[str]
    The Source param.
    tfid str
    action Property Map
    The Action param.
    categories List<String>
    The Category param.
    destinations List<String>
    The Destination param.
    id String
    The Id param.
    name String
    The Name param.
    services List<String>
    The Service param.
    sourceUsers List<String>
    The SourceUser param.
    sources List<String>
    The Source param.
    tfid String

    Supporting Types

    GetTrafficSteeringRuleAction

    Forward GetTrafficSteeringRuleActionForward
    The Forward param.
    NoPbf bool
    The NoPbf param.
    Forward GetTrafficSteeringRuleActionForward
    The Forward param.
    NoPbf bool
    The NoPbf param.
    forward GetTrafficSteeringRuleActionForward
    The Forward param.
    noPbf Boolean
    The NoPbf param.
    forward GetTrafficSteeringRuleActionForward
    The Forward param.
    noPbf boolean
    The NoPbf param.
    forward GetTrafficSteeringRuleActionForward
    The Forward param.
    no_pbf bool
    The NoPbf param.
    forward Property Map
    The Forward param.
    noPbf Boolean
    The NoPbf param.

    GetTrafficSteeringRuleActionForward

    Target string
    The Target param.
    Target string
    The Target param.
    target String
    The Target param.
    target string
    The Target param.
    target str
    The Target param.
    target String
    The Target param.

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi