fortios.webproxy.Profile
Explore with Pulumi AI
Configure web proxy profiles.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.webproxy.Profile("trname", {
headerClientIp: "pass",
headerFrontEndHttps: "pass",
headerViaRequest: "add",
headerViaResponse: "pass",
headerXAuthenticatedGroups: "pass",
headerXAuthenticatedUser: "pass",
headerXForwardedFor: "pass",
logHeaderChange: "disable",
stripEncoding: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.webproxy.Profile("trname",
header_client_ip="pass",
header_front_end_https="pass",
header_via_request="add",
header_via_response="pass",
header_x_authenticated_groups="pass",
header_x_authenticated_user="pass",
header_x_forwarded_for="pass",
log_header_change="disable",
strip_encoding="disable")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/webproxy"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := webproxy.NewProfile(ctx, "trname", &webproxy.ProfileArgs{
HeaderClientIp: pulumi.String("pass"),
HeaderFrontEndHttps: pulumi.String("pass"),
HeaderViaRequest: pulumi.String("add"),
HeaderViaResponse: pulumi.String("pass"),
HeaderXAuthenticatedGroups: pulumi.String("pass"),
HeaderXAuthenticatedUser: pulumi.String("pass"),
HeaderXForwardedFor: pulumi.String("pass"),
LogHeaderChange: pulumi.String("disable"),
StripEncoding: pulumi.String("disable"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Webproxy.Profile("trname", new()
{
HeaderClientIp = "pass",
HeaderFrontEndHttps = "pass",
HeaderViaRequest = "add",
HeaderViaResponse = "pass",
HeaderXAuthenticatedGroups = "pass",
HeaderXAuthenticatedUser = "pass",
HeaderXForwardedFor = "pass",
LogHeaderChange = "disable",
StripEncoding = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.webproxy.Profile;
import com.pulumi.fortios.webproxy.ProfileArgs;
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 trname = new Profile("trname", ProfileArgs.builder()
.headerClientIp("pass")
.headerFrontEndHttps("pass")
.headerViaRequest("add")
.headerViaResponse("pass")
.headerXAuthenticatedGroups("pass")
.headerXAuthenticatedUser("pass")
.headerXForwardedFor("pass")
.logHeaderChange("disable")
.stripEncoding("disable")
.build());
}
}
resources:
trname:
type: fortios:webproxy:Profile
properties:
headerClientIp: pass
headerFrontEndHttps: pass
headerViaRequest: add
headerViaResponse: pass
headerXAuthenticatedGroups: pass
headerXAuthenticatedUser: pass
headerXForwardedFor: pass
logHeaderChange: disable
stripEncoding: disable
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
@overload
def Profile(resource_name: str,
args: Optional[ProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
opts: Optional[ResourceOptions] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
header_client_ip: Optional[str] = None,
header_front_end_https: Optional[str] = None,
header_via_request: Optional[str] = None,
header_via_response: Optional[str] = None,
header_x_authenticated_groups: Optional[str] = None,
header_x_authenticated_user: Optional[str] = None,
header_x_forwarded_client_cert: Optional[str] = None,
header_x_forwarded_for: Optional[str] = None,
headers: Optional[Sequence[ProfileHeaderArgs]] = None,
log_header_change: Optional[str] = None,
name: Optional[str] = None,
strip_encoding: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: fortios:webproxy:Profile
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 ProfileArgs
- 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 ProfileArgs
- 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 ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- 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 exampleprofileResourceResourceFromWebproxyprofile = new Fortios.Webproxy.Profile("exampleprofileResourceResourceFromWebproxyprofile", new()
{
DynamicSortSubtable = "string",
GetAllTables = "string",
HeaderClientIp = "string",
HeaderFrontEndHttps = "string",
HeaderViaRequest = "string",
HeaderViaResponse = "string",
HeaderXAuthenticatedGroups = "string",
HeaderXAuthenticatedUser = "string",
HeaderXForwardedClientCert = "string",
HeaderXForwardedFor = "string",
Headers = new[]
{
new Fortios.Webproxy.Inputs.ProfileHeaderArgs
{
Action = "string",
AddOption = "string",
Base64Encoding = "string",
Content = "string",
Dstaddr6s = new[]
{
new Fortios.Webproxy.Inputs.ProfileHeaderDstaddr6Args
{
Name = "string",
},
},
Dstaddrs = new[]
{
new Fortios.Webproxy.Inputs.ProfileHeaderDstaddrArgs
{
Name = "string",
},
},
Id = 0,
Name = "string",
Protocol = "string",
},
},
LogHeaderChange = "string",
Name = "string",
StripEncoding = "string",
Vdomparam = "string",
});
example, err := webproxy.NewProfile(ctx, "exampleprofileResourceResourceFromWebproxyprofile", &webproxy.ProfileArgs{
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
HeaderClientIp: pulumi.String("string"),
HeaderFrontEndHttps: pulumi.String("string"),
HeaderViaRequest: pulumi.String("string"),
HeaderViaResponse: pulumi.String("string"),
HeaderXAuthenticatedGroups: pulumi.String("string"),
HeaderXAuthenticatedUser: pulumi.String("string"),
HeaderXForwardedClientCert: pulumi.String("string"),
HeaderXForwardedFor: pulumi.String("string"),
Headers: webproxy.ProfileHeaderArray{
&webproxy.ProfileHeaderArgs{
Action: pulumi.String("string"),
AddOption: pulumi.String("string"),
Base64Encoding: pulumi.String("string"),
Content: pulumi.String("string"),
Dstaddr6s: webproxy.ProfileHeaderDstaddr6Array{
&webproxy.ProfileHeaderDstaddr6Args{
Name: pulumi.String("string"),
},
},
Dstaddrs: webproxy.ProfileHeaderDstaddrArray{
&webproxy.ProfileHeaderDstaddrArgs{
Name: pulumi.String("string"),
},
},
Id: pulumi.Int(0),
Name: pulumi.String("string"),
Protocol: pulumi.String("string"),
},
},
LogHeaderChange: pulumi.String("string"),
Name: pulumi.String("string"),
StripEncoding: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var exampleprofileResourceResourceFromWebproxyprofile = new Profile("exampleprofileResourceResourceFromWebproxyprofile", ProfileArgs.builder()
.dynamicSortSubtable("string")
.getAllTables("string")
.headerClientIp("string")
.headerFrontEndHttps("string")
.headerViaRequest("string")
.headerViaResponse("string")
.headerXAuthenticatedGroups("string")
.headerXAuthenticatedUser("string")
.headerXForwardedClientCert("string")
.headerXForwardedFor("string")
.headers(ProfileHeaderArgs.builder()
.action("string")
.addOption("string")
.base64Encoding("string")
.content("string")
.dstaddr6s(ProfileHeaderDstaddr6Args.builder()
.name("string")
.build())
.dstaddrs(ProfileHeaderDstaddrArgs.builder()
.name("string")
.build())
.id(0)
.name("string")
.protocol("string")
.build())
.logHeaderChange("string")
.name("string")
.stripEncoding("string")
.vdomparam("string")
.build());
exampleprofile_resource_resource_from_webproxyprofile = fortios.webproxy.Profile("exampleprofileResourceResourceFromWebproxyprofile",
dynamic_sort_subtable="string",
get_all_tables="string",
header_client_ip="string",
header_front_end_https="string",
header_via_request="string",
header_via_response="string",
header_x_authenticated_groups="string",
header_x_authenticated_user="string",
header_x_forwarded_client_cert="string",
header_x_forwarded_for="string",
headers=[fortios.webproxy.ProfileHeaderArgs(
action="string",
add_option="string",
base64_encoding="string",
content="string",
dstaddr6s=[fortios.webproxy.ProfileHeaderDstaddr6Args(
name="string",
)],
dstaddrs=[fortios.webproxy.ProfileHeaderDstaddrArgs(
name="string",
)],
id=0,
name="string",
protocol="string",
)],
log_header_change="string",
name="string",
strip_encoding="string",
vdomparam="string")
const exampleprofileResourceResourceFromWebproxyprofile = new fortios.webproxy.Profile("exampleprofileResourceResourceFromWebproxyprofile", {
dynamicSortSubtable: "string",
getAllTables: "string",
headerClientIp: "string",
headerFrontEndHttps: "string",
headerViaRequest: "string",
headerViaResponse: "string",
headerXAuthenticatedGroups: "string",
headerXAuthenticatedUser: "string",
headerXForwardedClientCert: "string",
headerXForwardedFor: "string",
headers: [{
action: "string",
addOption: "string",
base64Encoding: "string",
content: "string",
dstaddr6s: [{
name: "string",
}],
dstaddrs: [{
name: "string",
}],
id: 0,
name: "string",
protocol: "string",
}],
logHeaderChange: "string",
name: "string",
stripEncoding: "string",
vdomparam: "string",
});
type: fortios:webproxy:Profile
properties:
dynamicSortSubtable: string
getAllTables: string
headerClientIp: string
headerFrontEndHttps: string
headerViaRequest: string
headerViaResponse: string
headerXAuthenticatedGroups: string
headerXAuthenticatedUser: string
headerXForwardedClientCert: string
headerXForwardedFor: string
headers:
- action: string
addOption: string
base64Encoding: string
content: string
dstaddr6s:
- name: string
dstaddrs:
- name: string
id: 0
name: string
protocol: string
logHeaderChange: string
name: string
stripEncoding: string
vdomparam: string
Profile 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 Profile resource accepts the following input properties:
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Header
Client stringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Front stringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Headers
List<Pulumiverse.
Fortios. Webproxy. Inputs. Profile Header> - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - Log
Header stringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - Name string
- Profile name.
- Strip
Encoding string - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Header
Client stringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Front stringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Headers
[]Profile
Header Args - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - Log
Header stringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - Name string
- Profile name.
- Strip
Encoding string - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header
Client StringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Front StringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers
List<Profile
Header> - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log
Header StringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name String
- Profile name.
- strip
Encoding String - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header
Client stringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Front stringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via stringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via stringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated stringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated stringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded stringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded stringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers
Profile
Header[] - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log
Header stringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name string
- Profile name.
- strip
Encoding string - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header_
client_ strip - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
front_ strend_ https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
via_ strrequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
via_ strresponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strauthenticated_ groups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strauthenticated_ user - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strforwarded_ client_ cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strforwarded_ for - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers
Sequence[Profile
Header Args] - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log_
header_ strchange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name str
- Profile name.
- strip_
encoding str - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header
Client StringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Front StringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers List<Property Map>
- Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log
Header StringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name String
- Profile name.
- strip
Encoding String - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile 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 Profile Resource
Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
header_client_ip: Optional[str] = None,
header_front_end_https: Optional[str] = None,
header_via_request: Optional[str] = None,
header_via_response: Optional[str] = None,
header_x_authenticated_groups: Optional[str] = None,
header_x_authenticated_user: Optional[str] = None,
header_x_forwarded_client_cert: Optional[str] = None,
header_x_forwarded_for: Optional[str] = None,
headers: Optional[Sequence[ProfileHeaderArgs]] = None,
log_header_change: Optional[str] = None,
name: Optional[str] = None,
strip_encoding: Optional[str] = None,
vdomparam: Optional[str] = None) -> Profile
func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
public static Profile get(String name, Output<String> id, ProfileState 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.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Header
Client stringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Front stringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Headers
List<Pulumiverse.
Fortios. Webproxy. Inputs. Profile Header> - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - Log
Header stringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - Name string
- Profile name.
- Strip
Encoding string - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Header
Client stringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Front stringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
Via stringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XAuthenticated stringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Header
XForwarded stringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - Headers
[]Profile
Header Args - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - Log
Header stringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - Name string
- Profile name.
- Strip
Encoding string - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header
Client StringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Front StringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers
List<Profile
Header> - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log
Header StringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name String
- Profile name.
- strip
Encoding String - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header
Client stringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Front stringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via stringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via stringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated stringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated stringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded stringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded stringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers
Profile
Header[] - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log
Header stringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name string
- Profile name.
- strip
Encoding string - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header_
client_ strip - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
front_ strend_ https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
via_ strrequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
via_ strresponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strauthenticated_ groups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strauthenticated_ user - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strforwarded_ client_ cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header_
x_ strforwarded_ for - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers
Sequence[Profile
Header Args] - Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log_
header_ strchange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name str
- Profile name.
- strip_
encoding str - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- header
Client StringIp - Action to take on the HTTP client-IP header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Front StringEnd Https - Action to take on the HTTP front-end-HTTPS header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringRequest - Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
Via StringResponse - Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringGroups - Action to take on the HTTP x-authenticated-groups header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XAuthenticated StringUser - Action to take on the HTTP x-authenticated-user header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringClient Cert - Action to take on the HTTP x-forwarded-client-cert header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - header
XForwarded StringFor - Action to take on the HTTP x-forwarded-for header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values:
pass
,add
,remove
. - headers List<Property Map>
- Configure HTTP forwarded requests headers. The structure of
headers
block is documented below. - log
Header StringChange - Enable/disable logging HTTP header changes. Valid values:
enable
,disable
. - name String
- Profile name.
- strip
Encoding String - Enable/disable stripping unsupported encoding from the request header. Valid values:
enable
,disable
. - vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
ProfileHeader, ProfileHeaderArgs
- Action string
- Action when the HTTP header is forwarded.
- Add
Option string - Configure options to append content to existing HTTP header or add new HTTP header. Valid values:
append
,new-on-not-found
,new
. - Base64Encoding string
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - Content string
- HTTP header content.
- Dstaddr6s
List<Pulumiverse.
Fortios. Webproxy. Inputs. Profile Header Dstaddr6> - Destination address and address group names (IPv6). The structure of
dstaddr6
block is documented below. - Dstaddrs
List<Pulumiverse.
Fortios. Webproxy. Inputs. Profile Header Dstaddr> - Destination address and address group names. The structure of
dstaddr
block is documented below. - Id int
- HTTP forwarded header id.
- Name string
- HTTP forwarded header name.
- Protocol string
- Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values:
https
,http
.
- Action string
- Action when the HTTP header is forwarded.
- Add
Option string - Configure options to append content to existing HTTP header or add new HTTP header. Valid values:
append
,new-on-not-found
,new
. - Base64Encoding string
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - Content string
- HTTP header content.
- Dstaddr6s
[]Profile
Header Dstaddr6 - Destination address and address group names (IPv6). The structure of
dstaddr6
block is documented below. - Dstaddrs
[]Profile
Header Dstaddr - Destination address and address group names. The structure of
dstaddr
block is documented below. - Id int
- HTTP forwarded header id.
- Name string
- HTTP forwarded header name.
- Protocol string
- Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values:
https
,http
.
- action String
- Action when the HTTP header is forwarded.
- add
Option String - Configure options to append content to existing HTTP header or add new HTTP header. Valid values:
append
,new-on-not-found
,new
. - base64Encoding String
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content String
- HTTP header content.
- dstaddr6s
List<Profile
Header Dstaddr6> - Destination address and address group names (IPv6). The structure of
dstaddr6
block is documented below. - dstaddrs
List<Profile
Header Dstaddr> - Destination address and address group names. The structure of
dstaddr
block is documented below. - id Integer
- HTTP forwarded header id.
- name String
- HTTP forwarded header name.
- protocol String
- Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values:
https
,http
.
- action string
- Action when the HTTP header is forwarded.
- add
Option string - Configure options to append content to existing HTTP header or add new HTTP header. Valid values:
append
,new-on-not-found
,new
. - base64Encoding string
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content string
- HTTP header content.
- dstaddr6s
Profile
Header Dstaddr6[] - Destination address and address group names (IPv6). The structure of
dstaddr6
block is documented below. - dstaddrs
Profile
Header Dstaddr[] - Destination address and address group names. The structure of
dstaddr
block is documented below. - id number
- HTTP forwarded header id.
- name string
- HTTP forwarded header name.
- protocol string
- Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values:
https
,http
.
- action str
- Action when the HTTP header is forwarded.
- add_
option str - Configure options to append content to existing HTTP header or add new HTTP header. Valid values:
append
,new-on-not-found
,new
. - base64_
encoding str - Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content str
- HTTP header content.
- dstaddr6s
Sequence[Profile
Header Dstaddr6] - Destination address and address group names (IPv6). The structure of
dstaddr6
block is documented below. - dstaddrs
Sequence[Profile
Header Dstaddr] - Destination address and address group names. The structure of
dstaddr
block is documented below. - id int
- HTTP forwarded header id.
- name str
- HTTP forwarded header name.
- protocol str
- Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values:
https
,http
.
- action String
- Action when the HTTP header is forwarded.
- add
Option String - Configure options to append content to existing HTTP header or add new HTTP header. Valid values:
append
,new-on-not-found
,new
. - base64Encoding String
- Enable/disable use of base64 encoding of HTTP content. Valid values:
disable
,enable
. - content String
- HTTP header content.
- dstaddr6s List<Property Map>
- Destination address and address group names (IPv6). The structure of
dstaddr6
block is documented below. - dstaddrs List<Property Map>
- Destination address and address group names. The structure of
dstaddr
block is documented below. - id Number
- HTTP forwarded header id.
- name String
- HTTP forwarded header name.
- protocol String
- Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values:
https
,http
.
ProfileHeaderDstaddr, ProfileHeaderDstaddrArgs
- Name string
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
ProfileHeaderDstaddr6, ProfileHeaderDstaddr6Args
- Name string
- Profile name.
- Name string
- Profile name.
- name String
- Profile name.
- name string
- Profile name.
- name str
- Profile name.
- name String
- Profile name.
Import
WebProxy Profile can be imported using any of these accepted formats:
$ pulumi import fortios:webproxy/profile:Profile labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:webproxy/profile:Profile labelname {{name}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.