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 dictionary
The following arguments are supported:
getQosPolicyRule Result
The following output properties are available:
- Action
Get
Qos Policy Rule Action - The Action param.
- Description string
- The Description param.
- Dscp
Tos 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
Get
Qos Policy Rule Action - The Action param.
- Description string
- The Description param.
- Dscp
Tos 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
Get
Qos Policy Rule Action - The Action param.
- description String
- The Description param.
- dscp
Tos 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
Get
Qos Policy Rule Action - The Action param.
- description string
- The Description param.
- dscp
Tos 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
Get
Qos 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.
- dscp
Tos 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<GetQos Policy Rule Dscp Tos Codepoint> - The Codepoints param.
- Codepoints
This property is required. []GetQos Policy Rule Dscp Tos Codepoint - The Codepoints param.
- codepoints
This property is required. List<GetQos Policy Rule Dscp Tos Codepoint> - The Codepoints param.
- codepoints
This property is required. GetQos Policy Rule Dscp Tos Codepoint[] - The Codepoints param.
- codepoints
This property is required. Sequence[GetQos Policy Rule Dscp Tos Codepoint] - 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. GetQos Policy Rule Dscp Tos Codepoint Type - The Type param.
- Name
This property is required. string - The Name param.
- Type
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type - The Type param.
- name
This property is required. String - The Name param.
- type
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type - The Type param.
- name
This property is required. string - The Name param.
- type
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type - The Type param.
- name
This property is required. str - The Name param.
- type
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type - 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. GetQos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- Cs
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- Custom
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- Ef
This property is required. bool - The Ef param.
- Tos
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- Af
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- Cs
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- Custom
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- Ef
This property is required. bool - The Ef param.
- Tos
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- af
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- cs
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- custom
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- ef
This property is required. Boolean - The Ef param.
- tos
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- af
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- cs
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- custom
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- ef
This property is required. boolean - The Ef param.
- tos
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- af
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- cs
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- custom
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- ef
This property is required. bool - The Ef param.
- tos
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Tos - 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. GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- Codepoint
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint
This property is required. GetQos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint
This property is required. Property Map - The Codepoint param.
GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
- Binary
Value This property is required. string - The BinaryValue param.
- Codepoint
Name This property is required. string - The CodepointName param.
- Binary
Value This property is required. string - The BinaryValue param.
- Codepoint
Name This property is required. string - The CodepointName param.
- binary
Value This property is required. String - The BinaryValue param.
- codepoint
Name This property is required. String - The CodepointName param.
- binary
Value This property is required. string - The BinaryValue param.
- codepoint
Name 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.
- binary
Value This property is required. String - The BinaryValue param.
- codepoint
Name 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.