Viewing docs for Cisco NX-OS v0.0.2
published on Friday, Sep 29, 2023 by lbrlabs
published on Friday, Sep 29, 2023 by lbrlabs
Viewing docs for Cisco NX-OS v0.0.2
published on Friday, Sep 29, 2023 by lbrlabs
published on Friday, Sep 29, 2023 by lbrlabs
This data source can read the default QoS policy map match class map police configuration.
- API Documentation: ipqosPolice
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nxos = Pulumi.Nxos;
return await Deployment.RunAsync(() =>
{
var example = Nxos.GetDefaultQosPolicyMapMatchClassMapPolice.Invoke(new()
{
ClassMapName = "Voice",
PolicyMapName = "PM1",
});
});
package main
import (
"github.com/lbrlabs/pulumi-nxos/sdk/go/nxos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nxos.LookupDefaultQosPolicyMapMatchClassMapPolice(ctx, &nxos.LookupDefaultQosPolicyMapMatchClassMapPoliceArgs{
ClassMapName: "Voice",
PolicyMapName: "PM1",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nxos.NxosFunctions;
import com.pulumi.nxos.inputs.GetDefaultQosPolicyMapMatchClassMapPoliceArgs;
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 = NxosFunctions.getDefaultQosPolicyMapMatchClassMapPolice(GetDefaultQosPolicyMapMatchClassMapPoliceArgs.builder()
.classMapName("Voice")
.policyMapName("PM1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as nxos from "@pulumi/nxos";
const example = nxos.getDefaultQosPolicyMapMatchClassMapPolice({
classMapName: "Voice",
policyMapName: "PM1",
});
import pulumi
import pulumi_nxos as nxos
example = nxos.get_default_qos_policy_map_match_class_map_police(class_map_name="Voice",
policy_map_name="PM1")
variables:
example:
fn::invoke:
Function: nxos:getDefaultQosPolicyMapMatchClassMapPolice
Arguments:
classMapName: Voice
policyMapName: PM1
Using getDefaultQosPolicyMapMatchClassMapPolice
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 getDefaultQosPolicyMapMatchClassMapPolice(args: GetDefaultQosPolicyMapMatchClassMapPoliceArgs, opts?: InvokeOptions): Promise<GetDefaultQosPolicyMapMatchClassMapPoliceResult>
function getDefaultQosPolicyMapMatchClassMapPoliceOutput(args: GetDefaultQosPolicyMapMatchClassMapPoliceOutputArgs, opts?: InvokeOptions): Output<GetDefaultQosPolicyMapMatchClassMapPoliceResult>def get_default_qos_policy_map_match_class_map_police(class_map_name: Optional[str] = None,
device: Optional[str] = None,
policy_map_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDefaultQosPolicyMapMatchClassMapPoliceResult
def get_default_qos_policy_map_match_class_map_police_output(class_map_name: Optional[pulumi.Input[str]] = None,
device: Optional[pulumi.Input[str]] = None,
policy_map_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDefaultQosPolicyMapMatchClassMapPoliceResult]func LookupDefaultQosPolicyMapMatchClassMapPolice(ctx *Context, args *LookupDefaultQosPolicyMapMatchClassMapPoliceArgs, opts ...InvokeOption) (*LookupDefaultQosPolicyMapMatchClassMapPoliceResult, error)
func LookupDefaultQosPolicyMapMatchClassMapPoliceOutput(ctx *Context, args *LookupDefaultQosPolicyMapMatchClassMapPoliceOutputArgs, opts ...InvokeOption) LookupDefaultQosPolicyMapMatchClassMapPoliceResultOutput> Note: This function is named LookupDefaultQosPolicyMapMatchClassMapPolice in the Go SDK.
public static class GetDefaultQosPolicyMapMatchClassMapPolice
{
public static Task<GetDefaultQosPolicyMapMatchClassMapPoliceResult> InvokeAsync(GetDefaultQosPolicyMapMatchClassMapPoliceArgs args, InvokeOptions? opts = null)
public static Output<GetDefaultQosPolicyMapMatchClassMapPoliceResult> Invoke(GetDefaultQosPolicyMapMatchClassMapPoliceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDefaultQosPolicyMapMatchClassMapPoliceResult> getDefaultQosPolicyMapMatchClassMapPolice(GetDefaultQosPolicyMapMatchClassMapPoliceArgs args, InvokeOptions options)
public static Output<GetDefaultQosPolicyMapMatchClassMapPoliceResult> getDefaultQosPolicyMapMatchClassMapPolice(GetDefaultQosPolicyMapMatchClassMapPoliceArgs args, InvokeOptions options)
fn::invoke:
function: nxos:index/getDefaultQosPolicyMapMatchClassMapPolice:getDefaultQosPolicyMapMatchClassMapPolice
arguments:
# arguments dictionaryThe following arguments are supported:
- Class
Map stringName - Class map name.
- Policy
Map stringName - Policy map name.
- Device string
- A device name from the provider configuration.
- Class
Map stringName - Class map name.
- Policy
Map stringName - Policy map name.
- Device string
- A device name from the provider configuration.
- class
Map StringName - Class map name.
- policy
Map StringName - Policy map name.
- device String
- A device name from the provider configuration.
- class
Map stringName - Class map name.
- policy
Map stringName - Policy map name.
- device string
- A device name from the provider configuration.
- class_
map_ strname - Class map name.
- policy_
map_ strname - Policy map name.
- device str
- A device name from the provider configuration.
- class
Map StringName - Class map name.
- policy
Map StringName - Policy map name.
- device String
- A device name from the provider configuration.
getDefaultQosPolicyMapMatchClassMapPolice Result
The following output properties are available:
- Bc
Rate int - CIR burst rate.
- Bc
Unit string - CIR burst rate unit.
- Be
Rate int - PIR burst rate.
- Be
Unit string - PIR burst rate unit.
- Cir
Rate int - CIR rate.
- Cir
Unit string - CIR rate unit.
- Class
Map stringName - Class map name.
- Conform
Action string - Conform action.
- Conform
Set intCos - Set CoS for conforming traffic.
- Conform
Set intDscp - Set DSCP for conforming traffic.
- Conform
Set stringPrecedence - Set precedence for conforming traffic.
- Conform
Set intQos Group - Set qos-group for conforming traffic.
- Exceed
Action string - Exceed action.
- Exceed
Set intCos - Set CoS for exceeding traffic.
- Exceed
Set intDscp - Set DSCP for exceeding traffic.
- Exceed
Set stringPrecedence - Set precedence for exceeding traffic.
- Exceed
Set intQos Group - Set qos-group for exceeding traffic.
- Id string
- The distinguished name of the object.
- Pir
Rate int - PIR rate.
- Pir
Unit string - PIR rate unit.
- Policy
Map stringName - Policy map name.
- Violate
Action string - Violate action.
- Violate
Set intCos - Set CoS for violating traffic.
- Violate
Set intDscp - Set DSCP for violating traffic.
- Violate
Set stringPrecedence - Set precedence for violating traffic.
- Violate
Set intQos Group - Set qos-group for violating traffic.
- Device string
- A device name from the provider configuration.
- Bc
Rate int - CIR burst rate.
- Bc
Unit string - CIR burst rate unit.
- Be
Rate int - PIR burst rate.
- Be
Unit string - PIR burst rate unit.
- Cir
Rate int - CIR rate.
- Cir
Unit string - CIR rate unit.
- Class
Map stringName - Class map name.
- Conform
Action string - Conform action.
- Conform
Set intCos - Set CoS for conforming traffic.
- Conform
Set intDscp - Set DSCP for conforming traffic.
- Conform
Set stringPrecedence - Set precedence for conforming traffic.
- Conform
Set intQos Group - Set qos-group for conforming traffic.
- Exceed
Action string - Exceed action.
- Exceed
Set intCos - Set CoS for exceeding traffic.
- Exceed
Set intDscp - Set DSCP for exceeding traffic.
- Exceed
Set stringPrecedence - Set precedence for exceeding traffic.
- Exceed
Set intQos Group - Set qos-group for exceeding traffic.
- Id string
- The distinguished name of the object.
- Pir
Rate int - PIR rate.
- Pir
Unit string - PIR rate unit.
- Policy
Map stringName - Policy map name.
- Violate
Action string - Violate action.
- Violate
Set intCos - Set CoS for violating traffic.
- Violate
Set intDscp - Set DSCP for violating traffic.
- Violate
Set stringPrecedence - Set precedence for violating traffic.
- Violate
Set intQos Group - Set qos-group for violating traffic.
- Device string
- A device name from the provider configuration.
- bc
Rate Integer - CIR burst rate.
- bc
Unit String - CIR burst rate unit.
- be
Rate Integer - PIR burst rate.
- be
Unit String - PIR burst rate unit.
- cir
Rate Integer - CIR rate.
- cir
Unit String - CIR rate unit.
- class
Map StringName - Class map name.
- conform
Action String - Conform action.
- conform
Set IntegerCos - Set CoS for conforming traffic.
- conform
Set IntegerDscp - Set DSCP for conforming traffic.
- conform
Set StringPrecedence - Set precedence for conforming traffic.
- conform
Set IntegerQos Group - Set qos-group for conforming traffic.
- exceed
Action String - Exceed action.
- exceed
Set IntegerCos - Set CoS for exceeding traffic.
- exceed
Set IntegerDscp - Set DSCP for exceeding traffic.
- exceed
Set StringPrecedence - Set precedence for exceeding traffic.
- exceed
Set IntegerQos Group - Set qos-group for exceeding traffic.
- id String
- The distinguished name of the object.
- pir
Rate Integer - PIR rate.
- pir
Unit String - PIR rate unit.
- policy
Map StringName - Policy map name.
- violate
Action String - Violate action.
- violate
Set IntegerCos - Set CoS for violating traffic.
- violate
Set IntegerDscp - Set DSCP for violating traffic.
- violate
Set StringPrecedence - Set precedence for violating traffic.
- violate
Set IntegerQos Group - Set qos-group for violating traffic.
- device String
- A device name from the provider configuration.
- bc
Rate number - CIR burst rate.
- bc
Unit string - CIR burst rate unit.
- be
Rate number - PIR burst rate.
- be
Unit string - PIR burst rate unit.
- cir
Rate number - CIR rate.
- cir
Unit string - CIR rate unit.
- class
Map stringName - Class map name.
- conform
Action string - Conform action.
- conform
Set numberCos - Set CoS for conforming traffic.
- conform
Set numberDscp - Set DSCP for conforming traffic.
- conform
Set stringPrecedence - Set precedence for conforming traffic.
- conform
Set numberQos Group - Set qos-group for conforming traffic.
- exceed
Action string - Exceed action.
- exceed
Set numberCos - Set CoS for exceeding traffic.
- exceed
Set numberDscp - Set DSCP for exceeding traffic.
- exceed
Set stringPrecedence - Set precedence for exceeding traffic.
- exceed
Set numberQos Group - Set qos-group for exceeding traffic.
- id string
- The distinguished name of the object.
- pir
Rate number - PIR rate.
- pir
Unit string - PIR rate unit.
- policy
Map stringName - Policy map name.
- violate
Action string - Violate action.
- violate
Set numberCos - Set CoS for violating traffic.
- violate
Set numberDscp - Set DSCP for violating traffic.
- violate
Set stringPrecedence - Set precedence for violating traffic.
- violate
Set numberQos Group - Set qos-group for violating traffic.
- device string
- A device name from the provider configuration.
- bc_
rate int - CIR burst rate.
- bc_
unit str - CIR burst rate unit.
- be_
rate int - PIR burst rate.
- be_
unit str - PIR burst rate unit.
- cir_
rate int - CIR rate.
- cir_
unit str - CIR rate unit.
- class_
map_ strname - Class map name.
- conform_
action str - Conform action.
- conform_
set_ intcos - Set CoS for conforming traffic.
- conform_
set_ intdscp - Set DSCP for conforming traffic.
- conform_
set_ strprecedence - Set precedence for conforming traffic.
- conform_
set_ intqos_ group - Set qos-group for conforming traffic.
- exceed_
action str - Exceed action.
- exceed_
set_ intcos - Set CoS for exceeding traffic.
- exceed_
set_ intdscp - Set DSCP for exceeding traffic.
- exceed_
set_ strprecedence - Set precedence for exceeding traffic.
- exceed_
set_ intqos_ group - Set qos-group for exceeding traffic.
- id str
- The distinguished name of the object.
- pir_
rate int - PIR rate.
- pir_
unit str - PIR rate unit.
- policy_
map_ strname - Policy map name.
- violate_
action str - Violate action.
- violate_
set_ intcos - Set CoS for violating traffic.
- violate_
set_ intdscp - Set DSCP for violating traffic.
- violate_
set_ strprecedence - Set precedence for violating traffic.
- violate_
set_ intqos_ group - Set qos-group for violating traffic.
- device str
- A device name from the provider configuration.
- bc
Rate Number - CIR burst rate.
- bc
Unit String - CIR burst rate unit.
- be
Rate Number - PIR burst rate.
- be
Unit String - PIR burst rate unit.
- cir
Rate Number - CIR rate.
- cir
Unit String - CIR rate unit.
- class
Map StringName - Class map name.
- conform
Action String - Conform action.
- conform
Set NumberCos - Set CoS for conforming traffic.
- conform
Set NumberDscp - Set DSCP for conforming traffic.
- conform
Set StringPrecedence - Set precedence for conforming traffic.
- conform
Set NumberQos Group - Set qos-group for conforming traffic.
- exceed
Action String - Exceed action.
- exceed
Set NumberCos - Set CoS for exceeding traffic.
- exceed
Set NumberDscp - Set DSCP for exceeding traffic.
- exceed
Set StringPrecedence - Set precedence for exceeding traffic.
- exceed
Set NumberQos Group - Set qos-group for exceeding traffic.
- id String
- The distinguished name of the object.
- pir
Rate Number - PIR rate.
- pir
Unit String - PIR rate unit.
- policy
Map StringName - Policy map name.
- violate
Action String - Violate action.
- violate
Set NumberCos - Set CoS for violating traffic.
- violate
Set NumberDscp - Set DSCP for violating traffic.
- violate
Set StringPrecedence - Set precedence for violating traffic.
- violate
Set NumberQos Group - Set qos-group for violating traffic.
- device String
- A device name from the provider configuration.
Package Details
- Repository
- nxos lbrlabs/pulumi-nxos
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nxosTerraform Provider.
Viewing docs for Cisco NX-OS v0.0.2
published on Friday, Sep 29, 2023 by lbrlabs
published on Friday, Sep 29, 2023 by lbrlabs
