1. Packages
  2. Akeyless Provider
  3. API Docs
  4. GatewayLogForwardingSyslog
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

akeyless.GatewayLogForwardingSyslog

Explore with Pulumi AI

akeyless logo
akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community

    Log Forwarding config for syslog

    Create GatewayLogForwardingSyslog Resource

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

    Constructor syntax

    new GatewayLogForwardingSyslog(name: string, args?: GatewayLogForwardingSyslogArgs, opts?: CustomResourceOptions);
    @overload
    def GatewayLogForwardingSyslog(resource_name: str,
                                   args: Optional[GatewayLogForwardingSyslogArgs] = None,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewayLogForwardingSyslog(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   enable: Optional[str] = None,
                                   enable_tls: Optional[bool] = None,
                                   formatter: Optional[str] = None,
                                   gateway_log_forwarding_syslog_id: Optional[str] = None,
                                   host: Optional[str] = None,
                                   network: Optional[str] = None,
                                   output_format: Optional[str] = None,
                                   pull_interval: Optional[str] = None,
                                   target_tag: Optional[str] = None,
                                   tls_certificate: Optional[str] = None)
    func NewGatewayLogForwardingSyslog(ctx *Context, name string, args *GatewayLogForwardingSyslogArgs, opts ...ResourceOption) (*GatewayLogForwardingSyslog, error)
    public GatewayLogForwardingSyslog(string name, GatewayLogForwardingSyslogArgs? args = null, CustomResourceOptions? opts = null)
    public GatewayLogForwardingSyslog(String name, GatewayLogForwardingSyslogArgs args)
    public GatewayLogForwardingSyslog(String name, GatewayLogForwardingSyslogArgs args, CustomResourceOptions options)
    
    type: akeyless:GatewayLogForwardingSyslog
    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 GatewayLogForwardingSyslogArgs
    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 GatewayLogForwardingSyslogArgs
    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 GatewayLogForwardingSyslogArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GatewayLogForwardingSyslogArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GatewayLogForwardingSyslogArgs
    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 gatewayLogForwardingSyslogResource = new Akeyless.GatewayLogForwardingSyslog("gatewayLogForwardingSyslogResource", new()
    {
        Enable = "string",
        EnableTls = false,
        Formatter = "string",
        GatewayLogForwardingSyslogId = "string",
        Host = "string",
        Network = "string",
        OutputFormat = "string",
        PullInterval = "string",
        TargetTag = "string",
        TlsCertificate = "string",
    });
    
    example, err := akeyless.NewGatewayLogForwardingSyslog(ctx, "gatewayLogForwardingSyslogResource", &akeyless.GatewayLogForwardingSyslogArgs{
    	Enable:                       pulumi.String("string"),
    	EnableTls:                    pulumi.Bool(false),
    	Formatter:                    pulumi.String("string"),
    	GatewayLogForwardingSyslogId: pulumi.String("string"),
    	Host:                         pulumi.String("string"),
    	Network:                      pulumi.String("string"),
    	OutputFormat:                 pulumi.String("string"),
    	PullInterval:                 pulumi.String("string"),
    	TargetTag:                    pulumi.String("string"),
    	TlsCertificate:               pulumi.String("string"),
    })
    
    var gatewayLogForwardingSyslogResource = new GatewayLogForwardingSyslog("gatewayLogForwardingSyslogResource", GatewayLogForwardingSyslogArgs.builder()
        .enable("string")
        .enableTls(false)
        .formatter("string")
        .gatewayLogForwardingSyslogId("string")
        .host("string")
        .network("string")
        .outputFormat("string")
        .pullInterval("string")
        .targetTag("string")
        .tlsCertificate("string")
        .build());
    
    gateway_log_forwarding_syslog_resource = akeyless.GatewayLogForwardingSyslog("gatewayLogForwardingSyslogResource",
        enable="string",
        enable_tls=False,
        formatter="string",
        gateway_log_forwarding_syslog_id="string",
        host="string",
        network="string",
        output_format="string",
        pull_interval="string",
        target_tag="string",
        tls_certificate="string")
    
    const gatewayLogForwardingSyslogResource = new akeyless.GatewayLogForwardingSyslog("gatewayLogForwardingSyslogResource", {
        enable: "string",
        enableTls: false,
        formatter: "string",
        gatewayLogForwardingSyslogId: "string",
        host: "string",
        network: "string",
        outputFormat: "string",
        pullInterval: "string",
        targetTag: "string",
        tlsCertificate: "string",
    });
    
    type: akeyless:GatewayLogForwardingSyslog
    properties:
        enable: string
        enableTls: false
        formatter: string
        gatewayLogForwardingSyslogId: string
        host: string
        network: string
        outputFormat: string
        pullInterval: string
        targetTag: string
        tlsCertificate: string
    

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

    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls relevant only for network type TCP
    Formatter string
    Syslog formatter [text/cef]
    GatewayLogForwardingSyslogId string
    The ID of this resource.
    Host string
    Syslog host
    Network string
    Syslog network [tcp/udp]
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    TargetTag string
    Syslog target tag
    TlsCertificate string
    Syslog tls certificate (PEM format) in a Base64 format
    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls relevant only for network type TCP
    Formatter string
    Syslog formatter [text/cef]
    GatewayLogForwardingSyslogId string
    The ID of this resource.
    Host string
    Syslog host
    Network string
    Syslog network [tcp/udp]
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    TargetTag string
    Syslog target tag
    TlsCertificate string
    Syslog tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls relevant only for network type TCP
    formatter String
    Syslog formatter [text/cef]
    gatewayLogForwardingSyslogId String
    The ID of this resource.
    host String
    Syslog host
    network String
    Syslog network [tcp/udp]
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    targetTag String
    Syslog target tag
    tlsCertificate String
    Syslog tls certificate (PEM format) in a Base64 format
    enable string
    Enable Log Forwarding [true/false]
    enableTls boolean
    Enable tls relevant only for network type TCP
    formatter string
    Syslog formatter [text/cef]
    gatewayLogForwardingSyslogId string
    The ID of this resource.
    host string
    Syslog host
    network string
    Syslog network [tcp/udp]
    outputFormat string
    Logs format [text/json]
    pullInterval string
    Pull interval in seconds
    targetTag string
    Syslog target tag
    tlsCertificate string
    Syslog tls certificate (PEM format) in a Base64 format
    enable str
    Enable Log Forwarding [true/false]
    enable_tls bool
    Enable tls relevant only for network type TCP
    formatter str
    Syslog formatter [text/cef]
    gateway_log_forwarding_syslog_id str
    The ID of this resource.
    host str
    Syslog host
    network str
    Syslog network [tcp/udp]
    output_format str
    Logs format [text/json]
    pull_interval str
    Pull interval in seconds
    target_tag str
    Syslog target tag
    tls_certificate str
    Syslog tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls relevant only for network type TCP
    formatter String
    Syslog formatter [text/cef]
    gatewayLogForwardingSyslogId String
    The ID of this resource.
    host String
    Syslog host
    network String
    Syslog network [tcp/udp]
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    targetTag String
    Syslog target tag
    tlsCertificate String
    Syslog tls certificate (PEM format) in a Base64 format

    Outputs

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

    Get an existing GatewayLogForwardingSyslog 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?: GatewayLogForwardingSyslogState, opts?: CustomResourceOptions): GatewayLogForwardingSyslog
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enable: Optional[str] = None,
            enable_tls: Optional[bool] = None,
            formatter: Optional[str] = None,
            gateway_log_forwarding_syslog_id: Optional[str] = None,
            host: Optional[str] = None,
            network: Optional[str] = None,
            output_format: Optional[str] = None,
            pull_interval: Optional[str] = None,
            target_tag: Optional[str] = None,
            tls_certificate: Optional[str] = None) -> GatewayLogForwardingSyslog
    func GetGatewayLogForwardingSyslog(ctx *Context, name string, id IDInput, state *GatewayLogForwardingSyslogState, opts ...ResourceOption) (*GatewayLogForwardingSyslog, error)
    public static GatewayLogForwardingSyslog Get(string name, Input<string> id, GatewayLogForwardingSyslogState? state, CustomResourceOptions? opts = null)
    public static GatewayLogForwardingSyslog get(String name, Output<String> id, GatewayLogForwardingSyslogState state, CustomResourceOptions options)
    resources:  _:    type: akeyless:GatewayLogForwardingSyslog    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:
    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls relevant only for network type TCP
    Formatter string
    Syslog formatter [text/cef]
    GatewayLogForwardingSyslogId string
    The ID of this resource.
    Host string
    Syslog host
    Network string
    Syslog network [tcp/udp]
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    TargetTag string
    Syslog target tag
    TlsCertificate string
    Syslog tls certificate (PEM format) in a Base64 format
    Enable string
    Enable Log Forwarding [true/false]
    EnableTls bool
    Enable tls relevant only for network type TCP
    Formatter string
    Syslog formatter [text/cef]
    GatewayLogForwardingSyslogId string
    The ID of this resource.
    Host string
    Syslog host
    Network string
    Syslog network [tcp/udp]
    OutputFormat string
    Logs format [text/json]
    PullInterval string
    Pull interval in seconds
    TargetTag string
    Syslog target tag
    TlsCertificate string
    Syslog tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls relevant only for network type TCP
    formatter String
    Syslog formatter [text/cef]
    gatewayLogForwardingSyslogId String
    The ID of this resource.
    host String
    Syslog host
    network String
    Syslog network [tcp/udp]
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    targetTag String
    Syslog target tag
    tlsCertificate String
    Syslog tls certificate (PEM format) in a Base64 format
    enable string
    Enable Log Forwarding [true/false]
    enableTls boolean
    Enable tls relevant only for network type TCP
    formatter string
    Syslog formatter [text/cef]
    gatewayLogForwardingSyslogId string
    The ID of this resource.
    host string
    Syslog host
    network string
    Syslog network [tcp/udp]
    outputFormat string
    Logs format [text/json]
    pullInterval string
    Pull interval in seconds
    targetTag string
    Syslog target tag
    tlsCertificate string
    Syslog tls certificate (PEM format) in a Base64 format
    enable str
    Enable Log Forwarding [true/false]
    enable_tls bool
    Enable tls relevant only for network type TCP
    formatter str
    Syslog formatter [text/cef]
    gateway_log_forwarding_syslog_id str
    The ID of this resource.
    host str
    Syslog host
    network str
    Syslog network [tcp/udp]
    output_format str
    Logs format [text/json]
    pull_interval str
    Pull interval in seconds
    target_tag str
    Syslog target tag
    tls_certificate str
    Syslog tls certificate (PEM format) in a Base64 format
    enable String
    Enable Log Forwarding [true/false]
    enableTls Boolean
    Enable tls relevant only for network type TCP
    formatter String
    Syslog formatter [text/cef]
    gatewayLogForwardingSyslogId String
    The ID of this resource.
    host String
    Syslog host
    network String
    Syslog network [tcp/udp]
    outputFormat String
    Logs format [text/json]
    pullInterval String
    Pull interval in seconds
    targetTag String
    Syslog target tag
    tlsCertificate String
    Syslog tls certificate (PEM format) in a Base64 format

    Package Details

    Repository
    akeyless akeyless-community/terraform-provider-akeyless
    License
    Notes
    This Pulumi package is based on the akeyless Terraform Provider.
    akeyless logo
    akeyless 1.9.0 published on Monday, Apr 14, 2025 by akeyless-community