UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

143 lines (142 loc) 4.13 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to configure logging to remote Syslog logging servers. * * !> **Warning:** The resource will be deprecated and replaced by new resource `fortios.log/syslogd.Setting`, we recommend that you use the new resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fortios from "@pulumiverse/fortios"; * * const test2 = new fortios.log.SyslogSetting("test2", { * facility: "local7", * format: "csv", * mode: "udp", * port: "514", * server: "2.2.2.2", * sourceIp: "10.2.2.199", * status: "enable", * }); * ``` */ export declare class SyslogSetting extends pulumi.CustomResource { /** * Get an existing SyslogSetting 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?: SyslogSettingState, opts?: pulumi.CustomResourceOptions): SyslogSetting; /** * Returns true if the given object is an instance of SyslogSetting. 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 SyslogSetting; /** * Remote syslog facility. */ readonly facility: pulumi.Output<string>; /** * Log format. */ readonly format: pulumi.Output<string>; /** * Remote syslog logging over UDP/Reliable TCP. */ readonly mode: pulumi.Output<string>; /** * Server listen port. */ readonly port: pulumi.Output<string>; /** * Address of remote syslog server. */ readonly server: pulumi.Output<string>; /** * Source IP address of syslog. */ readonly sourceIp: pulumi.Output<string>; /** * Enable/disable remote syslog logging. */ readonly status: pulumi.Output<string>; /** * Create a SyslogSetting 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: SyslogSettingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SyslogSetting resources. */ export interface SyslogSettingState { /** * Remote syslog facility. */ facility?: pulumi.Input<string>; /** * Log format. */ format?: pulumi.Input<string>; /** * Remote syslog logging over UDP/Reliable TCP. */ mode?: pulumi.Input<string>; /** * Server listen port. */ port?: pulumi.Input<string>; /** * Address of remote syslog server. */ server?: pulumi.Input<string>; /** * Source IP address of syslog. */ sourceIp?: pulumi.Input<string>; /** * Enable/disable remote syslog logging. */ status?: pulumi.Input<string>; } /** * The set of arguments for constructing a SyslogSetting resource. */ export interface SyslogSettingArgs { /** * Remote syslog facility. */ facility?: pulumi.Input<string>; /** * Log format. */ format?: pulumi.Input<string>; /** * Remote syslog logging over UDP/Reliable TCP. */ mode?: pulumi.Input<string>; /** * Server listen port. */ port?: pulumi.Input<string>; /** * Address of remote syslog server. */ server?: pulumi.Input<string>; /** * Source IP address of syslog. */ sourceIp?: pulumi.Input<string>; /** * Enable/disable remote syslog logging. */ status: pulumi.Input<string>; }