Show / Hide Table of Contents

Class QosPolicy

Manages a V2 Neutron QoS policy resource within OpenStack.

Example Usage

Create a QoS Policy

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

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

Constructors

View Source

QosPolicy(String, QosPolicyArgs, CustomResourceOptions)

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

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

The unique name of the resource

QosPolicyArgs 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

AllTags

The collection of tags assigned on the QoS policy, which have been explicitly and implicitly added.

Declaration
public Output<ImmutableArray<string>> AllTags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

CreatedAt

The time at which QoS policy was created.

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

Description

The human-readable description for the QoS policy. Changing this updates the description of the existing QoS policy.

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

IsDefault

Indicates whether the QoS policy is default QoS policy or not. Changing this updates the default status of the existing QoS policy.

Declaration
public Output<bool?> IsDefault { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Name

The name of the QoS policy. Changing this updates the name of the existing QoS policy.

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

ProjectId

The owner of the QoS policy. Required if admin wants to create a QoS policy for another project. Changing this creates a new QoS policy.

Declaration
public Output<string> ProjectId { 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 policy. If omitted, the region argument of the provider is used. Changing this creates a new QoS policy.

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

RevisionNumber

The revision number of the QoS policy.

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

Shared

Indicates whether this QoS policy is shared across all projects. Changing this updates the shared status of the existing QoS policy.

Declaration
public Output<bool?> Shared { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Tags

A set of string tags for the QoS policy.

Declaration
public Output<ImmutableArray<string>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

UpdatedAt

The time at which QoS policy was created.

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

ValueSpecs

Map of additional options.

Declaration
public Output<ImmutableDictionary<string, object>> ValueSpecs { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

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

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

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

QosPolicyState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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