Show / Hide Table of Contents

Class QosBandwidthLimitRule

Manages a V2 Neutron QoS bandwidth limit rule resource within OpenStack.

Example Usage

Create a QoS Policy with some bandwidth limit rule

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
public MyStack()
{
    var qosPolicy1 = new OpenStack.Networking.QosPolicy("qosPolicy1", new OpenStack.Networking.QosPolicyArgs
    {
        Description = "bw_limit",
    });
    var bwLimitRule1 = new OpenStack.Networking.QosBandwidthLimitRule("bwLimitRule1", new OpenStack.Networking.QosBandwidthLimitRuleArgs
    {
        Direction = "egress",
        MaxBurstKbps = 300,
        MaxKbps = 3000,
        QosPolicyId = qosPolicy1.Id,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
QosBandwidthLimitRule
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 QosBandwidthLimitRule : CustomResource

Constructors

View Source

QosBandwidthLimitRule(String, QosBandwidthLimitRuleArgs, CustomResourceOptions)

Create a QosBandwidthLimitRule resource with the given unique name, arguments, and options.

Declaration
public QosBandwidthLimitRule(string name, QosBandwidthLimitRuleArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

QosBandwidthLimitRuleArgs 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 bandwidth limit rule.

Declaration
public Output<string> Direction { get; }
Property Value
Type Description
Output<System.String>
View Source

MaxBurstKbps

The maximum burst size in kilobits of a QoS bandwidth limit rule. Changing this updates the maximum burst size in kilobits of the existing QoS bandwidth limit rule.

Declaration
public Output<int?> MaxBurstKbps { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MaxKbps

The maximum kilobits per second of a QoS bandwidth limit rule. Changing this updates the maximum kilobits per second of the existing QoS bandwidth limit rule.

Declaration
public Output<int> MaxKbps { get; }
Property Value
Type Description
Output<System.Int32>
View Source

QosPolicyId

The QoS policy reference. Changing this creates a new QoS bandwidth limit 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 bandwidth limit rule. If omitted, the region argument of the provider is used. Changing this creates a new QoS bandwidth limit rule.

Declaration
public Output<string> Region { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, QosBandwidthLimitRuleState, CustomResourceOptions)

Get an existing QosBandwidthLimitRule resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static QosBandwidthLimitRule Get(string name, Input<string> id, QosBandwidthLimitRuleState 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.

QosBandwidthLimitRuleState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
QosBandwidthLimitRule
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.