1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. ApplicationPriorityQosPolicy
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.ApplicationPriorityQosPolicy

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This resource can manage a Application Priority QoS Policy.

    • Minimum SD-WAN Manager version: 20.12.0

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.ApplicationPriorityQosPolicy;
    import com.pulumi.sdwan.ApplicationPriorityQosPolicyArgs;
    import com.pulumi.sdwan.inputs.ApplicationPriorityQosPolicyQosSchedulerArgs;
    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) {
            var example = new ApplicationPriorityQosPolicy("example", ApplicationPriorityQosPolicyArgs.builder()
                .name("Example")
                .description("My Example")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .targetInterfaces("{{interface_var_1}}")
                .qosSchedulers(ApplicationPriorityQosPolicyQosSchedulerArgs.builder()
                    .drops("tail-drop")
                    .queue("0")
                    .bandwidth("10")
                    .scheduling_type("llq")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:ApplicationPriorityQosPolicy
        properties:
          name: Example
          description: My Example
          featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          targetInterfaces:
            - '{{interface_var_1}}'
          qosSchedulers:
            - drops: tail-drop
              queue: '0'
              bandwidth: '10'
              scheduling_type: llq
    

    Create ApplicationPriorityQosPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ApplicationPriorityQosPolicy(name: string, args: ApplicationPriorityQosPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationPriorityQosPolicy(resource_name: str,
                                     args: ApplicationPriorityQosPolicyArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationPriorityQosPolicy(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     feature_profile_id: Optional[str] = None,
                                     description: Optional[str] = None,
                                     name: Optional[str] = None,
                                     qos_schedulers: Optional[Sequence[ApplicationPriorityQosPolicyQosSchedulerArgs]] = None,
                                     target_interface_variable: Optional[str] = None,
                                     target_interfaces: Optional[Sequence[str]] = None)
    func NewApplicationPriorityQosPolicy(ctx *Context, name string, args ApplicationPriorityQosPolicyArgs, opts ...ResourceOption) (*ApplicationPriorityQosPolicy, error)
    public ApplicationPriorityQosPolicy(string name, ApplicationPriorityQosPolicyArgs args, CustomResourceOptions? opts = null)
    public ApplicationPriorityQosPolicy(String name, ApplicationPriorityQosPolicyArgs args)
    public ApplicationPriorityQosPolicy(String name, ApplicationPriorityQosPolicyArgs args, CustomResourceOptions options)
    
    type: sdwan:ApplicationPriorityQosPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ApplicationPriorityQosPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ApplicationPriorityQosPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ApplicationPriorityQosPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationPriorityQosPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationPriorityQosPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var applicationPriorityQosPolicyResource = new Sdwan.ApplicationPriorityQosPolicy("applicationPriorityQosPolicyResource", new()
    {
        FeatureProfileId = "string",
        Description = "string",
        Name = "string",
        QosSchedulers = new[]
        {
            new Sdwan.Inputs.ApplicationPriorityQosPolicyQosSchedulerArgs
            {
                Bandwidth = "string",
                Drops = "string",
                ForwardingClassId = "string",
                Queue = "string",
                SchedulingType = "string",
            },
        },
        TargetInterfaceVariable = "string",
        TargetInterfaces = new[]
        {
            "string",
        },
    });
    
    example, err := sdwan.NewApplicationPriorityQosPolicy(ctx, "applicationPriorityQosPolicyResource", &sdwan.ApplicationPriorityQosPolicyArgs{
    	FeatureProfileId: pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	QosSchedulers: sdwan.ApplicationPriorityQosPolicyQosSchedulerArray{
    		&sdwan.ApplicationPriorityQosPolicyQosSchedulerArgs{
    			Bandwidth:         pulumi.String("string"),
    			Drops:             pulumi.String("string"),
    			ForwardingClassId: pulumi.String("string"),
    			Queue:             pulumi.String("string"),
    			SchedulingType:    pulumi.String("string"),
    		},
    	},
    	TargetInterfaceVariable: pulumi.String("string"),
    	TargetInterfaces: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var applicationPriorityQosPolicyResource = new ApplicationPriorityQosPolicy("applicationPriorityQosPolicyResource", ApplicationPriorityQosPolicyArgs.builder()
        .featureProfileId("string")
        .description("string")
        .name("string")
        .qosSchedulers(ApplicationPriorityQosPolicyQosSchedulerArgs.builder()
            .bandwidth("string")
            .drops("string")
            .forwardingClassId("string")
            .queue("string")
            .schedulingType("string")
            .build())
        .targetInterfaceVariable("string")
        .targetInterfaces("string")
        .build());
    
    application_priority_qos_policy_resource = sdwan.ApplicationPriorityQosPolicy("applicationPriorityQosPolicyResource",
        feature_profile_id="string",
        description="string",
        name="string",
        qos_schedulers=[sdwan.ApplicationPriorityQosPolicyQosSchedulerArgs(
            bandwidth="string",
            drops="string",
            forwarding_class_id="string",
            queue="string",
            scheduling_type="string",
        )],
        target_interface_variable="string",
        target_interfaces=["string"])
    
    const applicationPriorityQosPolicyResource = new sdwan.ApplicationPriorityQosPolicy("applicationPriorityQosPolicyResource", {
        featureProfileId: "string",
        description: "string",
        name: "string",
        qosSchedulers: [{
            bandwidth: "string",
            drops: "string",
            forwardingClassId: "string",
            queue: "string",
            schedulingType: "string",
        }],
        targetInterfaceVariable: "string",
        targetInterfaces: ["string"],
    });
    
    type: sdwan:ApplicationPriorityQosPolicy
    properties:
        description: string
        featureProfileId: string
        name: string
        qosSchedulers:
            - bandwidth: string
              drops: string
              forwardingClassId: string
              queue: string
              schedulingType: string
        targetInterfaceVariable: string
        targetInterfaces:
            - string
    

    ApplicationPriorityQosPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ApplicationPriorityQosPolicy resource accepts the following input properties:

    FeatureProfileId string
    Feature Profile ID
    Description string
    The description of the Policy
    Name string
    The name of the Policy
    QosSchedulers List<ApplicationPriorityQosPolicyQosScheduler>
    qosSchedulers
    TargetInterfaceVariable string
    Variable name
    TargetInterfaces List<string>
    interfaces
    FeatureProfileId string
    Feature Profile ID
    Description string
    The description of the Policy
    Name string
    The name of the Policy
    QosSchedulers []ApplicationPriorityQosPolicyQosSchedulerArgs
    qosSchedulers
    TargetInterfaceVariable string
    Variable name
    TargetInterfaces []string
    interfaces
    featureProfileId String
    Feature Profile ID
    description String
    The description of the Policy
    name String
    The name of the Policy
    qosSchedulers List<ApplicationPriorityQosPolicyQosScheduler>
    qosSchedulers
    targetInterfaceVariable String
    Variable name
    targetInterfaces List<String>
    interfaces
    featureProfileId string
    Feature Profile ID
    description string
    The description of the Policy
    name string
    The name of the Policy
    qosSchedulers ApplicationPriorityQosPolicyQosScheduler[]
    qosSchedulers
    targetInterfaceVariable string
    Variable name
    targetInterfaces string[]
    interfaces
    feature_profile_id str
    Feature Profile ID
    description str
    The description of the Policy
    name str
    The name of the Policy
    qos_schedulers Sequence[ApplicationPriorityQosPolicyQosSchedulerArgs]
    qosSchedulers
    target_interface_variable str
    Variable name
    target_interfaces Sequence[str]
    interfaces
    featureProfileId String
    Feature Profile ID
    description String
    The description of the Policy
    name String
    The name of the Policy
    qosSchedulers List<Property Map>
    qosSchedulers
    targetInterfaceVariable String
    Variable name
    targetInterfaces List<String>
    interfaces

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApplicationPriorityQosPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Policy
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the Policy
    id String
    The provider-assigned unique ID for this managed resource.
    version Integer
    The version of the Policy
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    The version of the Policy
    id str
    The provider-assigned unique ID for this managed resource.
    version int
    The version of the Policy
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    The version of the Policy

    Look up Existing ApplicationPriorityQosPolicy Resource

    Get an existing ApplicationPriorityQosPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ApplicationPriorityQosPolicyState, opts?: CustomResourceOptions): ApplicationPriorityQosPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            feature_profile_id: Optional[str] = None,
            name: Optional[str] = None,
            qos_schedulers: Optional[Sequence[ApplicationPriorityQosPolicyQosSchedulerArgs]] = None,
            target_interface_variable: Optional[str] = None,
            target_interfaces: Optional[Sequence[str]] = None,
            version: Optional[int] = None) -> ApplicationPriorityQosPolicy
    func GetApplicationPriorityQosPolicy(ctx *Context, name string, id IDInput, state *ApplicationPriorityQosPolicyState, opts ...ResourceOption) (*ApplicationPriorityQosPolicy, error)
    public static ApplicationPriorityQosPolicy Get(string name, Input<string> id, ApplicationPriorityQosPolicyState? state, CustomResourceOptions? opts = null)
    public static ApplicationPriorityQosPolicy get(String name, Output<String> id, ApplicationPriorityQosPolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of the Policy
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Policy
    QosSchedulers List<ApplicationPriorityQosPolicyQosScheduler>
    qosSchedulers
    TargetInterfaceVariable string
    Variable name
    TargetInterfaces List<string>
    interfaces
    Version int
    The version of the Policy
    Description string
    The description of the Policy
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Policy
    QosSchedulers []ApplicationPriorityQosPolicyQosSchedulerArgs
    qosSchedulers
    TargetInterfaceVariable string
    Variable name
    TargetInterfaces []string
    interfaces
    Version int
    The version of the Policy
    description String
    The description of the Policy
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Policy
    qosSchedulers List<ApplicationPriorityQosPolicyQosScheduler>
    qosSchedulers
    targetInterfaceVariable String
    Variable name
    targetInterfaces List<String>
    interfaces
    version Integer
    The version of the Policy
    description string
    The description of the Policy
    featureProfileId string
    Feature Profile ID
    name string
    The name of the Policy
    qosSchedulers ApplicationPriorityQosPolicyQosScheduler[]
    qosSchedulers
    targetInterfaceVariable string
    Variable name
    targetInterfaces string[]
    interfaces
    version number
    The version of the Policy
    description str
    The description of the Policy
    feature_profile_id str
    Feature Profile ID
    name str
    The name of the Policy
    qos_schedulers Sequence[ApplicationPriorityQosPolicyQosSchedulerArgs]
    qosSchedulers
    target_interface_variable str
    Variable name
    target_interfaces Sequence[str]
    interfaces
    version int
    The version of the Policy
    description String
    The description of the Policy
    featureProfileId String
    Feature Profile ID
    name String
    The name of the Policy
    qosSchedulers List<Property Map>
    qosSchedulers
    targetInterfaceVariable String
    Variable name
    targetInterfaces List<String>
    interfaces
    version Number
    The version of the Policy

    Supporting Types

    ApplicationPriorityQosPolicyQosScheduler, ApplicationPriorityQosPolicyQosSchedulerArgs

    Bandwidth string
    bandwidthPercent
    Drops string
    drops
    ForwardingClassId string
    Queue string
    queue
    SchedulingType string
    scheduling
    Bandwidth string
    bandwidthPercent
    Drops string
    drops
    ForwardingClassId string
    Queue string
    queue
    SchedulingType string
    scheduling
    bandwidth String
    bandwidthPercent
    drops String
    drops
    forwardingClassId String
    queue String
    queue
    schedulingType String
    scheduling
    bandwidth string
    bandwidthPercent
    drops string
    drops
    forwardingClassId string
    queue string
    queue
    schedulingType string
    scheduling
    bandwidth str
    bandwidthPercent
    drops str
    drops
    forwarding_class_id str
    queue str
    queue
    scheduling_type str
    scheduling
    bandwidth String
    bandwidthPercent
    drops String
    drops
    forwardingClassId String
    queue String
    queue
    schedulingType String
    scheduling

    Import

    $ pulumi import sdwan:index/applicationPriorityQosPolicy:ApplicationPriorityQosPolicy example "f6b2c44c-693c-4763-b010-895aa3d236bd"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi