1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getTrafficSteeringRuleList
Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi

scm.getTrafficSteeringRuleList

Explore with Pulumi AI

Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 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",
});
Copy
import pulumi
import pulumi_scm as scm

example = scm.get_traffic_steering_rule_list(folder="Service Connections")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: scm:getTrafficSteeringRuleList
      arguments:
        folder: Service Connections
Copy

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>
Copy
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]
Copy
func GetTrafficSteeringRuleList(ctx *Context, args *GetTrafficSteeringRuleListArgs, opts ...InvokeOption) (*GetTrafficSteeringRuleListResult, error)
func GetTrafficSteeringRuleListOutput(ctx *Context, args *GetTrafficSteeringRuleListOutputArgs, opts ...InvokeOption) GetTrafficSteeringRuleListResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetTrafficSteeringRuleListResult> getTrafficSteeringRuleList(GetTrafficSteeringRuleListArgs args, InvokeOptions options)
public static Output<GetTrafficSteeringRuleListResult> getTrafficSteeringRuleList(GetTrafficSteeringRuleListArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: scm:index/getTrafficSteeringRuleList:getTrafficSteeringRuleList
  arguments:
    # arguments dictionary
Copy

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

GetTrafficSteeringRuleListDataAction

Forward This property is required. GetTrafficSteeringRuleListDataActionForward
The Forward param.
NoPbf This property is required. bool
The NoPbf param.
Forward This property is required. GetTrafficSteeringRuleListDataActionForward
The Forward param.
NoPbf This property is required. bool
The NoPbf param.
forward This property is required. GetTrafficSteeringRuleListDataActionForward
The Forward param.
noPbf This property is required. Boolean
The NoPbf param.
forward This property is required. GetTrafficSteeringRuleListDataActionForward
The Forward param.
noPbf This property is required. boolean
The NoPbf param.
forward This property is required. GetTrafficSteeringRuleListDataActionForward
The Forward param.
no_pbf This property is required. bool
The NoPbf param.
forward This property is required. Property Map
The Forward param.
noPbf This property is required. Boolean
The NoPbf param.

GetTrafficSteeringRuleListDataActionForward

Target This property is required. string
The Target param.
Target This property is required. string
The Target param.
target This property is required. String
The Target param.
target This property is required. string
The Target param.
target This property is required. str
The Target param.
target This property is required. 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.
Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi