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

scm.getQosPolicyRule

Explore with Pulumi AI

Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi

Retrieves a config item.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";

const example = scm.getQosPolicyRule({
    id: "1234-56-789",
});
Copy
import pulumi
import pulumi_scm as scm

example = scm.get_qos_policy_rule(id="1234-56-789")
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.LookupQosPolicyRule(ctx, &scm.LookupQosPolicyRuleArgs{
			Id: "1234-56-789",
		}, 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.GetQosPolicyRule.Invoke(new()
    {
        Id = "1234-56-789",
    });

});
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.GetQosPolicyRuleArgs;
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.getQosPolicyRule(GetQosPolicyRuleArgs.builder()
            .id("1234-56-789")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: scm:getQosPolicyRule
      arguments:
        id: 1234-56-789
Copy

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?: InvokeOptions): Output<GetQosPolicyRuleResult>
Copy
def get_qos_policy_rule(folder: Optional[str] = None,
                        id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetQosPolicyRuleResult
def get_qos_policy_rule_output(folder: Optional[pulumi.Input[str]] = None,
                        id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetQosPolicyRuleResult]
Copy
func LookupQosPolicyRule(ctx *Context, args *LookupQosPolicyRuleArgs, opts ...InvokeOption) (*LookupQosPolicyRuleResult, error)
func LookupQosPolicyRuleOutput(ctx *Context, args *LookupQosPolicyRuleOutputArgs, opts ...InvokeOption) LookupQosPolicyRuleResultOutput
Copy

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

The following arguments are supported:

Id This property is required. string
The Id param.
Folder string
The Folder param.
Id This property is required. string
The Id param.
Folder string
The Folder param.
id This property is required. String
The Id param.
folder String
The Folder param.
id This property is required. string
The Id param.
folder string
The Folder param.
id This property is required. str
The Id param.
folder str
The Folder param.
id This property is required. String
The Id param.
folder String
The Folder param.

getQosPolicyRule Result

The following output properties are available:

Action GetQosPolicyRuleAction
The Action param.
Description string
The Description param.
DscpTos GetQosPolicyRuleDscpTos
The DscpTos param.
Id string
The Id param.
Name string
The Name param.
Schedule string
The Schedule param.
Tfid string
Folder string
The Folder param.
Action GetQosPolicyRuleAction
The Action param.
Description string
The Description param.
DscpTos GetQosPolicyRuleDscpTos
The DscpTos param.
Id string
The Id param.
Name string
The Name param.
Schedule string
The Schedule param.
Tfid string
Folder string
The Folder param.
action GetQosPolicyRuleAction
The Action param.
description String
The Description param.
dscpTos GetQosPolicyRuleDscpTos
The DscpTos param.
id String
The Id param.
name String
The Name param.
schedule String
The Schedule param.
tfid String
folder String
The Folder param.
action GetQosPolicyRuleAction
The Action param.
description string
The Description param.
dscpTos GetQosPolicyRuleDscpTos
The DscpTos param.
id string
The Id param.
name string
The Name param.
schedule string
The Schedule param.
tfid string
folder string
The Folder param.
action GetQosPolicyRuleAction
The Action param.
description str
The Description param.
dscp_tos GetQosPolicyRuleDscpTos
The DscpTos param.
id str
The Id param.
name str
The Name param.
schedule str
The Schedule param.
tfid str
folder str
The Folder param.
action Property Map
The Action param.
description String
The Description param.
dscpTos Property Map
The DscpTos param.
id String
The Id param.
name String
The Name param.
schedule String
The Schedule param.
tfid String
folder String
The Folder param.

Supporting Types

GetQosPolicyRuleAction

Class This property is required. string
The Class param.
Class This property is required. string
The Class param.
class_ This property is required. String
The Class param.
class This property is required. string
The Class param.
class_ This property is required. str
The Class param.
class This property is required. String
The Class param.

GetQosPolicyRuleDscpTos

Codepoints This property is required. List<GetQosPolicyRuleDscpTosCodepoint>
The Codepoints param.
Codepoints This property is required. []GetQosPolicyRuleDscpTosCodepoint
The Codepoints param.
codepoints This property is required. List<GetQosPolicyRuleDscpTosCodepoint>
The Codepoints param.
codepoints This property is required. GetQosPolicyRuleDscpTosCodepoint[]
The Codepoints param.
codepoints This property is required. Sequence[GetQosPolicyRuleDscpTosCodepoint]
The Codepoints param.
codepoints This property is required. List<Property Map>
The Codepoints param.

GetQosPolicyRuleDscpTosCodepoint

Name This property is required. string
The Name param.
Type This property is required. GetQosPolicyRuleDscpTosCodepointType
The Type param.
Name This property is required. string
The Name param.
Type This property is required. GetQosPolicyRuleDscpTosCodepointType
The Type param.
name This property is required. String
The Name param.
type This property is required. GetQosPolicyRuleDscpTosCodepointType
The Type param.
name This property is required. string
The Name param.
type This property is required. GetQosPolicyRuleDscpTosCodepointType
The Type param.
name This property is required. str
The Name param.
type This property is required. GetQosPolicyRuleDscpTosCodepointType
The Type param.
name This property is required. String
The Name param.
type This property is required. Property Map
The Type param.

GetQosPolicyRuleDscpTosCodepointType

Af This property is required. GetQosPolicyRuleDscpTosCodepointTypeAf
The Af param.
Cs This property is required. GetQosPolicyRuleDscpTosCodepointTypeCs
The Cs param.
Custom This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustom
The Custom param.
Ef This property is required. bool
The Ef param.
Tos This property is required. GetQosPolicyRuleDscpTosCodepointTypeTos
The Tos param.
Af This property is required. GetQosPolicyRuleDscpTosCodepointTypeAf
The Af param.
Cs This property is required. GetQosPolicyRuleDscpTosCodepointTypeCs
The Cs param.
Custom This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustom
The Custom param.
Ef This property is required. bool
The Ef param.
Tos This property is required. GetQosPolicyRuleDscpTosCodepointTypeTos
The Tos param.
af This property is required. GetQosPolicyRuleDscpTosCodepointTypeAf
The Af param.
cs This property is required. GetQosPolicyRuleDscpTosCodepointTypeCs
The Cs param.
custom This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustom
The Custom param.
ef This property is required. Boolean
The Ef param.
tos This property is required. GetQosPolicyRuleDscpTosCodepointTypeTos
The Tos param.
af This property is required. GetQosPolicyRuleDscpTosCodepointTypeAf
The Af param.
cs This property is required. GetQosPolicyRuleDscpTosCodepointTypeCs
The Cs param.
custom This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustom
The Custom param.
ef This property is required. boolean
The Ef param.
tos This property is required. GetQosPolicyRuleDscpTosCodepointTypeTos
The Tos param.
af This property is required. GetQosPolicyRuleDscpTosCodepointTypeAf
The Af param.
cs This property is required. GetQosPolicyRuleDscpTosCodepointTypeCs
The Cs param.
custom This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustom
The Custom param.
ef This property is required. bool
The Ef param.
tos This property is required. GetQosPolicyRuleDscpTosCodepointTypeTos
The Tos param.
af This property is required. Property Map
The Af param.
cs This property is required. Property Map
The Cs param.
custom This property is required. Property Map
The Custom param.
ef This property is required. Boolean
The Ef param.
tos This property is required. Property Map
The Tos param.

GetQosPolicyRuleDscpTosCodepointTypeAf

Codepoint This property is required. string
The Codepoint param.
Codepoint This property is required. string
The Codepoint param.
codepoint This property is required. String
The Codepoint param.
codepoint This property is required. string
The Codepoint param.
codepoint This property is required. str
The Codepoint param.
codepoint This property is required. String
The Codepoint param.

GetQosPolicyRuleDscpTosCodepointTypeCs

Codepoint This property is required. string
The Codepoint param.
Codepoint This property is required. string
The Codepoint param.
codepoint This property is required. String
The Codepoint param.
codepoint This property is required. string
The Codepoint param.
codepoint This property is required. str
The Codepoint param.
codepoint This property is required. String
The Codepoint param.

GetQosPolicyRuleDscpTosCodepointTypeCustom

Codepoint This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
The Codepoint param.
Codepoint This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
The Codepoint param.
codepoint This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
The Codepoint param.
codepoint This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
The Codepoint param.
codepoint This property is required. GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
The Codepoint param.
codepoint This property is required. Property Map
The Codepoint param.

GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint

BinaryValue This property is required. string
The BinaryValue param.
CodepointName This property is required. string
The CodepointName param.
BinaryValue This property is required. string
The BinaryValue param.
CodepointName This property is required. string
The CodepointName param.
binaryValue This property is required. String
The BinaryValue param.
codepointName This property is required. String
The CodepointName param.
binaryValue This property is required. string
The BinaryValue param.
codepointName This property is required. string
The CodepointName param.
binary_value This property is required. str
The BinaryValue param.
codepoint_name This property is required. str
The CodepointName param.
binaryValue This property is required. String
The BinaryValue param.
codepointName This property is required. String
The CodepointName param.

GetQosPolicyRuleDscpTosCodepointTypeTos

Codepoint This property is required. string
The Codepoint param.
Codepoint This property is required. string
The Codepoint param.
codepoint This property is required. String
The Codepoint param.
codepoint This property is required. string
The Codepoint param.
codepoint This property is required. str
The Codepoint param.
codepoint This property is required. String
The Codepoint 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