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

scm.getTrafficSteeringRuleList

Explore with Pulumi AI

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

    Retrieves a listing of config items.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = scm.getTrafficSteeringRuleList({
        folder: "Service Connections",
    });
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.get_traffic_steering_rule_list(folder="Service Connections")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scm.GetTrafficSteeringRuleList(ctx, &scm.GetTrafficSteeringRuleListArgs{
    			Folder: pulumi.StringRef("Service Connections"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Scm.GetTrafficSteeringRuleList.Invoke(new()
        {
            Folder = "Service Connections",
        });
    
    });
    
    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.GetTrafficSteeringRuleListArgs;
    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.getTrafficSteeringRuleList(GetTrafficSteeringRuleListArgs.builder()
                .folder("Service Connections")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getTrafficSteeringRuleList
          Arguments:
            folder: Service Connections
    

    Using getTrafficSteeringRuleList

    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 getTrafficSteeringRuleList(args: GetTrafficSteeringRuleListArgs, opts?: InvokeOptions): Promise<GetTrafficSteeringRuleListResult>
    function getTrafficSteeringRuleListOutput(args: GetTrafficSteeringRuleListOutputArgs, opts?: InvokeOptions): Output<GetTrafficSteeringRuleListResult>
    def get_traffic_steering_rule_list(folder: Optional[str] = None,
                                       limit: Optional[int] = None,
                                       name: Optional[str] = None,
                                       offset: Optional[int] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetTrafficSteeringRuleListResult
    def get_traffic_steering_rule_list_output(folder: Optional[pulumi.Input[str]] = None,
                                       limit: Optional[pulumi.Input[int]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       offset: Optional[pulumi.Input[int]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetTrafficSteeringRuleListResult]
    func GetTrafficSteeringRuleList(ctx *Context, args *GetTrafficSteeringRuleListArgs, opts ...InvokeOption) (*GetTrafficSteeringRuleListResult, error)
    func GetTrafficSteeringRuleListOutput(ctx *Context, args *GetTrafficSteeringRuleListOutputArgs, opts ...InvokeOption) GetTrafficSteeringRuleListResultOutput

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

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

    The following arguments are supported:

    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    Limit int
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    Name string
    The Name param.
    Offset int
    The Offset param. Default: 0.
    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    Limit int
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    Name string
    The Name param.
    Offset int
    The Offset param. Default: 0.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    limit Integer
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    name String
    The Name param.
    offset Integer
    The Offset param. Default: 0.
    folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    limit number
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    name string
    The Name param.
    offset number
    The Offset param. Default: 0.
    folder str
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    limit int
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    name str
    The Name param.
    offset int
    The Offset param. Default: 0.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    limit Number
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    name String
    The Name param.
    offset Number
    The Offset param. Default: 0.

    getTrafficSteeringRuleList Result

    The following output properties are available:

    Datas List<GetTrafficSteeringRuleListData>
    The Data param.
    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    Id string
    The provider-assigned unique ID for this managed resource.
    Limit int
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    Offset int
    The Offset param. Default: 0.
    Tfid string
    Total int
    The Total param.
    Name string
    The Name param.
    Datas []GetTrafficSteeringRuleListData
    The Data param.
    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    Id string
    The provider-assigned unique ID for this managed resource.
    Limit int
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    Offset int
    The Offset param. Default: 0.
    Tfid string
    Total int
    The Total param.
    Name string
    The Name param.
    datas List<GetTrafficSteeringRuleListData>
    The Data param.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id String
    The provider-assigned unique ID for this managed resource.
    limit Integer
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    offset Integer
    The Offset param. Default: 0.
    tfid String
    total Integer
    The Total param.
    name String
    The Name param.
    datas GetTrafficSteeringRuleListData[]
    The Data param.
    folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id string
    The provider-assigned unique ID for this managed resource.
    limit number
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    offset number
    The Offset param. Default: 0.
    tfid string
    total number
    The Total param.
    name string
    The Name param.
    datas Sequence[GetTrafficSteeringRuleListData]
    The Data param.
    folder str
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id str
    The provider-assigned unique ID for this managed resource.
    limit int
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    offset int
    The Offset param. Default: 0.
    tfid str
    total int
    The Total param.
    name str
    The Name param.
    datas List<Property Map>
    The Data param.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id String
    The provider-assigned unique ID for this managed resource.
    limit Number
    The Limit param. A limit of -1 will return all configured items. Default: 200.
    offset Number
    The Offset param. Default: 0.
    tfid String
    total Number
    The Total param.
    name String
    The Name param.

    Supporting Types

    GetTrafficSteeringRuleListData

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

    GetTrafficSteeringRuleListDataAction

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

    GetTrafficSteeringRuleListDataActionForward

    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