1. Packages
  2. Fortios
  3. API Docs
  4. wirelesscontroller
  5. Syslogprofile
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.wirelesscontroller.Syslogprofile

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Configure Wireless Termination Points (WTP) system log server profile. Applies to FortiOS Version >= 7.0.2.

    Create Syslogprofile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Syslogprofile(name: string, args?: SyslogprofileArgs, opts?: CustomResourceOptions);
    @overload
    def Syslogprofile(resource_name: str,
                      args: Optional[SyslogprofileArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def Syslogprofile(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      comment: Optional[str] = None,
                      log_level: Optional[str] = None,
                      name: Optional[str] = None,
                      server_addr_type: Optional[str] = None,
                      server_fqdn: Optional[str] = None,
                      server_ip: Optional[str] = None,
                      server_port: Optional[int] = None,
                      server_status: Optional[str] = None,
                      vdomparam: Optional[str] = None)
    func NewSyslogprofile(ctx *Context, name string, args *SyslogprofileArgs, opts ...ResourceOption) (*Syslogprofile, error)
    public Syslogprofile(string name, SyslogprofileArgs? args = null, CustomResourceOptions? opts = null)
    public Syslogprofile(String name, SyslogprofileArgs args)
    public Syslogprofile(String name, SyslogprofileArgs args, CustomResourceOptions options)
    
    type: fortios:wirelesscontroller:Syslogprofile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SyslogprofileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SyslogprofileArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SyslogprofileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SyslogprofileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SyslogprofileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var syslogprofileResource = new Fortios.Wirelesscontroller.Syslogprofile("syslogprofileResource", new()
    {
        Comment = "string",
        LogLevel = "string",
        Name = "string",
        ServerAddrType = "string",
        ServerFqdn = "string",
        ServerIp = "string",
        ServerPort = 0,
        ServerStatus = "string",
        Vdomparam = "string",
    });
    
    example, err := wirelesscontroller.NewSyslogprofile(ctx, "syslogprofileResource", &wirelesscontroller.SyslogprofileArgs{
    	Comment:        pulumi.String("string"),
    	LogLevel:       pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	ServerAddrType: pulumi.String("string"),
    	ServerFqdn:     pulumi.String("string"),
    	ServerIp:       pulumi.String("string"),
    	ServerPort:     pulumi.Int(0),
    	ServerStatus:   pulumi.String("string"),
    	Vdomparam:      pulumi.String("string"),
    })
    
    var syslogprofileResource = new Syslogprofile("syslogprofileResource", SyslogprofileArgs.builder()
        .comment("string")
        .logLevel("string")
        .name("string")
        .serverAddrType("string")
        .serverFqdn("string")
        .serverIp("string")
        .serverPort(0)
        .serverStatus("string")
        .vdomparam("string")
        .build());
    
    syslogprofile_resource = fortios.wirelesscontroller.Syslogprofile("syslogprofileResource",
        comment="string",
        log_level="string",
        name="string",
        server_addr_type="string",
        server_fqdn="string",
        server_ip="string",
        server_port=0,
        server_status="string",
        vdomparam="string")
    
    const syslogprofileResource = new fortios.wirelesscontroller.Syslogprofile("syslogprofileResource", {
        comment: "string",
        logLevel: "string",
        name: "string",
        serverAddrType: "string",
        serverFqdn: "string",
        serverIp: "string",
        serverPort: 0,
        serverStatus: "string",
        vdomparam: "string",
    });
    
    type: fortios:wirelesscontroller:Syslogprofile
    properties:
        comment: string
        logLevel: string
        name: string
        serverAddrType: string
        serverFqdn: string
        serverIp: string
        serverPort: 0
        serverStatus: string
        vdomparam: string
    

    Syslogprofile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Syslogprofile resource accepts the following input properties:

    Comment string
    Comment.
    LogLevel string
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    Name string
    WTP system log server profile name.
    ServerAddrType string
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    ServerFqdn string
    FQDN of syslog server that FortiAP units send log messages to.
    ServerIp string
    IP address of syslog server that FortiAP units send log messages to.
    ServerPort int
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    ServerStatus string
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Comment string
    Comment.
    LogLevel string
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    Name string
    WTP system log server profile name.
    ServerAddrType string
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    ServerFqdn string
    FQDN of syslog server that FortiAP units send log messages to.
    ServerIp string
    IP address of syslog server that FortiAP units send log messages to.
    ServerPort int
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    ServerStatus string
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    logLevel String
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name String
    WTP system log server profile name.
    serverAddrType String
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    serverFqdn String
    FQDN of syslog server that FortiAP units send log messages to.
    serverIp String
    IP address of syslog server that FortiAP units send log messages to.
    serverPort Integer
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    serverStatus String
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment string
    Comment.
    logLevel string
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name string
    WTP system log server profile name.
    serverAddrType string
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    serverFqdn string
    FQDN of syslog server that FortiAP units send log messages to.
    serverIp string
    IP address of syslog server that FortiAP units send log messages to.
    serverPort number
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    serverStatus string
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment str
    Comment.
    log_level str
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name str
    WTP system log server profile name.
    server_addr_type str
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    server_fqdn str
    FQDN of syslog server that FortiAP units send log messages to.
    server_ip str
    IP address of syslog server that FortiAP units send log messages to.
    server_port int
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    server_status str
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    logLevel String
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name String
    WTP system log server profile name.
    serverAddrType String
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    serverFqdn String
    FQDN of syslog server that FortiAP units send log messages to.
    serverIp String
    IP address of syslog server that FortiAP units send log messages to.
    serverPort Number
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    serverStatus String
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Syslogprofile resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Syslogprofile Resource

    Get an existing Syslogprofile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SyslogprofileState, opts?: CustomResourceOptions): Syslogprofile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            log_level: Optional[str] = None,
            name: Optional[str] = None,
            server_addr_type: Optional[str] = None,
            server_fqdn: Optional[str] = None,
            server_ip: Optional[str] = None,
            server_port: Optional[int] = None,
            server_status: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Syslogprofile
    func GetSyslogprofile(ctx *Context, name string, id IDInput, state *SyslogprofileState, opts ...ResourceOption) (*Syslogprofile, error)
    public static Syslogprofile Get(string name, Input<string> id, SyslogprofileState? state, CustomResourceOptions? opts = null)
    public static Syslogprofile get(String name, Output<String> id, SyslogprofileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Comment string
    Comment.
    LogLevel string
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    Name string
    WTP system log server profile name.
    ServerAddrType string
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    ServerFqdn string
    FQDN of syslog server that FortiAP units send log messages to.
    ServerIp string
    IP address of syslog server that FortiAP units send log messages to.
    ServerPort int
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    ServerStatus string
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Comment string
    Comment.
    LogLevel string
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    Name string
    WTP system log server profile name.
    ServerAddrType string
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    ServerFqdn string
    FQDN of syslog server that FortiAP units send log messages to.
    ServerIp string
    IP address of syslog server that FortiAP units send log messages to.
    ServerPort int
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    ServerStatus string
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    logLevel String
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name String
    WTP system log server profile name.
    serverAddrType String
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    serverFqdn String
    FQDN of syslog server that FortiAP units send log messages to.
    serverIp String
    IP address of syslog server that FortiAP units send log messages to.
    serverPort Integer
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    serverStatus String
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment string
    Comment.
    logLevel string
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name string
    WTP system log server profile name.
    serverAddrType string
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    serverFqdn string
    FQDN of syslog server that FortiAP units send log messages to.
    serverIp string
    IP address of syslog server that FortiAP units send log messages to.
    serverPort number
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    serverStatus string
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment str
    Comment.
    log_level str
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name str
    WTP system log server profile name.
    server_addr_type str
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    server_fqdn str
    FQDN of syslog server that FortiAP units send log messages to.
    server_ip str
    IP address of syslog server that FortiAP units send log messages to.
    server_port int
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    server_status str
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    logLevel String
    Lowest level of log messages that FortiAP units send to this server (default = information) Valid values: emergency, alert, critical, error, warning, notification, information, debugging.
    name String
    WTP system log server profile name.
    serverAddrType String
    Syslog server address type (default = IP) Valid values: fqdn, ip.
    serverFqdn String
    FQDN of syslog server that FortiAP units send log messages to.
    serverIp String
    IP address of syslog server that FortiAP units send log messages to.
    serverPort Number
    Port number of syslog server that FortiAP units send log messages to (default = 514).
    serverStatus String
    Enable/disable FortiAP units to send log messages to a syslog server (default = enable). Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Import

    WirelessController SyslogProfile can be imported using any of these accepted formats:

    $ pulumi import fortios:wirelesscontroller/syslogprofile:Syslogprofile labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:wirelesscontroller/syslogprofile:Syslogprofile labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse