f5bigip.ltm.ProfileRewrite
Explore with Pulumi AI
bigip_ltm_rewrite_profile
Configures ltm policies to manage traffic assigned to a virtual server
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/test-profile
.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const test_profile = new f5bigip.ltm.ProfileRewrite("test-profile", {
name: "/Common/tf_profile",
defaultsFrom: "/Common/rewrite",
bypassLists: ["http://notouch.com"],
rewriteLists: ["http://some.com"],
rewriteMode: "portal",
cacheType: "cache-img-css-js",
caFile: "/Common/ca-bundle.crt",
crlFile: "none",
signingCert: "/Common/default.crt",
signingKey: "/Common/default.key",
splitTunneling: "true",
});
const test_profile2 = new f5bigip.ltm.ProfileRewrite("test-profile2", {
name: "/Common/tf_profile_translate",
defaultsFrom: "/Common/rewrite",
rewriteMode: "uri-translation",
requests: [{
insertXfwdFor: "enabled",
insertXfwdHost: "disabled",
insertXfwdProtocol: "enabled",
rewriteHeaders: "disabled",
}],
responses: [{
rewriteContent: "enabled",
rewriteHeaders: "disabled",
}],
cookieRules: [
{
ruleName: "cookie1",
clientDomain: "wrong.com",
clientPath: "/this/",
serverDomain: "wrong.com",
serverPath: "/this/",
},
{
ruleName: "cookie2",
clientDomain: "incorrect.com",
clientPath: "/this/",
serverDomain: "absolute.com",
serverPath: "/this/",
},
],
});
import pulumi
import pulumi_f5bigip as f5bigip
test_profile = f5bigip.ltm.ProfileRewrite("test-profile",
name="/Common/tf_profile",
defaults_from="/Common/rewrite",
bypass_lists=["http://notouch.com"],
rewrite_lists=["http://some.com"],
rewrite_mode="portal",
cache_type="cache-img-css-js",
ca_file="/Common/ca-bundle.crt",
crl_file="none",
signing_cert="/Common/default.crt",
signing_key="/Common/default.key",
split_tunneling="true")
test_profile2 = f5bigip.ltm.ProfileRewrite("test-profile2",
name="/Common/tf_profile_translate",
defaults_from="/Common/rewrite",
rewrite_mode="uri-translation",
requests=[{
"insert_xfwd_for": "enabled",
"insert_xfwd_host": "disabled",
"insert_xfwd_protocol": "enabled",
"rewrite_headers": "disabled",
}],
responses=[{
"rewrite_content": "enabled",
"rewrite_headers": "disabled",
}],
cookie_rules=[
{
"rule_name": "cookie1",
"client_domain": "wrong.com",
"client_path": "/this/",
"server_domain": "wrong.com",
"server_path": "/this/",
},
{
"rule_name": "cookie2",
"client_domain": "incorrect.com",
"client_path": "/this/",
"server_domain": "absolute.com",
"server_path": "/this/",
},
])
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.NewProfileRewrite(ctx, "test-profile", <m.ProfileRewriteArgs{
Name: pulumi.String("/Common/tf_profile"),
DefaultsFrom: pulumi.String("/Common/rewrite"),
BypassLists: pulumi.StringArray{
pulumi.String("http://notouch.com"),
},
RewriteLists: pulumi.StringArray{
pulumi.String("http://some.com"),
},
RewriteMode: pulumi.String("portal"),
CacheType: pulumi.String("cache-img-css-js"),
CaFile: pulumi.String("/Common/ca-bundle.crt"),
CrlFile: pulumi.String("none"),
SigningCert: pulumi.String("/Common/default.crt"),
SigningKey: pulumi.String("/Common/default.key"),
SplitTunneling: pulumi.String("true"),
})
if err != nil {
return err
}
_, err = ltm.NewProfileRewrite(ctx, "test-profile2", <m.ProfileRewriteArgs{
Name: pulumi.String("/Common/tf_profile_translate"),
DefaultsFrom: pulumi.String("/Common/rewrite"),
RewriteMode: pulumi.String("uri-translation"),
Requests: ltm.ProfileRewriteRequestArray{
<m.ProfileRewriteRequestArgs{
InsertXfwdFor: pulumi.String("enabled"),
InsertXfwdHost: pulumi.String("disabled"),
InsertXfwdProtocol: pulumi.String("enabled"),
RewriteHeaders: pulumi.String("disabled"),
},
},
Responses: ltm.ProfileRewriteResponseArray{
<m.ProfileRewriteResponseArgs{
RewriteContent: pulumi.String("enabled"),
RewriteHeaders: pulumi.String("disabled"),
},
},
CookieRules: ltm.ProfileRewriteCookieRuleArray{
<m.ProfileRewriteCookieRuleArgs{
RuleName: pulumi.String("cookie1"),
ClientDomain: pulumi.String("wrong.com"),
ClientPath: pulumi.String("/this/"),
ServerDomain: pulumi.String("wrong.com"),
ServerPath: pulumi.String("/this/"),
},
<m.ProfileRewriteCookieRuleArgs{
RuleName: pulumi.String("cookie2"),
ClientDomain: pulumi.String("incorrect.com"),
ClientPath: pulumi.String("/this/"),
ServerDomain: pulumi.String("absolute.com"),
ServerPath: pulumi.String("/this/"),
},
},
})
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 test_profile = new F5BigIP.Ltm.ProfileRewrite("test-profile", new()
{
Name = "/Common/tf_profile",
DefaultsFrom = "/Common/rewrite",
BypassLists = new[]
{
"http://notouch.com",
},
RewriteLists = new[]
{
"http://some.com",
},
RewriteMode = "portal",
CacheType = "cache-img-css-js",
CaFile = "/Common/ca-bundle.crt",
CrlFile = "none",
SigningCert = "/Common/default.crt",
SigningKey = "/Common/default.key",
SplitTunneling = "true",
});
var test_profile2 = new F5BigIP.Ltm.ProfileRewrite("test-profile2", new()
{
Name = "/Common/tf_profile_translate",
DefaultsFrom = "/Common/rewrite",
RewriteMode = "uri-translation",
Requests = new[]
{
new F5BigIP.Ltm.Inputs.ProfileRewriteRequestArgs
{
InsertXfwdFor = "enabled",
InsertXfwdHost = "disabled",
InsertXfwdProtocol = "enabled",
RewriteHeaders = "disabled",
},
},
Responses = new[]
{
new F5BigIP.Ltm.Inputs.ProfileRewriteResponseArgs
{
RewriteContent = "enabled",
RewriteHeaders = "disabled",
},
},
CookieRules = new[]
{
new F5BigIP.Ltm.Inputs.ProfileRewriteCookieRuleArgs
{
RuleName = "cookie1",
ClientDomain = "wrong.com",
ClientPath = "/this/",
ServerDomain = "wrong.com",
ServerPath = "/this/",
},
new F5BigIP.Ltm.Inputs.ProfileRewriteCookieRuleArgs
{
RuleName = "cookie2",
ClientDomain = "incorrect.com",
ClientPath = "/this/",
ServerDomain = "absolute.com",
ServerPath = "/this/",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.f5bigip.ltm.ProfileRewrite;
import com.pulumi.f5bigip.ltm.ProfileRewriteArgs;
import com.pulumi.f5bigip.ltm.inputs.ProfileRewriteRequestArgs;
import com.pulumi.f5bigip.ltm.inputs.ProfileRewriteResponseArgs;
import com.pulumi.f5bigip.ltm.inputs.ProfileRewriteCookieRuleArgs;
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 test_profile = new ProfileRewrite("test-profile", ProfileRewriteArgs.builder()
.name("/Common/tf_profile")
.defaultsFrom("/Common/rewrite")
.bypassLists("http://notouch.com")
.rewriteLists("http://some.com")
.rewriteMode("portal")
.cacheType("cache-img-css-js")
.caFile("/Common/ca-bundle.crt")
.crlFile("none")
.signingCert("/Common/default.crt")
.signingKey("/Common/default.key")
.splitTunneling("true")
.build());
var test_profile2 = new ProfileRewrite("test-profile2", ProfileRewriteArgs.builder()
.name("/Common/tf_profile_translate")
.defaultsFrom("/Common/rewrite")
.rewriteMode("uri-translation")
.requests(ProfileRewriteRequestArgs.builder()
.insertXfwdFor("enabled")
.insertXfwdHost("disabled")
.insertXfwdProtocol("enabled")
.rewriteHeaders("disabled")
.build())
.responses(ProfileRewriteResponseArgs.builder()
.rewriteContent("enabled")
.rewriteHeaders("disabled")
.build())
.cookieRules(
ProfileRewriteCookieRuleArgs.builder()
.ruleName("cookie1")
.clientDomain("wrong.com")
.clientPath("/this/")
.serverDomain("wrong.com")
.serverPath("/this/")
.build(),
ProfileRewriteCookieRuleArgs.builder()
.ruleName("cookie2")
.clientDomain("incorrect.com")
.clientPath("/this/")
.serverDomain("absolute.com")
.serverPath("/this/")
.build())
.build());
}
}
resources:
test-profile:
type: f5bigip:ltm:ProfileRewrite
properties:
name: /Common/tf_profile
defaultsFrom: /Common/rewrite
bypassLists:
- http://notouch.com
rewriteLists:
- http://some.com
rewriteMode: portal
cacheType: cache-img-css-js
caFile: /Common/ca-bundle.crt
crlFile: none
signingCert: /Common/default.crt
signingKey: /Common/default.key
splitTunneling: 'true'
test-profile2:
type: f5bigip:ltm:ProfileRewrite
properties:
name: /Common/tf_profile_translate
defaultsFrom: /Common/rewrite
rewriteMode: uri-translation
requests:
- insertXfwdFor: enabled
insertXfwdHost: disabled
insertXfwdProtocol: enabled
rewriteHeaders: disabled
responses:
- rewriteContent: enabled
rewriteHeaders: disabled
cookieRules:
- ruleName: cookie1
clientDomain: wrong.com
clientPath: /this/
serverDomain: wrong.com
serverPath: /this/
- ruleName: cookie2
clientDomain: incorrect.com
clientPath: /this/
serverDomain: absolute.com
serverPath: /this/
Create ProfileRewrite Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProfileRewrite(name: string, args: ProfileRewriteArgs, opts?: CustomResourceOptions);
@overload
def ProfileRewrite(resource_name: str,
args: ProfileRewriteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProfileRewrite(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
rewrite_mode: Optional[str] = None,
cookie_rules: Optional[Sequence[ProfileRewriteCookieRuleArgs]] = None,
bypass_lists: Optional[Sequence[str]] = None,
crl_file: Optional[str] = None,
defaults_from: Optional[str] = None,
cache_type: Optional[str] = None,
requests: Optional[Sequence[ProfileRewriteRequestArgs]] = None,
responses: Optional[Sequence[ProfileRewriteResponseArgs]] = None,
rewrite_lists: Optional[Sequence[str]] = None,
ca_file: Optional[str] = None,
signing_cert: Optional[str] = None,
signing_key: Optional[str] = None,
signing_key_password: Optional[str] = None,
split_tunneling: Optional[str] = None)
func NewProfileRewrite(ctx *Context, name string, args ProfileRewriteArgs, opts ...ResourceOption) (*ProfileRewrite, error)
public ProfileRewrite(string name, ProfileRewriteArgs args, CustomResourceOptions? opts = null)
public ProfileRewrite(String name, ProfileRewriteArgs args)
public ProfileRewrite(String name, ProfileRewriteArgs args, CustomResourceOptions options)
type: f5bigip:ltm:ProfileRewrite
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 ProfileRewriteArgs
- 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 ProfileRewriteArgs
- 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 ProfileRewriteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileRewriteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileRewriteArgs
- 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 profileRewriteResource = new F5BigIP.Ltm.ProfileRewrite("profileRewriteResource", new()
{
Name = "string",
RewriteMode = "string",
CookieRules = new[]
{
new F5BigIP.Ltm.Inputs.ProfileRewriteCookieRuleArgs
{
ClientDomain = "string",
ClientPath = "string",
RuleName = "string",
ServerDomain = "string",
ServerPath = "string",
},
},
BypassLists = new[]
{
"string",
},
CrlFile = "string",
DefaultsFrom = "string",
CacheType = "string",
Requests = new[]
{
new F5BigIP.Ltm.Inputs.ProfileRewriteRequestArgs
{
InsertXfwdFor = "string",
InsertXfwdHost = "string",
InsertXfwdProtocol = "string",
RewriteHeaders = "string",
},
},
Responses = new[]
{
new F5BigIP.Ltm.Inputs.ProfileRewriteResponseArgs
{
RewriteContent = "string",
RewriteHeaders = "string",
},
},
RewriteLists = new[]
{
"string",
},
CaFile = "string",
SigningCert = "string",
SigningKey = "string",
SigningKeyPassword = "string",
SplitTunneling = "string",
});
example, err := ltm.NewProfileRewrite(ctx, "profileRewriteResource", <m.ProfileRewriteArgs{
Name: pulumi.String("string"),
RewriteMode: pulumi.String("string"),
CookieRules: ltm.ProfileRewriteCookieRuleArray{
<m.ProfileRewriteCookieRuleArgs{
ClientDomain: pulumi.String("string"),
ClientPath: pulumi.String("string"),
RuleName: pulumi.String("string"),
ServerDomain: pulumi.String("string"),
ServerPath: pulumi.String("string"),
},
},
BypassLists: pulumi.StringArray{
pulumi.String("string"),
},
CrlFile: pulumi.String("string"),
DefaultsFrom: pulumi.String("string"),
CacheType: pulumi.String("string"),
Requests: ltm.ProfileRewriteRequestArray{
<m.ProfileRewriteRequestArgs{
InsertXfwdFor: pulumi.String("string"),
InsertXfwdHost: pulumi.String("string"),
InsertXfwdProtocol: pulumi.String("string"),
RewriteHeaders: pulumi.String("string"),
},
},
Responses: ltm.ProfileRewriteResponseArray{
<m.ProfileRewriteResponseArgs{
RewriteContent: pulumi.String("string"),
RewriteHeaders: pulumi.String("string"),
},
},
RewriteLists: pulumi.StringArray{
pulumi.String("string"),
},
CaFile: pulumi.String("string"),
SigningCert: pulumi.String("string"),
SigningKey: pulumi.String("string"),
SigningKeyPassword: pulumi.String("string"),
SplitTunneling: pulumi.String("string"),
})
var profileRewriteResource = new ProfileRewrite("profileRewriteResource", ProfileRewriteArgs.builder()
.name("string")
.rewriteMode("string")
.cookieRules(ProfileRewriteCookieRuleArgs.builder()
.clientDomain("string")
.clientPath("string")
.ruleName("string")
.serverDomain("string")
.serverPath("string")
.build())
.bypassLists("string")
.crlFile("string")
.defaultsFrom("string")
.cacheType("string")
.requests(ProfileRewriteRequestArgs.builder()
.insertXfwdFor("string")
.insertXfwdHost("string")
.insertXfwdProtocol("string")
.rewriteHeaders("string")
.build())
.responses(ProfileRewriteResponseArgs.builder()
.rewriteContent("string")
.rewriteHeaders("string")
.build())
.rewriteLists("string")
.caFile("string")
.signingCert("string")
.signingKey("string")
.signingKeyPassword("string")
.splitTunneling("string")
.build());
profile_rewrite_resource = f5bigip.ltm.ProfileRewrite("profileRewriteResource",
name="string",
rewrite_mode="string",
cookie_rules=[{
"client_domain": "string",
"client_path": "string",
"rule_name": "string",
"server_domain": "string",
"server_path": "string",
}],
bypass_lists=["string"],
crl_file="string",
defaults_from="string",
cache_type="string",
requests=[{
"insert_xfwd_for": "string",
"insert_xfwd_host": "string",
"insert_xfwd_protocol": "string",
"rewrite_headers": "string",
}],
responses=[{
"rewrite_content": "string",
"rewrite_headers": "string",
}],
rewrite_lists=["string"],
ca_file="string",
signing_cert="string",
signing_key="string",
signing_key_password="string",
split_tunneling="string")
const profileRewriteResource = new f5bigip.ltm.ProfileRewrite("profileRewriteResource", {
name: "string",
rewriteMode: "string",
cookieRules: [{
clientDomain: "string",
clientPath: "string",
ruleName: "string",
serverDomain: "string",
serverPath: "string",
}],
bypassLists: ["string"],
crlFile: "string",
defaultsFrom: "string",
cacheType: "string",
requests: [{
insertXfwdFor: "string",
insertXfwdHost: "string",
insertXfwdProtocol: "string",
rewriteHeaders: "string",
}],
responses: [{
rewriteContent: "string",
rewriteHeaders: "string",
}],
rewriteLists: ["string"],
caFile: "string",
signingCert: "string",
signingKey: "string",
signingKeyPassword: "string",
splitTunneling: "string",
});
type: f5bigip:ltm:ProfileRewrite
properties:
bypassLists:
- string
caFile: string
cacheType: string
cookieRules:
- clientDomain: string
clientPath: string
ruleName: string
serverDomain: string
serverPath: string
crlFile: string
defaultsFrom: string
name: string
requests:
- insertXfwdFor: string
insertXfwdHost: string
insertXfwdProtocol: string
rewriteHeaders: string
responses:
- rewriteContent: string
rewriteHeaders: string
rewriteLists:
- string
rewriteMode: string
signingCert: string
signingKey: string
signingKeyPassword: string
splitTunneling: string
ProfileRewrite Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ProfileRewrite resource accepts the following input properties:
- Name string
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- Rewrite
Mode string - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- Bypass
Lists List<string> - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- Ca
File string - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- Cache
Type string - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- List<Pulumi.
F5Big IP. Ltm. Inputs. Profile Rewrite Cookie Rule> - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- Crl
File string - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - Requests
List<Pulumi.
F5Big IP. Ltm. Inputs. Profile Rewrite Request> - Block type. Each request is block type with following arguments.
- Responses
List<Pulumi.
F5Big IP. Ltm. Inputs. Profile Rewrite Response> - Block type. Each request is block type with following arguments.
- Rewrite
Lists List<string> - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- Signing
Cert string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- Signing
Key string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- Signing
Key stringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- Split
Tunneling string - Specifies the type of Client caching. Valid choices are:
true, false
- Name string
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- Rewrite
Mode string - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- Bypass
Lists []string - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- Ca
File string - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- Cache
Type string - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- []Profile
Rewrite Cookie Rule Args - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- Crl
File string - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - Requests
[]Profile
Rewrite Request Args - Block type. Each request is block type with following arguments.
- Responses
[]Profile
Rewrite Response Args - Block type. Each request is block type with following arguments.
- Rewrite
Lists []string - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- Signing
Cert string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- Signing
Key string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- Signing
Key stringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- Split
Tunneling string - Specifies the type of Client caching. Valid choices are:
true, false
- name String
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- rewrite
Mode String - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- bypass
Lists List<String> - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca
File String - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache
Type String - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- List<Profile
Rewrite Cookie Rule> - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl
File String - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - requests
List<Profile
Rewrite Request> - Block type. Each request is block type with following arguments.
- responses
List<Profile
Rewrite Response> - Block type. Each request is block type with following arguments.
- rewrite
Lists List<String> - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- signing
Cert String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing
Key String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing
Key StringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split
Tunneling String - Specifies the type of Client caching. Valid choices are:
true, false
- name string
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- rewrite
Mode string - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- bypass
Lists string[] - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca
File string - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache
Type string - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- Profile
Rewrite Cookie Rule[] - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl
File string - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - requests
Profile
Rewrite Request[] - Block type. Each request is block type with following arguments.
- responses
Profile
Rewrite Response[] - Block type. Each request is block type with following arguments.
- rewrite
Lists string[] - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- signing
Cert string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing
Key string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing
Key stringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split
Tunneling string - Specifies the type of Client caching. Valid choices are:
true, false
- name str
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- rewrite_
mode str - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- bypass_
lists Sequence[str] - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca_
file str - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache_
type str - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- Sequence[Profile
Rewrite Cookie Rule Args] - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl_
file str - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults_
from str - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - requests
Sequence[Profile
Rewrite Request Args] - Block type. Each request is block type with following arguments.
- responses
Sequence[Profile
Rewrite Response Args] - Block type. Each request is block type with following arguments.
- rewrite_
lists Sequence[str] - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- signing_
cert str - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing_
key str - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing_
key_ strpassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split_
tunneling str - Specifies the type of Client caching. Valid choices are:
true, false
- name String
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- rewrite
Mode String - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- bypass
Lists List<String> - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca
File String - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache
Type String - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- List<Property Map>
- Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl
File String - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - requests List<Property Map>
- Block type. Each request is block type with following arguments.
- responses List<Property Map>
- Block type. Each request is block type with following arguments.
- rewrite
Lists List<String> - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- signing
Cert String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing
Key String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing
Key StringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split
Tunneling String - Specifies the type of Client caching. Valid choices are:
true, false
Outputs
All input properties are implicitly available as output properties. Additionally, the ProfileRewrite 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 ProfileRewrite Resource
Get an existing ProfileRewrite 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?: ProfileRewriteState, opts?: CustomResourceOptions): ProfileRewrite
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bypass_lists: Optional[Sequence[str]] = None,
ca_file: Optional[str] = None,
cache_type: Optional[str] = None,
cookie_rules: Optional[Sequence[ProfileRewriteCookieRuleArgs]] = None,
crl_file: Optional[str] = None,
defaults_from: Optional[str] = None,
name: Optional[str] = None,
requests: Optional[Sequence[ProfileRewriteRequestArgs]] = None,
responses: Optional[Sequence[ProfileRewriteResponseArgs]] = None,
rewrite_lists: Optional[Sequence[str]] = None,
rewrite_mode: Optional[str] = None,
signing_cert: Optional[str] = None,
signing_key: Optional[str] = None,
signing_key_password: Optional[str] = None,
split_tunneling: Optional[str] = None) -> ProfileRewrite
func GetProfileRewrite(ctx *Context, name string, id IDInput, state *ProfileRewriteState, opts ...ResourceOption) (*ProfileRewrite, error)
public static ProfileRewrite Get(string name, Input<string> id, ProfileRewriteState? state, CustomResourceOptions? opts = null)
public static ProfileRewrite get(String name, Output<String> id, ProfileRewriteState 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.
- Bypass
Lists List<string> - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- Ca
File string - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- Cache
Type string - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- List<Pulumi.
F5Big IP. Ltm. Inputs. Profile Rewrite Cookie Rule> - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- Crl
File string - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - Name string
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- Requests
List<Pulumi.
F5Big IP. Ltm. Inputs. Profile Rewrite Request> - Block type. Each request is block type with following arguments.
- Responses
List<Pulumi.
F5Big IP. Ltm. Inputs. Profile Rewrite Response> - Block type. Each request is block type with following arguments.
- Rewrite
Lists List<string> - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- Rewrite
Mode string - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- Signing
Cert string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- Signing
Key string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- Signing
Key stringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- Split
Tunneling string - Specifies the type of Client caching. Valid choices are:
true, false
- Bypass
Lists []string - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- Ca
File string - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- Cache
Type string - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- []Profile
Rewrite Cookie Rule Args - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- Crl
File string - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - Defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - Name string
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- Requests
[]Profile
Rewrite Request Args - Block type. Each request is block type with following arguments.
- Responses
[]Profile
Rewrite Response Args - Block type. Each request is block type with following arguments.
- Rewrite
Lists []string - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- Rewrite
Mode string - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- Signing
Cert string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- Signing
Key string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- Signing
Key stringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- Split
Tunneling string - Specifies the type of Client caching. Valid choices are:
true, false
- bypass
Lists List<String> - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca
File String - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache
Type String - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- List<Profile
Rewrite Cookie Rule> - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl
File String - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - name String
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- requests
List<Profile
Rewrite Request> - Block type. Each request is block type with following arguments.
- responses
List<Profile
Rewrite Response> - Block type. Each request is block type with following arguments.
- rewrite
Lists List<String> - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- rewrite
Mode String - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- signing
Cert String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing
Key String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing
Key StringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split
Tunneling String - Specifies the type of Client caching. Valid choices are:
true, false
- bypass
Lists string[] - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca
File string - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache
Type string - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- Profile
Rewrite Cookie Rule[] - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl
File string - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults
From string - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - name string
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- requests
Profile
Rewrite Request[] - Block type. Each request is block type with following arguments.
- responses
Profile
Rewrite Response[] - Block type. Each request is block type with following arguments.
- rewrite
Lists string[] - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- rewrite
Mode string - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- signing
Cert string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing
Key string - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing
Key stringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split
Tunneling string - Specifies the type of Client caching. Valid choices are:
true, false
- bypass_
lists Sequence[str] - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca_
file str - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache_
type str - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- Sequence[Profile
Rewrite Cookie Rule Args] - Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl_
file str - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults_
from str - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - name str
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- requests
Sequence[Profile
Rewrite Request Args] - Block type. Each request is block type with following arguments.
- responses
Sequence[Profile
Rewrite Response Args] - Block type. Each request is block type with following arguments.
- rewrite_
lists Sequence[str] - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- rewrite_
mode str - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- signing_
cert str - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing_
key str - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing_
key_ strpassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split_
tunneling str - Specifies the type of Client caching. Valid choices are:
true, false
- bypass
Lists List<String> - Specifies a list of URIs to bypass inside a web page when the page is accessed using Portal Access.
- ca
File String - Specifies a CA against which to verify signed Java applets signatures. (name should be in full path which is combination of partition and CA file name )
- cache
Type String - Specifies the type of Client caching. Valid choices are:
cache-css-js, cache-all, no-cache, cache-img-css-js
. Default value:cache-img-css-js
- List<Property Map>
- Specifies the cookie rewrite rules. Block type. Each request is block type with following arguments.
- crl
File String - Specifies a CRL against which to verify signed Java applets signature certificates. The default option is
none
. - defaults
From String - Specifies the profile from which this profile inherits settings. The default is the system-supplied
rewrite
profile. - name String
- Name of the rewrite profile. ( profile name should be in full path which is combination of partition and profile name )
- requests List<Property Map>
- Block type. Each request is block type with following arguments.
- responses List<Property Map>
- Block type. Each request is block type with following arguments.
- rewrite
Lists List<String> - Specifies a list of URIs to rewrite inside a web page when the page is accessed using Portal Access.
- rewrite
Mode String - Specifies the type of Client caching. Valid choices are:
portal, uri-translation
- signing
Cert String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and certificate name )
- signing
Key String - Specifies a certificate to use for re-signing of signed Java applets after patching. (name should be in full path which is combination of partition and key name )
- signing
Key StringPassword - Specifies a pass phrase to use for encrypting the private signing key. Since it's a sensitive entity idempotency will fail in the update call.
- split
Tunneling String - Specifies the type of Client caching. Valid choices are:
true, false
Supporting Types
ProfileRewriteCookieRule, ProfileRewriteCookieRuleArgs
- Client
Domain string - Client
Path string - Rule
Name string - Name of the cookie rewrite rule.
- Server
Domain string - Server
Path string
- Client
Domain string - Client
Path string - Rule
Name string - Name of the cookie rewrite rule.
- Server
Domain string - Server
Path string
- client
Domain String - client
Path String - rule
Name String - Name of the cookie rewrite rule.
- server
Domain String - server
Path String
- client
Domain string - client
Path string - rule
Name string - Name of the cookie rewrite rule.
- server
Domain string - server
Path string
- client_
domain str - client_
path str - rule_
name str - Name of the cookie rewrite rule.
- server_
domain str - server_
path str
- client
Domain String - client
Path String - rule
Name String - Name of the cookie rewrite rule.
- server
Domain String - server
Path String
ProfileRewriteRequest, ProfileRewriteRequestArgs
- Insert
Xfwd stringFor - Enable to add the X-Forwarded For (XFF) header, to specify the originating IP address of the client. Valid choices are:
enabled, disabled
- Insert
Xfwd stringHost - Enable to add the X-Forwarded Host header, to specify the originating host of the client. Valid choices are:
enabled, disabled
- Insert
Xfwd stringProtocol - Enable to add the X-Forwarded Proto header, to specify the originating protocol of the client. Valid choices are:
enabled, disabled
- Rewrite
Headers string - Enable to rewrite headers in Request settings. Valid choices are:
enabled, disabled
- Insert
Xfwd stringFor - Enable to add the X-Forwarded For (XFF) header, to specify the originating IP address of the client. Valid choices are:
enabled, disabled
- Insert
Xfwd stringHost - Enable to add the X-Forwarded Host header, to specify the originating host of the client. Valid choices are:
enabled, disabled
- Insert
Xfwd stringProtocol - Enable to add the X-Forwarded Proto header, to specify the originating protocol of the client. Valid choices are:
enabled, disabled
- Rewrite
Headers string - Enable to rewrite headers in Request settings. Valid choices are:
enabled, disabled
- insert
Xfwd StringFor - Enable to add the X-Forwarded For (XFF) header, to specify the originating IP address of the client. Valid choices are:
enabled, disabled
- insert
Xfwd StringHost - Enable to add the X-Forwarded Host header, to specify the originating host of the client. Valid choices are:
enabled, disabled
- insert
Xfwd StringProtocol - Enable to add the X-Forwarded Proto header, to specify the originating protocol of the client. Valid choices are:
enabled, disabled
- rewrite
Headers String - Enable to rewrite headers in Request settings. Valid choices are:
enabled, disabled
- insert
Xfwd stringFor - Enable to add the X-Forwarded For (XFF) header, to specify the originating IP address of the client. Valid choices are:
enabled, disabled
- insert
Xfwd stringHost - Enable to add the X-Forwarded Host header, to specify the originating host of the client. Valid choices are:
enabled, disabled
- insert
Xfwd stringProtocol - Enable to add the X-Forwarded Proto header, to specify the originating protocol of the client. Valid choices are:
enabled, disabled
- rewrite
Headers string - Enable to rewrite headers in Request settings. Valid choices are:
enabled, disabled
- insert_
xfwd_ strfor - Enable to add the X-Forwarded For (XFF) header, to specify the originating IP address of the client. Valid choices are:
enabled, disabled
- insert_
xfwd_ strhost - Enable to add the X-Forwarded Host header, to specify the originating host of the client. Valid choices are:
enabled, disabled
- insert_
xfwd_ strprotocol - Enable to add the X-Forwarded Proto header, to specify the originating protocol of the client. Valid choices are:
enabled, disabled
- rewrite_
headers str - Enable to rewrite headers in Request settings. Valid choices are:
enabled, disabled
- insert
Xfwd StringFor - Enable to add the X-Forwarded For (XFF) header, to specify the originating IP address of the client. Valid choices are:
enabled, disabled
- insert
Xfwd StringHost - Enable to add the X-Forwarded Host header, to specify the originating host of the client. Valid choices are:
enabled, disabled
- insert
Xfwd StringProtocol - Enable to add the X-Forwarded Proto header, to specify the originating protocol of the client. Valid choices are:
enabled, disabled
- rewrite
Headers String - Enable to rewrite headers in Request settings. Valid choices are:
enabled, disabled
ProfileRewriteResponse, ProfileRewriteResponseArgs
- Rewrite
Content string - Enable to rewrite links in content in the response. Valid choices are:
enabled, disabled
- Rewrite
Headers string - Enable to rewrite headers in the response. Valid choices are:
enabled, disabled
- Rewrite
Content string - Enable to rewrite links in content in the response. Valid choices are:
enabled, disabled
- Rewrite
Headers string - Enable to rewrite headers in the response. Valid choices are:
enabled, disabled
- rewrite
Content String - Enable to rewrite links in content in the response. Valid choices are:
enabled, disabled
- rewrite
Headers String - Enable to rewrite headers in the response. Valid choices are:
enabled, disabled
- rewrite
Content string - Enable to rewrite links in content in the response. Valid choices are:
enabled, disabled
- rewrite
Headers string - Enable to rewrite headers in the response. Valid choices are:
enabled, disabled
- rewrite_
content str - Enable to rewrite links in content in the response. Valid choices are:
enabled, disabled
- rewrite_
headers str - Enable to rewrite headers in the response. Valid choices are:
enabled, disabled
- rewrite
Content String - Enable to rewrite links in content in the response. Valid choices are:
enabled, disabled
- rewrite
Headers String - Enable to rewrite headers in the response. Valid choices are:
enabled, disabled
Package Details
- Repository
- f5 BIG-IP pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigip
Terraform Provider.