import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * LogForwardingProfile resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const scmLogForwardingProfile1 = new scm.LogForwardingProfile("scm_log_forwarding_profile_1", { * folder: "ngfw-shared", * name: "scm-log-fowarding-profile-1", * matchLists: [{ * name: "profile_match", * logType: "threat", * filter: "(addr in 192.50.10.10) and (addr.dst notin 192.40.50.10)", * }], * }); * const scmLogForwardingProfile2 = new scm.LogForwardingProfile("scm_log_forwarding_profile_2", { * folder: "ngfw-shared", * name: "scm-log-fowarding-profile-2", * description: "Log Forwarding w/ HTTP Server Profile and Syslog Server Profile", * matchLists: [{ * name: "profile_match", * logType: "traffic", * filter: "(device_name eq test_device)", * sendHttp: ["test_http"], * sendSyslog: ["syslog-server-prof-complete"], * }], * }); * const scmLogForwardingProfile3 = new scm.LogForwardingProfile("scm_log_forwarding_profile_3", { * folder: "ngfw-shared", * name: "scm-log-fowarding-profile-3", * description: "Log Forwarding w/ All Server Profiles", * matchLists: [{ * name: "profile_match", * actionDesc: "all server profiles", * logType: "dns-security", * filter: "All Logs", * sendHttp: [ * "test_http", * "t10", * ], * sendSyslog: ["syslog-server-prof-complete"], * sendSnmptrap: ["snmp_test"], * sendEmail: ["email_test"], * }], * }); * const scmLogForwardingProfile4 = new scm.LogForwardingProfile("scm_log_forwarding_profile_4", { * folder: "ngfw-shared", * name: "scm-log-fowarding-profile-4", * description: "Log Forwarding w/ Multiple Match Lists", * matchLists: [ * { * name: "profile_match_1", * actionDesc: "match list for url", * logType: "url", * filter: "(sdwan_cluster contains 123)", * sendHttp: ["t10"], * sendSyslog: ["syslog-server-prof-complete"], * sendSnmptrap: ["snmp_test"], * }, * { * name: "profile_match_2", * logType: "data", * filter: "(link_switch_2 neq lnk_2) or (pkts_received geq 100)", * sendHttp: [ * "t5", * "t10", * ], * sendSyslog: ["syslog-server-prof-complete"], * sendEmail: ["email_test"], * }, * { * name: "profile_match_3", * actionDesc: "match list for wildfire", * logType: "wildfire", * filter: "(imei contains test_server)", * sendHttp: [ * "t5", * "t10", * ], * sendSyslog: ["syslog-server-prof-complete"], * sendEmail: ["email_test"], * }, * ], * }); * ``` * * ## Import * * The following command can be used to import a resource not managed by Terraform: * * ```sh * $ pulumi import scm:index/logForwardingProfile:LogForwardingProfile example folder:::id * ``` * * or * * ```sh * $ pulumi import scm:index/logForwardingProfile:LogForwardingProfile example :snippet::id * ``` * * or * * ```sh * $ pulumi import scm:index/logForwardingProfile:LogForwardingProfile example ::device:id * ``` * * **Note:** Please provide just one of folder, snippet, or device for the import command. */ export declare class LogForwardingProfile extends pulumi.CustomResource { /** * Get an existing LogForwardingProfile 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, state?: LogForwardingProfileState, opts?: pulumi.CustomResourceOptions): LogForwardingProfile; /** * Returns true if the given object is an instance of LogForwardingProfile. 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 LogForwardingProfile; /** * Log forwarding profile description */ readonly description: pulumi.Output; /** * The device in which the resource is defined */ readonly device: pulumi.Output; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: pulumi.Output; /** * Match list */ readonly matchLists: pulumi.Output; /** * The name of the log forwarding profile */ readonly name: pulumi.Output; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: pulumi.Output; /** * The Terraform ID. */ readonly tfid: pulumi.Output; /** * Create a LogForwardingProfile 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: LogForwardingProfileArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogForwardingProfile resources. */ export interface LogForwardingProfileState { /** * Log forwarding profile description */ description?: pulumi.Input; /** * The device in which the resource is defined */ device?: pulumi.Input; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input; /** * Match list */ matchLists?: pulumi.Input[] | undefined>; /** * The name of the log forwarding profile */ name?: pulumi.Input; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input; /** * The Terraform ID. */ tfid?: pulumi.Input; } /** * The set of arguments for constructing a LogForwardingProfile resource. */ export interface LogForwardingProfileArgs { /** * Log forwarding profile description */ description?: pulumi.Input; /** * The device in which the resource is defined */ device?: pulumi.Input; /** * The folder in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input; /** * Match list */ matchLists: pulumi.Input[]>; /** * The name of the log forwarding profile */ name?: pulumi.Input; /** * The snippet in which the resource is defined * * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input; } //# sourceMappingURL=logForwardingProfile.d.ts.map