UNPKG

@pulumi/scm

Version:

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

338 lines (337 loc) 9.39 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ApplicationFilter resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const scmApplicationFilter1 = new scm.ApplicationFilter("scm_application_filter_1", { * folder: "Shared", * name: "scm_application_filter_1", * categories: ["business-systems"], * risks: [1], * evasive: true, * tagging: { * noTag: true, * }, * }); * ``` */ export declare class ApplicationFilter extends pulumi.CustomResource { /** * Get an existing ApplicationFilter 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<pulumi.ID>, state?: ApplicationFilterState, opts?: pulumi.CustomResourceOptions): ApplicationFilter; /** * Returns true if the given object is an instance of ApplicationFilter. 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 ApplicationFilter; /** * Category */ readonly categories: pulumi.Output<string[] | undefined>; /** * The device in which the resource is defined */ readonly device: pulumi.Output<string | undefined>; /** * only True is a valid value */ readonly evasive: pulumi.Output<boolean | undefined>; /** * only True is a valid value */ readonly excessiveBandwidthUse: pulumi.Output<boolean | undefined>; /** * Exclude */ readonly excludes: pulumi.Output<string[] | undefined>; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: pulumi.Output<string | undefined>; /** * only True is a valid value */ readonly hasKnownVulnerabilities: pulumi.Output<boolean | undefined>; /** * only True is a valid value */ readonly isSaas: pulumi.Output<boolean | undefined>; /** * Alphanumeric string [ 0-9a-zA-Z._-] */ readonly name: pulumi.Output<string>; /** * only True is a valid value */ readonly newAppid: pulumi.Output<boolean | undefined>; /** * only True is a valid value */ readonly pervasive: pulumi.Output<boolean | undefined>; /** * only True is a valid value */ readonly proneToMisuse: pulumi.Output<boolean | undefined>; /** * Risk */ readonly risks: pulumi.Output<number[] | undefined>; /** * Saas certifications */ readonly saasCertifications: pulumi.Output<string[] | undefined>; /** * Saas risk */ readonly saasRisks: pulumi.Output<string[] | undefined>; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: pulumi.Output<string | undefined>; /** * Subcategory */ readonly subcategories: pulumi.Output<string[] | undefined>; /** * Tagging */ readonly tagging: pulumi.Output<outputs.ApplicationFilterTagging | undefined>; /** * Technology */ readonly technologies: pulumi.Output<string[] | undefined>; readonly tfid: pulumi.Output<string>; /** * only True is a valid value */ readonly transfersFiles: pulumi.Output<boolean | undefined>; /** * only True is a valid value */ readonly tunnelsOtherApps: pulumi.Output<boolean | undefined>; /** * only True is a valid value */ readonly usedByMalware: pulumi.Output<boolean | undefined>; /** * Create a ApplicationFilter 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?: ApplicationFilterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ApplicationFilter resources. */ export interface ApplicationFilterState { /** * Category */ categories?: pulumi.Input<pulumi.Input<string>[]>; /** * The device in which the resource is defined */ device?: pulumi.Input<string>; /** * only True is a valid value */ evasive?: pulumi.Input<boolean>; /** * only True is a valid value */ excessiveBandwidthUse?: pulumi.Input<boolean>; /** * Exclude */ excludes?: pulumi.Input<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>; /** * only True is a valid value */ hasKnownVulnerabilities?: pulumi.Input<boolean>; /** * only True is a valid value */ isSaas?: pulumi.Input<boolean>; /** * Alphanumeric string [ 0-9a-zA-Z._-] */ name?: pulumi.Input<string>; /** * only True is a valid value */ newAppid?: pulumi.Input<boolean>; /** * only True is a valid value */ pervasive?: pulumi.Input<boolean>; /** * only True is a valid value */ proneToMisuse?: pulumi.Input<boolean>; /** * Risk */ risks?: pulumi.Input<pulumi.Input<number>[]>; /** * Saas certifications */ saasCertifications?: pulumi.Input<pulumi.Input<string>[]>; /** * Saas risk */ saasRisks?: pulumi.Input<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>; /** * Subcategory */ subcategories?: pulumi.Input<pulumi.Input<string>[]>; /** * Tagging */ tagging?: pulumi.Input<inputs.ApplicationFilterTagging>; /** * Technology */ technologies?: pulumi.Input<pulumi.Input<string>[]>; tfid?: pulumi.Input<string>; /** * only True is a valid value */ transfersFiles?: pulumi.Input<boolean>; /** * only True is a valid value */ tunnelsOtherApps?: pulumi.Input<boolean>; /** * only True is a valid value */ usedByMalware?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a ApplicationFilter resource. */ export interface ApplicationFilterArgs { /** * Category */ categories?: pulumi.Input<pulumi.Input<string>[]>; /** * The device in which the resource is defined */ device?: pulumi.Input<string>; /** * only True is a valid value */ evasive?: pulumi.Input<boolean>; /** * only True is a valid value */ excessiveBandwidthUse?: pulumi.Input<boolean>; /** * Exclude */ excludes?: pulumi.Input<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>; /** * only True is a valid value */ hasKnownVulnerabilities?: pulumi.Input<boolean>; /** * only True is a valid value */ isSaas?: pulumi.Input<boolean>; /** * Alphanumeric string [ 0-9a-zA-Z._-] */ name?: pulumi.Input<string>; /** * only True is a valid value */ newAppid?: pulumi.Input<boolean>; /** * only True is a valid value */ pervasive?: pulumi.Input<boolean>; /** * only True is a valid value */ proneToMisuse?: pulumi.Input<boolean>; /** * Risk */ risks?: pulumi.Input<pulumi.Input<number>[]>; /** * Saas certifications */ saasCertifications?: pulumi.Input<pulumi.Input<string>[]>; /** * Saas risk */ saasRisks?: pulumi.Input<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>; /** * Subcategory */ subcategories?: pulumi.Input<pulumi.Input<string>[]>; /** * Tagging */ tagging?: pulumi.Input<inputs.ApplicationFilterTagging>; /** * Technology */ technologies?: pulumi.Input<pulumi.Input<string>[]>; /** * only True is a valid value */ transfersFiles?: pulumi.Input<boolean>; /** * only True is a valid value */ tunnelsOtherApps?: pulumi.Input<boolean>; /** * only True is a valid value */ usedByMalware?: pulumi.Input<boolean>; }