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,
        });
    }

}

Coming soon!

import pulumi
import pulumi_openstack as openstack

qos_policy1 = openstack.networking.QosPolicy("qosPolicy1", description="dscp_mark")
dscp_marking_rule1 = openstack.networking.QosDscpMarkingRule("dscpMarkingRule1",
    dscp_mark=26,
    qos_policy_id=qos_policy1.id)
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const qosPolicy1 = new openstack.networking.QosPolicy("qos_policy_1", {
    description: "dscp_mark",
});
const dscpMarkingRule1 = new openstack.networking.QosDscpMarkingRule("dscp_marking_rule_1", {
    dscpMark: 26,
    qosPolicyId: qosPolicy1.id,
});

Create a QosDscpMarkingRule Resource

def QosDscpMarkingRule(resource_name, opts=None, dscp_mark=None, qos_policy_id=None, region=None, __props__=None);
name string
The unique name of the resource.
args QosDscpMarkingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args QosDscpMarkingRuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args QosDscpMarkingRuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

QosDscpMarkingRule Resource Properties

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

Inputs

The QosDscpMarkingRule resource accepts the following input properties:

DscpMark int

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

QosPolicyId string

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

Region string

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.

DscpMark int

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

QosPolicyId string

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

Region string

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.

dscpMark number

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

qosPolicyId string

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

region string

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.

dscp_mark float

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

qos_policy_id str

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

region str

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.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing QosDscpMarkingRule Resource

Get an existing QosDscpMarkingRule 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?: QosDscpMarkingRuleState, opts?: CustomResourceOptions): QosDscpMarkingRule
static get(resource_name, id, opts=None, dscp_mark=None, qos_policy_id=None, region=None, __props__=None);
func GetQosDscpMarkingRule(ctx *Context, name string, id IDInput, state *QosDscpMarkingRuleState, opts ...ResourceOption) (*QosDscpMarkingRule, error)
public static QosDscpMarkingRule Get(string name, Input<string> id, QosDscpMarkingRuleState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

DscpMark int

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

QosPolicyId string

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

Region string

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.

DscpMark int

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

QosPolicyId string

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

Region string

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.

dscpMark number

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

qosPolicyId string

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

region string

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.

dscp_mark float

The value of DSCP mark. Changing this updates the DSCP mark value existing QoS DSCP marking rule.

qos_policy_id str

The QoS policy reference. Changing this creates a new QoS DSCP marking rule.

region str

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.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.