Viewing docs for Strata Cloud Manager v0.4.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v0.4.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const pagedRulesList = scm.getQosPolicyRuleList({
folder: "All",
offset: 10,
position: "pre",
});
export const fetchedRuleListSummary = {
countOfRulesFetched: pagedRulesList.then(pagedRulesList => pagedRulesList.total),
firstRuleName: pagedRulesList.then(pagedRulesList => pagedRulesList.datas?.[0]?.name),
};
import pulumi
import pulumi_scm as scm
paged_rules_list = scm.get_qos_policy_rule_list(folder="All",
offset=10,
position="pre")
pulumi.export("fetchedRuleListSummary", {
"countOfRulesFetched": paged_rules_list.total,
"firstRuleName": paged_rules_list.datas[0].name,
})
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 {
pagedRulesList, err := scm.GetQosPolicyRuleList(ctx, &scm.GetQosPolicyRuleListArgs{
Folder: pulumi.StringRef("All"),
Offset: pulumi.IntRef(10),
Position: "pre",
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedRuleListSummary", pulumi.Map{
"countOfRulesFetched": pagedRulesList.Total,
"firstRuleName": pagedRulesList.Datas[0].Name,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var pagedRulesList = Scm.GetQosPolicyRuleList.Invoke(new()
{
Folder = "All",
Offset = 10,
Position = "pre",
});
return new Dictionary<string, object?>
{
["fetchedRuleListSummary"] =
{
{ "countOfRulesFetched", pagedRulesList.Apply(getQosPolicyRuleListResult => getQosPolicyRuleListResult.Total) },
{ "firstRuleName", pagedRulesList.Apply(getQosPolicyRuleListResult => getQosPolicyRuleListResult.Datas[0]?.Name) },
},
};
});
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.GetQosPolicyRuleListArgs;
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 pagedRulesList = ScmFunctions.getQosPolicyRuleList(GetQosPolicyRuleListArgs.builder()
.folder("All")
.offset(10)
.position("pre")
.build());
ctx.export("fetchedRuleListSummary", Map.ofEntries(
Map.entry("countOfRulesFetched", pagedRulesList.total()),
Map.entry("firstRuleName", pagedRulesList.datas()[0].name())
));
}
}
variables:
pagedRulesList:
fn::invoke:
function: scm:getQosPolicyRuleList
arguments:
folder: All
offset: 10
position: pre
outputs:
fetchedRuleListSummary:
countOfRulesFetched: ${pagedRulesList.total}
firstRuleName: ${pagedRulesList.datas[0].name}
Using getQosPolicyRuleList
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 getQosPolicyRuleList(args: GetQosPolicyRuleListArgs, opts?: InvokeOptions): Promise<GetQosPolicyRuleListResult>
function getQosPolicyRuleListOutput(args: GetQosPolicyRuleListOutputArgs, opts?: InvokeOptions): Output<GetQosPolicyRuleListResult>def get_qos_policy_rule_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
position: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQosPolicyRuleListResult
def get_qos_policy_rule_list_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
offset: Optional[pulumi.Input[int]] = None,
position: Optional[pulumi.Input[str]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetQosPolicyRuleListResult]func GetQosPolicyRuleList(ctx *Context, args *GetQosPolicyRuleListArgs, opts ...InvokeOption) (*GetQosPolicyRuleListResult, error)
func GetQosPolicyRuleListOutput(ctx *Context, args *GetQosPolicyRuleListOutputArgs, opts ...InvokeOption) GetQosPolicyRuleListResultOutput> Note: This function is named GetQosPolicyRuleList in the Go SDK.
public static class GetQosPolicyRuleList
{
public static Task<GetQosPolicyRuleListResult> InvokeAsync(GetQosPolicyRuleListArgs args, InvokeOptions? opts = null)
public static Output<GetQosPolicyRuleListResult> Invoke(GetQosPolicyRuleListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetQosPolicyRuleListResult> getQosPolicyRuleList(GetQosPolicyRuleListArgs args, InvokeOptions options)
public static Output<GetQosPolicyRuleListResult> getQosPolicyRuleList(GetQosPolicyRuleListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getQosPolicyRuleList:getQosPolicyRuleList
arguments:
# arguments dictionaryThe following arguments are supported:
- Position string
- The relative position of the rule
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Position string
- The relative position of the rule
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- position String
- The relative position of the rule
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- position string
- The relative position of the rule
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- position String
- The relative position of the rule
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
getQosPolicyRuleList Result
The following output properties are available:
- Datas
List<Get
Qos Policy Rule List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Position string
- The relative position of the rule
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Datas
[]Get
Qos Policy Rule List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Position string
- The relative position of the rule
- Tfid string
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- datas
List<Get
Qos Policy Rule List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- position String
- The relative position of the rule
- tfid String
- total Integer
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- datas
Get
Qos Policy Rule List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- position string
- The relative position of the rule
- tfid string
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
Sequence[Get
Qos Policy Rule List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- position str
- The relative position of the rule
- tfid str
- total int
- The total number of items.
- device str
- The device of the item.
- folder str
- The folder of the item. Default: Shared.
- limit int
- The max number of items to return. Default: 200.
- name str
- The name of the item.
- offset int
- The offset of the first item to return.
- snippet str
- The snippet of the item.
- datas List<Property Map>
- The data.
- id String
- The provider-assigned unique ID for this managed resource.
- position String
- The relative position of the rule
- tfid String
- total Number
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
Supporting Types
GetQosPolicyRuleListData
- Action
Get
Qos Policy Rule List Data Action - Action
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dscp
Tos GetQos Policy Rule List Data Dscp Tos - Dscp tos
- Folder string
- The folder in which the resource is defined
- Id string
- UUID of the resource
- Name string
- Name
- Position string
- The relative position of the rule
- Relative
Position string - Relative positioning rule. String must be one of these:
"before","after","top","bottom". If not specified, rule is created at the bottom of the ruleset. - Schedule string
- Schedule
- Snippet string
- The snippet in which the resource is defined
- Target
Rule string - The name or UUID of the rule to position this rule relative to. Required when
relative_positionis"before"or"after". - Tfid string
- Action
Get
Qos Policy Rule List Data Action - Action
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dscp
Tos GetQos Policy Rule List Data Dscp Tos - Dscp tos
- Folder string
- The folder in which the resource is defined
- Id string
- UUID of the resource
- Name string
- Name
- Position string
- The relative position of the rule
- Relative
Position string - Relative positioning rule. String must be one of these:
"before","after","top","bottom". If not specified, rule is created at the bottom of the ruleset. - Schedule string
- Schedule
- Snippet string
- The snippet in which the resource is defined
- Target
Rule string - The name or UUID of the rule to position this rule relative to. Required when
relative_positionis"before"or"after". - Tfid string
- action
Get
Qos Policy Rule List Data Action - Action
- description String
- Description
- device String
- The device in which the resource is defined
- dscp
Tos GetQos Policy Rule List Data Dscp Tos - Dscp tos
- folder String
- The folder in which the resource is defined
- id String
- UUID of the resource
- name String
- Name
- position String
- The relative position of the rule
- relative
Position String - Relative positioning rule. String must be one of these:
"before","after","top","bottom". If not specified, rule is created at the bottom of the ruleset. - schedule String
- Schedule
- snippet String
- The snippet in which the resource is defined
- target
Rule String - The name or UUID of the rule to position this rule relative to. Required when
relative_positionis"before"or"after". - tfid String
- action
Get
Qos Policy Rule List Data Action - Action
- description string
- Description
- device string
- The device in which the resource is defined
- dscp
Tos GetQos Policy Rule List Data Dscp Tos - Dscp tos
- folder string
- The folder in which the resource is defined
- id string
- UUID of the resource
- name string
- Name
- position string
- The relative position of the rule
- relative
Position string - Relative positioning rule. String must be one of these:
"before","after","top","bottom". If not specified, rule is created at the bottom of the ruleset. - schedule string
- Schedule
- snippet string
- The snippet in which the resource is defined
- target
Rule string - The name or UUID of the rule to position this rule relative to. Required when
relative_positionis"before"or"after". - tfid string
- action
Get
Qos Policy Rule List Data Action - Action
- description str
- Description
- device str
- The device in which the resource is defined
- dscp_
tos GetQos Policy Rule List Data Dscp Tos - Dscp tos
- folder str
- The folder in which the resource is defined
- id str
- UUID of the resource
- name str
- Name
- position str
- The relative position of the rule
- relative_
position str - Relative positioning rule. String must be one of these:
"before","after","top","bottom". If not specified, rule is created at the bottom of the ruleset. - schedule str
- Schedule
- snippet str
- The snippet in which the resource is defined
- target_
rule str - The name or UUID of the rule to position this rule relative to. Required when
relative_positionis"before"or"after". - tfid str
- action Property Map
- Action
- description String
- Description
- device String
- The device in which the resource is defined
- dscp
Tos Property Map - Dscp tos
- folder String
- The folder in which the resource is defined
- id String
- UUID of the resource
- name String
- Name
- position String
- The relative position of the rule
- relative
Position String - Relative positioning rule. String must be one of these:
"before","after","top","bottom". If not specified, rule is created at the bottom of the ruleset. - schedule String
- Schedule
- snippet String
- The snippet in which the resource is defined
- target
Rule String - The name or UUID of the rule to position this rule relative to. Required when
relative_positionis"before"or"after". - tfid String
GetQosPolicyRuleListDataAction
- Class string
- Class
- Class string
- Class
- class_ String
- Class
- class string
- Class
- class_ str
- Class
- class String
- Class
GetQosPolicyRuleListDataDscpTos
- codepoints List<Property Map>
- Codepoints
GetQosPolicyRuleListDataDscpTosCodepoint
- Name string
- Name
- Type
Get
Qos Policy Rule List Data Dscp Tos Codepoint Type - Type
- Name string
- Name
- Type
Get
Qos Policy Rule List Data Dscp Tos Codepoint Type - Type
- name String
- Name
- type
Get
Qos Policy Rule List Data Dscp Tos Codepoint Type - Type
- name string
- Name
- type
Get
Qos Policy Rule List Data Dscp Tos Codepoint Type - Type
- name str
- Name
- type
Get
Qos Policy Rule List Data Dscp Tos Codepoint Type - Type
- name String
- Name
- type Property Map
- Type
GetQosPolicyRuleListDataDscpTosCodepointType
- af Property Map
- Af
- cs Property Map
- Cs
- custom Property Map
- Custom
- ef Property Map
- Ef
- tos Property Map
- Tos
GetQosPolicyRuleListDataDscpTosCodepointTypeAf
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
GetQosPolicyRuleListDataDscpTosCodepointTypeCs
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
GetQosPolicyRuleListDataDscpTosCodepointTypeCustom
- codepoint Property Map
- Codepoint
GetQosPolicyRuleListDataDscpTosCodepointTypeCustomCodepoint
- Binary
Value string - Binary value
- Codepoint
Name string - Codepoint name
- Binary
Value string - Binary value
- Codepoint
Name string - Codepoint name
- binary
Value String - Binary value
- codepoint
Name String - Codepoint name
- binary
Value string - Binary value
- codepoint
Name string - Codepoint name
- binary_
value str - Binary value
- codepoint_
name str - Codepoint name
- binary
Value String - Binary value
- codepoint
Name String - Codepoint name
GetQosPolicyRuleListDataDscpTosCodepointTypeTos
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
Viewing docs for Strata Cloud Manager v0.4.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi