1. Packages
  2. Scm Provider
  3. API Docs
  4. getQosPolicyRule
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi

scm.getQosPolicyRule

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 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",
    });
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getQosPolicyRule:getQosPolicyRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Folder string
    The Folder param.
    Id string
    The Id param.
    Folder string
    The Folder param.
    id String
    The Id param.
    folder String
    The Folder param.
    id string
    The Id param.
    folder string
    The Folder param.
    id str
    The Id param.
    folder str
    The Folder param.
    id 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 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<Property Map>
    The Codepoints param.

    GetQosPolicyRuleDscpTosCodepoint

    Name string
    The Name param.
    Type GetQosPolicyRuleDscpTosCodepointType
    The Type param.
    Name string
    The Name param.
    Type GetQosPolicyRuleDscpTosCodepointType
    The Type param.
    name String
    The Name param.
    type GetQosPolicyRuleDscpTosCodepointType
    The Type param.
    name string
    The Name param.
    type GetQosPolicyRuleDscpTosCodepointType
    The Type param.
    name str
    The Name param.
    type GetQosPolicyRuleDscpTosCodepointType
    The Type param.
    name String
    The Name param.
    type Property Map
    The Type param.

    GetQosPolicyRuleDscpTosCodepointType

    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 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 scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.6 published on Wednesday, Oct 16, 2024 by Pulumi