Class 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,
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public class QosMinimumBandwidthRule : CustomResource
Constructors
View SourceQosMinimumBandwidthRule(String, QosMinimumBandwidthRuleArgs, CustomResourceOptions)
Create a QosMinimumBandwidthRule resource with the given unique name, arguments, and options.
Declaration
public QosMinimumBandwidthRule(string name, QosMinimumBandwidthRuleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| QosMinimumBandwidthRuleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDirection
The direction of traffic. Defaults to "egress". Changing this updates the direction of the existing QoS minimum bandwidth rule.
Declaration
public Output<string> Direction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MinKbps
The minimum kilobits per second. Changing this updates the min kbps value of the existing QoS minimum bandwidth rule.
Declaration
public Output<int> MinKbps { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
QosPolicyId
The QoS policy reference. Changing this creates a new QoS minimum bandwidth 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 minimum bandwidth rule. If omitted, the
region argument of the provider is used. Changing this creates a new QoS minimum bandwidth rule.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, QosMinimumBandwidthRuleState, CustomResourceOptions)
Get an existing QosMinimumBandwidthRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static QosMinimumBandwidthRule Get(string name, Input<string> id, QosMinimumBandwidthRuleState 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. |
| QosMinimumBandwidthRuleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| QosMinimumBandwidthRule |