Class QosDscpMarkingRule
Manages a V2 Neutron QoS DSCP marking rule resource within OpenStack.
Example Usage
Create a QoS Policy with some DSCP marking rule
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var qosPolicy1 = new OpenStack.Networking.QosPolicy("qosPolicy1", new OpenStack.Networking.QosPolicyArgs
{
Description = "dscp_mark",
});
var dscpMarkingRule1 = new OpenStack.Networking.QosDscpMarkingRule("dscpMarkingRule1", new OpenStack.Networking.QosDscpMarkingRuleArgs
{
DscpMark = 26,
QosPolicyId = qosPolicy1.Id,
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public class QosDscpMarkingRule : CustomResource
Constructors
View SourceQosDscpMarkingRule(String, QosDscpMarkingRuleArgs, CustomResourceOptions)
Create a QosDscpMarkingRule resource with the given unique name, arguments, and options.
Declaration
public QosDscpMarkingRule(string name, QosDscpMarkingRuleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| QosDscpMarkingRuleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDscpMark
The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.
Declaration
public Output<int> DscpMark { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
QosPolicyId
The QoS policy reference. Changing this creates a new QoS DSCP marking rule.
Declaration
public Output<string> QosPolicyId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region in which to obtain the V2 Networking client.
A Networking client is needed to create a Neutron QoS DSCP marking rule. If omitted, the
region argument of the provider is used. Changing this creates a new QoS DSCP marking rule.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, QosDscpMarkingRuleState, CustomResourceOptions)
Get an existing QosDscpMarkingRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static QosDscpMarkingRule Get(string name, Input<string> id, QosDscpMarkingRuleState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| QosDscpMarkingRuleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| QosDscpMarkingRule |