import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * QosProfile resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const scmQosProfile1 = new scm.QosProfile("scm_qos_profile_1", { * folder: "Remote Networks", * name: "scm-qos-profile-base", * }); * const scmQosProfile2 = new scm.QosProfile("scm_qos_profile_2", { * folder: "Remote Networks", * name: "scm-qos-profile-2", * aggregateBandwidth: { * egressMax: 200, * egressGuaranteed: 10000, * }, * }); * const scmQosProfile3 = new scm.QosProfile("scm_qos_profile_3", { * folder: "Service Connections", * name: "scm-qos-profile-3", * aggregateBandwidth: { * egressGuaranteed: 20, * }, * classBandwidthType: { * mbps: { * classes: [ * { * name: "class1", * }, * { * name: "class2", * priority: "high", * }, * { * name: "class3", * priority: "real-time", * classBandwidth: { * egressMax: 500, * }, * }, * { * name: "class4", * priority: "low", * classBandwidth: { * egressGuaranteed: 60000, * }, * }, * { * name: "class5", * priority: "medium", * classBandwidth: { * egressMax: 955, * egressGuaranteed: 50000, * }, * }, * ], * }, * }, * }); * const scmQosProfile4 = new scm.QosProfile("scm_qos_profile_4", { * folder: "Service Connections", * name: "scm-qos-profile-4", * aggregateBandwidth: { * egressMax: 1400, * }, * classBandwidthType: { * percentage: { * classes: [ * { * name: "class1", * }, * { * name: "class2", * priority: "low", * }, * { * name: "class3", * priority: "real-time", * classBandwidth: { * egressMax: 100, * }, * }, * { * name: "class4", * priority: "medium", * classBandwidth: { * egressGuaranteed: 5, * }, * }, * { * name: "class5", * priority: "high", * classBandwidth: { * egressMax: 25, * egressGuaranteed: 50, * }, * }, * ], * }, * }, * }); * ``` * * ## Import * * The following command can be used to import a resource not managed by Terraform: * * ```sh * $ pulumi import scm:index/qosProfile:QosProfile example folder:::id * ``` * * or * * ```sh * $ pulumi import scm:index/qosProfile:QosProfile example :snippet::id * ``` * * or * * ```sh * $ pulumi import scm:index/qosProfile:QosProfile example ::device:id * ``` * * **Note:** Please provide just one of folder, snippet, or device for the import command. */ export declare class QosProfile extends pulumi.CustomResource { /** * Get an existing QosProfile resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: QosProfileState, opts?: pulumi.CustomResourceOptions): QosProfile; /** * Returns true if the given object is an instance of QosProfile. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is QosProfile; /** * Aggregate bandwidth */ readonly aggregateBandwidth: pulumi.Output; /** * Class bandwidth type */ readonly classBandwidthType: pulumi.Output; /** * The device in which the resource is defined */ readonly device: pulumi.Output; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: pulumi.Output; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ readonly name: pulumi.Output; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: pulumi.Output; /** * The Terraform ID. */ readonly tfid: pulumi.Output; /** * Create a QosProfile resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: QosProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering QosProfile resources. */ export interface QosProfileState { /** * Aggregate bandwidth */ aggregateBandwidth?: pulumi.Input; /** * Class bandwidth type */ classBandwidthType?: pulumi.Input; /** * The device in which the resource is defined */ device?: pulumi.Input; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: pulumi.Input; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input; /** * The Terraform ID. */ tfid?: pulumi.Input; } /** * The set of arguments for constructing a QosProfile resource. */ export interface QosProfileArgs { /** * Aggregate bandwidth */ aggregateBandwidth?: pulumi.Input; /** * Class bandwidth type */ classBandwidthType?: pulumi.Input; /** * The device in which the resource is defined */ device?: pulumi.Input; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input; /** * Alphanumeric string begin with letter: [0-9a-zA-Z._-] */ name?: pulumi.Input; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input; } //# sourceMappingURL=qosProfile.d.ts.map