1. Packages
  2. Panos Provider
  3. API Docs
  4. GlobalprotectLogSettings
panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks
panos logo
panos 2.0.7 published on Thursday, Nov 27, 2025 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",
    });
    const exampleGlobalprotectLogSettings = new panos.GlobalprotectLogSettings("example", {
        location: {
            template: {
                name: example.name,
            },
        },
        name: "example-gp-settings",
        description: "globalprotect log settings example",
        filter: "(severity eq high)",
        sendToPanorama: true,
        actions: [{
            name: "tag-action",
            type: {
                tagging: {
                    action: "add-tag",
                    target: "source-address",
                    tags: [
                        "tag1",
                        "tag2",
                    ],
                    registration: {
                        panorama: {},
                    },
                },
            },
        }],
    });
    
    import pulumi
    import pulumi_panos as panos
    
    example = panos.Template("example",
        location={
            "panorama": {},
        },
        name="example-template")
    example_globalprotect_log_settings = panos.GlobalprotectLogSettings("example",
        location={
            "template": {
                "name": example.name,
            },
        },
        name="example-gp-settings",
        description="globalprotect log settings example",
        filter="(severity eq high)",
        send_to_panorama=True,
        actions=[{
            "name": "tag-action",
            "type": {
                "tagging": {
                    "action": "add-tag",
                    "target": "source-address",
                    "tags": [
                        "tag1",
                        "tag2",
                    ],
                    "registration": {
                        "panorama": {},
                    },
                },
            },
        }])
    
    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
    		}
    		_, err = panos.NewGlobalprotectLogSettings(ctx, "example", &panos.GlobalprotectLogSettingsArgs{
    			Location: &panos.GlobalprotectLogSettingsLocationArgs{
    				Template: &panos.GlobalprotectLogSettingsLocationTemplateArgs{
    					Name: example.Name,
    				},
    			},
    			Name:           pulumi.String("example-gp-settings"),
    			Description:    pulumi.String("globalprotect log settings example"),
    			Filter:         pulumi.String("(severity eq high)"),
    			SendToPanorama: pulumi.Bool(true),
    			Actions: panos.GlobalprotectLogSettingsActionArray{
    				&panos.GlobalprotectLogSettingsActionArgs{
    					Name: pulumi.String("tag-action"),
    					Type: &panos.GlobalprotectLogSettingsActionTypeArgs{
    						Tagging: &panos.GlobalprotectLogSettingsActionTypeTaggingArgs{
    							Action: pulumi.String("add-tag"),
    							Target: pulumi.String("source-address"),
    							Tags: pulumi.StringArray{
    								pulumi.String("tag1"),
    								pulumi.String("tag2"),
    							},
    							Registration: &panos.GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs{
    								Panorama: &panos.GlobalprotectLogSettingsActionTypeTaggingRegistrationPanoramaArgs{},
    							},
    						},
    					},
    				},
    			},
    		})
    		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",
        });
    
        var exampleGlobalprotectLogSettings = new Panos.GlobalprotectLogSettings("example", new()
        {
            Location = new Panos.Inputs.GlobalprotectLogSettingsLocationArgs
            {
                Template = new Panos.Inputs.GlobalprotectLogSettingsLocationTemplateArgs
                {
                    Name = example.Name,
                },
            },
            Name = "example-gp-settings",
            Description = "globalprotect log settings example",
            Filter = "(severity eq high)",
            SendToPanorama = true,
            Actions = new[]
            {
                new Panos.Inputs.GlobalprotectLogSettingsActionArgs
                {
                    Name = "tag-action",
                    Type = new Panos.Inputs.GlobalprotectLogSettingsActionTypeArgs
                    {
                        Tagging = new Panos.Inputs.GlobalprotectLogSettingsActionTypeTaggingArgs
                        {
                            Action = "add-tag",
                            Target = "source-address",
                            Tags = new[]
                            {
                                "tag1",
                                "tag2",
                            },
                            Registration = new Panos.Inputs.GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs
                            {
                                Panorama = null,
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    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.GlobalprotectLogSettings;
    import com.pulumi.panos.GlobalprotectLogSettingsArgs;
    import com.pulumi.panos.inputs.GlobalprotectLogSettingsLocationArgs;
    import com.pulumi.panos.inputs.GlobalprotectLogSettingsLocationTemplateArgs;
    import com.pulumi.panos.inputs.GlobalprotectLogSettingsActionArgs;
    import com.pulumi.panos.inputs.GlobalprotectLogSettingsActionTypeArgs;
    import com.pulumi.panos.inputs.GlobalprotectLogSettingsActionTypeTaggingArgs;
    import com.pulumi.panos.inputs.GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs;
    import com.pulumi.panos.inputs.GlobalprotectLogSettingsActionTypeTaggingRegistrationPanoramaArgs;
    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());
    
            var exampleGlobalprotectLogSettings = new GlobalprotectLogSettings("exampleGlobalprotectLogSettings", GlobalprotectLogSettingsArgs.builder()
                .location(GlobalprotectLogSettingsLocationArgs.builder()
                    .template(GlobalprotectLogSettingsLocationTemplateArgs.builder()
                        .name(example.name())
                        .build())
                    .build())
                .name("example-gp-settings")
                .description("globalprotect log settings example")
                .filter("(severity eq high)")
                .sendToPanorama(true)
                .actions(GlobalprotectLogSettingsActionArgs.builder()
                    .name("tag-action")
                    .type(GlobalprotectLogSettingsActionTypeArgs.builder()
                        .tagging(GlobalprotectLogSettingsActionTypeTaggingArgs.builder()
                            .action("add-tag")
                            .target("source-address")
                            .tags(                        
                                "tag1",
                                "tag2")
                            .registration(GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs.builder()
                                .panorama(GlobalprotectLogSettingsActionTypeTaggingRegistrationPanoramaArgs.builder()
                                    .build())
                                .build())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: panos:Template
        properties:
          location:
            panorama: {}
          name: example-template
      exampleGlobalprotectLogSettings:
        type: panos:GlobalprotectLogSettings
        name: example
        properties:
          location:
            template:
              name: ${example.name}
          name: example-gp-settings
          description: globalprotect log settings example
          filter: (severity eq high)
          sendToPanorama: true
          actions:
            - name: tag-action
              type:
                tagging:
                  action: add-tag
                  target: source-address
                  tags:
                    - tag1
                    - tag2
                  registration:
                    panorama: {}
    

    Create GlobalprotectLogSettings Resource

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

    Constructor syntax

    new GlobalprotectLogSettings(name: string, args: GlobalprotectLogSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def GlobalprotectLogSettings(resource_name: str,
                                 args: GlobalprotectLogSettingsArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def GlobalprotectLogSettings(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 location: Optional[GlobalprotectLogSettingsLocationArgs] = None,
                                 actions: Optional[Sequence[GlobalprotectLogSettingsActionArgs]] = None,
                                 description: Optional[str] = None,
                                 email_profiles: Optional[Sequence[str]] = None,
                                 filter: Optional[str] = None,
                                 http_profiles: Optional[Sequence[str]] = None,
                                 name: Optional[str] = None,
                                 quarantine: Optional[bool] = None,
                                 send_to_panorama: Optional[bool] = None,
                                 snmp_profiles: Optional[Sequence[str]] = None,
                                 syslog_profiles: Optional[Sequence[str]] = None)
    func NewGlobalprotectLogSettings(ctx *Context, name string, args GlobalprotectLogSettingsArgs, opts ...ResourceOption) (*GlobalprotectLogSettings, error)
    public GlobalprotectLogSettings(string name, GlobalprotectLogSettingsArgs args, CustomResourceOptions? opts = null)
    public GlobalprotectLogSettings(String name, GlobalprotectLogSettingsArgs args)
    public GlobalprotectLogSettings(String name, GlobalprotectLogSettingsArgs args, CustomResourceOptions options)
    
    type: panos:GlobalprotectLogSettings
    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 GlobalprotectLogSettingsArgs
    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 GlobalprotectLogSettingsArgs
    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 GlobalprotectLogSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GlobalprotectLogSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GlobalprotectLogSettingsArgs
    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 globalprotectLogSettingsResource = new Panos.GlobalprotectLogSettings("globalprotectLogSettingsResource", new()
    {
        Location = new Panos.Inputs.GlobalprotectLogSettingsLocationArgs
        {
            Panorama = null,
            Template = new Panos.Inputs.GlobalprotectLogSettingsLocationTemplateArgs
            {
                Name = "string",
                PanoramaDevice = "string",
            },
            TemplateStack = new Panos.Inputs.GlobalprotectLogSettingsLocationTemplateStackArgs
            {
                Name = "string",
                PanoramaDevice = "string",
            },
            TemplateStackVsys = new Panos.Inputs.GlobalprotectLogSettingsLocationTemplateStackVsysArgs
            {
                NgfwDevice = "string",
                PanoramaDevice = "string",
                TemplateStack = "string",
                Vsys = "string",
            },
            TemplateVsys = new Panos.Inputs.GlobalprotectLogSettingsLocationTemplateVsysArgs
            {
                NgfwDevice = "string",
                PanoramaDevice = "string",
                Template = "string",
                Vsys = "string",
            },
        },
        Actions = new[]
        {
            new Panos.Inputs.GlobalprotectLogSettingsActionArgs
            {
                Name = "string",
                Type = new Panos.Inputs.GlobalprotectLogSettingsActionTypeArgs
                {
                    Integration = new Panos.Inputs.GlobalprotectLogSettingsActionTypeIntegrationArgs
                    {
                        Action = "string",
                    },
                    Tagging = new Panos.Inputs.GlobalprotectLogSettingsActionTypeTaggingArgs
                    {
                        Action = "string",
                        Registration = new Panos.Inputs.GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs
                        {
                            Localhost = null,
                            Panorama = null,
                            Remote = new Panos.Inputs.GlobalprotectLogSettingsActionTypeTaggingRegistrationRemoteArgs
                            {
                                HttpProfile = "string",
                            },
                        },
                        Tags = new[]
                        {
                            "string",
                        },
                        Target = "string",
                        Timeout = 0,
                    },
                },
            },
        },
        Description = "string",
        EmailProfiles = new[]
        {
            "string",
        },
        Filter = "string",
        HttpProfiles = new[]
        {
            "string",
        },
        Name = "string",
        Quarantine = false,
        SendToPanorama = false,
        SnmpProfiles = new[]
        {
            "string",
        },
        SyslogProfiles = new[]
        {
            "string",
        },
    });
    
    example, err := panos.NewGlobalprotectLogSettings(ctx, "globalprotectLogSettingsResource", &panos.GlobalprotectLogSettingsArgs{
    	Location: &panos.GlobalprotectLogSettingsLocationArgs{
    		Panorama: &panos.GlobalprotectLogSettingsLocationPanoramaArgs{},
    		Template: &panos.GlobalprotectLogSettingsLocationTemplateArgs{
    			Name:           pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStack: &panos.GlobalprotectLogSettingsLocationTemplateStackArgs{
    			Name:           pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    		},
    		TemplateStackVsys: &panos.GlobalprotectLogSettingsLocationTemplateStackVsysArgs{
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    			TemplateStack:  pulumi.String("string"),
    			Vsys:           pulumi.String("string"),
    		},
    		TemplateVsys: &panos.GlobalprotectLogSettingsLocationTemplateVsysArgs{
    			NgfwDevice:     pulumi.String("string"),
    			PanoramaDevice: pulumi.String("string"),
    			Template:       pulumi.String("string"),
    			Vsys:           pulumi.String("string"),
    		},
    	},
    	Actions: panos.GlobalprotectLogSettingsActionArray{
    		&panos.GlobalprotectLogSettingsActionArgs{
    			Name: pulumi.String("string"),
    			Type: &panos.GlobalprotectLogSettingsActionTypeArgs{
    				Integration: &panos.GlobalprotectLogSettingsActionTypeIntegrationArgs{
    					Action: pulumi.String("string"),
    				},
    				Tagging: &panos.GlobalprotectLogSettingsActionTypeTaggingArgs{
    					Action: pulumi.String("string"),
    					Registration: &panos.GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs{
    						Localhost: &panos.GlobalprotectLogSettingsActionTypeTaggingRegistrationLocalhostArgs{},
    						Panorama:  &panos.GlobalprotectLogSettingsActionTypeTaggingRegistrationPanoramaArgs{},
    						Remote: &panos.GlobalprotectLogSettingsActionTypeTaggingRegistrationRemoteArgs{
    							HttpProfile: pulumi.String("string"),
    						},
    					},
    					Tags: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Target:  pulumi.String("string"),
    					Timeout: pulumi.Float64(0),
    				},
    			},
    		},
    	},
    	Description: pulumi.String("string"),
    	EmailProfiles: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Filter: pulumi.String("string"),
    	HttpProfiles: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:           pulumi.String("string"),
    	Quarantine:     pulumi.Bool(false),
    	SendToPanorama: pulumi.Bool(false),
    	SnmpProfiles: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SyslogProfiles: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var globalprotectLogSettingsResource = new GlobalprotectLogSettings("globalprotectLogSettingsResource", GlobalprotectLogSettingsArgs.builder()
        .location(GlobalprotectLogSettingsLocationArgs.builder()
            .panorama(GlobalprotectLogSettingsLocationPanoramaArgs.builder()
                .build())
            .template(GlobalprotectLogSettingsLocationTemplateArgs.builder()
                .name("string")
                .panoramaDevice("string")
                .build())
            .templateStack(GlobalprotectLogSettingsLocationTemplateStackArgs.builder()
                .name("string")
                .panoramaDevice("string")
                .build())
            .templateStackVsys(GlobalprotectLogSettingsLocationTemplateStackVsysArgs.builder()
                .ngfwDevice("string")
                .panoramaDevice("string")
                .templateStack("string")
                .vsys("string")
                .build())
            .templateVsys(GlobalprotectLogSettingsLocationTemplateVsysArgs.builder()
                .ngfwDevice("string")
                .panoramaDevice("string")
                .template("string")
                .vsys("string")
                .build())
            .build())
        .actions(GlobalprotectLogSettingsActionArgs.builder()
            .name("string")
            .type(GlobalprotectLogSettingsActionTypeArgs.builder()
                .integration(GlobalprotectLogSettingsActionTypeIntegrationArgs.builder()
                    .action("string")
                    .build())
                .tagging(GlobalprotectLogSettingsActionTypeTaggingArgs.builder()
                    .action("string")
                    .registration(GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs.builder()
                        .localhost(GlobalprotectLogSettingsActionTypeTaggingRegistrationLocalhostArgs.builder()
                            .build())
                        .panorama(GlobalprotectLogSettingsActionTypeTaggingRegistrationPanoramaArgs.builder()
                            .build())
                        .remote(GlobalprotectLogSettingsActionTypeTaggingRegistrationRemoteArgs.builder()
                            .httpProfile("string")
                            .build())
                        .build())
                    .tags("string")
                    .target("string")
                    .timeout(0.0)
                    .build())
                .build())
            .build())
        .description("string")
        .emailProfiles("string")
        .filter("string")
        .httpProfiles("string")
        .name("string")
        .quarantine(false)
        .sendToPanorama(false)
        .snmpProfiles("string")
        .syslogProfiles("string")
        .build());
    
    globalprotect_log_settings_resource = panos.GlobalprotectLogSettings("globalprotectLogSettingsResource",
        location={
            "panorama": {},
            "template": {
                "name": "string",
                "panorama_device": "string",
            },
            "template_stack": {
                "name": "string",
                "panorama_device": "string",
            },
            "template_stack_vsys": {
                "ngfw_device": "string",
                "panorama_device": "string",
                "template_stack": "string",
                "vsys": "string",
            },
            "template_vsys": {
                "ngfw_device": "string",
                "panorama_device": "string",
                "template": "string",
                "vsys": "string",
            },
        },
        actions=[{
            "name": "string",
            "type": {
                "integration": {
                    "action": "string",
                },
                "tagging": {
                    "action": "string",
                    "registration": {
                        "localhost": {},
                        "panorama": {},
                        "remote": {
                            "http_profile": "string",
                        },
                    },
                    "tags": ["string"],
                    "target": "string",
                    "timeout": 0,
                },
            },
        }],
        description="string",
        email_profiles=["string"],
        filter="string",
        http_profiles=["string"],
        name="string",
        quarantine=False,
        send_to_panorama=False,
        snmp_profiles=["string"],
        syslog_profiles=["string"])
    
    const globalprotectLogSettingsResource = new panos.GlobalprotectLogSettings("globalprotectLogSettingsResource", {
        location: {
            panorama: {},
            template: {
                name: "string",
                panoramaDevice: "string",
            },
            templateStack: {
                name: "string",
                panoramaDevice: "string",
            },
            templateStackVsys: {
                ngfwDevice: "string",
                panoramaDevice: "string",
                templateStack: "string",
                vsys: "string",
            },
            templateVsys: {
                ngfwDevice: "string",
                panoramaDevice: "string",
                template: "string",
                vsys: "string",
            },
        },
        actions: [{
            name: "string",
            type: {
                integration: {
                    action: "string",
                },
                tagging: {
                    action: "string",
                    registration: {
                        localhost: {},
                        panorama: {},
                        remote: {
                            httpProfile: "string",
                        },
                    },
                    tags: ["string"],
                    target: "string",
                    timeout: 0,
                },
            },
        }],
        description: "string",
        emailProfiles: ["string"],
        filter: "string",
        httpProfiles: ["string"],
        name: "string",
        quarantine: false,
        sendToPanorama: false,
        snmpProfiles: ["string"],
        syslogProfiles: ["string"],
    });
    
    type: panos:GlobalprotectLogSettings
    properties:
        actions:
            - name: string
              type:
                integration:
                    action: string
                tagging:
                    action: string
                    registration:
                        localhost: {}
                        panorama: {}
                        remote:
                            httpProfile: string
                    tags:
                        - string
                    target: string
                    timeout: 0
        description: string
        emailProfiles:
            - string
        filter: string
        httpProfiles:
            - string
        location:
            panorama: {}
            template:
                name: string
                panoramaDevice: string
            templateStack:
                name: string
                panoramaDevice: string
            templateStackVsys:
                ngfwDevice: string
                panoramaDevice: string
                templateStack: string
                vsys: string
            templateVsys:
                ngfwDevice: string
                panoramaDevice: string
                template: string
                vsys: string
        name: string
        quarantine: false
        sendToPanorama: false
        snmpProfiles:
            - string
        syslogProfiles:
            - string
    

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

    location Property Map
    The location of this object.
    actions List<Property Map>
    description String
    emailProfiles List<String>
    filter String
    httpProfiles List<String>
    name String
    quarantine Boolean
    sendToPanorama Boolean
    snmpProfiles List<String>
    syslogProfiles List<String>

    Outputs

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

    Get an existing GlobalprotectLogSettings 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?: GlobalprotectLogSettingsState, opts?: CustomResourceOptions): GlobalprotectLogSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            actions: Optional[Sequence[GlobalprotectLogSettingsActionArgs]] = None,
            description: Optional[str] = None,
            email_profiles: Optional[Sequence[str]] = None,
            filter: Optional[str] = None,
            http_profiles: Optional[Sequence[str]] = None,
            location: Optional[GlobalprotectLogSettingsLocationArgs] = None,
            name: Optional[str] = None,
            quarantine: Optional[bool] = None,
            send_to_panorama: Optional[bool] = None,
            snmp_profiles: Optional[Sequence[str]] = None,
            syslog_profiles: Optional[Sequence[str]] = None) -> GlobalprotectLogSettings
    func GetGlobalprotectLogSettings(ctx *Context, name string, id IDInput, state *GlobalprotectLogSettingsState, opts ...ResourceOption) (*GlobalprotectLogSettings, error)
    public static GlobalprotectLogSettings Get(string name, Input<string> id, GlobalprotectLogSettingsState? state, CustomResourceOptions? opts = null)
    public static GlobalprotectLogSettings get(String name, Output<String> id, GlobalprotectLogSettingsState state, CustomResourceOptions options)
    resources:  _:    type: panos:GlobalprotectLogSettings    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:
    actions List<Property Map>
    description String
    emailProfiles List<String>
    filter String
    httpProfiles List<String>
    location Property Map
    The location of this object.
    name String
    quarantine Boolean
    sendToPanorama Boolean
    snmpProfiles List<String>
    syslogProfiles List<String>

    Supporting Types

    GlobalprotectLogSettingsAction, GlobalprotectLogSettingsActionArgs

    GlobalprotectLogSettingsActionType, GlobalprotectLogSettingsActionTypeArgs

    GlobalprotectLogSettingsActionTypeIntegration, GlobalprotectLogSettingsActionTypeIntegrationArgs

    Action string
    Action string
    action String
    action string
    action str
    action String

    GlobalprotectLogSettingsActionTypeTagging, GlobalprotectLogSettingsActionTypeTaggingArgs

    action String
    registration Property Map
    tags List<String>
    target String
    timeout Number
    timeout in minutes

    GlobalprotectLogSettingsActionTypeTaggingRegistration, GlobalprotectLogSettingsActionTypeTaggingRegistrationArgs

    GlobalprotectLogSettingsActionTypeTaggingRegistrationRemote, GlobalprotectLogSettingsActionTypeTaggingRegistrationRemoteArgs

    GlobalprotectLogSettingsLocation, GlobalprotectLogSettingsLocationArgs

    Panorama GlobalprotectLogSettingsLocationPanorama
    Located in a panorama.
    Template GlobalprotectLogSettingsLocationTemplate
    A shared resource located within a specific template
    TemplateStack GlobalprotectLogSettingsLocationTemplateStack
    Located in a specific template
    TemplateStackVsys GlobalprotectLogSettingsLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    TemplateVsys GlobalprotectLogSettingsLocationTemplateVsys
    Located in a specific template, device and vsys.
    Panorama GlobalprotectLogSettingsLocationPanorama
    Located in a panorama.
    Template GlobalprotectLogSettingsLocationTemplate
    A shared resource located within a specific template
    TemplateStack GlobalprotectLogSettingsLocationTemplateStack
    Located in a specific template
    TemplateStackVsys GlobalprotectLogSettingsLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    TemplateVsys GlobalprotectLogSettingsLocationTemplateVsys
    Located in a specific template, device and vsys.
    panorama GlobalprotectLogSettingsLocationPanorama
    Located in a panorama.
    template GlobalprotectLogSettingsLocationTemplate
    A shared resource located within a specific template
    templateStack GlobalprotectLogSettingsLocationTemplateStack
    Located in a specific template
    templateStackVsys GlobalprotectLogSettingsLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    templateVsys GlobalprotectLogSettingsLocationTemplateVsys
    Located in a specific template, device and vsys.
    panorama GlobalprotectLogSettingsLocationPanorama
    Located in a panorama.
    template GlobalprotectLogSettingsLocationTemplate
    A shared resource located within a specific template
    templateStack GlobalprotectLogSettingsLocationTemplateStack
    Located in a specific template
    templateStackVsys GlobalprotectLogSettingsLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    templateVsys GlobalprotectLogSettingsLocationTemplateVsys
    Located in a specific template, device and vsys.
    panorama GlobalprotectLogSettingsLocationPanorama
    Located in a panorama.
    template GlobalprotectLogSettingsLocationTemplate
    A shared resource located within a specific template
    template_stack GlobalprotectLogSettingsLocationTemplateStack
    Located in a specific template
    template_stack_vsys GlobalprotectLogSettingsLocationTemplateStackVsys
    Located in a specific template, device and vsys.
    template_vsys GlobalprotectLogSettingsLocationTemplateVsys
    Located in a specific template, device and vsys.
    panorama Property Map
    Located in a panorama.
    template Property Map
    A shared resource located within a specific template
    templateStack Property Map
    Located in a specific template
    templateStackVsys Property Map
    Located in a specific template, device and vsys.
    templateVsys Property Map
    Located in a specific template, device and vsys.

    GlobalprotectLogSettingsLocationTemplate, GlobalprotectLogSettingsLocationTemplateArgs

    Name string
    Specific Panorama template
    PanoramaDevice string
    Specific Panorama device
    Name string
    Specific Panorama template
    PanoramaDevice string
    Specific Panorama device
    name String
    Specific Panorama template
    panoramaDevice String
    Specific Panorama device
    name string
    Specific Panorama template
    panoramaDevice string
    Specific Panorama device
    name str
    Specific Panorama template
    panorama_device str
    Specific Panorama device
    name String
    Specific Panorama template
    panoramaDevice String
    Specific Panorama device

    GlobalprotectLogSettingsLocationTemplateStack, GlobalprotectLogSettingsLocationTemplateStackArgs

    Name string
    The template stack
    PanoramaDevice string
    Specific Panorama device
    Name string
    The template stack
    PanoramaDevice string
    Specific Panorama device
    name String
    The template stack
    panoramaDevice String
    Specific Panorama device
    name string
    The template stack
    panoramaDevice string
    Specific Panorama device
    name str
    The template stack
    panorama_device str
    Specific Panorama device
    name String
    The template stack
    panoramaDevice String
    Specific Panorama device

    GlobalprotectLogSettingsLocationTemplateStackVsys, GlobalprotectLogSettingsLocationTemplateStackVsysArgs

    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    TemplateStack string
    The template stack
    Vsys string
    The vsys.
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    TemplateStack string
    The template stack
    Vsys string
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    templateStack String
    The template stack
    vsys String
    The vsys.
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    templateStack string
    The template stack
    vsys string
    The vsys.
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    template_stack str
    The template stack
    vsys str
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    templateStack String
    The template stack
    vsys String
    The vsys.

    GlobalprotectLogSettingsLocationTemplateVsys, GlobalprotectLogSettingsLocationTemplateVsysArgs

    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Template string
    Specific Panorama template
    Vsys string
    The vsys.
    NgfwDevice string
    The NGFW device
    PanoramaDevice string
    Specific Panorama device
    Template string
    Specific Panorama template
    Vsys string
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    template String
    Specific Panorama template
    vsys String
    The vsys.
    ngfwDevice string
    The NGFW device
    panoramaDevice string
    Specific Panorama device
    template string
    Specific Panorama template
    vsys string
    The vsys.
    ngfw_device str
    The NGFW device
    panorama_device str
    Specific Panorama device
    template str
    Specific Panorama template
    vsys str
    The vsys.
    ngfwDevice String
    The NGFW device
    panoramaDevice String
    Specific Panorama device
    template String
    Specific Panorama template
    vsys String
    The vsys.

    Import

    The pulumi import command can be used, for example:

    A globalprotect log setting can be imported by providing the following base64 encoded object as the ID

    {

    location = {

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

    }

    name = “example-gp-settings”

    }

    $ pulumi import panos:index/globalprotectLogSettings:GlobalprotectLogSettings example $(echo '{"location":{"template":{"name":"example-template","panorama_device":"localhost.localdomain"}},"name":"example-gp-settings"}' | 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.
    panos logo
    panos 2.0.7 published on Thursday, Nov 27, 2025 by paloaltonetworks
      Meet Neo: Your AI Platform Teammate