UNPKG

@pulumi/scm

Version:

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

235 lines (234 loc) 7.8 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * AntiSpywareProfile resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Basic Anti-Spyware Profile * const scmAntiSpywareProfile1 = new scm.AntiSpywareProfile("scm_anti_spyware_profile_1", { * folder: "All", * name: "scm_anti_spyware_profile_1", * description: "Managed by Pulumi", * cloudInlineAnalysis: true, * }); * // Required object that will be referenced in examples * const scmAddress1 = new scm.Address("scm_address_1", { * folder: "Shared", * name: "scm_address_1", * description: "Made by Pulumi", * ipNetmask: "10.2.3.4", * }); * // Anti-Spyware Profile with exception EDL * const scmAntiSpywareProfile2 = new scm.AntiSpywareProfile("scm_anti_spyware_profile_2", { * folder: "All", * name: "scm_anti_spyware_profile_2", * description: "Managed by Pulumi", * cloudInlineAnalysis: true, * inlineExceptionIpAddresses: ["scm_address_1"], * }, { * dependsOn: [scmAddress1], * }); * // Anti-Spyware Profile with rules * const scmAntiSpywareProfile3 = new scm.AntiSpywareProfile("scm_anti_spyware_profile_3", { * folder: "All", * name: "scm_anti_spyware_profile_3", * description: "Managed by Pulumi", * cloudInlineAnalysis: true, * rules: [{ * name: "Custom Rule", * notes: "Managed by Pulumi", * packetCapture: "single-packet", * category: "net-worm", * severity: ["critical"], * threatName: "data-theft", * }], * }); * ``` */ export declare class AntiSpywareProfile extends pulumi.CustomResource { /** * Get an existing AntiSpywareProfile 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?: AntiSpywareProfileState, opts?: pulumi.CustomResourceOptions): AntiSpywareProfile; /** * Returns true if the given object is an instance of AntiSpywareProfile. 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 AntiSpywareProfile; /** * Cloud inline analysis */ readonly cloudInlineAnalysis: pulumi.Output<boolean>; /** * Description */ readonly description: pulumi.Output<string | undefined>; /** * The device in which the resource is defined */ readonly device: 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>; /** * Inline exception edl url */ readonly inlineExceptionEdlUrls: pulumi.Output<string[] | undefined>; /** * Inline exception ip address */ readonly inlineExceptionIpAddresses: pulumi.Output<string[] | undefined>; /** * Mica engine spyware enabled */ readonly micaEngineSpywareEnableds: pulumi.Output<outputs.AntiSpywareProfileMicaEngineSpywareEnabled[] | undefined>; /** * The name of the anti-spyware profile */ readonly name: pulumi.Output<string>; /** * Rules */ readonly rules: pulumi.Output<outputs.AntiSpywareProfileRule[] | 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>; readonly tfid: pulumi.Output<string>; /** * Threat exception */ readonly threatExceptions: pulumi.Output<outputs.AntiSpywareProfileThreatException[] | undefined>; /** * Create a AntiSpywareProfile 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?: AntiSpywareProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AntiSpywareProfile resources. */ export interface AntiSpywareProfileState { /** * Cloud inline analysis */ cloudInlineAnalysis?: pulumi.Input<boolean>; /** * Description */ description?: pulumi.Input<string>; /** * The device in which the resource is defined */ 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>; /** * Inline exception edl url */ inlineExceptionEdlUrls?: pulumi.Input<pulumi.Input<string>[]>; /** * Inline exception ip address */ inlineExceptionIpAddresses?: pulumi.Input<pulumi.Input<string>[]>; /** * Mica engine spyware enabled */ micaEngineSpywareEnableds?: pulumi.Input<pulumi.Input<inputs.AntiSpywareProfileMicaEngineSpywareEnabled>[]>; /** * The name of the anti-spyware profile */ name?: pulumi.Input<string>; /** * Rules */ rules?: pulumi.Input<pulumi.Input<inputs.AntiSpywareProfileRule>[]>; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; tfid?: pulumi.Input<string>; /** * Threat exception */ threatExceptions?: pulumi.Input<pulumi.Input<inputs.AntiSpywareProfileThreatException>[]>; } /** * The set of arguments for constructing a AntiSpywareProfile resource. */ export interface AntiSpywareProfileArgs { /** * Cloud inline analysis */ cloudInlineAnalysis?: pulumi.Input<boolean>; /** * Description */ description?: pulumi.Input<string>; /** * The device in which the resource is defined */ 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>; /** * Inline exception edl url */ inlineExceptionEdlUrls?: pulumi.Input<pulumi.Input<string>[]>; /** * Inline exception ip address */ inlineExceptionIpAddresses?: pulumi.Input<pulumi.Input<string>[]>; /** * Mica engine spyware enabled */ micaEngineSpywareEnableds?: pulumi.Input<pulumi.Input<inputs.AntiSpywareProfileMicaEngineSpywareEnabled>[]>; /** * The name of the anti-spyware profile */ name?: pulumi.Input<string>; /** * Rules */ rules?: pulumi.Input<pulumi.Input<inputs.AntiSpywareProfileRule>[]>; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; /** * Threat exception */ threatExceptions?: pulumi.Input<pulumi.Input<inputs.AntiSpywareProfileThreatException>[]>; }