UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

94 lines (93 loc) 2.27 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * QosPolicyRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleRuleById = scm.getQosPolicyRule({ * id: "fbc3fdb2-8513-4949-be8a-f1be03b492da", * }); * export const singleQosPolicyRuleDump = singleRuleById; * ``` */ export declare function getQosPolicyRule(args: GetQosPolicyRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetQosPolicyRuleResult>; /** * A collection of arguments for invoking getQosPolicyRule. */ export interface GetQosPolicyRuleArgs { /** * UUID of the resource */ id: string; /** * Name */ name?: string; } /** * A collection of values returned by getQosPolicyRule. */ export interface GetQosPolicyRuleResult { /** * Action */ readonly action: outputs.GetQosPolicyRuleAction; /** * Description */ readonly description: string; /** * The device in which the resource is defined */ readonly device: string; readonly dscpTos: outputs.GetQosPolicyRuleDscpTos; readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Name */ readonly name: string; readonly position: string; readonly relativePosition: string; readonly schedule: string; readonly snippet: string; readonly targetRule: string; readonly tfid: string; } /** * QosPolicyRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleRuleById = scm.getQosPolicyRule({ * id: "fbc3fdb2-8513-4949-be8a-f1be03b492da", * }); * export const singleQosPolicyRuleDump = singleRuleById; * ``` */ export declare function getQosPolicyRuleOutput(args: GetQosPolicyRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetQosPolicyRuleResult>; /** * A collection of arguments for invoking getQosPolicyRule. */ export interface GetQosPolicyRuleOutputArgs { /** * UUID of the resource */ id: pulumi.Input<string>; /** * Name */ name?: pulumi.Input<string>; }