QosPolicyRule data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const singleRuleById = scm.getQosPolicyRule({
id: "fbc3fdb2-8513-4949-be8a-f1be03b492da",
});
export const singleQosPolicyRuleDump = singleRuleById;
import pulumi
import pulumi_scm as scm
single_rule_by_id = scm.get_qos_policy_rule(id="fbc3fdb2-8513-4949-be8a-f1be03b492da")
pulumi.export("singleQosPolicyRuleDump", single_rule_by_id)
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 {
singleRuleById, err := scm.LookupQosPolicyRule(ctx, &scm.LookupQosPolicyRuleArgs{
Id: "fbc3fdb2-8513-4949-be8a-f1be03b492da",
}, nil)
if err != nil {
return err
}
ctx.Export("singleQosPolicyRuleDump", singleRuleById)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var singleRuleById = Scm.GetQosPolicyRule.Invoke(new()
{
Id = "fbc3fdb2-8513-4949-be8a-f1be03b492da",
});
return new Dictionary<string, object?>
{
["singleQosPolicyRuleDump"] = singleRuleById,
};
});
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 singleRuleById = ScmFunctions.getQosPolicyRule(GetQosPolicyRuleArgs.builder()
.id("fbc3fdb2-8513-4949-be8a-f1be03b492da")
.build());
ctx.export("singleQosPolicyRuleDump", singleRuleById);
}
}
variables:
singleRuleById:
fn::invoke:
function: scm:getQosPolicyRule
arguments:
id: fbc3fdb2-8513-4949-be8a-f1be03b492da
outputs:
singleQosPolicyRuleDump: ${singleRuleById}
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(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetQosPolicyRuleResult
def get_qos_policy_rule_output(id: Optional[pulumi.Input[str]] = None,
name: 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
Get
Qos Policy Rule Action - Action
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dscp
Tos GetQos Policy Rule Dscp Tos - Folder string
- Id string
- UUID of the resource
- Name string
- Name
- Position string
- Relative
Position string - Schedule string
- Snippet string
- Target
Rule string - Tfid string
- Action
Get
Qos Policy Rule Action - Action
- Description string
- Description
- Device string
- The device in which the resource is defined
- Dscp
Tos GetQos Policy Rule Dscp Tos - Folder string
- Id string
- UUID of the resource
- Name string
- Name
- Position string
- Relative
Position string - Schedule string
- Snippet string
- Target
Rule string - Tfid string
- action
Get
Qos Policy Rule Action - Action
- description String
- Description
- device String
- The device in which the resource is defined
- dscp
Tos GetQos Policy Rule Dscp Tos - folder String
- id String
- UUID of the resource
- name String
- Name
- position String
- relative
Position String - schedule String
- snippet String
- target
Rule String - tfid String
- action
Get
Qos Policy Rule Action - Action
- description string
- Description
- device string
- The device in which the resource is defined
- dscp
Tos GetQos Policy Rule Dscp Tos - folder string
- id string
- UUID of the resource
- name string
- Name
- position string
- relative
Position string - schedule string
- snippet string
- target
Rule string - tfid string
- action
Get
Qos Policy Rule Action - Action
- description str
- Description
- device str
- The device in which the resource is defined
- dscp_
tos GetQos Policy Rule Dscp Tos - folder str
- id str
- UUID of the resource
- name str
- Name
- position str
- relative_
position str - schedule str
- snippet str
- target_
rule str - tfid str
- action Property Map
- Action
- description String
- Description
- device String
- The device in which the resource is defined
- dscp
Tos Property Map - folder String
- id String
- UUID of the resource
- name String
- Name
- position String
- relative
Position String - schedule String
- snippet String
- target
Rule String - tfid String
Supporting Types
GetQosPolicyRuleAction
- Class string
- Class
- Class string
- Class
- class_ String
- Class
- class string
- Class
- class_ str
- Class
- class String
- Class
GetQosPolicyRuleDscpTos
- Codepoints
[]Get
Qos Policy Rule Dscp Tos Codepoint - Codepoints
- codepoints
Get
Qos Policy Rule Dscp Tos Codepoint[] - Codepoints
- codepoints List<Property Map>
- Codepoints
GetQosPolicyRuleDscpTosCodepoint
- Name string
- Name
- Type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- Name string
- Name
- Type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name String
- Name
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name string
- Name
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name str
- Name
- type
Get
Qos Policy Rule Dscp Tos Codepoint Type - Type
- name String
- Name
- type Property Map
- Type
GetQosPolicyRuleDscpTosCodepointType
- Af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - Af
- Cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs Cs
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- Custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Custom
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- Ef
Get
Qos Policy Rule Dscp Tos Codepoint Type Ef Ef
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- Tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos Tos
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.
- Af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - Af
- Cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs Cs
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- Custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Custom
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- Ef
Get
Qos Policy Rule Dscp Tos Codepoint Type Ef Ef
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- Tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos Tos
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.
- af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - Af
- cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs Cs
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Custom
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- ef
Get
Qos Policy Rule Dscp Tos Codepoint Type Ef Ef
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos Tos
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.
- af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - Af
- cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs Cs
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Custom
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- ef
Get
Qos Policy Rule Dscp Tos Codepoint Type Ef Ef
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos Tos
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.
- af
Get
Qos Policy Rule Dscp Tos Codepoint Type Af - Af
- cs
Get
Qos Policy Rule Dscp Tos Codepoint Type Cs Cs
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- custom
Get
Qos Policy Rule Dscp Tos Codepoint Type Custom Custom
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- ef
Get
Qos Policy Rule Dscp Tos Codepoint Type Ef Ef
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- tos
Get
Qos Policy Rule Dscp Tos Codepoint Type Tos Tos
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.
- af Property Map
- Af
- cs Property Map
Cs
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- custom Property Map
Custom
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- ef Property Map
Ef
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.- tos Property Map
Tos
ℹ️ Note: You must specify exactly one of
af,cs,custom,ef, andtos.
GetQosPolicyRuleDscpTosCodepointTypeAf
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
GetQosPolicyRuleDscpTosCodepointTypeCs
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
GetQosPolicyRuleDscpTosCodepointTypeCustom
- codepoint Property Map
- Codepoint
GetQosPolicyRuleDscpTosCodepointTypeCustomCodepoint
- Binary
Value string - Binary value
- Codepoint
Name string - Codepoint name
- Binary
Value string - Binary value
- Codepoint
Name string - Codepoint name
- binary
Value String - Binary value
- codepoint
Name String - Codepoint name
- binary
Value string - Binary value
- codepoint
Name string - Codepoint name
- binary_
value str - Binary value
- codepoint_
name str - Codepoint name
- binary
Value String - Binary value
- codepoint
Name String - Codepoint name
GetQosPolicyRuleDscpTosCodepointTypeTos
- Codepoint string
- Codepoint
- Codepoint string
- Codepoint
- codepoint String
- Codepoint
- codepoint string
- Codepoint
- codepoint str
- Codepoint
- codepoint String
- Codepoint
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
