UNPKG

@pulumi/scm

Version:

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

183 lines (182 loc) 4.81 kB
import * as pulumi from "@pulumi/pulumi"; /** * AppOverrideRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleRuleById = scm.getAppOverrideRule({ * id: "8c285335-3c95-47c9-9bbd-829105b4a15c", * }); * export const singleAppOverrideRuleName = singleRuleById; * ``` */ export declare function getAppOverrideRule(args: GetAppOverrideRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetAppOverrideRuleResult>; /** * A collection of arguments for invoking getAppOverrideRule. */ export interface GetAppOverrideRuleArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * UUID of the resource */ id: string; /** * Name */ name?: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: string; } /** * A collection of values returned by getAppOverrideRule. */ export interface GetAppOverrideRuleResult { /** * Application */ readonly application: string; /** * Description */ readonly description: string; /** * Destination */ readonly destinations: string[]; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * Disabled */ readonly disabled: boolean; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * From */ readonly froms: string[]; /** * Group tag */ readonly groupTag: string; /** * UUID of the resource */ readonly id: string; /** * Name */ readonly name: string; /** * Negate destination */ readonly negateDestination: boolean; /** * Negate source */ readonly negateSource: boolean; /** * Port */ readonly port: string; /** * The position of a security rule */ readonly position: string; /** * Protocol */ readonly protocol: string; /** * Relative positioning rule. String must be one of these: `"before"`, `"after"`, `"top"`, `"bottom"`. If not specified, rule is created at the bottom of the ruleset. */ readonly relativePosition: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; /** * Source */ readonly sources: string[]; /** * Tag */ readonly tags: string[]; /** * The name or UUID of the rule to position this rule relative to. Required when `relativePosition` is `"before"` or `"after"`. */ readonly targetRule: string; readonly tfid: string; /** * To */ readonly tos: string[]; } /** * AppOverrideRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const singleRuleById = scm.getAppOverrideRule({ * id: "8c285335-3c95-47c9-9bbd-829105b4a15c", * }); * export const singleAppOverrideRuleName = singleRuleById; * ``` */ export declare function getAppOverrideRuleOutput(args: GetAppOverrideRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppOverrideRuleResult>; /** * A collection of arguments for invoking getAppOverrideRule. */ export interface GetAppOverrideRuleOutputArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * UUID of the resource */ id: pulumi.Input<string>; /** * Name */ name?: pulumi.Input<string>; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; }