1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. LogForwardingProfile
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
scm logo
Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi

    LogForwardingProfile resource

    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: Optional[LogForwardingProfileArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogForwardingProfile(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             description: Optional[str] = None,
                             device: Optional[str] = None,
                             folder: Optional[str] = None,
                             match_lists: Optional[Sequence[LogForwardingProfileMatchListArgs]] = None,
                             name: Optional[str] = None,
                             snippet: Optional[str] = None)
    func NewLogForwardingProfile(ctx *Context, name string, args *LogForwardingProfileArgs, opts ...ResourceOption) (*LogForwardingProfile, error)
    public LogForwardingProfile(string name, LogForwardingProfileArgs? args = null, CustomResourceOptions? opts = null)
    public LogForwardingProfile(String name, LogForwardingProfileArgs args)
    public LogForwardingProfile(String name, LogForwardingProfileArgs args, CustomResourceOptions options)
    
    type: scm: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 Scm.LogForwardingProfile("logForwardingProfileResource", new()
    {
        Description = "string",
        Device = "string",
        Folder = "string",
        MatchLists = new[]
        {
            new Scm.Inputs.LogForwardingProfileMatchListArgs
            {
                ActionDesc = "string",
                Filter = "string",
                LogType = "string",
                Name = "string",
                SendHttps = new[]
                {
                    "string",
                },
                SendSyslogs = new[]
                {
                    "string",
                },
            },
        },
        Name = "string",
        Snippet = "string",
    });
    
    example, err := scm.NewLogForwardingProfile(ctx, "logForwardingProfileResource", &scm.LogForwardingProfileArgs{
    	Description: pulumi.String("string"),
    	Device:      pulumi.String("string"),
    	Folder:      pulumi.String("string"),
    	MatchLists: scm.LogForwardingProfileMatchListArray{
    		&scm.LogForwardingProfileMatchListArgs{
    			ActionDesc: pulumi.String("string"),
    			Filter:     pulumi.String("string"),
    			LogType:    pulumi.String("string"),
    			Name:       pulumi.String("string"),
    			SendHttps: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SendSyslogs: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Name:    pulumi.String("string"),
    	Snippet: pulumi.String("string"),
    })
    
    var logForwardingProfileResource = new LogForwardingProfile("logForwardingProfileResource", LogForwardingProfileArgs.builder()
        .description("string")
        .device("string")
        .folder("string")
        .matchLists(LogForwardingProfileMatchListArgs.builder()
            .actionDesc("string")
            .filter("string")
            .logType("string")
            .name("string")
            .sendHttps("string")
            .sendSyslogs("string")
            .build())
        .name("string")
        .snippet("string")
        .build());
    
    log_forwarding_profile_resource = scm.LogForwardingProfile("logForwardingProfileResource",
        description="string",
        device="string",
        folder="string",
        match_lists=[{
            "action_desc": "string",
            "filter": "string",
            "log_type": "string",
            "name": "string",
            "send_https": ["string"],
            "send_syslogs": ["string"],
        }],
        name="string",
        snippet="string")
    
    const logForwardingProfileResource = new scm.LogForwardingProfile("logForwardingProfileResource", {
        description: "string",
        device: "string",
        folder: "string",
        matchLists: [{
            actionDesc: "string",
            filter: "string",
            logType: "string",
            name: "string",
            sendHttps: ["string"],
            sendSyslogs: ["string"],
        }],
        name: "string",
        snippet: "string",
    });
    
    type: scm:LogForwardingProfile
    properties:
        description: string
        device: string
        folder: string
        matchLists:
            - actionDesc: string
              filter: string
              logType: string
              name: string
              sendHttps:
                - string
              sendSyslogs:
                - string
        name: string
        snippet: 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:

    Description string
    Log forwarding profile description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    MatchLists List<LogForwardingProfileMatchList>
    Match list
    Name string
    The name of the log forwarding profile
    Snippet string
    The snippet in which the resource is defined
    Description string
    Log forwarding profile description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    MatchLists []LogForwardingProfileMatchListArgs
    Match list
    Name string
    The name of the log forwarding profile
    Snippet string
    The snippet in which the resource is defined
    description String
    Log forwarding profile description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    matchLists List<LogForwardingProfileMatchList>
    Match list
    name String
    The name of the log forwarding profile
    snippet String
    The snippet in which the resource is defined
    description string
    Log forwarding profile description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    matchLists LogForwardingProfileMatchList[]
    Match list
    name string
    The name of the log forwarding profile
    snippet string
    The snippet in which the resource is defined
    description str
    Log forwarding profile description
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    match_lists Sequence[LogForwardingProfileMatchListArgs]
    Match list
    name str
    The name of the log forwarding profile
    snippet str
    The snippet in which the resource is defined
    description String
    Log forwarding profile description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    matchLists List<Property Map>
    Match list
    name String
    The name of the log forwarding profile
    snippet String
    The snippet in which the resource is defined

    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.
    Tfid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Tfid string
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String
    id string
    The provider-assigned unique ID for this managed resource.
    tfid string
    id str
    The provider-assigned unique ID for this managed resource.
    tfid str
    id String
    The provider-assigned unique ID for this managed resource.
    tfid String

    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,
            device: Optional[str] = None,
            folder: Optional[str] = None,
            match_lists: Optional[Sequence[LogForwardingProfileMatchListArgs]] = None,
            name: Optional[str] = None,
            snippet: Optional[str] = None,
            tfid: 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: scm: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.
    The following state arguments are supported:
    Description string
    Log forwarding profile description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    MatchLists List<LogForwardingProfileMatchList>
    Match list
    Name string
    The name of the log forwarding profile
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    Description string
    Log forwarding profile description
    Device string
    The device in which the resource is defined
    Folder string
    The folder in which the resource is defined
    MatchLists []LogForwardingProfileMatchListArgs
    Match list
    Name string
    The name of the log forwarding profile
    Snippet string
    The snippet in which the resource is defined
    Tfid string
    description String
    Log forwarding profile description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    matchLists List<LogForwardingProfileMatchList>
    Match list
    name String
    The name of the log forwarding profile
    snippet String
    The snippet in which the resource is defined
    tfid String
    description string
    Log forwarding profile description
    device string
    The device in which the resource is defined
    folder string
    The folder in which the resource is defined
    matchLists LogForwardingProfileMatchList[]
    Match list
    name string
    The name of the log forwarding profile
    snippet string
    The snippet in which the resource is defined
    tfid string
    description str
    Log forwarding profile description
    device str
    The device in which the resource is defined
    folder str
    The folder in which the resource is defined
    match_lists Sequence[LogForwardingProfileMatchListArgs]
    Match list
    name str
    The name of the log forwarding profile
    snippet str
    The snippet in which the resource is defined
    tfid str
    description String
    Log forwarding profile description
    device String
    The device in which the resource is defined
    folder String
    The folder in which the resource is defined
    matchLists List<Property Map>
    Match list
    name String
    The name of the log forwarding profile
    snippet String
    The snippet in which the resource is defined
    tfid String

    Supporting Types

    LogForwardingProfileMatchList, LogForwardingProfileMatchListArgs

    ActionDesc string
    Match profile description
    Filter string
    Filter match criteria
    LogType string
    Log type
    Name string
    Name of the match profile
    SendHttps List<string>
    A list of HTTP server profiles
    SendSyslogs List<string>
    A list of syslog server profiles
    ActionDesc string
    Match profile description
    Filter string
    Filter match criteria
    LogType string
    Log type
    Name string
    Name of the match profile
    SendHttps []string
    A list of HTTP server profiles
    SendSyslogs []string
    A list of syslog server profiles
    actionDesc String
    Match profile description
    filter String
    Filter match criteria
    logType String
    Log type
    name String
    Name of the match profile
    sendHttps List<String>
    A list of HTTP server profiles
    sendSyslogs List<String>
    A list of syslog server profiles
    actionDesc string
    Match profile description
    filter string
    Filter match criteria
    logType string
    Log type
    name string
    Name of the match profile
    sendHttps string[]
    A list of HTTP server profiles
    sendSyslogs string[]
    A list of syslog server profiles
    action_desc str
    Match profile description
    filter str
    Filter match criteria
    log_type str
    Log type
    name str
    Name of the match profile
    send_https Sequence[str]
    A list of HTTP server profiles
    send_syslogs Sequence[str]
    A list of syslog server profiles
    actionDesc String
    Match profile description
    filter String
    Filter match criteria
    logType String
    Log type
    name String
    Name of the match profile
    sendHttps List<String>
    A list of HTTP server profiles
    sendSyslogs List<String>
    A list of syslog server profiles

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.4.3 published on Saturday, Nov 8, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate