QosMinimumBandwidthRule
Manages a V2 Neutron QoS minimum bandwidth rule resource within OpenStack.
Example Usage
Create a QoS Policy with some minimum bandwidth rule
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var qosPolicy1 = new OpenStack.Networking.QosPolicy("qosPolicy1", new OpenStack.Networking.QosPolicyArgs
{
Description = "min_kbps",
});
var minimumBandwidthRule1 = new OpenStack.Networking.QosMinimumBandwidthRule("minimumBandwidthRule1", new OpenStack.Networking.QosMinimumBandwidthRuleArgs
{
MinKbps = 200,
QosPolicyId = qosPolicy1.Id,
});
}
}
Coming soon!
import pulumi
import pulumi_openstack as openstack
qos_policy1 = openstack.networking.QosPolicy("qosPolicy1", description="min_kbps")
minimum_bandwidth_rule1 = openstack.networking.QosMinimumBandwidthRule("minimumBandwidthRule1",
min_kbps=200,
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: "min_kbps",
});
const minimumBandwidthRule1 = new openstack.networking.QosMinimumBandwidthRule("minimum_bandwidth_rule_1", {
minKbps: 200,
qosPolicyId: qosPolicy1.id,
});Create a QosMinimumBandwidthRule Resource
new QosMinimumBandwidthRule(name: string, args: QosMinimumBandwidthRuleArgs, opts?: CustomResourceOptions);def QosMinimumBandwidthRule(resource_name, opts=None, direction=None, min_kbps=None, qos_policy_id=None, region=None, __props__=None);func NewQosMinimumBandwidthRule(ctx *Context, name string, args QosMinimumBandwidthRuleArgs, opts ...ResourceOption) (*QosMinimumBandwidthRule, error)public QosMinimumBandwidthRule(string name, QosMinimumBandwidthRuleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args QosMinimumBandwidthRuleArgs
- 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 QosMinimumBandwidthRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QosMinimumBandwidthRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
QosMinimumBandwidthRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The QosMinimumBandwidthRule resource accepts the following input properties:
- Min
Kbps int The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- Qos
Policy stringId The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- Direction string
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
- Min
Kbps int The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- Qos
Policy stringId The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- Direction string
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
- min
Kbps number The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- qos
Policy stringId The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- direction string
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
- min_
kbps float The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- qos_
policy_ strid The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- direction str
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- region str
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
Outputs
All input properties are implicitly available as output properties. Additionally, the QosMinimumBandwidthRule resource produces the following output properties:
Look up an Existing QosMinimumBandwidthRule Resource
Get an existing QosMinimumBandwidthRule 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?: QosMinimumBandwidthRuleState, opts?: CustomResourceOptions): QosMinimumBandwidthRulestatic get(resource_name, id, opts=None, direction=None, min_kbps=None, qos_policy_id=None, region=None, __props__=None);func GetQosMinimumBandwidthRule(ctx *Context, name string, id IDInput, state *QosMinimumBandwidthRuleState, opts ...ResourceOption) (*QosMinimumBandwidthRule, error)public static QosMinimumBandwidthRule Get(string name, Input<string> id, QosMinimumBandwidthRuleState? 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:
- Direction string
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- Min
Kbps int The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- Qos
Policy stringId The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
- Direction string
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- Min
Kbps int The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- Qos
Policy stringId The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- Region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
- direction string
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- min
Kbps number The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- qos
Policy stringId The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- region string
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
- direction str
The direction of traffic. Defaults to “egress”. Changing this updates the direction of the existing QoS minimum bandwidth rule.
- min_
kbps float The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
- qos_
policy_ strid The QoS policy reference. Changing this creates a new QoS minimum bandwidth rule.
- region str
The region in which to obtain the V2 Networking client. A Networking client is needed to create a Neutron QoS minimum bandwidth rule. If omitted, the
regionargument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.