1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWebproxyRedirectprofileEntries
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 RedirectProfileEntries

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

    Create ObjectWebproxyRedirectprofileEntries Resource

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

    Constructor syntax

    new ObjectWebproxyRedirectprofileEntries(name: string, args: ObjectWebproxyRedirectprofileEntriesArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectWebproxyRedirectprofileEntries(resource_name: str,
                                             args: ObjectWebproxyRedirectprofileEntriesArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectWebproxyRedirectprofileEntries(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             redirect_profile: Optional[str] = None,
                                             adom: Optional[str] = None,
                                             fosid: Optional[float] = None,
                                             object_webproxy_redirectprofile_entries_id: Optional[str] = None,
                                             redirect_code: Optional[str] = None,
                                             redirect_url: Optional[str] = None,
                                             scopetype: Optional[str] = None,
                                             type: Optional[str] = None,
                                             url: Optional[str] = None)
    func NewObjectWebproxyRedirectprofileEntries(ctx *Context, name string, args ObjectWebproxyRedirectprofileEntriesArgs, opts ...ResourceOption) (*ObjectWebproxyRedirectprofileEntries, error)
    public ObjectWebproxyRedirectprofileEntries(string name, ObjectWebproxyRedirectprofileEntriesArgs args, CustomResourceOptions? opts = null)
    public ObjectWebproxyRedirectprofileEntries(String name, ObjectWebproxyRedirectprofileEntriesArgs args)
    public ObjectWebproxyRedirectprofileEntries(String name, ObjectWebproxyRedirectprofileEntriesArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectWebproxyRedirectprofileEntries
    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 ObjectWebproxyRedirectprofileEntriesArgs
    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 ObjectWebproxyRedirectprofileEntriesArgs
    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 ObjectWebproxyRedirectprofileEntriesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectWebproxyRedirectprofileEntriesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectWebproxyRedirectprofileEntriesArgs
    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 objectWebproxyRedirectprofileEntriesResource = new Fortimanager.Index.ObjectWebproxyRedirectprofileEntries("objectWebproxyRedirectprofileEntriesResource", new()
    {
        RedirectProfile = "string",
        Adom = "string",
        Fosid = 0,
        ObjectWebproxyRedirectprofileEntriesId = "string",
        RedirectCode = "string",
        RedirectUrl = "string",
        Scopetype = "string",
        Type = "string",
        Url = "string",
    });
    
    example, err := fortimanager.NewObjectWebproxyRedirectprofileEntries(ctx, "objectWebproxyRedirectprofileEntriesResource", &fortimanager.ObjectWebproxyRedirectprofileEntriesArgs{
    	RedirectProfile:                        pulumi.String("string"),
    	Adom:                                   pulumi.String("string"),
    	Fosid:                                  pulumi.Float64(0),
    	ObjectWebproxyRedirectprofileEntriesId: pulumi.String("string"),
    	RedirectCode:                           pulumi.String("string"),
    	RedirectUrl:                            pulumi.String("string"),
    	Scopetype:                              pulumi.String("string"),
    	Type:                                   pulumi.String("string"),
    	Url:                                    pulumi.String("string"),
    })
    
    var objectWebproxyRedirectprofileEntriesResource = new ObjectWebproxyRedirectprofileEntries("objectWebproxyRedirectprofileEntriesResource", ObjectWebproxyRedirectprofileEntriesArgs.builder()
        .redirectProfile("string")
        .adom("string")
        .fosid(0.0)
        .objectWebproxyRedirectprofileEntriesId("string")
        .redirectCode("string")
        .redirectUrl("string")
        .scopetype("string")
        .type("string")
        .url("string")
        .build());
    
    object_webproxy_redirectprofile_entries_resource = fortimanager.ObjectWebproxyRedirectprofileEntries("objectWebproxyRedirectprofileEntriesResource",
        redirect_profile="string",
        adom="string",
        fosid=0,
        object_webproxy_redirectprofile_entries_id="string",
        redirect_code="string",
        redirect_url="string",
        scopetype="string",
        type="string",
        url="string")
    
    const objectWebproxyRedirectprofileEntriesResource = new fortimanager.ObjectWebproxyRedirectprofileEntries("objectWebproxyRedirectprofileEntriesResource", {
        redirectProfile: "string",
        adom: "string",
        fosid: 0,
        objectWebproxyRedirectprofileEntriesId: "string",
        redirectCode: "string",
        redirectUrl: "string",
        scopetype: "string",
        type: "string",
        url: "string",
    });
    
    type: fortimanager:ObjectWebproxyRedirectprofileEntries
    properties:
        adom: string
        fosid: 0
        objectWebproxyRedirectprofileEntriesId: string
        redirectCode: string
        redirectProfile: string
        redirectUrl: string
        scopetype: string
        type: string
        url: string
    

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

    RedirectProfile string
    Redirect Profile.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    Fosid double
    Id.
    ObjectWebproxyRedirectprofileEntriesId string
    an identifier for the resource with format {{fosid}}.
    RedirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    RedirectUrl string
    Redirect-Url.
    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.
    Type string
    Type. Valid values: wildcard, regex, simple.
    Url string
    Url.
    RedirectProfile string
    Redirect Profile.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    Fosid float64
    Id.
    ObjectWebproxyRedirectprofileEntriesId string
    an identifier for the resource with format {{fosid}}.
    RedirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    RedirectUrl string
    Redirect-Url.
    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.
    Type string
    Type. Valid values: wildcard, regex, simple.
    Url string
    Url.
    redirectProfile String
    Redirect Profile.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid Double
    Id.
    objectWebproxyRedirectprofileEntriesId String
    an identifier for the resource with format {{fosid}}.
    redirectCode String
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectUrl String
    Redirect-Url.
    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.
    type String
    Type. Valid values: wildcard, regex, simple.
    url String
    Url.
    redirectProfile string
    Redirect Profile.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid number
    Id.
    objectWebproxyRedirectprofileEntriesId string
    an identifier for the resource with format {{fosid}}.
    redirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectUrl string
    Redirect-Url.
    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.
    type string
    Type. Valid values: wildcard, regex, simple.
    url string
    Url.
    redirect_profile str
    Redirect Profile.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid float
    Id.
    object_webproxy_redirectprofile_entries_id str
    an identifier for the resource with format {{fosid}}.
    redirect_code str
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirect_url str
    Redirect-Url.
    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.
    type str
    Type. Valid values: wildcard, regex, simple.
    url str
    Url.
    redirectProfile String
    Redirect Profile.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid Number
    Id.
    objectWebproxyRedirectprofileEntriesId String
    an identifier for the resource with format {{fosid}}.
    redirectCode String
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectUrl String
    Redirect-Url.
    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.
    type String
    Type. Valid values: wildcard, regex, simple.
    url String
    Url.

    Outputs

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

    Get an existing ObjectWebproxyRedirectprofileEntries 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?: ObjectWebproxyRedirectprofileEntriesState, opts?: CustomResourceOptions): ObjectWebproxyRedirectprofileEntries
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            fosid: Optional[float] = None,
            object_webproxy_redirectprofile_entries_id: Optional[str] = None,
            redirect_code: Optional[str] = None,
            redirect_profile: Optional[str] = None,
            redirect_url: Optional[str] = None,
            scopetype: Optional[str] = None,
            type: Optional[str] = None,
            url: Optional[str] = None) -> ObjectWebproxyRedirectprofileEntries
    func GetObjectWebproxyRedirectprofileEntries(ctx *Context, name string, id IDInput, state *ObjectWebproxyRedirectprofileEntriesState, opts ...ResourceOption) (*ObjectWebproxyRedirectprofileEntries, error)
    public static ObjectWebproxyRedirectprofileEntries Get(string name, Input<string> id, ObjectWebproxyRedirectprofileEntriesState? state, CustomResourceOptions? opts = null)
    public static ObjectWebproxyRedirectprofileEntries get(String name, Output<String> id, ObjectWebproxyRedirectprofileEntriesState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectWebproxyRedirectprofileEntries    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.
    Fosid double
    Id.
    ObjectWebproxyRedirectprofileEntriesId string
    an identifier for the resource with format {{fosid}}.
    RedirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    RedirectProfile string
    Redirect Profile.
    RedirectUrl string
    Redirect-Url.
    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.
    Type string
    Type. Valid values: wildcard, regex, simple.
    Url string
    Url.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    Fosid float64
    Id.
    ObjectWebproxyRedirectprofileEntriesId string
    an identifier for the resource with format {{fosid}}.
    RedirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    RedirectProfile string
    Redirect Profile.
    RedirectUrl string
    Redirect-Url.
    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.
    Type string
    Type. Valid values: wildcard, regex, simple.
    Url string
    Url.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid Double
    Id.
    objectWebproxyRedirectprofileEntriesId String
    an identifier for the resource with format {{fosid}}.
    redirectCode String
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectProfile String
    Redirect Profile.
    redirectUrl String
    Redirect-Url.
    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.
    type String
    Type. Valid values: wildcard, regex, simple.
    url String
    Url.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid number
    Id.
    objectWebproxyRedirectprofileEntriesId string
    an identifier for the resource with format {{fosid}}.
    redirectCode string
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectProfile string
    Redirect Profile.
    redirectUrl string
    Redirect-Url.
    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.
    type string
    Type. Valid values: wildcard, regex, simple.
    url string
    Url.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid float
    Id.
    object_webproxy_redirectprofile_entries_id str
    an identifier for the resource with format {{fosid}}.
    redirect_code str
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirect_profile str
    Redirect Profile.
    redirect_url str
    Redirect-Url.
    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.
    type str
    Type. Valid values: wildcard, regex, simple.
    url str
    Url.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    fosid Number
    Id.
    objectWebproxyRedirectprofileEntriesId String
    an identifier for the resource with format {{fosid}}.
    redirectCode String
    Redirect-Code. Valid values: auto, 301, 302, 303, 307, 308.
    redirectProfile String
    Redirect Profile.
    redirectUrl String
    Redirect-Url.
    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.
    type String
    Type. Valid values: wildcard, regex, simple.
    url String
    Url.

    Import

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

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

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectWebproxyRedirectprofileEntries:ObjectWebproxyRedirectprofileEntries labelname {{fosid}}
    

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