sdwan.ApplicationPriorityQosPolicy
Explore with Pulumi AI
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=[{
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApplicationPriorityQosPolicy resource accepts the following input properties:
- Feature
Profile stringId - Feature Profile ID
- Description string
- The description of the Policy
- Name string
- The name of the Policy
- Qos
Schedulers List<ApplicationPriority Qos Policy Qos Scheduler> - qosSchedulers
- Target
Interface stringVariable - Variable name
- Target
Interfaces List<string> - interfaces
- Feature
Profile stringId - Feature Profile ID
- Description string
- The description of the Policy
- Name string
- The name of the Policy
- Qos
Schedulers []ApplicationPriority Qos Policy Qos Scheduler Args - qosSchedulers
- Target
Interface stringVariable - Variable name
- Target
Interfaces []string - interfaces
- feature
Profile StringId - Feature Profile ID
- description String
- The description of the Policy
- name String
- The name of the Policy
- qos
Schedulers List<ApplicationPriority Qos Policy Qos Scheduler> - qosSchedulers
- target
Interface StringVariable - Variable name
- target
Interfaces List<String> - interfaces
- feature
Profile stringId - Feature Profile ID
- description string
- The description of the Policy
- name string
- The name of the Policy
- qos
Schedulers ApplicationPriority Qos Policy Qos Scheduler[] - qosSchedulers
- target
Interface stringVariable - Variable name
- target
Interfaces string[] - interfaces
- feature_
profile_ strid - Feature Profile ID
- description str
- The description of the Policy
- name str
- The name of the Policy
- qos_
schedulers Sequence[ApplicationPriority Qos Policy Qos Scheduler Args] - qosSchedulers
- target_
interface_ strvariable - Variable name
- target_
interfaces Sequence[str] - interfaces
- feature
Profile StringId - Feature Profile ID
- description String
- The description of the Policy
- name String
- The name of the Policy
- qos
Schedulers List<Property Map> - qosSchedulers
- target
Interface StringVariable - Variable name
- target
Interfaces List<String> - interfaces
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationPriorityQosPolicy resource produces the following output properties:
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.
- Description string
- The description of the Policy
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy
- Qos
Schedulers List<ApplicationPriority Qos Policy Qos Scheduler> - qosSchedulers
- Target
Interface stringVariable - Variable name
- Target
Interfaces List<string> - interfaces
- Version int
- The version of the Policy
- Description string
- The description of the Policy
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy
- Qos
Schedulers []ApplicationPriority Qos Policy Qos Scheduler Args - qosSchedulers
- Target
Interface stringVariable - Variable name
- Target
Interfaces []string - interfaces
- Version int
- The version of the Policy
- description String
- The description of the Policy
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Policy
- qos
Schedulers List<ApplicationPriority Qos Policy Qos Scheduler> - qosSchedulers
- target
Interface StringVariable - Variable name
- target
Interfaces List<String> - interfaces
- version Integer
- The version of the Policy
- description string
- The description of the Policy
- feature
Profile stringId - Feature Profile ID
- name string
- The name of the Policy
- qos
Schedulers ApplicationPriority Qos Policy Qos Scheduler[] - qosSchedulers
- target
Interface stringVariable - Variable name
- target
Interfaces string[] - interfaces
- version number
- The version of the Policy
- description str
- The description of the Policy
- feature_
profile_ strid - Feature Profile ID
- name str
- The name of the Policy
- qos_
schedulers Sequence[ApplicationPriority Qos Policy Qos Scheduler Args] - qosSchedulers
- target_
interface_ strvariable - Variable name
- target_
interfaces Sequence[str] - interfaces
- version int
- The version of the Policy
- description String
- The description of the Policy
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Policy
- qos
Schedulers List<Property Map> - qosSchedulers
- target
Interface StringVariable - Variable name
- target
Interfaces List<String> - interfaces
- version Number
- The version of the Policy
Supporting Types
ApplicationPriorityQosPolicyQosScheduler, ApplicationPriorityQosPolicyQosSchedulerArgs
- Bandwidth string
- bandwidthPercent
- Drops string
- drops
- Forwarding
Class stringId - Queue string
- queue
- Scheduling
Type string - scheduling
- Bandwidth string
- bandwidthPercent
- Drops string
- drops
- Forwarding
Class stringId - Queue string
- queue
- Scheduling
Type string - scheduling
- bandwidth String
- bandwidthPercent
- drops String
- drops
- forwarding
Class StringId - queue String
- queue
- scheduling
Type String - scheduling
- bandwidth string
- bandwidthPercent
- drops string
- drops
- forwarding
Class stringId - queue string
- queue
- scheduling
Type string - scheduling
- bandwidth str
- bandwidthPercent
- drops str
- drops
- forwarding_
class_ strid - queue str
- queue
- scheduling_
type str - scheduling
- bandwidth String
- bandwidthPercent
- drops String
- drops
- forwarding
Class StringId - queue String
- queue
- scheduling
Type String - scheduling
Import
Expected import identifier with the format: “application_priority_qos_policy_id,feature_profile_id”
$ pulumi import sdwan:index/applicationPriorityQosPolicy:ApplicationPriorityQosPolicy example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
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.