ProfileHttp
f5bigip.ltm.ProfileHttp Configures a custom profile_http for use by health checks.
For resources should be named with their “full path”. The full path is the combination of the partition + name of the resource. For example /Common/my-pool.
Example Usage
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
class MyStack : Stack
{
public MyStack()
{
var sanjose_http = new F5BigIP.Ltm.ProfileHttp("sanjose-http", new F5BigIP.Ltm.ProfileHttpArgs
{
DefaultsFrom = "/Common/http",
Description = "some http",
FallbackHost = "titanic",
FallbackStatusCodes =
{
"400",
"500",
"300",
},
Name = "/Common/sanjose-http",
});
}
}
Coming soon!
import pulumi
import pulumi_f5bigip as f5bigip
sanjose_http = f5bigip.ltm.ProfileHttp("sanjose-http",
defaults_from="/Common/http",
description="some http",
fallback_host="titanic",
fallback_status_codes=[
"400",
"500",
"300",
],
name="/Common/sanjose-http")import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const sanjose_http = new f5bigip.ltm.ProfileHttp("sanjose-http", {
defaultsFrom: "/Common/http",
description: "some http",
fallbackHost: "titanic",
fallbackStatusCodes: [
"400",
"500",
"300",
],
name: "/Common/sanjose-http",
});Create a ProfileHttp Resource
new ProfileHttp(name: string, args: ProfileHttpArgs, opts?: CustomResourceOptions);def ProfileHttp(resource_name, opts=None, accept_xff=None, app_service=None, basic_auth_realm=None, defaults_from=None, description=None, encrypt_cookie_secret=None, encrypt_cookies=None, fallback_host=None, fallback_status_codes=None, head_erase=None, head_insert=None, insert_xforwarded_for=None, lws_separator=None, name=None, oneconnect_transformations=None, proxy_type=None, redirect_rewrite=None, request_chunking=None, response_chunking=None, response_headers_permitteds=None, server_agent_name=None, tm_partition=None, via_host_name=None, via_request=None, via_response=None, xff_alternative_names=None, __props__=None);func NewProfileHttp(ctx *Context, name string, args ProfileHttpArgs, opts ...ResourceOption) (*ProfileHttp, error)public ProfileHttp(string name, ProfileHttpArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ProfileHttpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProfileHttpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileHttpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ProfileHttp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ProfileHttp resource accepts the following input properties:
- Defaults
From string Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- Name string
Name of the profile_http
- Accept
Xff string Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- App
Service string The application service to which the object belongs.
- Basic
Auth stringRealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- Description string
User defibned description
- string
Specifies a passphrase for the cookie encryption
- List<string>
Encrypts specified cookies that the BIG-IP system sends to a client system
- Fallback
Host string Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- Fallback
Status List<string>Codes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- Head
Erase string Specifies the header string that you want to erase from an HTTP request. You can also specify none
- Head
Insert string Specifies a quoted header string that you want to insert into an HTTP request
- Insert
Xforwarded stringFor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- Lws
Separator string Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- Oneconnect
Transformations string Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- Proxy
Type string Specifies the type of HTTP proxy.
- Redirect
Rewrite string Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- Request
Chunking string Specifies how to handle chunked and unchunked requests.
- Response
Chunking string Specifies how to handle chunked and unchunked responses.
- Response
Headers List<string>Permitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- Server
Agent stringName Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- Tm
Partition string Displays the administrative partition within which this profile resides.
- Via
Host stringName Specifies the hostname to include into Via header
- Via
Request string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Via
Response string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Xff
Alternative List<string>Names Specifies alternative XFF headers instead of the default X-forwarded-for header
- Defaults
From string Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- Name string
Name of the profile_http
- Accept
Xff string Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- App
Service string The application service to which the object belongs.
- Basic
Auth stringRealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- Description string
User defibned description
- string
Specifies a passphrase for the cookie encryption
- []string
Encrypts specified cookies that the BIG-IP system sends to a client system
- Fallback
Host string Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- Fallback
Status []stringCodes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- Head
Erase string Specifies the header string that you want to erase from an HTTP request. You can also specify none
- Head
Insert string Specifies a quoted header string that you want to insert into an HTTP request
- Insert
Xforwarded stringFor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- Lws
Separator string Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- Oneconnect
Transformations string Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- Proxy
Type string Specifies the type of HTTP proxy.
- Redirect
Rewrite string Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- Request
Chunking string Specifies how to handle chunked and unchunked requests.
- Response
Chunking string Specifies how to handle chunked and unchunked responses.
- Response
Headers []stringPermitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- Server
Agent stringName Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- Tm
Partition string Displays the administrative partition within which this profile resides.
- Via
Host stringName Specifies the hostname to include into Via header
- Via
Request string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Via
Response string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Xff
Alternative []stringNames Specifies alternative XFF headers instead of the default X-forwarded-for header
- defaults
From string Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- name string
Name of the profile_http
- accept
Xff string Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- app
Service string The application service to which the object belongs.
- basic
Auth stringRealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- description string
User defibned description
- string
Specifies a passphrase for the cookie encryption
- string[]
Encrypts specified cookies that the BIG-IP system sends to a client system
- fallback
Host string Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- fallback
Status string[]Codes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- head
Erase string Specifies the header string that you want to erase from an HTTP request. You can also specify none
- head
Insert string Specifies a quoted header string that you want to insert into an HTTP request
- insert
Xforwarded stringFor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- lws
Separator string Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- oneconnect
Transformations string Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- proxy
Type string Specifies the type of HTTP proxy.
- redirect
Rewrite string Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- request
Chunking string Specifies how to handle chunked and unchunked requests.
- response
Chunking string Specifies how to handle chunked and unchunked responses.
- response
Headers string[]Permitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- server
Agent stringName Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- tm
Partition string Displays the administrative partition within which this profile resides.
- via
Host stringName Specifies the hostname to include into Via header
- via
Request string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- via
Response string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- xff
Alternative string[]Names Specifies alternative XFF headers instead of the default X-forwarded-for header
- defaults_
from str Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- name str
Name of the profile_http
- accept_
xff str Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- app_
service str The application service to which the object belongs.
- basic_
auth_ strrealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- description str
User defibned description
- str
Specifies a passphrase for the cookie encryption
- List[str]
Encrypts specified cookies that the BIG-IP system sends to a client system
- fallback_
host str Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- fallback_
status_ List[str]codes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- head_
erase str Specifies the header string that you want to erase from an HTTP request. You can also specify none
- head_
insert str Specifies a quoted header string that you want to insert into an HTTP request
- insert_
xforwarded_ strfor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- lws_
separator str Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- oneconnect_
transformations str Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- proxy_
type str Specifies the type of HTTP proxy.
- redirect_
rewrite str Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- request_
chunking str Specifies how to handle chunked and unchunked requests.
- response_
chunking str Specifies how to handle chunked and unchunked responses.
- response_
headers_ List[str]permitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- server_
agent_ strname Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- tm_
partition str Displays the administrative partition within which this profile resides.
- via_
host_ strname Specifies the hostname to include into Via header
- via_
request str Specifies whether to append, remove, or preserve a Via header in an HTTP request
- via_
response str Specifies whether to append, remove, or preserve a Via header in an HTTP request
- xff_
alternative_ List[str]names Specifies alternative XFF headers instead of the default X-forwarded-for header
Outputs
All input properties are implicitly available as output properties. Additionally, the ProfileHttp resource produces the following output properties:
Look up an Existing ProfileHttp Resource
Get an existing ProfileHttp 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?: ProfileHttpState, opts?: CustomResourceOptions): ProfileHttpstatic get(resource_name, id, opts=None, accept_xff=None, app_service=None, basic_auth_realm=None, defaults_from=None, description=None, encrypt_cookie_secret=None, encrypt_cookies=None, fallback_host=None, fallback_status_codes=None, head_erase=None, head_insert=None, insert_xforwarded_for=None, lws_separator=None, name=None, oneconnect_transformations=None, proxy_type=None, redirect_rewrite=None, request_chunking=None, response_chunking=None, response_headers_permitteds=None, server_agent_name=None, tm_partition=None, via_host_name=None, via_request=None, via_response=None, xff_alternative_names=None, __props__=None);func GetProfileHttp(ctx *Context, name string, id IDInput, state *ProfileHttpState, opts ...ResourceOption) (*ProfileHttp, error)public static ProfileHttp Get(string name, Input<string> id, ProfileHttpState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Accept
Xff string Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- App
Service string The application service to which the object belongs.
- Basic
Auth stringRealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- Defaults
From string Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- Description string
User defibned description
- string
Specifies a passphrase for the cookie encryption
- List<string>
Encrypts specified cookies that the BIG-IP system sends to a client system
- Fallback
Host string Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- Fallback
Status List<string>Codes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- Head
Erase string Specifies the header string that you want to erase from an HTTP request. You can also specify none
- Head
Insert string Specifies a quoted header string that you want to insert into an HTTP request
- Insert
Xforwarded stringFor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- Lws
Separator string Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- Name string
Name of the profile_http
- Oneconnect
Transformations string Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- Proxy
Type string Specifies the type of HTTP proxy.
- Redirect
Rewrite string Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- Request
Chunking string Specifies how to handle chunked and unchunked requests.
- Response
Chunking string Specifies how to handle chunked and unchunked responses.
- Response
Headers List<string>Permitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- Server
Agent stringName Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- Tm
Partition string Displays the administrative partition within which this profile resides.
- Via
Host stringName Specifies the hostname to include into Via header
- Via
Request string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Via
Response string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Xff
Alternative List<string>Names Specifies alternative XFF headers instead of the default X-forwarded-for header
- Accept
Xff string Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- App
Service string The application service to which the object belongs.
- Basic
Auth stringRealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- Defaults
From string Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- Description string
User defibned description
- string
Specifies a passphrase for the cookie encryption
- []string
Encrypts specified cookies that the BIG-IP system sends to a client system
- Fallback
Host string Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- Fallback
Status []stringCodes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- Head
Erase string Specifies the header string that you want to erase from an HTTP request. You can also specify none
- Head
Insert string Specifies a quoted header string that you want to insert into an HTTP request
- Insert
Xforwarded stringFor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- Lws
Separator string Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- Name string
Name of the profile_http
- Oneconnect
Transformations string Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- Proxy
Type string Specifies the type of HTTP proxy.
- Redirect
Rewrite string Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- Request
Chunking string Specifies how to handle chunked and unchunked requests.
- Response
Chunking string Specifies how to handle chunked and unchunked responses.
- Response
Headers []stringPermitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- Server
Agent stringName Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- Tm
Partition string Displays the administrative partition within which this profile resides.
- Via
Host stringName Specifies the hostname to include into Via header
- Via
Request string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Via
Response string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- Xff
Alternative []stringNames Specifies alternative XFF headers instead of the default X-forwarded-for header
- accept
Xff string Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- app
Service string The application service to which the object belongs.
- basic
Auth stringRealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- defaults
From string Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- description string
User defibned description
- string
Specifies a passphrase for the cookie encryption
- string[]
Encrypts specified cookies that the BIG-IP system sends to a client system
- fallback
Host string Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- fallback
Status string[]Codes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- head
Erase string Specifies the header string that you want to erase from an HTTP request. You can also specify none
- head
Insert string Specifies a quoted header string that you want to insert into an HTTP request
- insert
Xforwarded stringFor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- lws
Separator string Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- name string
Name of the profile_http
- oneconnect
Transformations string Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- proxy
Type string Specifies the type of HTTP proxy.
- redirect
Rewrite string Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- request
Chunking string Specifies how to handle chunked and unchunked requests.
- response
Chunking string Specifies how to handle chunked and unchunked responses.
- response
Headers string[]Permitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- server
Agent stringName Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- tm
Partition string Displays the administrative partition within which this profile resides.
- via
Host stringName Specifies the hostname to include into Via header
- via
Request string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- via
Response string Specifies whether to append, remove, or preserve a Via header in an HTTP request
- xff
Alternative string[]Names Specifies alternative XFF headers instead of the default X-forwarded-for header
- accept_
xff str Enables or disables trusting the client IP address, and statistics from the client IP address, based on the request’s XFF (X-forwarded-for) headers, if they exist.
- app_
service str The application service to which the object belongs.
- basic_
auth_ strrealm Specifies a quoted string for the basic authentication realm. The system sends this string to a client whenever authorization fails. The default value is none
- defaults_
from str Specifies the profile that you want to use as the parent profile. Your new profile inherits all settings and values from the parent profile specified.
- description str
User defibned description
- str
Specifies a passphrase for the cookie encryption
- List[str]
Encrypts specified cookies that the BIG-IP system sends to a client system
- fallback_
host str Specifies an HTTP fallback host. HTTP redirection allows you to redirect HTTP traffic to another protocol identifier, host name, port number
- fallback_
status_ List[str]codes Specifies one or more three-digit status codes that can be returned by an HTTP server.
- head_
erase str Specifies the header string that you want to erase from an HTTP request. You can also specify none
- head_
insert str Specifies a quoted header string that you want to insert into an HTTP request
- insert_
xforwarded_ strfor When using connection pooling, which allows clients to make use of other client requests’ server-side connections, you can insert the X-Forwarded-For header and specify a client IP address
- lws_
separator str Specifies a quoted header string that you want to insert into an HTTP request. You can also specify none.
- name str
Name of the profile_http
- oneconnect_
transformations str Enables the system to perform HTTP header transformations for the purpose of keeping server-side connections open. This feature requires configuration of a OneConnect profile
- proxy_
type str Specifies the type of HTTP proxy.
- redirect_
rewrite str Specifies which of the application HTTP redirects the system rewrites to HTTPS.
- request_
chunking str Specifies how to handle chunked and unchunked requests.
- response_
chunking str Specifies how to handle chunked and unchunked responses.
- response_
headers_ List[str]permitteds Specifies headers that the BIG-IP system allows in an HTTP response.
- server_
agent_ strname Specifies the value of the Server header in responses that the BIG-IP itself generates. The default is BigIP. If no string is specified, then no Server header will be added to such responses
- tm_
partition str Displays the administrative partition within which this profile resides.
- via_
host_ strname Specifies the hostname to include into Via header
- via_
request str Specifies whether to append, remove, or preserve a Via header in an HTTP request
- via_
response str Specifies whether to append, remove, or preserve a Via header in an HTTP request
- xff_
alternative_ List[str]names Specifies alternative XFF headers instead of the default X-forwarded-for header
Package Details
- Repository
- https://github.com/pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigipTerraform Provider.