1. Packages
  2. Fortios
  3. API Docs
  4. webproxy
  5. Profile
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
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
Copy

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
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());
Copy
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=[{
        "action": "string",
        "add_option": "string",
        "base64_encoding": "string",
        "content": "string",
        "dstaddr6s": [{
            "name": "string",
        }],
        "dstaddrs": [{
            "name": "string",
        }],
        "id": 0,
        "name": "string",
        "protocol": "string",
    }],
    log_header_change="string",
    name="string",
    strip_encoding="string",
    vdomparam="string")
Copy
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",
});
Copy
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
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Profile resource accepts the following input properties:

DynamicSortSubtable string
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 ].
GetAllTables string
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.
HeaderClientIp string
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.
HeaderFrontEndHttps string
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.
HeaderViaRequest string
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderViaResponse string
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderXAuthenticatedGroups string
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.
HeaderXAuthenticatedUser string
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.
HeaderXForwardedClientCert string
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.
HeaderXForwardedFor string
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.ProfileHeader>
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
LogHeaderChange string
Enable/disable logging HTTP header changes. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Profile name.
StripEncoding string
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
DynamicSortSubtable string
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 ].
GetAllTables string
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.
HeaderClientIp string
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.
HeaderFrontEndHttps string
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.
HeaderViaRequest string
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderViaResponse string
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderXAuthenticatedGroups string
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.
HeaderXAuthenticatedUser string
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.
HeaderXForwardedClientCert string
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.
HeaderXForwardedFor string
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 []ProfileHeaderArgs
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
LogHeaderChange string
Enable/disable logging HTTP header changes. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Profile name.
StripEncoding string
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
dynamicSortSubtable String
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 ].
getAllTables String
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.
headerClientIp String
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.
headerFrontEndHttps String
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.
headerViaRequest String
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerViaResponse String
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerXAuthenticatedGroups String
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.
headerXAuthenticatedUser String
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.
headerXForwardedClientCert String
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.
headerXForwardedFor String
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<ProfileHeader>
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
logHeaderChange String
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Profile name.
stripEncoding String
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
dynamicSortSubtable string
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 ].
getAllTables string
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.
headerClientIp string
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.
headerFrontEndHttps string
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.
headerViaRequest string
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerViaResponse string
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerXAuthenticatedGroups string
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.
headerXAuthenticatedUser string
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.
headerXForwardedClientCert string
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.
headerXForwardedFor string
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 ProfileHeader[]
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
logHeaderChange string
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. string
Profile name.
stripEncoding string
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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_subtable str
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_tables str
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_ip str
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_end_https str
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_request str
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_response str
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_authenticated_groups str
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_authenticated_user str
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_forwarded_client_cert str
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_forwarded_for str
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[ProfileHeaderArgs]
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
log_header_change str
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. str
Profile name.
strip_encoding str
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
dynamicSortSubtable String
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 ].
getAllTables String
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.
headerClientIp String
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.
headerFrontEndHttps String
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.
headerViaRequest String
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerViaResponse String
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerXAuthenticatedGroups String
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.
headerXAuthenticatedUser String
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.
headerXForwardedClientCert String
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.
headerXForwardedFor String
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.
logHeaderChange String
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Profile name.
stripEncoding String
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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)
resources:  _:    type: fortios:webproxy:Profile    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DynamicSortSubtable string
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 ].
GetAllTables string
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.
HeaderClientIp string
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.
HeaderFrontEndHttps string
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.
HeaderViaRequest string
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderViaResponse string
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderXAuthenticatedGroups string
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.
HeaderXAuthenticatedUser string
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.
HeaderXForwardedClientCert string
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.
HeaderXForwardedFor string
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.ProfileHeader>
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
LogHeaderChange string
Enable/disable logging HTTP header changes. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Profile name.
StripEncoding string
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
DynamicSortSubtable string
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 ].
GetAllTables string
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.
HeaderClientIp string
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.
HeaderFrontEndHttps string
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.
HeaderViaRequest string
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderViaResponse string
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
HeaderXAuthenticatedGroups string
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.
HeaderXAuthenticatedUser string
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.
HeaderXForwardedClientCert string
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.
HeaderXForwardedFor string
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 []ProfileHeaderArgs
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
LogHeaderChange string
Enable/disable logging HTTP header changes. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Profile name.
StripEncoding string
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
dynamicSortSubtable String
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 ].
getAllTables String
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.
headerClientIp String
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.
headerFrontEndHttps String
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.
headerViaRequest String
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerViaResponse String
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerXAuthenticatedGroups String
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.
headerXAuthenticatedUser String
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.
headerXForwardedClientCert String
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.
headerXForwardedFor String
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<ProfileHeader>
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
logHeaderChange String
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Profile name.
stripEncoding String
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
dynamicSortSubtable string
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 ].
getAllTables string
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.
headerClientIp string
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.
headerFrontEndHttps string
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.
headerViaRequest string
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerViaResponse string
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerXAuthenticatedGroups string
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.
headerXAuthenticatedUser string
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.
headerXForwardedClientCert string
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.
headerXForwardedFor string
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 ProfileHeader[]
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
logHeaderChange string
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. string
Profile name.
stripEncoding string
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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_subtable str
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_tables str
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_ip str
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_end_https str
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_request str
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_response str
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_authenticated_groups str
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_authenticated_user str
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_forwarded_client_cert str
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_forwarded_for str
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[ProfileHeaderArgs]
Configure HTTP forwarded requests headers. The structure of headers block is documented below.
log_header_change str
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. str
Profile name.
strip_encoding str
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
dynamicSortSubtable String
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 ].
getAllTables String
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.
headerClientIp String
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.
headerFrontEndHttps String
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.
headerViaRequest String
Action to take on the HTTP via header in forwarded requests: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerViaResponse String
Action to take on the HTTP via header in forwarded responses: forwards (pass), adds, or removes the HTTP header. Valid values: pass, add, remove.
headerXAuthenticatedGroups String
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.
headerXAuthenticatedUser String
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.
headerXForwardedClientCert String
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.
headerXForwardedFor String
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.
logHeaderChange String
Enable/disable logging HTTP header changes. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Profile name.
stripEncoding String
Enable/disable stripping unsupported encoding from the request header. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
AddOption 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.ProfileHeaderDstaddr6>
Destination address and address group names (IPv6). The structure of dstaddr6 block is documented below.
Dstaddrs List<Pulumiverse.Fortios.Webproxy.Inputs.ProfileHeaderDstaddr>
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.
AddOption 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 []ProfileHeaderDstaddr6
Destination address and address group names (IPv6). The structure of dstaddr6 block is documented below.
Dstaddrs []ProfileHeaderDstaddr
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.
addOption 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<ProfileHeaderDstaddr6>
Destination address and address group names (IPv6). The structure of dstaddr6 block is documented below.
dstaddrs List<ProfileHeaderDstaddr>
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.
addOption 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 ProfileHeaderDstaddr6[]
Destination address and address group names (IPv6). The structure of dstaddr6 block is documented below.
dstaddrs ProfileHeaderDstaddr[]
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[ProfileHeaderDstaddr6]
Destination address and address group names (IPv6). The structure of dstaddr6 block is documented below.
dstaddrs Sequence[ProfileHeaderDstaddr]
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.
addOption 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}}
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:webproxy/profile:Profile labelname {{name}}
Copy

$ 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.