UNPKG

@pulumi/scm

Version:

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

214 lines (213 loc) 6.08 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * DecryptionRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // We use the ID from the resource created above. * const singleRuleById = scm.getDecryptionRule({ * id: "b3544acb-fc55-4c6f-921d-4128b5a1d135", * }); * export const singleDecryptionRuleName = singleRuleById; * ``` */ export declare function getDecryptionRule(args: GetDecryptionRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetDecryptionRuleResult>; /** * A collection of arguments for invoking getDecryptionRule. */ export interface GetDecryptionRuleArgs { /** * 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; /** * The UUID of the decryption rule */ id: string; /** * The name of the decryption rule */ 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 getDecryptionRule. */ export interface GetDecryptionRuleResult { /** * The action to be taken */ readonly action: string; /** * The destination URL category */ readonly categories: string[]; /** * The description of the decryption rule */ readonly description: string; /** * The Host Integrity Profile of the destination host */ readonly destinationHips: string[]; /** * The destination addresses */ 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; /** * Is the rule 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; /** * The source security zone */ readonly froms: string[]; /** * The UUID of the decryption rule */ readonly id: string; /** * Log failed decryption events? */ readonly logFail: boolean; /** * The log settings of the decryption rule */ readonly logSetting: string; /** * Log successful decryption events? */ readonly logSuccess: boolean; /** * The name of the decryption rule */ readonly name: string; /** * Negate the destination addresses? */ readonly negateDestination: boolean; /** * Negate the source addresses? */ readonly negateSource: boolean; /** * The position of a security rule */ readonly position: string; /** * The decryption profile associated with the decryption rule */ readonly profile: 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 destination services and/or service groups */ readonly services: string[]; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; /** * Source hip */ readonly sourceHips: string[]; /** * List of source users and/or groups. Reserved words include `any`, `pre-login`, `known-user`, and `unknown`. */ readonly sourceUsers: string[]; /** * The source addresses */ readonly sources: string[]; /** * The tags associated with the decryption rule */ 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; /** * The destination security zone */ readonly tos: string[]; /** * The type of decryption */ readonly type: outputs.GetDecryptionRuleType; } /** * DecryptionRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // We use the ID from the resource created above. * const singleRuleById = scm.getDecryptionRule({ * id: "b3544acb-fc55-4c6f-921d-4128b5a1d135", * }); * export const singleDecryptionRuleName = singleRuleById; * ``` */ export declare function getDecryptionRuleOutput(args: GetDecryptionRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDecryptionRuleResult>; /** * A collection of arguments for invoking getDecryptionRule. */ export interface GetDecryptionRuleOutputArgs { /** * 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>; /** * The UUID of the decryption rule */ id: pulumi.Input<string>; /** * The name of the decryption rule */ 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>; }