Viewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 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"] = new Dictionary<string, object?>
{
["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.ArrayList;
import java.util.Arrays;
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}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_qos_policy_rule_list" "pagedRulesList" {
folder = "All"
offset = 10
position = "pre"
}
output "fetchedRuleListSummary" {
value = {
"countOfRulesFetched" = data.scm_qos_policy_rule_list.pagedRulesList.total
"firstRuleName" = data.scm_qos_policy_rule_list.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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
folder: pulumi.Input[Optional[str]] = None,
limit: pulumi.Input[Optional[int]] = None,
name: pulumi.Input[Optional[str]] = None,
offset: pulumi.Input[Optional[int]] = None,
position: pulumi.Input[Optional[str]] = None,
snippet: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetQosPolicyRuleListResult> Invoke(GetQosPolicyRuleListInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetQosPolicyRuleListResult> getQosPolicyRuleList(GetQosPolicyRuleListArgs args, InvokeOptions options)
public static Output<GetQosPolicyRuleListResult> getQosPolicyRuleList(GetQosPolicyRuleListArgs args, InvokeOptions options)
public static Output<GetQosPolicyRuleListResult> getQosPolicyRuleList(GetQosPolicyRuleListArgs args, InvokeOutputOptions options)
fn::invoke:
function: scm:index/getQosPolicyRuleList:getQosPolicyRuleList
arguments:
# arguments dictionarydata "scm_get_qos_policy_rule_list" "name" {
# arguments
}The 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 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 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.
- Position string
- The relative position of the rule
- Tfid string
- The Terraform ID.
- 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.
- Position string
- The relative position of the rule
- Tfid string
- The Terraform ID.
- 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(object)
- The data.
- position string
- The relative position of the rule
- tfid string
- The Terraform ID.
- 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
List<Get
Qos Policy Rule List Data> - The data.
- position String
- The relative position of the rule
- tfid String
- The Terraform ID.
- 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.
- position string
- The relative position of the rule
- tfid string
- The Terraform ID.
- 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.
- position str
- The relative position of the rule
- tfid str
- The Terraform ID.
- 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.
- position String
- The relative position of the rule
- tfid String
- The Terraform ID.
- 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. Possible values are
preandpost. - 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 - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - Tfid string
- The Terraform ID.
- 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. Possible values are
preandpost. - 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 - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - Tfid string
- The Terraform ID.
- action object
- Action
- description string
- Description
- device string
- The device in which the resource is defined
- dscp_
tos object - 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. Possible values are
preandpost. - 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 - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid string
- The Terraform ID.
- 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. Possible values are
preandpost. - 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 - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid String
- The Terraform ID.
- 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. Possible values are
preandpost. - 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 - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid string
- The Terraform ID.
- 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. Possible values are
preandpost. - 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 - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid str
- The Terraform ID.
- 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. Possible values are
preandpost. - 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 - UUID of the rule to position this rule relative to. Required when
relativePositionis"before"or"after". - tfid String
- The Terraform ID.
GetQosPolicyRuleListDataAction
- Class string
- Class
- Class string
- Class
- class string
- Class
- class_ String
- Class
- class string
- Class
- class_ str
- Class
- class String
- Class
GetQosPolicyRuleListDataDscpTos
- codepoints list(object)
- Codepoints
- 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 string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
GetQosPolicyRuleListDataDscpTosCodepointTypeCs
- Codepoint string
- Codepoint
- 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 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 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.
Strata Cloud ManagerViewing docs for Strata Cloud Manager v1.2.1
published on Friday, Oct 16, 2026 by Pulumi
published on Friday, Oct 16, 2026 by Pulumi