1. Packages
  2. F5 BIG-IP
  3. API Docs
  4. ltm
  5. RequestLogProfile
f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi

f5bigip.ltm.RequestLogProfile

Explore with Pulumi AI

f5bigip logo
f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi

    f5bigip.ltm.RequestLogProfile Resource used for Configures request logging using the Request Logging profile

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as f5bigip from "@pulumi/f5bigip";
    
    const request_log_profile_tc1_child = new f5bigip.ltm.RequestLogProfile("request-log-profile-tc1-child", {
        name: "/Common/request-log-profile-tc1-child",
        defaultsFrom: bigip_ltm_request_log_profile["request-log-profile-tc1"].name,
        requestLogging: "disabled",
        requestlogPool: "/Common/pool2",
        requestlogErrorPool: "/Common/pool1",
        requestlogProtocol: "mds-tcp",
        requestlogErrorProtocol: "mds-tcp",
        responselogProtocol: "mds-tcp",
        responselogErrorProtocol: "mds-tcp",
    });
    
    import pulumi
    import pulumi_f5bigip as f5bigip
    
    request_log_profile_tc1_child = f5bigip.ltm.RequestLogProfile("request-log-profile-tc1-child",
        name="/Common/request-log-profile-tc1-child",
        defaults_from=bigip_ltm_request_log_profile["request-log-profile-tc1"]["name"],
        request_logging="disabled",
        requestlog_pool="/Common/pool2",
        requestlog_error_pool="/Common/pool1",
        requestlog_protocol="mds-tcp",
        requestlog_error_protocol="mds-tcp",
        responselog_protocol="mds-tcp",
        responselog_error_protocol="mds-tcp")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-f5bigip/sdk/v3/go/f5bigip/ltm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ltm.NewRequestLogProfile(ctx, "request-log-profile-tc1-child", &ltm.RequestLogProfileArgs{
    			Name:                     pulumi.String("/Common/request-log-profile-tc1-child"),
    			DefaultsFrom:             pulumi.Any(bigip_ltm_request_log_profile.RequestLogProfileTc1.Name),
    			RequestLogging:           pulumi.String("disabled"),
    			RequestlogPool:           pulumi.String("/Common/pool2"),
    			RequestlogErrorPool:      pulumi.String("/Common/pool1"),
    			RequestlogProtocol:       pulumi.String("mds-tcp"),
    			RequestlogErrorProtocol:  pulumi.String("mds-tcp"),
    			ResponselogProtocol:      pulumi.String("mds-tcp"),
    			ResponselogErrorProtocol: pulumi.String("mds-tcp"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using F5BigIP = Pulumi.F5BigIP;
    
    return await Deployment.RunAsync(() => 
    {
        var request_log_profile_tc1_child = new F5BigIP.Ltm.RequestLogProfile("request-log-profile-tc1-child", new()
        {
            Name = "/Common/request-log-profile-tc1-child",
            DefaultsFrom = bigip_ltm_request_log_profile.Request_log_profile_tc1.Name,
            RequestLogging = "disabled",
            RequestlogPool = "/Common/pool2",
            RequestlogErrorPool = "/Common/pool1",
            RequestlogProtocol = "mds-tcp",
            RequestlogErrorProtocol = "mds-tcp",
            ResponselogProtocol = "mds-tcp",
            ResponselogErrorProtocol = "mds-tcp",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.f5bigip.ltm.RequestLogProfile;
    import com.pulumi.f5bigip.ltm.RequestLogProfileArgs;
    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 request_log_profile_tc1_child = new RequestLogProfile("request-log-profile-tc1-child", RequestLogProfileArgs.builder()        
                .name("/Common/request-log-profile-tc1-child")
                .defaultsFrom(bigip_ltm_request_log_profile.request-log-profile-tc1().name())
                .requestLogging("disabled")
                .requestlogPool("/Common/pool2")
                .requestlogErrorPool("/Common/pool1")
                .requestlogProtocol("mds-tcp")
                .requestlogErrorProtocol("mds-tcp")
                .responselogProtocol("mds-tcp")
                .responselogErrorProtocol("mds-tcp")
                .build());
    
        }
    }
    
    resources:
      request-log-profile-tc1-child:
        type: f5bigip:ltm:RequestLogProfile
        properties:
          name: /Common/request-log-profile-tc1-child
          defaultsFrom: ${bigip_ltm_request_log_profile"request-log-profile-tc1"[%!s(MISSING)].name}
          requestLogging: disabled
          requestlogPool: /Common/pool2
          requestlogErrorPool: /Common/pool1
          requestlogProtocol: mds-tcp
          requestlogErrorProtocol: mds-tcp
          responselogProtocol: mds-tcp
          responselogErrorProtocol: mds-tcp
    

    Create RequestLogProfile Resource

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

    Constructor syntax

    new RequestLogProfile(name: string, args: RequestLogProfileArgs, opts?: CustomResourceOptions);
    @overload
    def RequestLogProfile(resource_name: str,
                          args: RequestLogProfileArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def RequestLogProfile(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          name: Optional[str] = None,
                          requestlog_pool: Optional[str] = None,
                          responselog_template: Optional[str] = None,
                          requestlog_error_template: Optional[str] = None,
                          proxyclose_on_error: Optional[str] = None,
                          proxyrespond_on_loggingerror: Optional[str] = None,
                          request_logging: Optional[str] = None,
                          requestlog_error_pool: Optional[str] = None,
                          requestlog_error_protocol: Optional[str] = None,
                          proxy_response: Optional[str] = None,
                          description: Optional[str] = None,
                          requestlog_template: Optional[str] = None,
                          requestlog_protocol: Optional[str] = None,
                          response_logging: Optional[str] = None,
                          responselog_error_pool: Optional[str] = None,
                          responselog_error_protocol: Optional[str] = None,
                          responselog_error_template: Optional[str] = None,
                          responselog_pool: Optional[str] = None,
                          responselog_protocol: Optional[str] = None,
                          defaults_from: Optional[str] = None)
    func NewRequestLogProfile(ctx *Context, name string, args RequestLogProfileArgs, opts ...ResourceOption) (*RequestLogProfile, error)
    public RequestLogProfile(string name, RequestLogProfileArgs args, CustomResourceOptions? opts = null)
    public RequestLogProfile(String name, RequestLogProfileArgs args)
    public RequestLogProfile(String name, RequestLogProfileArgs args, CustomResourceOptions options)
    
    type: f5bigip:ltm:RequestLogProfile
    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 RequestLogProfileArgs
    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 RequestLogProfileArgs
    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 RequestLogProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RequestLogProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RequestLogProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var requestLogProfileResource = new F5BigIP.Ltm.RequestLogProfile("requestLogProfileResource", new()
    {
        Name = "string",
        RequestlogPool = "string",
        ResponselogTemplate = "string",
        RequestlogErrorTemplate = "string",
        ProxycloseOnError = "string",
        ProxyrespondOnLoggingerror = "string",
        RequestLogging = "string",
        RequestlogErrorPool = "string",
        RequestlogErrorProtocol = "string",
        ProxyResponse = "string",
        Description = "string",
        RequestlogTemplate = "string",
        RequestlogProtocol = "string",
        ResponseLogging = "string",
        ResponselogErrorPool = "string",
        ResponselogErrorProtocol = "string",
        ResponselogErrorTemplate = "string",
        ResponselogPool = "string",
        ResponselogProtocol = "string",
        DefaultsFrom = "string",
    });
    
    example, err := ltm.NewRequestLogProfile(ctx, "requestLogProfileResource", &ltm.RequestLogProfileArgs{
    	Name:                       pulumi.String("string"),
    	RequestlogPool:             pulumi.String("string"),
    	ResponselogTemplate:        pulumi.String("string"),
    	RequestlogErrorTemplate:    pulumi.String("string"),
    	ProxycloseOnError:          pulumi.String("string"),
    	ProxyrespondOnLoggingerror: pulumi.String("string"),
    	RequestLogging:             pulumi.String("string"),
    	RequestlogErrorPool:        pulumi.String("string"),
    	RequestlogErrorProtocol:    pulumi.String("string"),
    	ProxyResponse:              pulumi.String("string"),
    	Description:                pulumi.String("string"),
    	RequestlogTemplate:         pulumi.String("string"),
    	RequestlogProtocol:         pulumi.String("string"),
    	ResponseLogging:            pulumi.String("string"),
    	ResponselogErrorPool:       pulumi.String("string"),
    	ResponselogErrorProtocol:   pulumi.String("string"),
    	ResponselogErrorTemplate:   pulumi.String("string"),
    	ResponselogPool:            pulumi.String("string"),
    	ResponselogProtocol:        pulumi.String("string"),
    	DefaultsFrom:               pulumi.String("string"),
    })
    
    var requestLogProfileResource = new RequestLogProfile("requestLogProfileResource", RequestLogProfileArgs.builder()        
        .name("string")
        .requestlogPool("string")
        .responselogTemplate("string")
        .requestlogErrorTemplate("string")
        .proxycloseOnError("string")
        .proxyrespondOnLoggingerror("string")
        .requestLogging("string")
        .requestlogErrorPool("string")
        .requestlogErrorProtocol("string")
        .proxyResponse("string")
        .description("string")
        .requestlogTemplate("string")
        .requestlogProtocol("string")
        .responseLogging("string")
        .responselogErrorPool("string")
        .responselogErrorProtocol("string")
        .responselogErrorTemplate("string")
        .responselogPool("string")
        .responselogProtocol("string")
        .defaultsFrom("string")
        .build());
    
    request_log_profile_resource = f5bigip.ltm.RequestLogProfile("requestLogProfileResource",
        name="string",
        requestlog_pool="string",
        responselog_template="string",
        requestlog_error_template="string",
        proxyclose_on_error="string",
        proxyrespond_on_loggingerror="string",
        request_logging="string",
        requestlog_error_pool="string",
        requestlog_error_protocol="string",
        proxy_response="string",
        description="string",
        requestlog_template="string",
        requestlog_protocol="string",
        response_logging="string",
        responselog_error_pool="string",
        responselog_error_protocol="string",
        responselog_error_template="string",
        responselog_pool="string",
        responselog_protocol="string",
        defaults_from="string")
    
    const requestLogProfileResource = new f5bigip.ltm.RequestLogProfile("requestLogProfileResource", {
        name: "string",
        requestlogPool: "string",
        responselogTemplate: "string",
        requestlogErrorTemplate: "string",
        proxycloseOnError: "string",
        proxyrespondOnLoggingerror: "string",
        requestLogging: "string",
        requestlogErrorPool: "string",
        requestlogErrorProtocol: "string",
        proxyResponse: "string",
        description: "string",
        requestlogTemplate: "string",
        requestlogProtocol: "string",
        responseLogging: "string",
        responselogErrorPool: "string",
        responselogErrorProtocol: "string",
        responselogErrorTemplate: "string",
        responselogPool: "string",
        responselogProtocol: "string",
        defaultsFrom: "string",
    });
    
    type: f5bigip:ltm:RequestLogProfile
    properties:
        defaultsFrom: string
        description: string
        name: string
        proxyResponse: string
        proxycloseOnError: string
        proxyrespondOnLoggingerror: string
        requestLogging: string
        requestlogErrorPool: string
        requestlogErrorProtocol: string
        requestlogErrorTemplate: string
        requestlogPool: string
        requestlogProtocol: string
        requestlogTemplate: string
        responseLogging: string
        responselogErrorPool: string
        responselogErrorProtocol: string
        responselogErrorTemplate: string
        responselogPool: string
        responselogProtocol: string
        responselogTemplate: string
    

    RequestLogProfile Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The RequestLogProfile resource accepts the following input properties:

    Name string
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    DefaultsFrom string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    Description string
    Specifies user-defined description.
    ProxyResponse string
    Defines the pool associated with logging request errors. The default is None.
    ProxycloseOnError string
    Defines the pool associated with logging request errors. The default is None.
    ProxyrespondOnLoggingerror string
    Defines the pool associated with logging request errors. The default is None.
    RequestLogging string
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    RequestlogErrorPool string
    Defines the pool associated with logging request errors. The default is None.
    RequestlogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    RequestlogPool string
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    RequestlogProtocol string
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogTemplate string
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    ResponseLogging string
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    ResponselogErrorPool string
    Defines the pool associated with logging response errors. The default is none.
    ResponselogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    ResponselogPool string
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    ResponselogProtocol string
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogTemplate string
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    Name string
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    DefaultsFrom string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    Description string
    Specifies user-defined description.
    ProxyResponse string
    Defines the pool associated with logging request errors. The default is None.
    ProxycloseOnError string
    Defines the pool associated with logging request errors. The default is None.
    ProxyrespondOnLoggingerror string
    Defines the pool associated with logging request errors. The default is None.
    RequestLogging string
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    RequestlogErrorPool string
    Defines the pool associated with logging request errors. The default is None.
    RequestlogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    RequestlogPool string
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    RequestlogProtocol string
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogTemplate string
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    ResponseLogging string
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    ResponselogErrorPool string
    Defines the pool associated with logging response errors. The default is none.
    ResponselogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    ResponselogPool string
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    ResponselogProtocol string
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogTemplate string
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    name String
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    defaultsFrom String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description String
    Specifies user-defined description.
    proxyResponse String
    Defines the pool associated with logging request errors. The default is None.
    proxycloseOnError String
    Defines the pool associated with logging request errors. The default is None.
    proxyrespondOnLoggingerror String
    Defines the pool associated with logging request errors. The default is None.
    requestLogging String
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlogErrorPool String
    Defines the pool associated with logging request errors. The default is None.
    requestlogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    requestlogPool String
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlogProtocol String
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogTemplate String
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    responseLogging String
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselogErrorPool String
    Defines the pool associated with logging response errors. The default is none.
    responselogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    responselogPool String
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselogProtocol String
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogTemplate String
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    name string
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    defaultsFrom string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description string
    Specifies user-defined description.
    proxyResponse string
    Defines the pool associated with logging request errors. The default is None.
    proxycloseOnError string
    Defines the pool associated with logging request errors. The default is None.
    proxyrespondOnLoggingerror string
    Defines the pool associated with logging request errors. The default is None.
    requestLogging string
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlogErrorPool string
    Defines the pool associated with logging request errors. The default is None.
    requestlogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    requestlogPool string
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlogProtocol string
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogTemplate string
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    responseLogging string
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselogErrorPool string
    Defines the pool associated with logging response errors. The default is none.
    responselogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    responselogPool string
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselogProtocol string
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogTemplate string
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    name str
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    defaults_from str
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description str
    Specifies user-defined description.
    proxy_response str
    Defines the pool associated with logging request errors. The default is None.
    proxyclose_on_error str
    Defines the pool associated with logging request errors. The default is None.
    proxyrespond_on_loggingerror str
    Defines the pool associated with logging request errors. The default is None.
    request_logging str
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlog_error_pool str
    Defines the pool associated with logging request errors. The default is None.
    requestlog_error_protocol str
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlog_error_template str
    Specifies the directives and entries to be logged for request errors.
    requestlog_pool str
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlog_protocol str
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlog_template str
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    response_logging str
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselog_error_pool str
    Defines the pool associated with logging response errors. The default is none.
    responselog_error_protocol str
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselog_error_template str
    Specifies the directives and entries to be logged for request errors.
    responselog_pool str
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselog_protocol str
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselog_template str
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    name String
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    defaultsFrom String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description String
    Specifies user-defined description.
    proxyResponse String
    Defines the pool associated with logging request errors. The default is None.
    proxycloseOnError String
    Defines the pool associated with logging request errors. The default is None.
    proxyrespondOnLoggingerror String
    Defines the pool associated with logging request errors. The default is None.
    requestLogging String
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlogErrorPool String
    Defines the pool associated with logging request errors. The default is None.
    requestlogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    requestlogPool String
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlogProtocol String
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogTemplate String
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    responseLogging String
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselogErrorPool String
    Defines the pool associated with logging response errors. The default is none.
    responselogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    responselogPool String
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselogProtocol String
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogTemplate String
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.

    Outputs

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

    Get an existing RequestLogProfile 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?: RequestLogProfileState, opts?: CustomResourceOptions): RequestLogProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            defaults_from: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            proxy_response: Optional[str] = None,
            proxyclose_on_error: Optional[str] = None,
            proxyrespond_on_loggingerror: Optional[str] = None,
            request_logging: Optional[str] = None,
            requestlog_error_pool: Optional[str] = None,
            requestlog_error_protocol: Optional[str] = None,
            requestlog_error_template: Optional[str] = None,
            requestlog_pool: Optional[str] = None,
            requestlog_protocol: Optional[str] = None,
            requestlog_template: Optional[str] = None,
            response_logging: Optional[str] = None,
            responselog_error_pool: Optional[str] = None,
            responselog_error_protocol: Optional[str] = None,
            responselog_error_template: Optional[str] = None,
            responselog_pool: Optional[str] = None,
            responselog_protocol: Optional[str] = None,
            responselog_template: Optional[str] = None) -> RequestLogProfile
    func GetRequestLogProfile(ctx *Context, name string, id IDInput, state *RequestLogProfileState, opts ...ResourceOption) (*RequestLogProfile, error)
    public static RequestLogProfile Get(string name, Input<string> id, RequestLogProfileState? state, CustomResourceOptions? opts = null)
    public static RequestLogProfile get(String name, Output<String> id, RequestLogProfileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    DefaultsFrom string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    Description string
    Specifies user-defined description.
    Name string
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    ProxyResponse string
    Defines the pool associated with logging request errors. The default is None.
    ProxycloseOnError string
    Defines the pool associated with logging request errors. The default is None.
    ProxyrespondOnLoggingerror string
    Defines the pool associated with logging request errors. The default is None.
    RequestLogging string
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    RequestlogErrorPool string
    Defines the pool associated with logging request errors. The default is None.
    RequestlogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    RequestlogPool string
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    RequestlogProtocol string
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogTemplate string
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    ResponseLogging string
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    ResponselogErrorPool string
    Defines the pool associated with logging response errors. The default is none.
    ResponselogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    ResponselogPool string
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    ResponselogProtocol string
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogTemplate string
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    DefaultsFrom string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    Description string
    Specifies user-defined description.
    Name string
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    ProxyResponse string
    Defines the pool associated with logging request errors. The default is None.
    ProxycloseOnError string
    Defines the pool associated with logging request errors. The default is None.
    ProxyrespondOnLoggingerror string
    Defines the pool associated with logging request errors. The default is None.
    RequestLogging string
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    RequestlogErrorPool string
    Defines the pool associated with logging request errors. The default is None.
    RequestlogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    RequestlogPool string
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    RequestlogProtocol string
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    RequestlogTemplate string
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    ResponseLogging string
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    ResponselogErrorPool string
    Defines the pool associated with logging response errors. The default is none.
    ResponselogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    ResponselogPool string
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    ResponselogProtocol string
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    ResponselogTemplate string
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    defaultsFrom String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description String
    Specifies user-defined description.
    name String
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    proxyResponse String
    Defines the pool associated with logging request errors. The default is None.
    proxycloseOnError String
    Defines the pool associated with logging request errors. The default is None.
    proxyrespondOnLoggingerror String
    Defines the pool associated with logging request errors. The default is None.
    requestLogging String
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlogErrorPool String
    Defines the pool associated with logging request errors. The default is None.
    requestlogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    requestlogPool String
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlogProtocol String
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogTemplate String
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    responseLogging String
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselogErrorPool String
    Defines the pool associated with logging response errors. The default is none.
    responselogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    responselogPool String
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselogProtocol String
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogTemplate String
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    defaultsFrom string
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description string
    Specifies user-defined description.
    name string
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    proxyResponse string
    Defines the pool associated with logging request errors. The default is None.
    proxycloseOnError string
    Defines the pool associated with logging request errors. The default is None.
    proxyrespondOnLoggingerror string
    Defines the pool associated with logging request errors. The default is None.
    requestLogging string
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlogErrorPool string
    Defines the pool associated with logging request errors. The default is None.
    requestlogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    requestlogPool string
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlogProtocol string
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogTemplate string
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    responseLogging string
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselogErrorPool string
    Defines the pool associated with logging response errors. The default is none.
    responselogErrorProtocol string
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogErrorTemplate string
    Specifies the directives and entries to be logged for request errors.
    responselogPool string
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselogProtocol string
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogTemplate string
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    defaults_from str
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description str
    Specifies user-defined description.
    name str
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    proxy_response str
    Defines the pool associated with logging request errors. The default is None.
    proxyclose_on_error str
    Defines the pool associated with logging request errors. The default is None.
    proxyrespond_on_loggingerror str
    Defines the pool associated with logging request errors. The default is None.
    request_logging str
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlog_error_pool str
    Defines the pool associated with logging request errors. The default is None.
    requestlog_error_protocol str
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlog_error_template str
    Specifies the directives and entries to be logged for request errors.
    requestlog_pool str
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlog_protocol str
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlog_template str
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    response_logging str
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselog_error_pool str
    Defines the pool associated with logging response errors. The default is none.
    responselog_error_protocol str
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselog_error_template str
    Specifies the directives and entries to be logged for request errors.
    responselog_pool str
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselog_protocol str
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselog_template str
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.
    defaultsFrom String
    Specifies the profile from which this profile inherits settings. The default is the system-supplied request-log profile.
    description String
    Specifies user-defined description.
    name String
    Name of the Request Logging profile,name of Profile should be full path. Full path is the combination of the partition + profile name,For example /Common/request-log-profile-tc1.
    proxyResponse String
    Defines the pool associated with logging request errors. The default is None.
    proxycloseOnError String
    Defines the pool associated with logging request errors. The default is None.
    proxyrespondOnLoggingerror String
    Defines the pool associated with logging request errors. The default is None.
    requestLogging String
    Enables or disables request logging. The default is disabled, possible values are enabled and disabled.
    requestlogErrorPool String
    Defines the pool associated with logging request errors. The default is None.
    requestlogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of request errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    requestlogPool String
    Defines the pool to send logs to. Typically, the pool will contain one or more syslog servers. It is recommended that you create a pool specifically for logging requests. The default is none.
    requestlogProtocol String
    Specifies the protocol to be used for high-speed logging of requests. The default is mds-udp,possible values are mds-udp and mds-tcp.
    requestlogTemplate String
    Specifies the directives and entries to be logged. More infor on requestlog_template can be found here. how to use can be find here.
    responseLogging String
    Enables or disables response logging. The default is disabled, possible values are enabled and disabled.
    responselogErrorPool String
    Defines the pool associated with logging response errors. The default is none.
    responselogErrorProtocol String
    Specifies the protocol to be used for high-speed logging of response errors. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogErrorTemplate String
    Specifies the directives and entries to be logged for request errors.
    responselogPool String
    Defines the pool to send logs to. Typically, the pool contains one or more syslog servers. It is recommended that you create a pool specifically for logging responses. The default is none.
    responselogProtocol String
    Specifies the protocol to be used for high-speed logging of responses. The default is mds-udp,possible values are mds-udp and mds-tcp.
    responselogTemplate String
    Specifies the directives and entries to be logged. More infor on responselog_template can be found here. how to use can be find here.

    Import

    BIG-IP LTM Request Log profiles can be imported using the name, e.g.

    bash

    $ pulumi import f5bigip:ltm/requestLogProfile:RequestLogProfile test-request-log /Common/test-request-log
    

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

    Package Details

    Repository
    f5 BIG-IP pulumi/pulumi-f5bigip
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the bigip Terraform Provider.
    f5bigip logo
    f5 BIG-IP v3.17.0 published on Thursday, Mar 28, 2024 by Pulumi