panos.LogForwardingProfile
Explore with Pulumi AI
Create LogForwardingProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogForwardingProfile(name: string, args: LogForwardingProfileArgs, opts?: CustomResourceOptions);
@overload
def LogForwardingProfile(resource_name: str,
args: LogForwardingProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogForwardingProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[LogForwardingProfileLocationArgs] = None,
description: Optional[str] = None,
disable_override: Optional[str] = None,
enhanced_application_logging: Optional[bool] = None,
match_lists: Optional[Sequence[LogForwardingProfileMatchListArgs]] = None,
name: Optional[str] = None)
func NewLogForwardingProfile(ctx *Context, name string, args LogForwardingProfileArgs, opts ...ResourceOption) (*LogForwardingProfile, error)
public LogForwardingProfile(string name, LogForwardingProfileArgs args, CustomResourceOptions? opts = null)
public LogForwardingProfile(String name, LogForwardingProfileArgs args)
public LogForwardingProfile(String name, LogForwardingProfileArgs args, CustomResourceOptions options)
type: panos:LogForwardingProfile
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 LogForwardingProfileArgs
- 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 LogForwardingProfileArgs
- 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 LogForwardingProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogForwardingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogForwardingProfileArgs
- 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 logForwardingProfileResource = new Panos.LogForwardingProfile("logForwardingProfileResource", new()
{
Location = new Panos.Inputs.LogForwardingProfileLocationArgs
{
DeviceGroup = new Panos.Inputs.LogForwardingProfileLocationDeviceGroupArgs
{
Name = "string",
PanoramaDevice = "string",
},
Shared = null,
},
Description = "string",
DisableOverride = "string",
EnhancedApplicationLogging = false,
MatchLists = new[]
{
new Panos.Inputs.LogForwardingProfileMatchListArgs
{
Name = "string",
ActionDesc = "string",
Actions = new[]
{
new Panos.Inputs.LogForwardingProfileMatchListActionArgs
{
Name = "string",
Type = new Panos.Inputs.LogForwardingProfileMatchListActionTypeArgs
{
Integration = new Panos.Inputs.LogForwardingProfileMatchListActionTypeIntegrationArgs
{
Action = "string",
},
Tagging = new Panos.Inputs.LogForwardingProfileMatchListActionTypeTaggingArgs
{
Action = "string",
Registration = new Panos.Inputs.LogForwardingProfileMatchListActionTypeTaggingRegistrationArgs
{
Localhost = null,
Panorama = null,
Remote = new Panos.Inputs.LogForwardingProfileMatchListActionTypeTaggingRegistrationRemoteArgs
{
HttpProfile = "string",
},
},
Tags = new[]
{
"string",
},
Target = "string",
Timeout = 0,
},
},
},
},
Filter = "string",
LogType = "string",
Quarantine = false,
SendEmails = new[]
{
"string",
},
SendHttps = new[]
{
"string",
},
SendSnmptraps = new[]
{
"string",
},
SendSyslogs = new[]
{
"string",
},
SendToPanorama = false,
},
},
Name = "string",
});
example, err := panos.NewLogForwardingProfile(ctx, "logForwardingProfileResource", &panos.LogForwardingProfileArgs{
Location: &panos.LogForwardingProfileLocationArgs{
DeviceGroup: &panos.LogForwardingProfileLocationDeviceGroupArgs{
Name: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
Shared: &panos.LogForwardingProfileLocationSharedArgs{},
},
Description: pulumi.String("string"),
DisableOverride: pulumi.String("string"),
EnhancedApplicationLogging: pulumi.Bool(false),
MatchLists: panos.LogForwardingProfileMatchListArray{
&panos.LogForwardingProfileMatchListArgs{
Name: pulumi.String("string"),
ActionDesc: pulumi.String("string"),
Actions: panos.LogForwardingProfileMatchListActionArray{
&panos.LogForwardingProfileMatchListActionArgs{
Name: pulumi.String("string"),
Type: &panos.LogForwardingProfileMatchListActionTypeArgs{
Integration: &panos.LogForwardingProfileMatchListActionTypeIntegrationArgs{
Action: pulumi.String("string"),
},
Tagging: &panos.LogForwardingProfileMatchListActionTypeTaggingArgs{
Action: pulumi.String("string"),
Registration: &panos.LogForwardingProfileMatchListActionTypeTaggingRegistrationArgs{
Localhost: &panos.LogForwardingProfileMatchListActionTypeTaggingRegistrationLocalhostArgs{},
Panorama: &panos.LogForwardingProfileMatchListActionTypeTaggingRegistrationPanoramaArgs{},
Remote: &panos.LogForwardingProfileMatchListActionTypeTaggingRegistrationRemoteArgs{
HttpProfile: pulumi.String("string"),
},
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Target: pulumi.String("string"),
Timeout: pulumi.Float64(0),
},
},
},
},
Filter: pulumi.String("string"),
LogType: pulumi.String("string"),
Quarantine: pulumi.Bool(false),
SendEmails: pulumi.StringArray{
pulumi.String("string"),
},
SendHttps: pulumi.StringArray{
pulumi.String("string"),
},
SendSnmptraps: pulumi.StringArray{
pulumi.String("string"),
},
SendSyslogs: pulumi.StringArray{
pulumi.String("string"),
},
SendToPanorama: pulumi.Bool(false),
},
},
Name: pulumi.String("string"),
})
var logForwardingProfileResource = new LogForwardingProfile("logForwardingProfileResource", LogForwardingProfileArgs.builder()
.location(LogForwardingProfileLocationArgs.builder()
.deviceGroup(LogForwardingProfileLocationDeviceGroupArgs.builder()
.name("string")
.panoramaDevice("string")
.build())
.shared()
.build())
.description("string")
.disableOverride("string")
.enhancedApplicationLogging(false)
.matchLists(LogForwardingProfileMatchListArgs.builder()
.name("string")
.actionDesc("string")
.actions(LogForwardingProfileMatchListActionArgs.builder()
.name("string")
.type(LogForwardingProfileMatchListActionTypeArgs.builder()
.integration(LogForwardingProfileMatchListActionTypeIntegrationArgs.builder()
.action("string")
.build())
.tagging(LogForwardingProfileMatchListActionTypeTaggingArgs.builder()
.action("string")
.registration(LogForwardingProfileMatchListActionTypeTaggingRegistrationArgs.builder()
.localhost()
.panorama()
.remote(LogForwardingProfileMatchListActionTypeTaggingRegistrationRemoteArgs.builder()
.httpProfile("string")
.build())
.build())
.tags("string")
.target("string")
.timeout(0)
.build())
.build())
.build())
.filter("string")
.logType("string")
.quarantine(false)
.sendEmails("string")
.sendHttps("string")
.sendSnmptraps("string")
.sendSyslogs("string")
.sendToPanorama(false)
.build())
.name("string")
.build());
log_forwarding_profile_resource = panos.LogForwardingProfile("logForwardingProfileResource",
location={
"device_group": {
"name": "string",
"panorama_device": "string",
},
"shared": {},
},
description="string",
disable_override="string",
enhanced_application_logging=False,
match_lists=[{
"name": "string",
"action_desc": "string",
"actions": [{
"name": "string",
"type": {
"integration": {
"action": "string",
},
"tagging": {
"action": "string",
"registration": {
"localhost": {},
"panorama": {},
"remote": {
"http_profile": "string",
},
},
"tags": ["string"],
"target": "string",
"timeout": 0,
},
},
}],
"filter": "string",
"log_type": "string",
"quarantine": False,
"send_emails": ["string"],
"send_https": ["string"],
"send_snmptraps": ["string"],
"send_syslogs": ["string"],
"send_to_panorama": False,
}],
name="string")
const logForwardingProfileResource = new panos.LogForwardingProfile("logForwardingProfileResource", {
location: {
deviceGroup: {
name: "string",
panoramaDevice: "string",
},
shared: {},
},
description: "string",
disableOverride: "string",
enhancedApplicationLogging: false,
matchLists: [{
name: "string",
actionDesc: "string",
actions: [{
name: "string",
type: {
integration: {
action: "string",
},
tagging: {
action: "string",
registration: {
localhost: {},
panorama: {},
remote: {
httpProfile: "string",
},
},
tags: ["string"],
target: "string",
timeout: 0,
},
},
}],
filter: "string",
logType: "string",
quarantine: false,
sendEmails: ["string"],
sendHttps: ["string"],
sendSnmptraps: ["string"],
sendSyslogs: ["string"],
sendToPanorama: false,
}],
name: "string",
});
type: panos:LogForwardingProfile
properties:
description: string
disableOverride: string
enhancedApplicationLogging: false
location:
deviceGroup:
name: string
panoramaDevice: string
shared: {}
matchLists:
- actionDesc: string
actions:
- name: string
type:
integration:
action: string
tagging:
action: string
registration:
localhost: {}
panorama: {}
remote:
httpProfile: string
tags:
- string
target: string
timeout: 0
filter: string
logType: string
name: string
quarantine: false
sendEmails:
- string
sendHttps:
- string
sendSnmptraps:
- string
sendSyslogs:
- string
sendToPanorama: false
name: string
LogForwardingProfile 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 LogForwardingProfile resource accepts the following input properties:
- Location
Log
Forwarding Profile Location - The location of this object.
- Description string
- Disable
Override string - disable object override in child device groups
- Enhanced
Application boolLogging - Enabling enhanced-application-logging
- Match
Lists List<LogForwarding Profile Match List> - Name string
- Location
Log
Forwarding Profile Location Args - The location of this object.
- Description string
- Disable
Override string - disable object override in child device groups
- Enhanced
Application boolLogging - Enabling enhanced-application-logging
- Match
Lists []LogForwarding Profile Match List Args - Name string
- location
Log
Forwarding Profile Location - The location of this object.
- description String
- disable
Override String - disable object override in child device groups
- enhanced
Application BooleanLogging - Enabling enhanced-application-logging
- match
Lists List<LogForwarding Profile Match List> - name String
- location
Log
Forwarding Profile Location - The location of this object.
- description string
- disable
Override string - disable object override in child device groups
- enhanced
Application booleanLogging - Enabling enhanced-application-logging
- match
Lists LogForwarding Profile Match List[] - name string
- location
Log
Forwarding Profile Location Args - The location of this object.
- description str
- disable_
override str - disable object override in child device groups
- enhanced_
application_ boollogging - Enabling enhanced-application-logging
- match_
lists Sequence[LogForwarding Profile Match List Args] - name str
- location Property Map
- The location of this object.
- description String
- disable
Override String - disable object override in child device groups
- enhanced
Application BooleanLogging - Enabling enhanced-application-logging
- match
Lists List<Property Map> - name String
Outputs
All input properties are implicitly available as output properties. Additionally, the LogForwardingProfile 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 LogForwardingProfile Resource
Get an existing LogForwardingProfile 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?: LogForwardingProfileState, opts?: CustomResourceOptions): LogForwardingProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
disable_override: Optional[str] = None,
enhanced_application_logging: Optional[bool] = None,
location: Optional[LogForwardingProfileLocationArgs] = None,
match_lists: Optional[Sequence[LogForwardingProfileMatchListArgs]] = None,
name: Optional[str] = None) -> LogForwardingProfile
func GetLogForwardingProfile(ctx *Context, name string, id IDInput, state *LogForwardingProfileState, opts ...ResourceOption) (*LogForwardingProfile, error)
public static LogForwardingProfile Get(string name, Input<string> id, LogForwardingProfileState? state, CustomResourceOptions? opts = null)
public static LogForwardingProfile get(String name, Output<String> id, LogForwardingProfileState state, CustomResourceOptions options)
resources: _: type: panos:LogForwardingProfile 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.
- Description string
- Disable
Override string - disable object override in child device groups
- Enhanced
Application boolLogging - Enabling enhanced-application-logging
- Location
Log
Forwarding Profile Location - The location of this object.
- Match
Lists List<LogForwarding Profile Match List> - Name string
- Description string
- Disable
Override string - disable object override in child device groups
- Enhanced
Application boolLogging - Enabling enhanced-application-logging
- Location
Log
Forwarding Profile Location Args - The location of this object.
- Match
Lists []LogForwarding Profile Match List Args - Name string
- description String
- disable
Override String - disable object override in child device groups
- enhanced
Application BooleanLogging - Enabling enhanced-application-logging
- location
Log
Forwarding Profile Location - The location of this object.
- match
Lists List<LogForwarding Profile Match List> - name String
- description string
- disable
Override string - disable object override in child device groups
- enhanced
Application booleanLogging - Enabling enhanced-application-logging
- location
Log
Forwarding Profile Location - The location of this object.
- match
Lists LogForwarding Profile Match List[] - name string
- description str
- disable_
override str - disable object override in child device groups
- enhanced_
application_ boollogging - Enabling enhanced-application-logging
- location
Log
Forwarding Profile Location Args - The location of this object.
- match_
lists Sequence[LogForwarding Profile Match List Args] - name str
- description String
- disable
Override String - disable object override in child device groups
- enhanced
Application BooleanLogging - Enabling enhanced-application-logging
- location Property Map
- The location of this object.
- match
Lists List<Property Map> - name String
Supporting Types
LogForwardingProfileLocation, LogForwardingProfileLocationArgs
- Device
Group LogForwarding Profile Location Device Group - Located in a specific Device Group
- Log
Forwarding Profile Location Shared - Panorama shared object
- Device
Group LogForwarding Profile Location Device Group - Located in a specific Device Group
- Log
Forwarding Profile Location Shared - Panorama shared object
- device
Group LogForwarding Profile Location Device Group - Located in a specific Device Group
- Log
Forwarding Profile Location Shared - Panorama shared object
- device
Group LogForwarding Profile Location Device Group - Located in a specific Device Group
- Log
Forwarding Profile Location Shared - Panorama shared object
- device_
group LogForwarding Profile Location Device Group - Located in a specific Device Group
- Log
Forwarding Profile Location Shared - Panorama shared object
- device
Group Property Map - Located in a specific Device Group
- Property Map
- Panorama shared object
LogForwardingProfileLocationDeviceGroup, LogForwardingProfileLocationDeviceGroupArgs
- Name string
- Device Group name
- Panorama
Device string - Panorama device name
- Name string
- Device Group name
- Panorama
Device string - Panorama device name
- name String
- Device Group name
- panorama
Device String - Panorama device name
- name string
- Device Group name
- panorama
Device string - Panorama device name
- name str
- Device Group name
- panorama_
device str - Panorama device name
- name String
- Device Group name
- panorama
Device String - Panorama device name
LogForwardingProfileMatchList, LogForwardingProfileMatchListArgs
- Name string
- Action
Desc string - Actions
List<Log
Forwarding Profile Match List Action> - Filter string
- Log
Type string - Pick log type
- Quarantine bool
- Send
Emails List<string> - Send
Https List<string> - Send
Snmptraps List<string> - Send
Syslogs List<string> - Send
To boolPanorama
- Name string
- Action
Desc string - Actions
[]Log
Forwarding Profile Match List Action - Filter string
- Log
Type string - Pick log type
- Quarantine bool
- Send
Emails []string - Send
Https []string - Send
Snmptraps []string - Send
Syslogs []string - Send
To boolPanorama
- name String
- action
Desc String - actions
List<Log
Forwarding Profile Match List Action> - filter String
- log
Type String - Pick log type
- quarantine Boolean
- send
Emails List<String> - send
Https List<String> - send
Snmptraps List<String> - send
Syslogs List<String> - send
To BooleanPanorama
- name string
- action
Desc string - actions
Log
Forwarding Profile Match List Action[] - filter string
- log
Type string - Pick log type
- quarantine boolean
- send
Emails string[] - send
Https string[] - send
Snmptraps string[] - send
Syslogs string[] - send
To booleanPanorama
- name str
- action_
desc str - actions
Sequence[Log
Forwarding Profile Match List Action] - filter str
- log_
type str - Pick log type
- quarantine bool
- send_
emails Sequence[str] - send_
https Sequence[str] - send_
snmptraps Sequence[str] - send_
syslogs Sequence[str] - send_
to_ boolpanorama
- name String
- action
Desc String - actions List<Property Map>
- filter String
- log
Type String - Pick log type
- quarantine Boolean
- send
Emails List<String> - send
Https List<String> - send
Snmptraps List<String> - send
Syslogs List<String> - send
To BooleanPanorama
LogForwardingProfileMatchListAction, LogForwardingProfileMatchListActionArgs
- name String
- type Property Map
LogForwardingProfileMatchListActionType, LogForwardingProfileMatchListActionTypeArgs
LogForwardingProfileMatchListActionTypeIntegration, LogForwardingProfileMatchListActionTypeIntegrationArgs
- Action string
- Action string
- action String
- action string
- action str
- action String
LogForwardingProfileMatchListActionTypeTagging, LogForwardingProfileMatchListActionTypeTaggingArgs
- Action string
- Registration
Log
Forwarding Profile Match List Action Type Tagging Registration - List<string>
- Target string
- Timeout double
- timeout in minutes
- Action string
- Registration
Log
Forwarding Profile Match List Action Type Tagging Registration - []string
- Target string
- Timeout float64
- timeout in minutes
- action String
- registration
Log
Forwarding Profile Match List Action Type Tagging Registration - List<String>
- target String
- timeout Double
- timeout in minutes
- action string
- registration
Log
Forwarding Profile Match List Action Type Tagging Registration - string[]
- target string
- timeout number
- timeout in minutes
- action str
- registration
Log
Forwarding Profile Match List Action Type Tagging Registration - Sequence[str]
- target str
- timeout float
- timeout in minutes
- action String
- registration Property Map
- List<String>
- target String
- timeout Number
- timeout in minutes
LogForwardingProfileMatchListActionTypeTaggingRegistration, LogForwardingProfileMatchListActionTypeTaggingRegistrationArgs
LogForwardingProfileMatchListActionTypeTaggingRegistrationRemote, LogForwardingProfileMatchListActionTypeTaggingRegistrationRemoteArgs
- Http
Profile string
- Http
Profile string
- http
Profile String
- http
Profile string
- http_
profile str
- http
Profile String
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panos
Terraform Provider.