SyslogServerProfile resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const scmSyslogServerProf1 = new scm.SyslogServerProfile("scm_syslog_server_prof_1", {
folder: "All",
name: "syslog-server-prof-base",
servers: [{
name: "Server-Primary",
server: "192.168.1.10",
}],
});
const scmSyslogServerProf2 = new scm.SyslogServerProfile("scm_syslog_server_prof_2", {
folder: "All",
name: "syslog-server-prof-mixed",
servers: [{
name: "Server-Mixed",
server: "10.0.0.50",
transport: "TCP",
port: 601,
format: "IETF",
facility: "LOG_LOCAL4",
}],
format: {
traffic: "$bytes",
threat: "$app",
globalprotect: "$cloud",
},
});
const scmSyslogServerProf3 = new scm.SyslogServerProfile("scm_syslog_server_prof_3", {
folder: "All",
name: "syslog-server-prof-complete",
servers: [
{
name: "Server-A",
server: "172.16.10.1",
transport: "UDP",
port: 514,
format: "BSD",
facility: "LOG_LOCAL7",
},
{
name: "Server-B",
server: "172.16.10.2",
transport: "TCP",
port: 6514,
format: "IETF",
facility: "LOG_LOCAL3",
},
{
name: "Server-C",
server: "192.168.1.10",
transport: "UDP",
port: 514,
format: "BSD",
facility: "LOG_USER",
},
],
format: {
escaping: {
escapeCharacter: "*",
escapedCharacters: "&\\#",
},
traffic: "$actionflags",
threat: "$error + $errorcode",
wildfire: "$client_os",
url: "$type",
data: "$srcregion",
gtp: "$time_generated",
sctp: "$device_name and $contenttype",
tunnel: "$tunnel_type",
auth: "$hostid + $portal",
userid: "$hostid and $location",
iptag: "dg_hier_level_1",
decryption: "dg_hier_level_2",
config: "dg_hier_level_3",
system: "$vsys_name + $status",
globalprotect: "default",
hipMatch: "custom",
correlation: "custom",
},
});
import pulumi
import pulumi_scm as scm
scm_syslog_server_prof1 = scm.SyslogServerProfile("scm_syslog_server_prof_1",
folder="All",
name="syslog-server-prof-base",
servers=[{
"name": "Server-Primary",
"server": "192.168.1.10",
}])
scm_syslog_server_prof2 = scm.SyslogServerProfile("scm_syslog_server_prof_2",
folder="All",
name="syslog-server-prof-mixed",
servers=[{
"name": "Server-Mixed",
"server": "10.0.0.50",
"transport": "TCP",
"port": 601,
"format": "IETF",
"facility": "LOG_LOCAL4",
}],
format={
"traffic": "$bytes",
"threat": "$app",
"globalprotect": "$cloud",
})
scm_syslog_server_prof3 = scm.SyslogServerProfile("scm_syslog_server_prof_3",
folder="All",
name="syslog-server-prof-complete",
servers=[
{
"name": "Server-A",
"server": "172.16.10.1",
"transport": "UDP",
"port": 514,
"format": "BSD",
"facility": "LOG_LOCAL7",
},
{
"name": "Server-B",
"server": "172.16.10.2",
"transport": "TCP",
"port": 6514,
"format": "IETF",
"facility": "LOG_LOCAL3",
},
{
"name": "Server-C",
"server": "192.168.1.10",
"transport": "UDP",
"port": 514,
"format": "BSD",
"facility": "LOG_USER",
},
],
format={
"escaping": {
"escape_character": "*",
"escaped_characters": "&\\#",
},
"traffic": "$actionflags",
"threat": "$error + $errorcode",
"wildfire": "$client_os",
"url": "$type",
"data": "$srcregion",
"gtp": "$time_generated",
"sctp": "$device_name and $contenttype",
"tunnel": "$tunnel_type",
"auth": "$hostid + $portal",
"userid": "$hostid and $location",
"iptag": "dg_hier_level_1",
"decryption": "dg_hier_level_2",
"config": "dg_hier_level_3",
"system": "$vsys_name + $status",
"globalprotect": "default",
"hip_match": "custom",
"correlation": "custom",
})
package main
import (
"github.com/pulumi/pulumi-scm/sdk/go/scm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := scm.NewSyslogServerProfile(ctx, "scm_syslog_server_prof_1", &scm.SyslogServerProfileArgs{
Folder: pulumi.String("All"),
Name: pulumi.String("syslog-server-prof-base"),
Servers: scm.SyslogServerProfileServerArray{
&scm.SyslogServerProfileServerArgs{
Name: pulumi.String("Server-Primary"),
Server: pulumi.String("192.168.1.10"),
},
},
})
if err != nil {
return err
}
_, err = scm.NewSyslogServerProfile(ctx, "scm_syslog_server_prof_2", &scm.SyslogServerProfileArgs{
Folder: pulumi.String("All"),
Name: pulumi.String("syslog-server-prof-mixed"),
Servers: scm.SyslogServerProfileServerArray{
&scm.SyslogServerProfileServerArgs{
Name: pulumi.String("Server-Mixed"),
Server: pulumi.String("10.0.0.50"),
Transport: pulumi.String("TCP"),
Port: pulumi.Int(601),
Format: pulumi.String("IETF"),
Facility: pulumi.String("LOG_LOCAL4"),
},
},
Format: &scm.SyslogServerProfileFormatArgs{
Traffic: pulumi.String("$bytes"),
Threat: pulumi.String("$app"),
Globalprotect: pulumi.String("$cloud"),
},
})
if err != nil {
return err
}
_, err = scm.NewSyslogServerProfile(ctx, "scm_syslog_server_prof_3", &scm.SyslogServerProfileArgs{
Folder: pulumi.String("All"),
Name: pulumi.String("syslog-server-prof-complete"),
Servers: scm.SyslogServerProfileServerArray{
&scm.SyslogServerProfileServerArgs{
Name: pulumi.String("Server-A"),
Server: pulumi.String("172.16.10.1"),
Transport: pulumi.String("UDP"),
Port: pulumi.Int(514),
Format: pulumi.String("BSD"),
Facility: pulumi.String("LOG_LOCAL7"),
},
&scm.SyslogServerProfileServerArgs{
Name: pulumi.String("Server-B"),
Server: pulumi.String("172.16.10.2"),
Transport: pulumi.String("TCP"),
Port: pulumi.Int(6514),
Format: pulumi.String("IETF"),
Facility: pulumi.String("LOG_LOCAL3"),
},
&scm.SyslogServerProfileServerArgs{
Name: pulumi.String("Server-C"),
Server: pulumi.String("192.168.1.10"),
Transport: pulumi.String("UDP"),
Port: pulumi.Int(514),
Format: pulumi.String("BSD"),
Facility: pulumi.String("LOG_USER"),
},
},
Format: &scm.SyslogServerProfileFormatArgs{
Escaping: &scm.SyslogServerProfileFormatEscapingArgs{
EscapeCharacter: pulumi.String("*"),
EscapedCharacters: pulumi.String("&\\#"),
},
Traffic: pulumi.String("$actionflags"),
Threat: pulumi.String("$error + $errorcode"),
Wildfire: pulumi.String("$client_os"),
Url: pulumi.String("$type"),
Data: pulumi.String("$srcregion"),
Gtp: pulumi.String("$time_generated"),
Sctp: pulumi.String("$device_name and $contenttype"),
Tunnel: pulumi.String("$tunnel_type"),
Auth: pulumi.String("$hostid + $portal"),
Userid: pulumi.String("$hostid and $location"),
Iptag: pulumi.String("dg_hier_level_1"),
Decryption: pulumi.String("dg_hier_level_2"),
Config: pulumi.String("dg_hier_level_3"),
System: pulumi.String("$vsys_name + $status"),
Globalprotect: pulumi.String("default"),
HipMatch: pulumi.String("custom"),
Correlation: pulumi.String("custom"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var scmSyslogServerProf1 = new Scm.SyslogServerProfile("scm_syslog_server_prof_1", new()
{
Folder = "All",
Name = "syslog-server-prof-base",
Servers = new[]
{
new Scm.Inputs.SyslogServerProfileServerArgs
{
Name = "Server-Primary",
Server = "192.168.1.10",
},
},
});
var scmSyslogServerProf2 = new Scm.SyslogServerProfile("scm_syslog_server_prof_2", new()
{
Folder = "All",
Name = "syslog-server-prof-mixed",
Servers = new[]
{
new Scm.Inputs.SyslogServerProfileServerArgs
{
Name = "Server-Mixed",
Server = "10.0.0.50",
Transport = "TCP",
Port = 601,
Format = "IETF",
Facility = "LOG_LOCAL4",
},
},
Format = new Scm.Inputs.SyslogServerProfileFormatArgs
{
Traffic = "$bytes",
Threat = "$app",
Globalprotect = "$cloud",
},
});
var scmSyslogServerProf3 = new Scm.SyslogServerProfile("scm_syslog_server_prof_3", new()
{
Folder = "All",
Name = "syslog-server-prof-complete",
Servers = new[]
{
new Scm.Inputs.SyslogServerProfileServerArgs
{
Name = "Server-A",
Server = "172.16.10.1",
Transport = "UDP",
Port = 514,
Format = "BSD",
Facility = "LOG_LOCAL7",
},
new Scm.Inputs.SyslogServerProfileServerArgs
{
Name = "Server-B",
Server = "172.16.10.2",
Transport = "TCP",
Port = 6514,
Format = "IETF",
Facility = "LOG_LOCAL3",
},
new Scm.Inputs.SyslogServerProfileServerArgs
{
Name = "Server-C",
Server = "192.168.1.10",
Transport = "UDP",
Port = 514,
Format = "BSD",
Facility = "LOG_USER",
},
},
Format = new Scm.Inputs.SyslogServerProfileFormatArgs
{
Escaping = new Scm.Inputs.SyslogServerProfileFormatEscapingArgs
{
EscapeCharacter = "*",
EscapedCharacters = "&\\#",
},
Traffic = "$actionflags",
Threat = "$error + $errorcode",
Wildfire = "$client_os",
Url = "$type",
Data = "$srcregion",
Gtp = "$time_generated",
Sctp = "$device_name and $contenttype",
Tunnel = "$tunnel_type",
Auth = "$hostid + $portal",
Userid = "$hostid and $location",
Iptag = "dg_hier_level_1",
Decryption = "dg_hier_level_2",
Config = "dg_hier_level_3",
System = "$vsys_name + $status",
Globalprotect = "default",
HipMatch = "custom",
Correlation = "custom",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scm.SyslogServerProfile;
import com.pulumi.scm.SyslogServerProfileArgs;
import com.pulumi.scm.inputs.SyslogServerProfileServerArgs;
import com.pulumi.scm.inputs.SyslogServerProfileFormatArgs;
import com.pulumi.scm.inputs.SyslogServerProfileFormatEscapingArgs;
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 scmSyslogServerProf1 = new SyslogServerProfile("scmSyslogServerProf1", SyslogServerProfileArgs.builder()
.folder("All")
.name("syslog-server-prof-base")
.servers(SyslogServerProfileServerArgs.builder()
.name("Server-Primary")
.server("192.168.1.10")
.build())
.build());
var scmSyslogServerProf2 = new SyslogServerProfile("scmSyslogServerProf2", SyslogServerProfileArgs.builder()
.folder("All")
.name("syslog-server-prof-mixed")
.servers(SyslogServerProfileServerArgs.builder()
.name("Server-Mixed")
.server("10.0.0.50")
.transport("TCP")
.port(601)
.format("IETF")
.facility("LOG_LOCAL4")
.build())
.format(SyslogServerProfileFormatArgs.builder()
.traffic("$bytes")
.threat("$app")
.globalprotect("$cloud")
.build())
.build());
var scmSyslogServerProf3 = new SyslogServerProfile("scmSyslogServerProf3", SyslogServerProfileArgs.builder()
.folder("All")
.name("syslog-server-prof-complete")
.servers(
SyslogServerProfileServerArgs.builder()
.name("Server-A")
.server("172.16.10.1")
.transport("UDP")
.port(514)
.format("BSD")
.facility("LOG_LOCAL7")
.build(),
SyslogServerProfileServerArgs.builder()
.name("Server-B")
.server("172.16.10.2")
.transport("TCP")
.port(6514)
.format("IETF")
.facility("LOG_LOCAL3")
.build(),
SyslogServerProfileServerArgs.builder()
.name("Server-C")
.server("192.168.1.10")
.transport("UDP")
.port(514)
.format("BSD")
.facility("LOG_USER")
.build())
.format(SyslogServerProfileFormatArgs.builder()
.escaping(SyslogServerProfileFormatEscapingArgs.builder()
.escapeCharacter("*")
.escapedCharacters("&\\#")
.build())
.traffic("$actionflags")
.threat("$error + $errorcode")
.wildfire("$client_os")
.url("$type")
.data("$srcregion")
.gtp("$time_generated")
.sctp("$device_name and $contenttype")
.tunnel("$tunnel_type")
.auth("$hostid + $portal")
.userid("$hostid and $location")
.iptag("dg_hier_level_1")
.decryption("dg_hier_level_2")
.config("dg_hier_level_3")
.system("$vsys_name + $status")
.globalprotect("default")
.hipMatch("custom")
.correlation("custom")
.build())
.build());
}
}
resources:
scmSyslogServerProf1:
type: scm:SyslogServerProfile
name: scm_syslog_server_prof_1
properties:
folder: All
name: syslog-server-prof-base
servers:
- name: Server-Primary
server: 192.168.1.10
scmSyslogServerProf2:
type: scm:SyslogServerProfile
name: scm_syslog_server_prof_2
properties:
folder: All
name: syslog-server-prof-mixed
servers:
- name: Server-Mixed
server: 10.0.0.50
transport: TCP
port: 601
format: IETF
facility: LOG_LOCAL4
format:
traffic: $bytes
threat: $app
globalprotect: $cloud
scmSyslogServerProf3:
type: scm:SyslogServerProfile
name: scm_syslog_server_prof_3
properties:
folder: All
name: syslog-server-prof-complete
servers:
- name: Server-A
server: 172.16.10.1
transport: UDP
port: 514
format: BSD
facility: LOG_LOCAL7
- name: Server-B
server: 172.16.10.2
transport: TCP
port: 6514
format: IETF
facility: LOG_LOCAL3
- name: Server-C
server: 192.168.1.10
transport: UDP
port: 514
format: BSD
facility: LOG_USER
format:
escaping:
escapeCharacter: '*'
escapedCharacters: '&\#'
traffic: $actionflags
threat: $error + $errorcode
wildfire: $client_os
url: $type
data: $srcregion
gtp: $time_generated
sctp: $device_name and $contenttype
tunnel: $tunnel_type
auth: $hostid + $portal
userid: $hostid and $location
iptag: dg_hier_level_1
decryption: dg_hier_level_2
config: dg_hier_level_3
system: $vsys_name + $status
globalprotect: default
hipMatch: custom
correlation: custom
Create SyslogServerProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SyslogServerProfile(name: string, args: SyslogServerProfileArgs, opts?: CustomResourceOptions);@overload
def SyslogServerProfile(resource_name: str,
args: SyslogServerProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SyslogServerProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
servers: Optional[Sequence[SyslogServerProfileServerArgs]] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
format: Optional[SyslogServerProfileFormatArgs] = None,
name: Optional[str] = None,
snippet: Optional[str] = None)func NewSyslogServerProfile(ctx *Context, name string, args SyslogServerProfileArgs, opts ...ResourceOption) (*SyslogServerProfile, error)public SyslogServerProfile(string name, SyslogServerProfileArgs args, CustomResourceOptions? opts = null)
public SyslogServerProfile(String name, SyslogServerProfileArgs args)
public SyslogServerProfile(String name, SyslogServerProfileArgs args, CustomResourceOptions options)
type: scm:SyslogServerProfile
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 SyslogServerProfileArgs
- 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 SyslogServerProfileArgs
- 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 SyslogServerProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SyslogServerProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SyslogServerProfileArgs
- 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 syslogServerProfileResource = new Scm.SyslogServerProfile("syslogServerProfileResource", new()
{
Servers = new[]
{
new Scm.Inputs.SyslogServerProfileServerArgs
{
Facility = "string",
Format = "string",
Name = "string",
Port = 0,
Server = "string",
Transport = "string",
},
},
Device = "string",
Folder = "string",
Format = new Scm.Inputs.SyslogServerProfileFormatArgs
{
Auth = "string",
Config = "string",
Correlation = "string",
Data = "string",
Decryption = "string",
Escaping = new Scm.Inputs.SyslogServerProfileFormatEscapingArgs
{
EscapeCharacter = "string",
EscapedCharacters = "string",
},
Globalprotect = "string",
Gtp = "string",
HipMatch = "string",
Iptag = "string",
Sctp = "string",
System = "string",
Threat = "string",
Traffic = "string",
Tunnel = "string",
Url = "string",
Userid = "string",
Wildfire = "string",
},
Name = "string",
Snippet = "string",
});
example, err := scm.NewSyslogServerProfile(ctx, "syslogServerProfileResource", &scm.SyslogServerProfileArgs{
Servers: scm.SyslogServerProfileServerArray{
&scm.SyslogServerProfileServerArgs{
Facility: pulumi.String("string"),
Format: pulumi.String("string"),
Name: pulumi.String("string"),
Port: pulumi.Int(0),
Server: pulumi.String("string"),
Transport: pulumi.String("string"),
},
},
Device: pulumi.String("string"),
Folder: pulumi.String("string"),
Format: &scm.SyslogServerProfileFormatArgs{
Auth: pulumi.String("string"),
Config: pulumi.String("string"),
Correlation: pulumi.String("string"),
Data: pulumi.String("string"),
Decryption: pulumi.String("string"),
Escaping: &scm.SyslogServerProfileFormatEscapingArgs{
EscapeCharacter: pulumi.String("string"),
EscapedCharacters: pulumi.String("string"),
},
Globalprotect: pulumi.String("string"),
Gtp: pulumi.String("string"),
HipMatch: pulumi.String("string"),
Iptag: pulumi.String("string"),
Sctp: pulumi.String("string"),
System: pulumi.String("string"),
Threat: pulumi.String("string"),
Traffic: pulumi.String("string"),
Tunnel: pulumi.String("string"),
Url: pulumi.String("string"),
Userid: pulumi.String("string"),
Wildfire: pulumi.String("string"),
},
Name: pulumi.String("string"),
Snippet: pulumi.String("string"),
})
var syslogServerProfileResource = new SyslogServerProfile("syslogServerProfileResource", SyslogServerProfileArgs.builder()
.servers(SyslogServerProfileServerArgs.builder()
.facility("string")
.format("string")
.name("string")
.port(0)
.server("string")
.transport("string")
.build())
.device("string")
.folder("string")
.format(SyslogServerProfileFormatArgs.builder()
.auth("string")
.config("string")
.correlation("string")
.data("string")
.decryption("string")
.escaping(SyslogServerProfileFormatEscapingArgs.builder()
.escapeCharacter("string")
.escapedCharacters("string")
.build())
.globalprotect("string")
.gtp("string")
.hipMatch("string")
.iptag("string")
.sctp("string")
.system("string")
.threat("string")
.traffic("string")
.tunnel("string")
.url("string")
.userid("string")
.wildfire("string")
.build())
.name("string")
.snippet("string")
.build());
syslog_server_profile_resource = scm.SyslogServerProfile("syslogServerProfileResource",
servers=[{
"facility": "string",
"format": "string",
"name": "string",
"port": 0,
"server": "string",
"transport": "string",
}],
device="string",
folder="string",
format={
"auth": "string",
"config": "string",
"correlation": "string",
"data": "string",
"decryption": "string",
"escaping": {
"escape_character": "string",
"escaped_characters": "string",
},
"globalprotect": "string",
"gtp": "string",
"hip_match": "string",
"iptag": "string",
"sctp": "string",
"system": "string",
"threat": "string",
"traffic": "string",
"tunnel": "string",
"url": "string",
"userid": "string",
"wildfire": "string",
},
name="string",
snippet="string")
const syslogServerProfileResource = new scm.SyslogServerProfile("syslogServerProfileResource", {
servers: [{
facility: "string",
format: "string",
name: "string",
port: 0,
server: "string",
transport: "string",
}],
device: "string",
folder: "string",
format: {
auth: "string",
config: "string",
correlation: "string",
data: "string",
decryption: "string",
escaping: {
escapeCharacter: "string",
escapedCharacters: "string",
},
globalprotect: "string",
gtp: "string",
hipMatch: "string",
iptag: "string",
sctp: "string",
system: "string",
threat: "string",
traffic: "string",
tunnel: "string",
url: "string",
userid: "string",
wildfire: "string",
},
name: "string",
snippet: "string",
});
type: scm:SyslogServerProfile
properties:
device: string
folder: string
format:
auth: string
config: string
correlation: string
data: string
decryption: string
escaping:
escapeCharacter: string
escapedCharacters: string
globalprotect: string
gtp: string
hipMatch: string
iptag: string
sctp: string
system: string
threat: string
traffic: string
tunnel: string
url: string
userid: string
wildfire: string
name: string
servers:
- facility: string
format: string
name: string
port: 0
server: string
transport: string
snippet: string
SyslogServerProfile 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 SyslogServerProfile resource accepts the following input properties:
- Servers
List<Syslog
Server Profile Server> - A list of syslog server configurations. At least one server is required.
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Format
Syslog
Server Profile Format - Format
- Name string
- The name of the syslog server profile
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- Servers
[]Syslog
Server Profile Server Args - A list of syslog server configurations. At least one server is required.
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Format
Syslog
Server Profile Format Args - Format
- Name string
- The name of the syslog server profile
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- servers
List<Syslog
Server Profile Server> - A list of syslog server configurations. At least one server is required.
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format
Syslog
Server Profile Format - Format
- name String
- The name of the syslog server profile
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- servers
Syslog
Server Profile Server[] - A list of syslog server configurations. At least one server is required.
- device string
- The device in which the resource is defined
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format
Syslog
Server Profile Format - Format
- name string
- The name of the syslog server profile
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- servers
Sequence[Syslog
Server Profile Server Args] - A list of syslog server configurations. At least one server is required.
- device str
- The device in which the resource is defined
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format
Syslog
Server Profile Format Args - Format
- name str
- The name of the syslog server profile
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
- servers List<Property Map>
- A list of syslog server configurations. At least one server is required.
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format Property Map
- Format
- name String
- The name of the syslog server profile
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.
Outputs
All input properties are implicitly available as output properties. Additionally, the SyslogServerProfile resource produces the following output properties:
Look up Existing SyslogServerProfile Resource
Get an existing SyslogServerProfile 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?: SyslogServerProfileState, opts?: CustomResourceOptions): SyslogServerProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
device: Optional[str] = None,
folder: Optional[str] = None,
format: Optional[SyslogServerProfileFormatArgs] = None,
name: Optional[str] = None,
servers: Optional[Sequence[SyslogServerProfileServerArgs]] = None,
snippet: Optional[str] = None,
tfid: Optional[str] = None) -> SyslogServerProfilefunc GetSyslogServerProfile(ctx *Context, name string, id IDInput, state *SyslogServerProfileState, opts ...ResourceOption) (*SyslogServerProfile, error)public static SyslogServerProfile Get(string name, Input<string> id, SyslogServerProfileState? state, CustomResourceOptions? opts = null)public static SyslogServerProfile get(String name, Output<String> id, SyslogServerProfileState state, CustomResourceOptions options)resources: _: type: scm:SyslogServerProfile 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.
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Format
Syslog
Server Profile Format - Format
- Name string
- The name of the syslog server profile
- Servers
List<Syslog
Server Profile Server> - A list of syslog server configurations. At least one server is required.
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- Device string
- The device in which the resource is defined
- Folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Format
Syslog
Server Profile Format Args - Format
- Name string
- The name of the syslog server profile
- Servers
[]Syslog
Server Profile Server Args - A list of syslog server configurations. At least one server is required.
- Snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- Tfid string
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format
Syslog
Server Profile Format - Format
- name String
- The name of the syslog server profile
- servers
List<Syslog
Server Profile Server> - A list of syslog server configurations. At least one server is required.
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
- device string
- The device in which the resource is defined
- folder string
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format
Syslog
Server Profile Format - Format
- name string
- The name of the syslog server profile
- servers
Syslog
Server Profile Server[] - A list of syslog server configurations. At least one server is required.
- snippet string
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid string
- device str
- The device in which the resource is defined
- folder str
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format
Syslog
Server Profile Format Args - Format
- name str
- The name of the syslog server profile
- servers
Sequence[Syslog
Server Profile Server Args] - A list of syslog server configurations. At least one server is required.
- snippet str
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid str
- device String
- The device in which the resource is defined
- folder String
The folder in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- format Property Map
- Format
- name String
- The name of the syslog server profile
- servers List<Property Map>
- A list of syslog server configurations. At least one server is required.
- snippet String
The snippet in which the resource is defined
ℹ️ Note: You must specify exactly one of
device,folder, andsnippet.- tfid String
Supporting Types
SyslogServerProfileFormat, SyslogServerProfileFormatArgs
- Auth string
- Auth
- Config string
- Config
- Correlation string
- Correlation
- Data string
- Data
- Decryption string
- Decryption
- Escaping
Syslog
Server Profile Format Escaping - Escaping
- Globalprotect string
- Globalprotect
- Gtp string
- Gtp
- Hip
Match string - Hip match
- Iptag string
- Iptag
- Sctp string
- Sctp
- System string
- System
- Threat string
- Threat
- Traffic string
- Traffic
- Tunnel string
- Tunnel
- Url string
- Url
- Userid string
- Userid
- Wildfire string
- Wildfire
- Auth string
- Auth
- Config string
- Config
- Correlation string
- Correlation
- Data string
- Data
- Decryption string
- Decryption
- Escaping
Syslog
Server Profile Format Escaping - Escaping
- Globalprotect string
- Globalprotect
- Gtp string
- Gtp
- Hip
Match string - Hip match
- Iptag string
- Iptag
- Sctp string
- Sctp
- System string
- System
- Threat string
- Threat
- Traffic string
- Traffic
- Tunnel string
- Tunnel
- Url string
- Url
- Userid string
- Userid
- Wildfire string
- Wildfire
- auth String
- Auth
- config String
- Config
- correlation String
- Correlation
- data String
- Data
- decryption String
- Decryption
- escaping
Syslog
Server Profile Format Escaping - Escaping
- globalprotect String
- Globalprotect
- gtp String
- Gtp
- hip
Match String - Hip match
- iptag String
- Iptag
- sctp String
- Sctp
- system String
- System
- threat String
- Threat
- traffic String
- Traffic
- tunnel String
- Tunnel
- url String
- Url
- userid String
- Userid
- wildfire String
- Wildfire
- auth string
- Auth
- config string
- Config
- correlation string
- Correlation
- data string
- Data
- decryption string
- Decryption
- escaping
Syslog
Server Profile Format Escaping - Escaping
- globalprotect string
- Globalprotect
- gtp string
- Gtp
- hip
Match string - Hip match
- iptag string
- Iptag
- sctp string
- Sctp
- system string
- System
- threat string
- Threat
- traffic string
- Traffic
- tunnel string
- Tunnel
- url string
- Url
- userid string
- Userid
- wildfire string
- Wildfire
- auth str
- Auth
- config str
- Config
- correlation str
- Correlation
- data str
- Data
- decryption str
- Decryption
- escaping
Syslog
Server Profile Format Escaping - Escaping
- globalprotect str
- Globalprotect
- gtp str
- Gtp
- hip_
match str - Hip match
- iptag str
- Iptag
- sctp str
- Sctp
- system str
- System
- threat str
- Threat
- traffic str
- Traffic
- tunnel str
- Tunnel
- url str
- Url
- userid str
- Userid
- wildfire str
- Wildfire
- auth String
- Auth
- config String
- Config
- correlation String
- Correlation
- data String
- Data
- decryption String
- Decryption
- escaping Property Map
- Escaping
- globalprotect String
- Globalprotect
- gtp String
- Gtp
- hip
Match String - Hip match
- iptag String
- Iptag
- sctp String
- Sctp
- system String
- System
- threat String
- Threat
- traffic String
- Traffic
- tunnel String
- Tunnel
- url String
- Url
- userid String
- Userid
- wildfire String
- Wildfire
SyslogServerProfileFormatEscaping, SyslogServerProfileFormatEscapingArgs
- Escape
Character string - Escape sequence delimiter
- Escaped
Characters string - A list of all the characters to be escaped (without spaces).
- Escape
Character string - Escape sequence delimiter
- Escaped
Characters string - A list of all the characters to be escaped (without spaces).
- escape
Character String - Escape sequence delimiter
- escaped
Characters String - A list of all the characters to be escaped (without spaces).
- escape
Character string - Escape sequence delimiter
- escaped
Characters string - A list of all the characters to be escaped (without spaces).
- escape_
character str - Escape sequence delimiter
- escaped_
characters str - A list of all the characters to be escaped (without spaces).
- escape
Character String - Escape sequence delimiter
- escaped
Characters String - A list of all the characters to be escaped (without spaces).
SyslogServerProfileServer, SyslogServerProfileServerArgs
Import
The following command can be used to import a resource not managed by Terraform:
bash
$ pulumi import scm:index/syslogServerProfile:SyslogServerProfile example folder:::id
or
bash
$ pulumi import scm:index/syslogServerProfile:SyslogServerProfile example :snippet::id
or
bash
$ pulumi import scm:index/syslogServerProfile:SyslogServerProfile example ::device:id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
