f5bigip.ltm.RequestLogProfile
Explore with Pulumi AI
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: 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=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", <m.RequestLogProfileArgs{
Name: pulumi.String("/Common/request-log-profile-tc1-child"),
DefaultsFrom: pulumi.Any(request_log_profile_tc1.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 = 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(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: ${["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
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.
Constructor 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", <m.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
. - Defaults
From 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.
- Proxy
Response string - Defines the pool associated with logging request errors. The default is None.
- Proxyclose
On stringError - Defines the pool associated with logging request errors. The default is None.
- Proxyrespond
On stringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- Request
Logging string - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - Requestlog
Error stringPool - Defines the pool associated with logging request errors. The default is None.
- Requestlog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Requestlog
Pool 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
. - Requestlog
Protocol string - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Template 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.
- Response
Logging string - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - Responselog
Error stringPool - Defines the pool associated with logging response errors. The default is
none
. - Responselog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Responselog
Pool 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
. - Responselog
Protocol string - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Template 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
. - Defaults
From 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.
- Proxy
Response string - Defines the pool associated with logging request errors. The default is None.
- Proxyclose
On stringError - Defines the pool associated with logging request errors. The default is None.
- Proxyrespond
On stringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- Request
Logging string - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - Requestlog
Error stringPool - Defines the pool associated with logging request errors. The default is None.
- Requestlog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Requestlog
Pool 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
. - Requestlog
Protocol string - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Template 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.
- Response
Logging string - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - Responselog
Error stringPool - Defines the pool associated with logging response errors. The default is
none
. - Responselog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Responselog
Pool 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
. - Responselog
Protocol string - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Template 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
. - defaults
From 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.
- proxy
Response String - Defines the pool associated with logging request errors. The default is None.
- proxyclose
On StringError - Defines the pool associated with logging request errors. The default is None.
- proxyrespond
On StringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- request
Logging String - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - requestlog
Error StringPool - Defines the pool associated with logging request errors. The default is None.
- requestlog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- requestlog
Pool 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
. - requestlog
Protocol String - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Template 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.
- response
Logging String - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - responselog
Error StringPool - Defines the pool associated with logging response errors. The default is
none
. - responselog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- responselog
Pool 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
. - responselog
Protocol String - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Template 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
. - defaults
From 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.
- proxy
Response string - Defines the pool associated with logging request errors. The default is None.
- proxyclose
On stringError - Defines the pool associated with logging request errors. The default is None.
- proxyrespond
On stringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- request
Logging string - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - requestlog
Error stringPool - Defines the pool associated with logging request errors. The default is None.
- requestlog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- requestlog
Pool 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
. - requestlog
Protocol string - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Template 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.
- response
Logging string - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - responselog
Error stringPool - Defines the pool associated with logging response errors. The default is
none
. - responselog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- responselog
Pool 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
. - responselog
Protocol string - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Template 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_ strerror - Defines the pool associated with logging request errors. The default is None.
- proxyrespond_
on_ strloggingerror - 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 areenabled
anddisabled
. - requestlog_
error_ strpool - Defines the pool associated with logging request errors. The default is None.
- requestlog_
error_ strprotocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog_
error_ strtemplate - 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 aremds-udp
andmds-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 areenabled
anddisabled
. - responselog_
error_ strpool - Defines the pool associated with logging response errors. The default is
none
. - responselog_
error_ strprotocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog_
error_ strtemplate - 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 aremds-udp
andmds-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
. - defaults
From 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.
- proxy
Response String - Defines the pool associated with logging request errors. The default is None.
- proxyclose
On StringError - Defines the pool associated with logging request errors. The default is None.
- proxyrespond
On StringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- request
Logging String - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - requestlog
Error StringPool - Defines the pool associated with logging request errors. The default is None.
- requestlog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- requestlog
Pool 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
. - requestlog
Protocol String - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Template 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.
- response
Logging String - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - responselog
Error StringPool - Defines the pool associated with logging response errors. The default is
none
. - responselog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- responselog
Pool 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
. - responselog
Protocol String - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Template 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.
- Defaults
From 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
. - Proxy
Response string - Defines the pool associated with logging request errors. The default is None.
- Proxyclose
On stringError - Defines the pool associated with logging request errors. The default is None.
- Proxyrespond
On stringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- Request
Logging string - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - Requestlog
Error stringPool - Defines the pool associated with logging request errors. The default is None.
- Requestlog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Requestlog
Pool 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
. - Requestlog
Protocol string - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Template 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.
- Response
Logging string - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - Responselog
Error stringPool - Defines the pool associated with logging response errors. The default is
none
. - Responselog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Responselog
Pool 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
. - Responselog
Protocol string - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Template 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 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
. - Proxy
Response string - Defines the pool associated with logging request errors. The default is None.
- Proxyclose
On stringError - Defines the pool associated with logging request errors. The default is None.
- Proxyrespond
On stringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- Request
Logging string - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - Requestlog
Error stringPool - Defines the pool associated with logging request errors. The default is None.
- Requestlog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Requestlog
Pool 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
. - Requestlog
Protocol string - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Requestlog
Template 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.
- Response
Logging string - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - Responselog
Error stringPool - Defines the pool associated with logging response errors. The default is
none
. - Responselog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- Responselog
Pool 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
. - Responselog
Protocol string - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - Responselog
Template 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 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
. - proxy
Response String - Defines the pool associated with logging request errors. The default is None.
- proxyclose
On StringError - Defines the pool associated with logging request errors. The default is None.
- proxyrespond
On StringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- request
Logging String - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - requestlog
Error StringPool - Defines the pool associated with logging request errors. The default is None.
- requestlog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- requestlog
Pool 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
. - requestlog
Protocol String - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Template 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.
- response
Logging String - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - responselog
Error StringPool - Defines the pool associated with logging response errors. The default is
none
. - responselog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- responselog
Pool 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
. - responselog
Protocol String - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Template 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 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
. - proxy
Response string - Defines the pool associated with logging request errors. The default is None.
- proxyclose
On stringError - Defines the pool associated with logging request errors. The default is None.
- proxyrespond
On stringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- request
Logging string - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - requestlog
Error stringPool - Defines the pool associated with logging request errors. The default is None.
- requestlog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- requestlog
Pool 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
. - requestlog
Protocol string - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Template 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.
- response
Logging string - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - responselog
Error stringPool - Defines the pool associated with logging response errors. The default is
none
. - responselog
Error stringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Error stringTemplate - Specifies the directives and entries to be logged for request errors.
- responselog
Pool 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
. - responselog
Protocol string - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Template 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_ strerror - Defines the pool associated with logging request errors. The default is None.
- proxyrespond_
on_ strloggingerror - 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 areenabled
anddisabled
. - requestlog_
error_ strpool - Defines the pool associated with logging request errors. The default is None.
- requestlog_
error_ strprotocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog_
error_ strtemplate - 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 aremds-udp
andmds-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 areenabled
anddisabled
. - responselog_
error_ strpool - Defines the pool associated with logging response errors. The default is
none
. - responselog_
error_ strprotocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog_
error_ strtemplate - 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 aremds-udp
andmds-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.
- defaults
From 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
. - proxy
Response String - Defines the pool associated with logging request errors. The default is None.
- proxyclose
On StringError - Defines the pool associated with logging request errors. The default is None.
- proxyrespond
On StringLoggingerror - Defines the pool associated with logging request errors. The default is None.
- request
Logging String - Enables or disables request logging. The default is
disabled
, possible values areenabled
anddisabled
. - requestlog
Error StringPool - Defines the pool associated with logging request errors. The default is None.
- requestlog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of request errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- requestlog
Pool 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
. - requestlog
Protocol String - Specifies the protocol to be used for high-speed logging of requests. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - requestlog
Template 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.
- response
Logging String - Enables or disables response logging. The default is
disabled
, possible values areenabled
anddisabled
. - responselog
Error StringPool - Defines the pool associated with logging response errors. The default is
none
. - responselog
Error StringProtocol - Specifies the protocol to be used for high-speed logging of response errors. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Error StringTemplate - Specifies the directives and entries to be logged for request errors.
- responselog
Pool 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
. - responselog
Protocol String - Specifies the protocol to be used for high-speed logging of responses. The default is
mds-udp
,possible values aremds-udp
andmds-tcp
. - responselog
Template 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.