UNPKG

@pulumi/openstack

Version:

A Pulumi package for creating and managing OpenStack cloud resources.

107 lines (106 loc) 3.16 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the ID of an available OpenStack QoS bandwidth limit rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const qosBandwidthLimitRule1 = openstack.networking.getQosBandwidthLimitRule({ * maxKbps: 300, * }); * ``` */ export declare function getQosBandwidthLimitRule(args: GetQosBandwidthLimitRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetQosBandwidthLimitRuleResult>; /** * A collection of arguments for invoking getQosBandwidthLimitRule. */ export interface GetQosBandwidthLimitRuleArgs { /** * The maximum burst size in kilobits of a QoS bandwidth limit rule. */ maxBurstKbps?: number; /** * The maximum kilobits per second of a QoS bandwidth limit rule. */ maxKbps?: number; /** * The QoS policy reference. */ qosPolicyId: string; /** * 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. */ region?: string; } /** * A collection of values returned by getQosBandwidthLimitRule. */ export interface GetQosBandwidthLimitRuleResult { /** * See Argument Reference above. */ readonly direction: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * See Argument Reference above. */ readonly maxBurstKbps: number; /** * See Argument Reference above. */ readonly maxKbps: number; /** * See Argument Reference above. */ readonly qosPolicyId: string; /** * See Argument Reference above. */ readonly region: string; } /** * Use this data source to get the ID of an available OpenStack QoS bandwidth limit rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const qosBandwidthLimitRule1 = openstack.networking.getQosBandwidthLimitRule({ * maxKbps: 300, * }); * ``` */ export declare function getQosBandwidthLimitRuleOutput(args: GetQosBandwidthLimitRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQosBandwidthLimitRuleResult>; /** * A collection of arguments for invoking getQosBandwidthLimitRule. */ export interface GetQosBandwidthLimitRuleOutputArgs { /** * The maximum burst size in kilobits of a QoS bandwidth limit rule. */ maxBurstKbps?: pulumi.Input<number>; /** * The maximum kilobits per second of a QoS bandwidth limit rule. */ maxKbps?: pulumi.Input<number>; /** * The QoS policy reference. */ qosPolicyId: pulumi.Input<string>; /** * 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. */ region?: pulumi.Input<string>; }