Strata Cloud Manager v0.1.4 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
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 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<Get
Qos Policy Rule Dscp Tos Codepoint> - The Codepoints param.
- Codepoints
[]Get
Qos Policy Rule Dscp Tos Codepoint - The Codepoints param.
- codepoints
List<Get
Qos Policy Rule Dscp Tos Codepoint> - The Codepoints param.
- codepoints
Get
Qos Policy Rule Dscp Tos Codepoint[] - The Codepoints param.
- codepoints
Sequence[Get
Qos Policy Rule Dscp Tos Codepoint] - The Codepoints param.
- codepoints List<Property Map>
- The Codepoints param.
GetQosPolicyRuleDscpTosCodepoint
- Name string
- The Name param.
- Type
Get
Qos Policy Rule Dscp Tos Codepoint Type - The Type param.
- Name string
- The Name param.
- Type
Get
Qos Policy Rule Dscp Tos Codepoint Type - The Type param.
- name String
- The Name param.
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - The Type param.
- name string
- The Name param.
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - The Type param.
- name str
- The Name param.
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - The Type param.
- name String
- The Name param.
- type Property Map
- The Type param.
GetQosPolicyRuleDscpTosCodepointType
- Af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- Cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- Custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- Ef bool
- The Ef param.
- Tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- Af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- Cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- Custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- Ef bool
- The Ef param.
- Tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- ef Boolean
- The Ef param.
- tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- ef boolean
- The Ef param.
- tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos - The Tos param.
- af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - The Af param.
- cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs - The Cs param.
- custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom - The Custom param.
- ef bool
- The Ef param.
- tos
Get
Qos 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
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- Codepoint
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Codepoint - The Codepoint param.
- codepoint Property Map
- The Codepoint param.
GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
- Binary
Value string - The BinaryValue param.
- Codepoint
Name string - The CodepointName param.
- Binary
Value string - The BinaryValue param.
- Codepoint
Name string - The CodepointName param.
- binary
Value String - The BinaryValue param.
- codepoint
Name String - The CodepointName param.
- binary
Value string - The BinaryValue param.
- codepoint
Name string - The CodepointName param.
- binary_
value str - The BinaryValue param.
- codepoint_
name str - The CodepointName param.
- binary
Value String - The BinaryValue param.
- codepoint
Name 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.