fortimanager.SystemSyslog
Explore with Pulumi AI
Syslog servers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.SystemSyslog("trname", {ip: "192.168.1.1"});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.SystemSyslog("trname", ip="192.168.1.1")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewSystemSyslog(ctx, "trname", &fortimanager.SystemSyslogArgs{
			Ip: pulumi.String("192.168.1.1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.SystemSyslog("trname", new()
    {
        Ip = "192.168.1.1",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemSyslog;
import com.pulumi.fortimanager.SystemSyslogArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var trname = new SystemSyslog("trname", SystemSyslogArgs.builder()
            .ip("192.168.1.1")
            .build());
    }
}
resources:
  trname:
    type: fortimanager:SystemSyslog
    properties:
      ip: 192.168.1.1
Create SystemSyslog Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SystemSyslog(name: string, args?: SystemSyslogArgs, opts?: CustomResourceOptions);@overload
def SystemSyslog(resource_name: str,
                 args: Optional[SystemSyslogArgs] = None,
                 opts: Optional[ResourceOptions] = None)
@overload
def SystemSyslog(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 ip: Optional[str] = None,
                 local_cert: Optional[str] = None,
                 name: Optional[str] = None,
                 peer_cert_cn: Optional[str] = None,
                 port: Optional[float] = None,
                 reliable: Optional[str] = None,
                 secure_connection: Optional[str] = None,
                 ssl_protocol: Optional[str] = None,
                 system_syslog_id: Optional[str] = None)func NewSystemSyslog(ctx *Context, name string, args *SystemSyslogArgs, opts ...ResourceOption) (*SystemSyslog, error)public SystemSyslog(string name, SystemSyslogArgs? args = null, CustomResourceOptions? opts = null)
public SystemSyslog(String name, SystemSyslogArgs args)
public SystemSyslog(String name, SystemSyslogArgs args, CustomResourceOptions options)
type: fortimanager:SystemSyslog
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 SystemSyslogArgs
- 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 SystemSyslogArgs
- 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 SystemSyslogArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemSyslogArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemSyslogArgs
- 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 systemSyslogResource = new Fortimanager.SystemSyslog("systemSyslogResource", new()
{
    Ip = "string",
    LocalCert = "string",
    Name = "string",
    PeerCertCn = "string",
    Port = 0,
    Reliable = "string",
    SecureConnection = "string",
    SslProtocol = "string",
    SystemSyslogId = "string",
});
example, err := fortimanager.NewSystemSyslog(ctx, "systemSyslogResource", &fortimanager.SystemSyslogArgs{
Ip: pulumi.String("string"),
LocalCert: pulumi.String("string"),
Name: pulumi.String("string"),
PeerCertCn: pulumi.String("string"),
Port: pulumi.Float64(0),
Reliable: pulumi.String("string"),
SecureConnection: pulumi.String("string"),
SslProtocol: pulumi.String("string"),
SystemSyslogId: pulumi.String("string"),
})
var systemSyslogResource = new SystemSyslog("systemSyslogResource", SystemSyslogArgs.builder()
    .ip("string")
    .localCert("string")
    .name("string")
    .peerCertCn("string")
    .port(0)
    .reliable("string")
    .secureConnection("string")
    .sslProtocol("string")
    .systemSyslogId("string")
    .build());
system_syslog_resource = fortimanager.SystemSyslog("systemSyslogResource",
    ip="string",
    local_cert="string",
    name="string",
    peer_cert_cn="string",
    port=0,
    reliable="string",
    secure_connection="string",
    ssl_protocol="string",
    system_syslog_id="string")
const systemSyslogResource = new fortimanager.SystemSyslog("systemSyslogResource", {
    ip: "string",
    localCert: "string",
    name: "string",
    peerCertCn: "string",
    port: 0,
    reliable: "string",
    secureConnection: "string",
    sslProtocol: "string",
    systemSyslogId: "string",
});
type: fortimanager:SystemSyslog
properties:
    ip: string
    localCert: string
    name: string
    peerCertCn: string
    port: 0
    reliable: string
    secureConnection: string
    sslProtocol: string
    systemSyslogId: string
SystemSyslog Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SystemSyslog resource accepts the following input properties:
- Ip string
- Syslog server IP address or hostname.
- LocalCert string
- Select local certificate used for secure connection.
- Name string
- Syslog server name.
- PeerCert stringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- Port double
- Syslog server port.
- Reliable string
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- SecureConnection string
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- SslProtocol string
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- SystemSyslog stringId 
- an identifier for the resource with format {{name}}.
- Ip string
- Syslog server IP address or hostname.
- LocalCert string
- Select local certificate used for secure connection.
- Name string
- Syslog server name.
- PeerCert stringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- Port float64
- Syslog server port.
- Reliable string
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- SecureConnection string
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- SslProtocol string
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- SystemSyslog stringId 
- an identifier for the resource with format {{name}}.
- ip String
- Syslog server IP address or hostname.
- localCert String
- Select local certificate used for secure connection.
- name String
- Syslog server name.
- peerCert StringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port Double
- Syslog server port.
- reliable String
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secureConnection String
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- sslProtocol String
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- systemSyslog StringId 
- an identifier for the resource with format {{name}}.
- ip string
- Syslog server IP address or hostname.
- localCert string
- Select local certificate used for secure connection.
- name string
- Syslog server name.
- peerCert stringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port number
- Syslog server port.
- reliable string
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secureConnection string
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- sslProtocol string
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- systemSyslog stringId 
- an identifier for the resource with format {{name}}.
- ip str
- Syslog server IP address or hostname.
- local_cert str
- Select local certificate used for secure connection.
- name str
- Syslog server name.
- peer_cert_ strcn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port float
- Syslog server port.
- reliable str
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secure_connection str
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- ssl_protocol str
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- system_syslog_ strid 
- an identifier for the resource with format {{name}}.
- ip String
- Syslog server IP address or hostname.
- localCert String
- Select local certificate used for secure connection.
- name String
- Syslog server name.
- peerCert StringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port Number
- Syslog server port.
- reliable String
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secureConnection String
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- sslProtocol String
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- systemSyslog StringId 
- an identifier for the resource with format {{name}}.
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemSyslog 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 SystemSyslog Resource
Get an existing SystemSyslog 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?: SystemSyslogState, opts?: CustomResourceOptions): SystemSyslog@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ip: Optional[str] = None,
        local_cert: Optional[str] = None,
        name: Optional[str] = None,
        peer_cert_cn: Optional[str] = None,
        port: Optional[float] = None,
        reliable: Optional[str] = None,
        secure_connection: Optional[str] = None,
        ssl_protocol: Optional[str] = None,
        system_syslog_id: Optional[str] = None) -> SystemSyslogfunc GetSystemSyslog(ctx *Context, name string, id IDInput, state *SystemSyslogState, opts ...ResourceOption) (*SystemSyslog, error)public static SystemSyslog Get(string name, Input<string> id, SystemSyslogState? state, CustomResourceOptions? opts = null)public static SystemSyslog get(String name, Output<String> id, SystemSyslogState state, CustomResourceOptions options)resources:  _:    type: fortimanager:SystemSyslog    get:      id: ${id}- 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.
