Strata Cloud Manager v0.3.1 published on Thursday, Mar 13, 2025 by Pulumi
scm.getQosPolicyRule
Explore with Pulumi AI
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",
});
import pulumi
import pulumi_scm as scm
example = scm.get_qos_policy_rule(id="1234-56-789")
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
	})
}
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",
    });
});
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());
    }
}
variables:
  example:
    fn::invoke:
      function: scm:getQosPolicyRule
      arguments:
        id: 1234-56-789
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>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]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 CompletableFuture<GetQosPolicyRuleResult> getQosPolicyRule(GetQosPolicyRuleArgs args, InvokeOptions options)
public static Output<GetQosPolicyRuleResult> getQosPolicyRule(GetQosPolicyRuleArgs args, InvokeOptions options)
fn::invoke:
  function: scm:index/getQosPolicyRule:getQosPolicyRule
  arguments:
    # arguments dictionaryThe following arguments are supported:
getQosPolicyRule Result
The following output properties are available:
- Action
GetQos Policy Rule Action 
- The Action param.
- Description string
- The Description param.
- DscpTos GetQos Policy Rule Dscp Tos 
- 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
GetQos Policy Rule Action 
- The Action param.
- Description string
- The Description param.
- DscpTos GetQos Policy Rule Dscp Tos 
- 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
GetQos Policy Rule Action 
- The Action param.
- description String
- The Description param.
- dscpTos GetQos Policy Rule Dscp Tos 
- 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
GetQos Policy Rule Action 
- The Action param.
- description string
- The Description param.
- dscpTos GetQos Policy Rule Dscp Tos 
- 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
GetQos Policy Rule Action 
- The Action param.
- description str
- The Description param.
- dscp_tos GetQos Policy Rule Dscp Tos 
- 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 string
- The Class param.
- Class string
- The Class param.
- class_ String
- The Class param.
- class string
- The Class param.
- class_ str
- The Class param.
- class String
- The Class param.
GetQosPolicyRuleDscpTos     
- Codepoints
List<GetQos Policy Rule Dscp Tos Codepoint> 
- The Codepoints param.
- Codepoints
[]GetQos Policy Rule Dscp Tos Codepoint 
- The Codepoints param.
- codepoints
List<GetQos Policy Rule Dscp Tos Codepoint> 
- The Codepoints param.
- codepoints
GetQos Policy Rule Dscp Tos Codepoint[] 
- The Codepoints param.
- codepoints
Sequence[GetQos Policy Rule Dscp Tos Codepoint] 
- The Codepoints param.
- codepoints List<Property Map>
- The Codepoints param.
GetQosPolicyRuleDscpTosCodepoint      
- Name string
- The Name param.
- Type
GetQos Policy Rule Dscp Tos Codepoint Type 
- The Type param.
- Name string
- The Name param.
- Type
GetQos Policy Rule Dscp Tos Codepoint Type 
- The Type param.
- name String
- The Name param.
- type
GetQos Policy Rule Dscp Tos Codepoint Type 
- The Type param.
- name string
- The Name param.
- type
GetQos Policy Rule Dscp Tos Codepoint Type 
- The Type param.
- name str
- The Name param.
- type
GetQos Policy Rule Dscp Tos Codepoint Type 
- The Type param.
- name String
- The Name param.
- type Property Map
- The Type param.
GetQosPolicyRuleDscpTosCodepointType       
- Af
GetQos Policy Rule Dscp Tos Codepoint Type Af 
- The Af param.
- Cs
GetQos Policy Rule Dscp Tos Codepoint Type Cs 
- The Cs param.
- Custom
GetQos Policy Rule Dscp Tos Codepoint Type Custom 
- The Custom param.
- Ef bool
- The Ef param.
- Tos
GetQos Policy Rule Dscp Tos Codepoint Type Tos 
- The Tos param.
- Af
GetQos Policy Rule Dscp Tos Codepoint Type Af 
- The Af param.
- Cs
GetQos Policy Rule Dscp Tos Codepoint Type Cs 
- The Cs param.
- Custom
GetQos Policy Rule Dscp Tos Codepoint Type Custom 
- The Custom param.
- Ef bool
- The Ef param.
- Tos
GetQos Policy Rule Dscp Tos Codepoint Type Tos 
- The Tos param.
- af
GetQos Policy Rule Dscp Tos Codepoint Type Af 
- The Af param.
- cs
GetQos Policy Rule Dscp Tos Codepoint Type Cs 
- The Cs param.
- custom
GetQos Policy Rule Dscp Tos Codepoint Type Custom 
- The Custom param.
- ef Boolean
- The Ef param.
- tos
GetQos Policy Rule Dscp Tos Codepoint Type Tos 
- The Tos param.
- af
GetQos Policy Rule Dscp Tos Codepoint Type Af 
- The Af param.
- cs
GetQos Policy Rule Dscp Tos Codepoint Type Cs 
- The Cs param.
- custom
GetQos Policy Rule Dscp Tos Codepoint Type Custom 
- The Custom param.
- ef boolean
- The Ef param.
- tos
GetQos Policy Rule Dscp Tos Codepoint Type Tos 
- The Tos param.
- af
GetQos Policy Rule Dscp Tos Codepoint Type Af 
- The Af param.
- cs
GetQos Policy Rule Dscp Tos Codepoint Type Cs 
- The Cs param.
- custom
GetQos Policy Rule Dscp Tos Codepoint Type Custom 
- The Custom param.
- ef bool
- The Ef param.
- tos
GetQos Policy Rule Dscp Tos Codepoint Type Tos 
- The Tos param.
- af Property Map
- The Af param.
- cs Property Map
- The Cs param.
- custom Property Map
- The Custom param.
- ef Boolean
- The Ef param.
- tos Property Map
- The Tos param.
GetQosPolicyRuleDscpTosCodepointTypeAf        
- Codepoint string
- The Codepoint param.
- Codepoint string
- The Codepoint param.
- codepoint String
- The Codepoint param.
- codepoint string
- The Codepoint param.
- codepoint str
- The Codepoint param.
- codepoint String
- The Codepoint param.
GetQosPolicyRuleDscpTosCodepointTypeCs        
- Codepoint string
- The Codepoint param.
- Codepoint string
- The Codepoint param.
- codepoint String
- The Codepoint param.
- codepoint string
- The Codepoint param.
- codepoint str
- The Codepoint param.
- codepoint String
- The Codepoint param.
GetQosPolicyRuleDscpTosCodepointTypeCustom        
- Codepoint
GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint 
- The Codepoint param.
- Codepoint
GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint 
- The Codepoint param.
- codepoint
GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint 
- The Codepoint param.
- codepoint
GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint 
- The Codepoint param.
- codepoint
GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint 
- The Codepoint param.
- codepoint Property Map
- The Codepoint param.
GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint         
- BinaryValue string
- The BinaryValue param.
- CodepointName string
- The CodepointName param.
- BinaryValue string
- The BinaryValue param.
- CodepointName string
- The CodepointName param.
- binaryValue String
- The BinaryValue param.
- codepointName String
- The CodepointName param.
- binaryValue string
- The BinaryValue param.
- codepointName string
- The CodepointName param.
- binary_value str
- The BinaryValue param.
- codepoint_name str
- The CodepointName param.
- binaryValue String
- The BinaryValue param.
- codepointName String
- The CodepointName param.
GetQosPolicyRuleDscpTosCodepointTypeTos        
- Codepoint string
- The Codepoint param.
- Codepoint string
- The Codepoint param.
- codepoint String
- The Codepoint param.
- codepoint string
- The Codepoint param.
- codepoint str
- The Codepoint param.
- codepoint String
- The Codepoint param.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the scmTerraform Provider.
