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
QosPolicyRule data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const singleRuleById = scm.getQosPolicyRule({
id: "fbc3fdb2-8513-4949-be8a-f1be03b492da",
});
export const singleQosPolicyRuleDump = singleRuleById;
import pulumi
import pulumi_scm as scm
single_rule_by_id = scm.get_qos_policy_rule(id="fbc3fdb2-8513-4949-be8a-f1be03b492da")
pulumi.export("singleQosPolicyRuleDump", single_rule_by_id)
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 {
singleRuleById, err := scm.GetQosPolicyRule(ctx, &scm.LookupQosPolicyRuleArgs{
Id: "fbc3fdb2-8513-4949-be8a-f1be03b492da",
}, nil)
if err != nil {
return err
}
ctx.Export("singleQosPolicyRuleDump", singleRuleById)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var singleRuleById = Scm.GetQosPolicyRule.Invoke(new()
{
Id = "fbc3fdb2-8513-4949-be8a-f1be03b492da",
});
return new Dictionary<string, object?>
{
["singleQosPolicyRuleDump"] = singleRuleById,
};
});
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.GetQosPolicyRuleArgs;
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 singleRuleById = ScmFunctions.getQosPolicyRule(GetQosPolicyRuleArgs.builder()
.id("fbc3fdb2-8513-4949-be8a-f1be03b492da")
.build());
ctx.export("singleQosPolicyRuleDump", singleRuleById);
}
}
variables:
singleRuleById:
fn::invoke:
function: scm:getQosPolicyRule
arguments:
id: fbc3fdb2-8513-4949-be8a-f1be03b492da
outputs:
singleQosPolicyRuleDump: ${singleRuleById}
terraform {
required_providers {
scm = {
source = "pulumi/scm"
}
}
}
data "scm_qos_policy_rule" "singleRuleById" {
id = "fbc3fdb2-8513-4949-be8a-f1be03b492da"
}
# Requires the unique UUID of the rule
output "singleQosPolicyRuleDump" {
value = data.scm_qos_policy_rule.singleRuleById
}
Using getQosPolicyRule
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 getQosPolicyRule(args: GetQosPolicyRuleArgs, opts?: InvokeOptions): Promise<GetQosPolicyRuleResult>
function getQosPolicyRuleOutput(args: GetQosPolicyRuleOutputArgs, opts?: InvokeOutputOptions): Output<GetQosPolicyRuleResult>def get_qos_policy_rule(device: Optional[str] = None,
folder: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQosPolicyRuleResult
def get_qos_policy_rule_output(device: pulumi.Input[Optional[str]] = None,
folder: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
snippet: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetQosPolicyRuleResult]func LookupQosPolicyRule(ctx *Context, args *LookupQosPolicyRuleArgs, opts ...InvokeOption) (*LookupQosPolicyRuleResult, error)
func LookupQosPolicyRuleOutput(ctx *Context, args *LookupQosPolicyRuleOutputArgs, opts ...InvokeOption) LookupQosPolicyRuleResultOutput> Note: This function is named LookupQosPolicyRule in the Go SDK.
public static class GetQosPolicyRule
{
public static Task<GetQosPolicyRuleResult> InvokeAsync(GetQosPolicyRuleArgs args, InvokeOptions? opts = null)
public static Output<GetQosPolicyRuleResult> Invoke(GetQosPolicyRuleInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetQosPolicyRuleResult> Invoke(GetQosPolicyRuleInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetQosPolicyRuleResult> getQosPolicyRule(GetQosPolicyRuleArgs args, InvokeOptions options)
public static Output<GetQosPolicyRuleResult> getQosPolicyRule(GetQosPolicyRuleArgs args, InvokeOptions options)
public static Output<GetQosPolicyRuleResult> getQosPolicyRule(GetQosPolicyRuleArgs args, InvokeOutputOptions options)
fn::invoke:
function: scm:index/getQosPolicyRule:getQosPolicyRule
arguments:
# arguments dictionarydata "scm_get_qos_policy_rule" "name" {
# arguments
}The following arguments are supported:
getQosPolicyRule Result
The following output properties are available:
- Action
Get
Qos Policy Rule Action - Action
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dscp
Tos GetQos Policy Rule 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 Action - Action
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dscp
Tos GetQos Policy Rule 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 Action - Action
- description String
- Description
- device String
- The device in which the resource is defined
- dscp
Tos GetQos Policy Rule 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 Action - Action
- description string
- Description
- device string
- The device in which the resource is defined
- dscp
Tos GetQos Policy Rule 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 Action - Action
- description str
- Description
- device str
- The device in which the resource is defined
- dscp_
tos GetQos Policy Rule 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.
Supporting Types
GetQosPolicyRuleAction
- Class string
- Class
- Class string
- Class
- class string
- Class
- class_ String
- Class
- class string
- Class
- class_ str
- Class
- class String
- Class
GetQosPolicyRuleDscpTos
- Codepoints
[]Get
Qos Policy Rule Dscp Tos Codepoint - Codepoints
- codepoints list(object)
- Codepoints
- codepoints
Get
Qos Policy Rule Dscp Tos Codepoint[] - Codepoints
- codepoints List<Property Map>
- Codepoints
GetQosPolicyRuleDscpTosCodepoint
- Name string
- Name
- Type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- Name string
- Name
- Type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name String
- Name
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name string
- Name
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name str
- Name
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name String
- Name
- type Property Map
- Type
GetQosPolicyRuleDscpTosCodepointType
- af Property Map
- Af
- cs Property Map
- Cs
- custom Property Map
- Custom
- ef Property Map
- Ef
- tos Property Map
- Tos
GetQosPolicyRuleDscpTosCodepointTypeAf
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
GetQosPolicyRuleDscpTosCodepointTypeCs
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
GetQosPolicyRuleDscpTosCodepointTypeCustom
- codepoint Property Map
- Codepoint
GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
- 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
GetQosPolicyRuleDscpTosCodepointTypeTos
- 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