- Ip string
- Syslog server IP address or hostname.
- LocalCert string
- Select local certificate used for secure connection.
- Name string
- Syslog server name.
- PeerCert stringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- Port double
- Syslog server port.
- Reliable string
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- SecureConnection string
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- SslProtocol string
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- SystemSyslog stringId 
- an identifier for the resource with format {{name}}.
- Ip string
- Syslog server IP address or hostname.
- LocalCert string
- Select local certificate used for secure connection.
- Name string
- Syslog server name.
- PeerCert stringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- Port float64
- Syslog server port.
- Reliable string
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- SecureConnection string
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- SslProtocol string
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- SystemSyslog stringId 
- an identifier for the resource with format {{name}}.
- ip String
- Syslog server IP address or hostname.
- localCert String
- Select local certificate used for secure connection.
- name String
- Syslog server name.
- peerCert StringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port Double
- Syslog server port.
- reliable String
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secureConnection String
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- sslProtocol String
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- systemSyslog StringId 
- an identifier for the resource with format {{name}}.
- ip string
- Syslog server IP address or hostname.
- localCert string
- Select local certificate used for secure connection.
- name string
- Syslog server name.
- peerCert stringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port number
- Syslog server port.
- reliable string
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secureConnection string
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- sslProtocol string
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- systemSyslog stringId 
- an identifier for the resource with format {{name}}.
- ip str
- Syslog server IP address or hostname.
- local_cert str
- Select local certificate used for secure connection.
- name str
- Syslog server name.
- peer_cert_ strcn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port float
- Syslog server port.
- reliable str
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secure_connection str
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- ssl_protocol str
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- system_syslog_ strid 
- an identifier for the resource with format {{name}}.
- ip String
- Syslog server IP address or hostname.
- localCert String
- Select local certificate used for secure connection.
- name String
- Syslog server name.
- peerCert StringCn 
- Certificate common name of syslog server. null or '-' means not check certificate CN of syslog server
- port Number
- Syslog server port.
- reliable String
- Enable/disable reliable connection with syslog server. disable - Disable reliable connection with syslog server. enable - Enable reliable connection with syslog server. Valid values: disable,enable.
- secureConnection String
- Enable/disable connection secured by TLS/SSL. disable - Disable SSL connection. enable - Enable SSL connection. Valid values: disable,enable.
- sslProtocol String
- set the lowest SSL protocol version for connection to syslog server. follow-global-ssl-protocol - Follow system.global.global-ssl-protocol setting (default). sslv3 - set SSLv3 as the lowest version. tlsv1.0 - set TLSv1.0 as the lowest version. tlsv1.1 - set TLSv1.1 as the lowest version. tlsv1.2 - set TLSv1.2 as the lowest version. tlsv1.3 - set TLSv1.3 as the lowest version. Valid values: follow-global-ssl-protocol,sslv3,tlsv1.0,tlsv1.1,tlsv1.2,tlsv1.3.
- systemSyslog StringId 
- an identifier for the resource with format {{name}}.
Import
System Syslog can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/systemSyslog:SystemSyslog labelname {{name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the fortimanagerTerraform Provider.