1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWebproxyProfileHeaders
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectWebproxyProfileHeaders

Explore with Pulumi AI

Configure HTTP forwarded requests headers.

This resource is a sub resource for variable headers of resource fortimanager.ObjectWebproxyProfile. Conflict and overwrite may occur if use both of them.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname2 = new fortimanager.ObjectWebproxyProfile("trname2", {});
const trname = new fortimanager.ObjectWebproxyProfileHeaders("trname", {
    fosid: 1,
    protocols: ["https"],
    profile: trname2.name,
}, {
    dependsOn: [trname2],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname2 = fortimanager.ObjectWebproxyProfile("trname2")
trname = fortimanager.ObjectWebproxyProfileHeaders("trname",
    fosid=1,
    protocols=["https"],
    profile=trname2.name,
    opts = pulumi.ResourceOptions(depends_on=[trname2]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trname2, err := fortimanager.NewObjectWebproxyProfile(ctx, "trname2", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectWebproxyProfileHeaders(ctx, "trname", &fortimanager.ObjectWebproxyProfileHeadersArgs{
			Fosid: pulumi.Float64(1),
			Protocols: pulumi.StringArray{
				pulumi.String("https"),
			},
			Profile: trname2.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trname2,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname2 = new Fortimanager.ObjectWebproxyProfile("trname2");

    var trname = new Fortimanager.ObjectWebproxyProfileHeaders("trname", new()
    {
        Fosid = 1,
        Protocols = new[]
        {
            "https",
        },
        Profile = trname2.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trname2,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectWebproxyProfile;
import com.pulumi.fortimanager.ObjectWebproxyProfileHeaders;
import com.pulumi.fortimanager.ObjectWebproxyProfileHeadersArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trname2 = new ObjectWebproxyProfile("trname2");

        var trname = new ObjectWebproxyProfileHeaders("trname", ObjectWebproxyProfileHeadersArgs.builder()
            .fosid(1)
            .protocols("https")
            .profile(trname2.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trname2)
                .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectWebproxyProfileHeaders
    properties:
      fosid: 1
      protocols:
        - https
      profile: ${trname2.name}
    options:
      dependsOn:
        - ${trname2}
  trname2:
    type: fortimanager:ObjectWebproxyProfile
Copy

Create ObjectWebproxyProfileHeaders Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectWebproxyProfileHeaders(name: string, args: ObjectWebproxyProfileHeadersArgs, opts?: CustomResourceOptions);
@overload
def ObjectWebproxyProfileHeaders(resource_name: str,
                                 args: ObjectWebproxyProfileHeadersArgs,
                                 opts: Optional[ResourceOptions] = None)

@overload
def ObjectWebproxyProfileHeaders(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 profile: Optional[str] = None,
                                 dstaddr6: Optional[str] = None,
                                 adom: Optional[str] = None,
                                 base64_encoding: Optional[str] = None,
                                 content: Optional[str] = None,
                                 dstaddr: Optional[str] = None,
                                 action: Optional[str] = None,
                                 fosid: Optional[float] = None,
                                 name: Optional[str] = None,
                                 object_webproxy_profile_headers_id: Optional[str] = None,
                                 add_option: Optional[str] = None,
                                 protocols: Optional[Sequence[str]] = None,
                                 scopetype: Optional[str] = None)
func NewObjectWebproxyProfileHeaders(ctx *Context, name string, args ObjectWebproxyProfileHeadersArgs, opts ...ResourceOption) (*ObjectWebproxyProfileHeaders, error)
public ObjectWebproxyProfileHeaders(string name, ObjectWebproxyProfileHeadersArgs args, CustomResourceOptions? opts = null)
public ObjectWebproxyProfileHeaders(String name, ObjectWebproxyProfileHeadersArgs args)
public ObjectWebproxyProfileHeaders(String name, ObjectWebproxyProfileHeadersArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWebproxyProfileHeaders
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 This property is required. ObjectWebproxyProfileHeadersArgs
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 This property is required. ObjectWebproxyProfileHeadersArgs
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 This property is required. ObjectWebproxyProfileHeadersArgs
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 This property is required. ObjectWebproxyProfileHeadersArgs
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. ObjectWebproxyProfileHeadersArgs
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 objectWebproxyProfileHeadersResource = new Fortimanager.ObjectWebproxyProfileHeaders("objectWebproxyProfileHeadersResource", new()
{
    Profile = "string",
    Dstaddr6 = "string",
    Adom = "string",
    Base64Encoding = "string",
    Content = "string",
    Dstaddr = "string",
    Action = "string",
    Fosid = 0,
    Name = "string",
    ObjectWebproxyProfileHeadersId = "string",
    AddOption = "string",
    Protocols = new[]
    {
        "string",
    },
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectWebproxyProfileHeaders(ctx, "objectWebproxyProfileHeadersResource", &fortimanager.ObjectWebproxyProfileHeadersArgs{
Profile: pulumi.String("string"),
Dstaddr6: pulumi.String("string"),
Adom: pulumi.String("string"),
Base64Encoding: pulumi.String("string"),
Content: pulumi.String("string"),
Dstaddr: pulumi.String("string"),
Action: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectWebproxyProfileHeadersId: pulumi.String("string"),
AddOption: pulumi.String("string"),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Scopetype: pulumi.String("string"),
})
Copy
var objectWebproxyProfileHeadersResource = new ObjectWebproxyProfileHeaders("objectWebproxyProfileHeadersResource", ObjectWebproxyProfileHeadersArgs.builder()
    .profile("string")
    .dstaddr6("string")
    .adom("string")
    .base64Encoding("string")
    .content("string")
    .dstaddr("string")
    .action("string")
    .fosid(0)
    .name("string")
    .objectWebproxyProfileHeadersId("string")
    .addOption("string")
    .protocols("string")
    .scopetype("string")
    .build());
Copy
object_webproxy_profile_headers_resource = fortimanager.ObjectWebproxyProfileHeaders("objectWebproxyProfileHeadersResource",
    profile="string",
    dstaddr6="string",
    adom="string",
    base64_encoding="string",
    content="string",
    dstaddr="string",
    action="string",
    fosid=0,
    name="string",
    object_webproxy_profile_headers_id="string",
    add_option="string",
    protocols=["string"],
    scopetype="string")
Copy
const objectWebproxyProfileHeadersResource = new fortimanager.ObjectWebproxyProfileHeaders("objectWebproxyProfileHeadersResource", {
    profile: "string",
    dstaddr6: "string",
    adom: "string",
    base64Encoding: "string",
    content: "string",
    dstaddr: "string",
    action: "string",
    fosid: 0,
    name: "string",
    objectWebproxyProfileHeadersId: "string",
    addOption: "string",
    protocols: ["string"],
    scopetype: "string",
});
Copy
type: fortimanager:ObjectWebproxyProfileHeaders
properties:
    action: string
    addOption: string
    adom: string
    base64Encoding: string
    content: string
    dstaddr: string
    dstaddr6: string
    fosid: 0
    name: string
    objectWebproxyProfileHeadersId: string
    profile: string
    protocols:
        - string
    scopetype: string
Copy

ObjectWebproxyProfileHeaders 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 ObjectWebproxyProfileHeaders resource accepts the following input properties:

Profile This property is required. string
Profile.
Action string
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
AddOption string
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Base64Encoding string
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
Content string
HTTP header content.
Dstaddr string
Destination address and address group names.
Dstaddr6 string
Destination address and address group names (IPv6).
Fosid double
HTTP forwarded header id.
Name string
HTTP forwarded header name.
ObjectWebproxyProfileHeadersId string
an identifier for the resource with format {{fosid}}.
Protocols List<string>
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Profile This property is required. string
Profile.
Action string
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
AddOption string
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Base64Encoding string
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
Content string
HTTP header content.
Dstaddr string
Destination address and address group names.
Dstaddr6 string
Destination address and address group names (IPv6).
Fosid float64
HTTP forwarded header id.
Name string
HTTP forwarded header name.
ObjectWebproxyProfileHeadersId string
an identifier for the resource with format {{fosid}}.
Protocols []string
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. String
Profile.
action String
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
addOption String
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64Encoding String
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content String
HTTP header content.
dstaddr String
Destination address and address group names.
dstaddr6 String
Destination address and address group names (IPv6).
fosid Double
HTTP forwarded header id.
name String
HTTP forwarded header name.
objectWebproxyProfileHeadersId String
an identifier for the resource with format {{fosid}}.
protocols List<String>
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. string
Profile.
action string
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
addOption string
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64Encoding string
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content string
HTTP header content.
dstaddr string
Destination address and address group names.
dstaddr6 string
Destination address and address group names (IPv6).
fosid number
HTTP forwarded header id.
name string
HTTP forwarded header name.
objectWebproxyProfileHeadersId string
an identifier for the resource with format {{fosid}}.
protocols string[]
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. str
Profile.
action str
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64_encoding str
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content str
HTTP header content.
dstaddr str
Destination address and address group names.
dstaddr6 str
Destination address and address group names (IPv6).
fosid float
HTTP forwarded header id.
name str
HTTP forwarded header name.
object_webproxy_profile_headers_id str
an identifier for the resource with format {{fosid}}.
protocols Sequence[str]
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. String
Profile.
action String
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
addOption String
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64Encoding String
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content String
HTTP header content.
dstaddr String
Destination address and address group names.
dstaddr6 String
Destination address and address group names (IPv6).
fosid Number
HTTP forwarded header id.
name String
HTTP forwarded header name.
objectWebproxyProfileHeadersId String
an identifier for the resource with format {{fosid}}.
protocols List<String>
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectWebproxyProfileHeaders 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 ObjectWebproxyProfileHeaders Resource

Get an existing ObjectWebproxyProfileHeaders 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?: ObjectWebproxyProfileHeadersState, opts?: CustomResourceOptions): ObjectWebproxyProfileHeaders
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        add_option: Optional[str] = None,
        adom: Optional[str] = None,
        base64_encoding: Optional[str] = None,
        content: Optional[str] = None,
        dstaddr: Optional[str] = None,
        dstaddr6: Optional[str] = None,
        fosid: Optional[float] = None,
        name: Optional[str] = None,
        object_webproxy_profile_headers_id: Optional[str] = None,
        profile: Optional[str] = None,
        protocols: Optional[Sequence[str]] = None,
        scopetype: Optional[str] = None) -> ObjectWebproxyProfileHeaders
func GetObjectWebproxyProfileHeaders(ctx *Context, name string, id IDInput, state *ObjectWebproxyProfileHeadersState, opts ...ResourceOption) (*ObjectWebproxyProfileHeaders, error)
public static ObjectWebproxyProfileHeaders Get(string name, Input<string> id, ObjectWebproxyProfileHeadersState? state, CustomResourceOptions? opts = null)
public static ObjectWebproxyProfileHeaders get(String name, Output<String> id, ObjectWebproxyProfileHeadersState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWebproxyProfileHeaders    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:
Action string
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
AddOption string
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Base64Encoding string
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
Content string
HTTP header content.
Dstaddr string
Destination address and address group names.
Dstaddr6 string
Destination address and address group names (IPv6).
Fosid double
HTTP forwarded header id.
Name string
HTTP forwarded header name.
ObjectWebproxyProfileHeadersId string
an identifier for the resource with format {{fosid}}.
Profile string
Profile.
Protocols List<string>
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Action string
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
AddOption string
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Base64Encoding string
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
Content string
HTTP header content.
Dstaddr string
Destination address and address group names.
Dstaddr6 string
Destination address and address group names (IPv6).
Fosid float64
HTTP forwarded header id.
Name string
HTTP forwarded header name.
ObjectWebproxyProfileHeadersId string
an identifier for the resource with format {{fosid}}.
Profile string
Profile.
Protocols []string
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
action String
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
addOption String
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64Encoding String
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content String
HTTP header content.
dstaddr String
Destination address and address group names.
dstaddr6 String
Destination address and address group names (IPv6).
fosid Double
HTTP forwarded header id.
name String
HTTP forwarded header name.
objectWebproxyProfileHeadersId String
an identifier for the resource with format {{fosid}}.
profile String
Profile.
protocols List<String>
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
action string
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
addOption string
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64Encoding string
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content string
HTTP header content.
dstaddr string
Destination address and address group names.
dstaddr6 string
Destination address and address group names (IPv6).
fosid number
HTTP forwarded header id.
name string
HTTP forwarded header name.
objectWebproxyProfileHeadersId string
an identifier for the resource with format {{fosid}}.
profile string
Profile.
protocols string[]
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
action str
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
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.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64_encoding str
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content str
HTTP header content.
dstaddr str
Destination address and address group names.
dstaddr6 str
Destination address and address group names (IPv6).
fosid float
HTTP forwarded header id.
name str
HTTP forwarded header name.
object_webproxy_profile_headers_id str
an identifier for the resource with format {{fosid}}.
profile str
Profile.
protocols Sequence[str]
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
action String
Action when the HTTP header is forwarded. Valid values: add-to-request, add-to-response, remove-from-request, remove-from-response.
addOption String
Configure options to append content to existing HTTP header or add new HTTP header. Valid values: append, new-on-not-found, new.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
base64Encoding String
Enable/disable use of base64 encoding of HTTP content. Valid values: disable, enable.
content String
HTTP header content.
dstaddr String
Destination address and address group names.
dstaddr6 String
Destination address and address group names (IPv6).
fosid Number
HTTP forwarded header id.
name String
HTTP forwarded header name.
objectWebproxyProfileHeadersId String
an identifier for the resource with format {{fosid}}.
profile String
Profile.
protocols List<String>
Configure protocol(s) to take add-option action on (HTTP, HTTPS, or both). Valid values: https, http.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Import

ObjectWebProxy ProfileHeaders can be imported using any of these accepted formats:

Set import_options = [“profile=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWebproxyProfileHeaders:ObjectWebproxyProfileHeaders labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.