1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWebproxyRedirectprofile
Viewing docs for fortimanager 1.16.0
published on Saturday, Mar 7, 2026 by fortinetdev
Viewing docs for fortimanager 1.16.0
published on Saturday, Mar 7, 2026 by fortinetdev

    ObjectWebProxy RedirectProfile

    The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

    • entries: fortimanager.ObjectWebproxyRedirectprofileEntries

    Create ObjectWebproxyRedirectprofile Resource

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

    Constructor syntax

    new ObjectWebproxyRedirectprofile(name: string, args?: ObjectWebproxyRedirectprofileArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectWebproxyRedirectprofile(resource_name: str,
                                      args: Optional[ObjectWebproxyRedirectprofileArgs] = None,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectWebproxyRedirectprofile(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      adom: Optional[str] = None,
                                      dynamic_sort_subtable: Optional[str] = None,
                                      entries: Optional[Sequence[ObjectWebproxyRedirectprofileEntryArgs]] = None,
                                      name: Optional[str] = None,
                                      object_webproxy_redirectprofile_id: Optional[str] = None,
                                      scopetype: Optional[str] = None)
    func NewObjectWebproxyRedirectprofile(ctx *Context, name string, args *ObjectWebproxyRedirectprofileArgs, opts ...ResourceOption) (*ObjectWebproxyRedirectprofile, error)
    public ObjectWebproxyRedirectprofile(string name, ObjectWebproxyRedirectprofileArgs? args = null, CustomResourceOptions? opts = null)
    public ObjectWebproxyRedirectprofile(String name, ObjectWebproxyRedirectprofileArgs args)
    public ObjectWebproxyRedirectprofile(String name, ObjectWebproxyRedirectprofileArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectWebproxyRedirectprofile
    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 ObjectWebproxyRedirectprofileArgs
    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 ObjectWebproxyRedirectprofileArgs
    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 ObjectWebproxyRedirectprofileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectWebproxyRedirectprofileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectWebproxyRedirectprofileArgs
    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 objectWebproxyRedirectprofileResource = new Fortimanager.Index.ObjectWebproxyRedirectprofile("objectWebproxyRedirectprofileResource", new()
    {
        Adom = "string",
        DynamicSortSubtable = "string",
        Entries = new[]
        {
            new Fortimanager.Inputs.ObjectWebproxyRedirectprofileEntryArgs
            {
                Id = 0,
                RedirectCode = "string",
                RedirectUrl = "string",
                Type = "string",
                Url = "string",
            },
        },
        Name = "string",
        ObjectWebproxyRedirectprofileId = "string",
        Scopetype = "string",
    });
    
    example, err := fortimanager.NewObjectWebproxyRedirectprofile(ctx, "objectWebproxyRedirectprofileResource", &fortimanager.ObjectWebproxyRedirectprofileArgs{
    	Adom:                pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	Entries: fortimanager.ObjectWebproxyRedirectprofileEntryArray{
    		&fortimanager.ObjectWebproxyRedirectprofileEntryArgs{
    			Id:           pulumi.Float64(0),
    			RedirectCode: pulumi.String("string"),
    			RedirectUrl:  pulumi.String("string"),
    			Type:         pulumi.String("string"),
    			Url:          pulumi.String("string"),
    		},
    	},
    	Name:                            pulumi.String("string"),
    	ObjectWebproxyRedirectprofileId: pulumi.String("string"),
    	Scopetype:                       pulumi.String("string"),
    })
    
    var objectWebproxyRedirectprofileResource = new ObjectWebproxyRedirectprofile("objectWebproxyRedirectprofileResource", ObjectWebproxyRedirectprofileArgs.builder()
        .adom("string")
        .dynamicSortSubtable("string")
        .entries(ObjectWebproxyRedirectprofileEntryArgs.builder()
            .id(0.0)
            .redirectCode("string")
            .redirectUrl("string")
            .type("string")
            .url("string")
            .build())
        .name("string")
        .objectWebproxyRedirectprofileId("string")
        .scopetype("string")
        .build());
    
    object_webproxy_redirectprofile_resource = fortimanager.ObjectWebproxyRedirectprofile("objectWebproxyRedirectprofileResource",
        adom="string",
        dynamic_sort_subtable="string",
        entries=[{
            "id": 0,
            "redirect_code": "string",
            "redirect_url": "string",
            "type": "string",
            "url": "string",
        }],
        name="string",
        object_webproxy_redirectprofile_id="string",
        scopetype="string")
    
    const objectWebproxyRedirectprofileResource = new fortimanager.ObjectWebproxyRedirectprofile("objectWebproxyRedirectprofileResource", {
        adom: "string",
        dynamicSortSubtable: "string",
        entries: [{
            id: 0,
            redirectCode: "string",
            redirectUrl: "string",
            type: "string",
            url: "string",
        }],
        name: "string",
        objectWebproxyRedirectprofileId: "string",
        scopetype: "string",
    });
    
    type: fortimanager:ObjectWebproxyRedirectprofile
    properties:
        adom: string
        dynamicSortSubtable: string
        entries:
            - id: 0
              redirectCode: string
              redirectUrl: string
              type: string
              url: string
        name: string
        objectWebproxyRedirectprofileId: string
        scopetype: string
    

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

    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Entries List<ObjectWebproxyRedirectprofileEntry>
    Entries. The structure of entries block is documented below.
    Name string
    Name.
    ObjectWebproxyRedirectprofileId string
    an identifier for the resource with format {{name}}.
    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.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Entries []ObjectWebproxyRedirectprofileEntryArgs
    Entries. The structure of entries block is documented below.
    Name string
    Name.
    ObjectWebproxyRedirectprofileId string
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries List<ObjectWebproxyRedirectprofileEntry>
    Entries. The structure of entries block is documented below.
    name String
    Name.
    objectWebproxyRedirectprofileId String
    an identifier for the resource with format {{name}}.
    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.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries ObjectWebproxyRedirectprofileEntry[]
    Entries. The structure of entries block is documented below.
    name string
    Name.
    objectWebproxyRedirectprofileId string
    an identifier for the resource with format {{name}}.
    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.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamic_sort_subtable str
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries Sequence[ObjectWebproxyRedirectprofileEntryArgs]
    Entries. The structure of entries block is documented below.
    name str
    Name.
    object_webproxy_redirectprofile_id str
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries List<Property Map>
    Entries. The structure of entries block is documented below.
    name String
    Name.
    objectWebproxyRedirectprofileId String
    an identifier for the resource with format {{name}}.
    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 ObjectWebproxyRedirectprofile 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 ObjectWebproxyRedirectprofile Resource

    Get an existing ObjectWebproxyRedirectprofile 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?: ObjectWebproxyRedirectprofileState, opts?: CustomResourceOptions): ObjectWebproxyRedirectprofile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            entries: Optional[Sequence[ObjectWebproxyRedirectprofileEntryArgs]] = None,
            name: Optional[str] = None,
            object_webproxy_redirectprofile_id: Optional[str] = None,
            scopetype: Optional[str] = None) -> ObjectWebproxyRedirectprofile
    func GetObjectWebproxyRedirectprofile(ctx *Context, name string, id IDInput, state *ObjectWebproxyRedirectprofileState, opts ...ResourceOption) (*ObjectWebproxyRedirectprofile, error)
    public static ObjectWebproxyRedirectprofile Get(string name, Input<string> id, ObjectWebproxyRedirectprofileState? state, CustomResourceOptions? opts = null)
    public static ObjectWebproxyRedirectprofile get(String name, Output<String> id, ObjectWebproxyRedirectprofileState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectWebproxyRedirectprofile    get:      id: ${id}
    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.
    The following state arguments are supported:
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Entries List<ObjectWebproxyRedirectprofileEntry>
    Entries. The structure of entries block is documented below.
    Name string
    Name.
    ObjectWebproxyRedirectprofileId string
    an identifier for the resource with format {{name}}.
    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.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    DynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    Entries []ObjectWebproxyRedirectprofileEntryArgs
    Entries. The structure of entries block is documented below.
    Name string
    Name.
    ObjectWebproxyRedirectprofileId string
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries List<ObjectWebproxyRedirectprofileEntry>
    Entries. The structure of entries block is documented below.
    name String
    Name.
    objectWebproxyRedirectprofileId String
    an identifier for the resource with format {{name}}.
    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.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamicSortSubtable string
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries ObjectWebproxyRedirectprofileEntry[]
    Entries. The structure of entries block is documented below.
    name string
    Name.
    objectWebproxyRedirectprofileId string
    an identifier for the resource with format {{name}}.
    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.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamic_sort_subtable str
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries Sequence[ObjectWebproxyRedirectprofileEntryArgs]
    Entries. The structure of entries block is documented below.
    name str
    Name.
    object_webproxy_redirectprofile_id str
    an identifier for the resource with format {{name}}.
    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.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    dynamicSortSubtable String
    true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
    entries List<Property Map>
    Entries. The structure of entries block is documented below.
    name String
    Name.
    objectWebproxyRedirectprofileId String
    an identifier for the resource with format {{name}}.
    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.

    Supporting Types

    ObjectWebproxyRedirectprofileEntry, ObjectWebproxyRedirectprofileEntryArgs

    Id double
    Id.
    RedirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    RedirectUrl string
    Redirect-Url.
    Type string
    Type. Valid values: wildcard, regex, simple.
    Url string
    Url.
    Id float64
    Id.
    RedirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    RedirectUrl string
    Redirect-Url.
    Type string
    Type. Valid values: wildcard, regex, simple.
    Url string
    Url.
    id Double
    Id.
    redirectCode String
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectUrl String
    Redirect-Url.
    type String
    Type. Valid values: wildcard, regex, simple.
    url String
    Url.
    id number
    Id.
    redirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectUrl string
    Redirect-Url.
    type string
    Type. Valid values: wildcard, regex, simple.
    url string
    Url.
    id float
    Id.
    redirect_code str
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirect_url str
    Redirect-Url.
    type str
    Type. Valid values: wildcard, regex, simple.
    url str
    Url.
    id Number
    Id.
    redirectCode String
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectUrl String
    Redirect-Url.
    type String
    Type. Valid values: wildcard, regex, simple.
    url String
    Url.

    Import

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

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectWebproxyRedirectprofile:ObjectWebproxyRedirectprofile labelname {{name}}
    

    $ 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.
    Viewing docs for fortimanager 1.16.0
    published on Saturday, Mar 7, 2026 by fortinetdev
      Try Pulumi Cloud free. Your team will thank you.