Show / Hide Table of Contents

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

}
Inheritance
System.Object
Resource
CustomResource
QosMinimumBandwidthRule
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.Networking
Assembly: Pulumi.OpenStack.dll
Syntax
public class QosMinimumBandwidthRule : CustomResource

Constructors

View Source

QosMinimumBandwidthRule(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 Source

Direction

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>
View Source

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>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.