1. Packages
  2. Panos Provider
  3. API Docs
  4. LogExportSchedule
Viewing docs for panos 2.0.10
published on Thursday, Apr 9, 2026 by paloaltonetworks
Viewing docs for panos 2.0.10
published on Thursday, Apr 9, 2026 by paloaltonetworks

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as panos from "@pulumi/panos";
    
    const example = new panos.Template("example", {
        location: {
            panorama: {},
        },
        name: "example-template",
    });
    // Example 1: Basic log export schedule with FTP protocol
    const ftpExample = new panos.LogExportSchedule("ftp_example", {
        location: {
            template: {
                name: example.name,
            },
        },
        name: "ftp-export-schedule",
        description: "Export traffic logs via FTP",
        enable: true,
        logType: "traffic",
        startTime: "03:30",
        protocol: {
            ftp: {
                hostname: "ftp.example.com",
                passiveMode: true,
                password: "secure-password",
                path: "/logs/export",
                port: 21,
                username: "ftpuser",
            },
        },
    });
    // Example 2: Log export schedule with SCP protocol
    const scpExample = new panos.LogExportSchedule("scp_example", {
        location: {
            template: {
                name: example.name,
            },
        },
        name: "scp-export-schedule",
        description: "Export wildfire logs via SCP",
        enable: true,
        logType: "wildfire",
        startTime: "02:00",
        protocol: {
            scp: {
                hostname: "scp.example.com",
                password: "secure-scp-password",
                path: "/var/logs/wildfire",
                port: 22,
                username: "scpuser",
            },
        },
    });
    // Example 3: Multiple log export schedules for different log types
    const threatExport = new panos.LogExportSchedule("threat_export", {
        location: {
            template: {
                name: example.name,
            },
        },
        name: "threat-export",
        description: "Daily export of threat logs",
        enable: true,
        logType: "threat",
        startTime: "01:00",
        protocol: {
            ftp: {
                hostname: "logs.example.com",
                username: "loguser",
                password: "logpass",
                path: "/threat-logs",
                port: 21,
            },
        },
    });
    
    import pulumi
    import pulumi_panos as panos
    
    example = panos.Template("example",
        location={
            "panorama": {},
        },
        name="example-template")
    # Example 1: Basic log export schedule with FTP protocol
    ftp_example = panos.LogExportSchedule("ftp_example",
        location={
            "template": {
                "name": example.name,
            },
        },
        name="ftp-export-schedule",
        description="Export traffic logs via FTP",
        enable=True,
        log_type="traffic",
        start_time="03:30",
        protocol={
            "ftp": {
                "hostname": "ftp.example.com",
                "passive_mode": True,
                "password": "secure-password",
                "path": "/logs/export",
                "port": 21,
                "username": "ftpuser",
            },
        })
    # Example 2: Log export schedule with SCP protocol
    scp_example = panos.LogExportSchedule("scp_example",
        location={
            "template": {
                "name": example.name,
            },
        },
        name="scp-export-schedule",
        description="Export wildfire logs via SCP",
        enable=True,
        log_type="wildfire",
        start_time="02:00",
        protocol={
            "scp": {
                "hostname": "scp.example.com",
                "password": "secure-scp-password",
                "path": "/var/logs/wildfire",
                "port": 22,
                "username": "scpuser",
            },
        })
    # Example 3: Multiple log export schedules for different log types
    threat_export = panos.LogExportSchedule("threat_export",
        location={
            "template": {
                "name": example.name,
            },
        },
        name="threat-export",
        description="Daily export of threat logs",
        enable=True,
        log_type="threat",
        start_time="01:00",
        protocol={
            "ftp": {
                "hostname": "logs.example.com",
                "username": "loguser",
                "password": "logpass",
                "path": "/threat-logs",
                "port": 21,
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/panos/v2/panos"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := panos.NewTemplate(ctx, "example", &panos.TemplateArgs{
    			Location: &panos.TemplateLocationArgs{
    				Panorama: &panos.TemplateLocationPanoramaArgs{},
    			},
    			Name: pulumi.String("example-template"),
    		})
    		if err != nil {
    			return err
    		}
    		// Example 1: Basic log export schedule with FTP protocol
    		_, err = panos.NewLogExportSchedule(ctx, "ftp_example", &panos.LogExportScheduleArgs{
    			Location: &panos.LogExportScheduleLocationArgs{
    				Template: &panos.LogExportScheduleLocationTemplateArgs{
    					Name: example.Name,
    				},
    			},
    			Name:        pulumi.String("ftp-export-schedule"),
    			Description: pulumi.String("Export traffic logs via FTP"),
    			Enable:      pulumi.Bool(true),
    			LogType:     pulumi.String("traffic"),
    			StartTime:   pulumi.String("03:30"),
    			Protocol: &panos.LogExportScheduleProtocolArgs{
    				Ftp: &panos.LogExportScheduleProtocolFtpArgs{
    					Hostname:    pulumi.String("ftp.example.com"),
    					PassiveMode: pulumi.Bool(true),
    					Password:    pulumi.String("secure-password"),
    					Path:        pulumi.String("/logs/export"),
    					Port:        pulumi.Float64(21),
    					Username:    pulumi.String("ftpuser"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example 2: Log export schedule with SCP protocol
    		_, err = panos.NewLogExportSchedule(ctx, "scp_example", &panos.LogExportScheduleArgs{
    			Location: &panos.LogExportScheduleLocationArgs{
    				Template: &panos.LogExportScheduleLocationTemplateArgs{
    					Name: example.Name,
    				},
    			},
    			Name:        pulumi.String("scp-export-schedule"),
    			Description: pulumi.String("Export wildfire logs via SCP"),
    			Enable:      pulumi.Bool(true),
    			LogType:     pulumi.String("wildfire"),
    			StartTime:   pulumi.String("02:00"),
    			Protocol: &panos.LogExportScheduleProtocolArgs{
    				Scp: &panos.LogExportScheduleProtocolScpArgs{
    					Hostname: pulumi.String("scp.example.com"),
    					Password: pulumi.String("secure-scp-password"),
    					Path:     pulumi.String("/var/logs/wildfire"),
    					Port:     pulumi.Float64(22),
    					Username: pulumi.String("scpuser"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Example 3: Multiple log export schedules for different log types
    		_, err = panos.NewLogExportSchedule(ctx, "threat_export", &panos.LogExportScheduleArgs{
    			Location: &panos.LogExportScheduleLocationArgs{
    				Template: &panos.LogExportScheduleLocationTemplateArgs{
    					Name: example.Name,
    				},
    			},
    			Name:        pulumi.String("threat-export"),
    			Description: pulumi.String("Daily export of threat logs"),
    			Enable:      pulumi.Bool(true),
    			LogType:     pulumi.String("threat"),
    			StartTime:   pulumi.String("01:00"),
    			Protocol: &panos.LogExportScheduleProtocolArgs{
    				Ftp: &panos.LogExportScheduleProtocolFtpArgs{
    					Hostname: pulumi.String("logs.example.com"),
    					Username: pulumi.String("loguser"),
    					Password: pulumi.String("logpass"),
    					Path:     pulumi.String("/threat-logs"),
    					Port:     pulumi.Float64(21),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Panos = Pulumi.Panos;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Panos.Template("example", new()
        {
            Location = new Panos.Inputs.TemplateLocationArgs
            {
                Panorama = null,
            },
            Name = "example-template",
        });
    
        // Example 1: Basic log export schedule with FTP protocol
        var ftpExample = new Panos.LogExportSchedule("ftp_example", new()
        {
            Location = new Panos.Inputs.LogExportScheduleLocationArgs
            {
                Template = new Panos.Inputs.LogExportScheduleLocationTemplateArgs
                {
                    Name = example.Name,
                },
            },
            Name = "ftp-export-schedule",
            Description = "Export traffic logs via FTP",
            Enable = true,
            LogType = "traffic",
            StartTime = "03:30",
            Protocol = new Panos.Inputs.LogExportScheduleProtocolArgs
            {
                Ftp = new Panos.Inputs.LogExportScheduleProtocolFtpArgs
                {
                    Hostname = "ftp.example.com",
                    PassiveMode = true,
                    Password = "secure-password",
                    Path = "/logs/export",
                    Port = 21,
                    Username = "ftpuser",
                },
            },
        });
    
        // Example 2: Log export schedule with SCP protocol
        var scpExample = new Panos.LogExportSchedule("scp_example", new()
        {
            Location = new Panos.Inputs.LogExportScheduleLocationArgs
            {
                Template = new Panos.Inputs.LogExportScheduleLocationTemplateArgs
                {
                    Name = example.Name,
                },
            },
            Name = "scp-export-schedule",
            Description = "Export wildfire logs via SCP",
            Enable = true,
            LogType = "wildfire",
            StartTime = "02:00",
            Protocol = new Panos.Inputs.LogExportScheduleProtocolArgs
            {
                Scp = new Panos.Inputs.LogExportScheduleProtocolScpArgs
                {
                    Hostname = "scp.example.com",
                    Password = "secure-scp-password",
                    Path = "/var/logs/wildfire",
                    Port = 22,
                    Username = "scpuser",
                },
            },
        });
    
        // Example 3: Multiple log export schedules for different log types
        var threatExport = new Panos.LogExportSchedule("threat_export", new()
        {
            Location = new Panos.Inputs.LogExportScheduleLocationArgs
            {
                Template = new Panos.Inputs.LogExportScheduleLocationTemplateArgs
                {
                    Name = example.Name,
                },
            },
            Name = "threat-export",
            Description = "Daily export of threat logs",
            Enable = true,
            LogType = "threat",
            StartTime = "01:00",
            Protocol = new Panos.Inputs.LogExportScheduleProtocolArgs
            {
                Ftp = new Panos.Inputs.LogExportScheduleProtocolFtpArgs
                {
                    Hostname = "logs.example.com",
                    Username = "loguser",
                    Password = "logpass",
                    Path = "/threat-logs",
                    Port = 21,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.panos.Template;
    import com.pulumi.panos.TemplateArgs;
    import com.pulumi.panos.inputs.TemplateLocationArgs;
    import com.pulumi.panos.inputs.TemplateLocationPanoramaArgs;
    import com.pulumi.panos.LogExportSchedule;
    import com.pulumi.panos.LogExportScheduleArgs;
    import com.pulumi.panos.inputs.LogExportScheduleLocationArgs;
    import com.pulumi.panos.inputs.LogExportScheduleLocationTemplateArgs;
    import com.pulumi.panos.inputs.LogExportScheduleProtocolArgs;
    import com.pulumi.panos.inputs.LogExportScheduleProtocolFtpArgs;
    import com.pulumi.panos.inputs.LogExportScheduleProtocolScpArgs;
    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 example = new Template("example", TemplateArgs.builder()
                .location(TemplateLocationArgs.builder()
                    .panorama(TemplateLocationPanoramaArgs.builder()
                        .build())
                    .build())
                .name("example-template")
                .build());
    
            // Example 1: Basic log export schedule with FTP protocol
            var ftpExample = new LogExportSchedule("ftpExample", LogExportScheduleArgs.builder()
                .location(LogExportScheduleLocationArgs.builder()
                    .template(LogExportScheduleLocationTemplateArgs.builder()
                        .name(example.name())
                        .build())
                    .build())
                .name("ftp-export-schedule")
                .description("Export traffic logs via FTP")
                .enable(true)
                .logType("traffic")
                .startTime("03:30")
                .protocol(LogExportScheduleProtocolArgs.builder()
                    .ftp(LogExportScheduleProtocolFtpArgs.builder()
                        .hostname("ftp.example.com")
                        .passiveMode(true)
                        .password("secure-password")
                        .path("/logs/export")
                        .port(21.0)
                        .username("ftpuser")
                        .build())
                    .build())
                .build());
    
            // Example 2: Log export schedule with SCP protocol
            var scpExample = new LogExportSchedule("scpExample", LogExportScheduleArgs.builder()
                .location(LogExportScheduleLocationArgs.builder()
                    .template(LogExportScheduleLocationTemplateArgs.builder()
                        .name(example.name())
                        .build())
                    .build())
                .name("scp-export-schedule")
                .description("Export wildfire logs via SCP")
                .enable(true)
                .logType("wildfire")
                .startTime("02:00")
                .protocol(LogExportScheduleProtocolArgs.builder()
                    .scp(LogExportScheduleProtocolScpArgs.builder()
                        .hostname("scp.example.com")
                        .password("secure-scp-password")
                        .path("/var/logs/wildfire")
                        .port(22.0)
                        .username("scpuser")
                        .build())
                    .build())
                .build());
    
            // Example 3: Multiple log export schedules for different log types
            var threatExport = new LogExportSchedule("threatExport", LogExportScheduleArgs.builder()
                .location(LogExportScheduleLocationArgs.builder()
                    .template(LogExportScheduleLocationTemplateArgs.builder()
                        .name(example.name())
                        .build())
                    .build())
                .name("threat-export")
                .description("Daily export of threat logs")
                .enable(true)
                .logType("threat")
                .startTime("01:00")
                .protocol(LogExportScheduleProtocolArgs.builder()
                    .ftp(LogExportScheduleProtocolFtpArgs.builder()
                        .hostname("logs.example.com")
                        .username("loguser")
                        .password("logpass")
                        .path("/threat-logs")
                        .port(21.0)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: panos:Template
        properties:
          location:
            panorama: {}
          name: example-template
      # Example 1: Basic log export schedule with FTP protocol
      ftpExample:
        type: panos:LogExportSchedule
        name: ftp_example
        properties:
          location:
            template:
              name: ${example.name}
          name: ftp-export-schedule
          description: Export traffic logs via FTP
          enable: true
          logType: traffic
          startTime: 03:30
          protocol:
            ftp:
              hostname: ftp.example.com
              passiveMode: true
              password: secure-password
              path: /logs/export
              port: 21
              username: ftpuser
      # Example 2: Log export schedule with SCP protocol
      scpExample:
        type: panos:LogExportSchedule
        name: scp_example
        properties:
          location:
            template:
              name: ${example.name}
          name: scp-export-schedule
          description: Export wildfire logs via SCP
          enable: true
          logType: wildfire
          startTime: 02:00
          protocol:
            scp:
              hostname: scp.example.com
              password: secure-scp-password
              path: /var/logs/wildfire
              port: 22
              username: scpuser
      # Example 3: Multiple log export schedules for different log types
      threatExport:
        type: panos:LogExportSchedule
        name: threat_export
        properties:
          location:
            template:
              name: ${example.name}
          name: threat-export
          description: Daily export of threat logs
          enable: true
          logType: threat
          startTime: 01:00
          protocol:
            ftp:
              hostname: logs.example.com
              username: loguser
              password: logpass
              path: /threat-logs
              port: 21
    

    Create LogExportSchedule Resource

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

    Constructor syntax

    new LogExportSchedule(name: string, args: LogExportScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def LogExportSchedule(resource_name: str,
                          args: LogExportScheduleArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogExportSchedule(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          location: Optional[LogExportScheduleLocationArgs] = None,
                          description: Optional[str] = None,
                          enable: Optional[bool] = None,
                          log_type: Optional[str] = None,
                          name: Optional[str] = None,
                          protocol: Optional[LogExportScheduleProtocolArgs] = None,
                          start_time: Optional[str] = None)
    func NewLogExportSchedule(ctx *Context, name string, args LogExportScheduleArgs, opts ...ResourceOption) (*LogExportSchedule, error)
    public LogExportSchedule(string name, LogExportScheduleArgs args, CustomResourceOptions? opts = null)
    public LogExportSchedule(String name, LogExportScheduleArgs args)
    public LogExportSchedule(String name, LogExportScheduleArgs args, CustomResourceOptions options)
    
    type: panos:LogExportSchedule
    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 LogExportScheduleArgs
    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 LogExportScheduleArgs
    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 LogExportScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogExportScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogExportScheduleArgs
    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 logExportScheduleResource = new Panos.Index.LogExportSchedule("logExportScheduleResource", new()
    {
        Location = new Panos.Inputs.LogExportScheduleLocationArgs
        {
            System = new Panos.Inputs.LogExportScheduleLocationSystemArgs
            {
                Device = "string",
            },
            Template = new Panos.Inputs.LogExportScheduleLocationTemplateArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
            TemplateStack = new Panos.Inputs.LogExportScheduleLocationTemplateStackArgs
            {
                Name = "string",
                NgfwDevice = "string",
                PanoramaDevice = "string",
            },
        },
        Description = "string",
        Enable = false,
        LogType = "string",
        Name = "string",
        Protocol = new Panos.Inputs.LogExportScheduleProtocolArgs
        {
            Ftp = new Panos.Inputs.LogExportScheduleProtocolFtpArgs
            {
                Hostname = "string",
                PassiveMode = false,
                Password = "string",
                Path = "string",
                Port = 0,
                Username = "string",
            },
            Scp = new Panos.Inputs.LogExportScheduleProtocolScpArgs
            {
                Hostname = "string",
                Password = "string",
                Path = "string",
                Port = 0,
                Username = "string",
            },
        },
        StartTime = "string",
    });
    
    example, err := panos.NewLogExportSchedule(ctx, "logExportScheduleResource", &panos.LogExportScheduleArgs{
    	Location: &panos.LogExportScheduleLocationArgs{
    		System: &panos.LogExportScheduleLocationSystemArgs{
    			Device: pulumi.String("string"),
    		},
    		Template: &panos.LogExportScheduleLocationTemplateArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStack: &panos.LogExportScheduleLocationTemplateStackArgs{
    			Name:           pulumi.String("string"),
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Enable:      pulumi.Bool(false),
    	LogType:     pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Protocol: &panos.LogExportScheduleProtocolArgs{
    		Ftp: &panos.LogExportScheduleProtocolFtpArgs{
    			Hostname:    pulumi.String("string"),
    			PassiveMode: pulumi.Bool(false),
    			Password:    pulumi.String("string"),
    			Path:        pulumi.String("string"),
    			Port:        pulumi.Float64(0),
    			Username:    pulumi.String("string"),
    		},
    		Scp: &panos.LogExportScheduleProtocolScpArgs{
    			Hostname: pulumi.String("string"),
    			Password: pulumi.String("string"),
    			Path:     pulumi.String("string"),
    			Port:     pulumi.Float64(0),
    			Username: pulumi.String("string"),
    		},
    	},
    	StartTime: pulumi.String("string"),
    })
    
    var logExportScheduleResource = new LogExportSchedule("logExportScheduleResource", LogExportScheduleArgs.builder()
        .location(LogExportScheduleLocationArgs.builder()
            .system(LogExportScheduleLocationSystemArgs.builder()
                .device("string")
                .build())
            .template(LogExportScheduleLocationTemplateArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .templateStack(LogExportScheduleLocationTemplateStackArgs.builder()
                .name("string")
                .ngfwDevice("string")
                .panoramaDevice("string")
                .build())
            .build())
        .description("string")
        .enable(false)
        .logType("string")
        .name("string")
        .protocol(LogExportScheduleProtocolArgs.builder()
            .ftp(LogExportScheduleProtocolFtpArgs.builder()
                .hostname("string")
                .passiveMode(false)
                .password("string")
                .path("string")
                .port(0.0)
                .username("string")
                .build())
            .scp(LogExportScheduleProtocolScpArgs.builder()
                .hostname("string")
                .password("string")
                .path("string")
                .port(0.0)
                .username("string")
                .build())
            .build())
        .startTime("string")
        .build());
    
    log_export_schedule_resource = panos.LogExportSchedule("logExportScheduleResource",
        location={
            "system": {
                "device": "string",
            },
            "template": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
            "template_stack": {
                "name": "string",
                "ngfw_device": "string",
                "panorama_device": "string",
            },
        },
        description="string",
        enable=False,
        log_type="string",
        name="string",
        protocol={
            "ftp": {
                "hostname": "string",
                "passive_mode": False,
                "password": "string",
                "path": "string",
                "port": 0,
                "username": "string",
            },
            "scp": {
                "hostname": "string",
                "password": "string",
                "path": "string",
                "port": 0,
                "username": "string",
            },
        },
        start_time="string")
    
    const logExportScheduleResource = new panos.LogExportSchedule("logExportScheduleResource", {
        location: {
            system: {
                device: "string",
            },
            template: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
            templateStack: {
                name: "string",
                ngfwDevice: "string",
                panoramaDevice: "string",
            },
        },
        description: "string",
        enable: false,
        logType: "string",
        name: "string",
        protocol: {
            ftp: {
                hostname: "string",
                passiveMode: false,
                password: "string",
                path: "string",
                port: 0,
                username: "string",
            },
            scp: {
                hostname: "string",
                password: "string",
                path: "string",
                port: 0,
                username: "string",
            },
        },
        startTime: "string",
    });
    
    type: panos:LogExportSchedule
    properties:
        description: string
        enable: false
        location:
            system:
                device: string
            template:
                name: string
                ngfwDevice: string
                panoramaDevice: string
            templateStack:
                name: string
                ngfwDevice: string
                panoramaDevice: string
        logType: string
        name: string
        protocol:
            ftp:
                hostname: string
                passiveMode: false
                password: string
                path: string
                port: 0
                username: string
            scp:
                hostname: string
                password: string
                path: string
                port: 0
                username: string
        startTime: string
    

    LogExportSchedule 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 LogExportSchedule resource accepts the following input properties:

    Location LogExportScheduleLocation
    The location of this object.
    Description string
    Enable bool
    LogType string
    Name string
    Protocol LogExportScheduleProtocol
    StartTime string
    Time to start the scheduled export hh:mm (e.g. 03:30)
    Location LogExportScheduleLocationArgs
    The location of this object.
    Description string
    Enable bool
    LogType string
    Name string
    Protocol LogExportScheduleProtocolArgs
    StartTime string
    Time to start the scheduled export hh:mm (e.g. 03:30)
    location LogExportScheduleLocation
    The location of this object.
    description String
    enable Boolean
    logType String
    name String
    protocol LogExportScheduleProtocol
    startTime String
    Time to start the scheduled export hh:mm (e.g. 03:30)
    location LogExportScheduleLocation
    The location of this object.
    description string
    enable boolean
    logType string
    name string
    protocol LogExportScheduleProtocol
    startTime string
    Time to start the scheduled export hh:mm (e.g. 03:30)
    location LogExportScheduleLocationArgs
    The location of this object.
    description str
    enable bool
    log_type str
    name str
    protocol LogExportScheduleProtocolArgs
    start_time str
    Time to start the scheduled export hh:mm (e.g. 03:30)
    location Property Map
    The location of this object.
    description String
    enable Boolean
    logType String
    name String
    protocol Property Map
    startTime String
    Time to start the scheduled export hh:mm (e.g. 03:30)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LogExportSchedule 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 LogExportSchedule Resource

    Get an existing LogExportSchedule 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?: LogExportScheduleState, opts?: CustomResourceOptions): LogExportSchedule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            enable: Optional[bool] = None,
            location: Optional[LogExportScheduleLocationArgs] = None,
            log_type: Optional[str] = None,
            name: Optional[str] = None,
            protocol: Optional[LogExportScheduleProtocolArgs] = None,
            start_time: Optional[str] = None) -> LogExportSchedule
    func GetLogExportSchedule(ctx *Context, name string, id IDInput, state *LogExportScheduleState, opts ...ResourceOption) (*LogExportSchedule, error)
    public static LogExportSchedule Get(string name, Input<string> id, LogExportScheduleState? state, CustomResourceOptions? opts = null)
    public static LogExportSchedule get(String name, Output<String> id, LogExportScheduleState state, CustomResourceOptions options)
    resources:  _:    type: panos:LogExportSchedule    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.
    The following state arguments are supported:
    Description string
    Enable bool
    Location LogExportScheduleLocation
    The location of this object.
    LogType string
    Name string
    Protocol LogExportScheduleProtocol
    StartTime string
    Time to start the scheduled export hh:mm (e.g. 03:30)
    Description string
    Enable bool
    Location LogExportScheduleLocationArgs
    The location of this object.
    LogType string
    Name string
    Protocol LogExportScheduleProtocolArgs
    StartTime string
    Time to start the scheduled export hh:mm (e.g. 03:30)
    description String
    enable Boolean
    location LogExportScheduleLocation
    The location of this object.
    logType String
    name String
    protocol LogExportScheduleProtocol
    startTime String
    Time to start the scheduled export hh:mm (e.g. 03:30)
    description string
    enable boolean
    location LogExportScheduleLocation
    The location of this object.
    logType string
    name string
    protocol LogExportScheduleProtocol
    startTime string
    Time to start the scheduled export hh:mm (e.g. 03:30)
    description str
    enable bool
    location LogExportScheduleLocationArgs
    The location of this object.
    log_type str
    name str
    protocol LogExportScheduleProtocolArgs
    start_time str
    Time to start the scheduled export hh:mm (e.g. 03:30)
    description String
    enable Boolean
    location Property Map
    The location of this object.
    logType String
    name String
    protocol Property Map
    startTime String
    Time to start the scheduled export hh:mm (e.g. 03:30)

    Supporting Types

    LogExportScheduleLocation, LogExportScheduleLocationArgs

    System LogExportScheduleLocationSystem
    System-level configuration
    Template LogExportScheduleLocationTemplate
    Located in a specific template
    TemplateStack LogExportScheduleLocationTemplateStack
    Located in a specific template stack
    System LogExportScheduleLocationSystem
    System-level configuration
    Template LogExportScheduleLocationTemplate
    Located in a specific template
    TemplateStack LogExportScheduleLocationTemplateStack
    Located in a specific template stack
    system LogExportScheduleLocationSystem
    System-level configuration
    template LogExportScheduleLocationTemplate
    Located in a specific template
    templateStack LogExportScheduleLocationTemplateStack
    Located in a specific template stack
    system LogExportScheduleLocationSystem
    System-level configuration
    template LogExportScheduleLocationTemplate
    Located in a specific template
    templateStack LogExportScheduleLocationTemplateStack
    Located in a specific template stack
    system LogExportScheduleLocationSystem
    System-level configuration
    template LogExportScheduleLocationTemplate
    Located in a specific template
    template_stack LogExportScheduleLocationTemplateStack
    Located in a specific template stack
    system Property Map
    System-level configuration
    template Property Map
    Located in a specific template
    templateStack Property Map
    Located in a specific template stack

    LogExportScheduleLocationSystem, LogExportScheduleLocationSystemArgs

    Device string
    Device
    Device string
    Device
    device String
    Device
    device string
    Device
    device str
    Device
    device String
    Device

    LogExportScheduleLocationTemplate, LogExportScheduleLocationTemplateArgs

    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    LogExportScheduleLocationTemplateStack, LogExportScheduleLocationTemplateStackArgs

    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template stack
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template stack
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template stack
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template stack
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device

    LogExportScheduleProtocol, LogExportScheduleProtocolArgs

    LogExportScheduleProtocolFtp, LogExportScheduleProtocolFtpArgs

    Hostname string
    ftp hostname
    PassiveMode bool
    Enable FTP Passive Mode
    Password string
    ftp password
    Path string
    ftp server path
    Port double
    ftp port
    Username string
    ftp username
    Hostname string
    ftp hostname
    PassiveMode bool
    Enable FTP Passive Mode
    Password string
    ftp password
    Path string
    ftp server path
    Port float64
    ftp port
    Username string
    ftp username
    hostname String
    ftp hostname
    passiveMode Boolean
    Enable FTP Passive Mode
    password String
    ftp password
    path String
    ftp server path
    port Double
    ftp port
    username String
    ftp username
    hostname string
    ftp hostname
    passiveMode boolean
    Enable FTP Passive Mode
    password string
    ftp password
    path string
    ftp server path
    port number
    ftp port
    username string
    ftp username
    hostname str
    ftp hostname
    passive_mode bool
    Enable FTP Passive Mode
    password str
    ftp password
    path str
    ftp server path
    port float
    ftp port
    username str
    ftp username
    hostname String
    ftp hostname
    passiveMode Boolean
    Enable FTP Passive Mode
    password String
    ftp password
    path String
    ftp server path
    port Number
    ftp port
    username String
    ftp username

    LogExportScheduleProtocolScp, LogExportScheduleProtocolScpArgs

    Hostname string
    ftp hostname
    Password string
    scp password
    Path string
    scp server path
    Port double
    scp port
    Username string
    scp username
    Hostname string
    ftp hostname
    Password string
    scp password
    Path string
    scp server path
    Port float64
    scp port
    Username string
    scp username
    hostname String
    ftp hostname
    password String
    scp password
    path String
    scp server path
    port Double
    scp port
    username String
    scp username
    hostname string
    ftp hostname
    password string
    scp password
    path string
    scp server path
    port number
    scp port
    username string
    scp username
    hostname str
    ftp hostname
    password str
    scp password
    path str
    scp server path
    port float
    scp port
    username str
    scp username
    hostname String
    ftp hostname
    password String
    scp password
    path String
    scp server path
    port Number
    scp port
    username String
    scp username

    Import

    A log export schedule can be imported by providing the following base64 encoded object as the ID

    {

    location = {

    template = {
    
      name            = "example-template"
    
      panorama_device = "localhost.localdomain"
    
    }
    

    }

    name = “ftp-export-schedule”

    }

    $ pulumi import panos:index/logExportSchedule:LogExportSchedule ftp_example $(echo '{"location":{"template":{"name":"example-template","panorama_device":"localhost.localdomain"}},"name":"ftp-export-schedule"}' | base64)
    

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

    Package Details

    Repository
    panos paloaltonetworks/terraform-provider-panos
    License
    Notes
    This Pulumi package is based on the panos Terraform Provider.
    Viewing docs for panos 2.0.10
    published on Thursday, Apr 9, 2026 by paloaltonetworks
      Try Pulumi Cloud free. Your team will thank you.