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

    ObjectFirewall ProfileProtocolOptionsProxyRedirect

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

    Create ObjectFirewallProfileprotocoloptionsProxyredirect Resource

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

    Constructor syntax

    new ObjectFirewallProfileprotocoloptionsProxyredirect(name: string, args: ObjectFirewallProfileprotocoloptionsProxyredirectArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectFirewallProfileprotocoloptionsProxyredirect(resource_name: str,
                                                          args: ObjectFirewallProfileprotocoloptionsProxyredirectArgs,
                                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectFirewallProfileprotocoloptionsProxyredirect(resource_name: str,
                                                          opts: Optional[ResourceOptions] = None,
                                                          profile_protocol_options: Optional[str] = None,
                                                          adom: Optional[str] = None,
                                                          object_firewall_profileprotocoloptions_proxyredirect_id: Optional[str] = None,
                                                          ports: Optional[Sequence[float]] = None,
                                                          scopetype: Optional[str] = None,
                                                          status: Optional[str] = None)
    func NewObjectFirewallProfileprotocoloptionsProxyredirect(ctx *Context, name string, args ObjectFirewallProfileprotocoloptionsProxyredirectArgs, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsProxyredirect, error)
    public ObjectFirewallProfileprotocoloptionsProxyredirect(string name, ObjectFirewallProfileprotocoloptionsProxyredirectArgs args, CustomResourceOptions? opts = null)
    public ObjectFirewallProfileprotocoloptionsProxyredirect(String name, ObjectFirewallProfileprotocoloptionsProxyredirectArgs args)
    public ObjectFirewallProfileprotocoloptionsProxyredirect(String name, ObjectFirewallProfileprotocoloptionsProxyredirectArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectFirewallProfileprotocoloptionsProxyredirect
    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 ObjectFirewallProfileprotocoloptionsProxyredirectArgs
    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 ObjectFirewallProfileprotocoloptionsProxyredirectArgs
    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 ObjectFirewallProfileprotocoloptionsProxyredirectArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectFirewallProfileprotocoloptionsProxyredirectArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectFirewallProfileprotocoloptionsProxyredirectArgs
    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 objectFirewallProfileprotocoloptionsProxyredirectResource = new Fortimanager.Index.ObjectFirewallProfileprotocoloptionsProxyredirect("objectFirewallProfileprotocoloptionsProxyredirectResource", new()
    {
        ProfileProtocolOptions = "string",
        Adom = "string",
        ObjectFirewallProfileprotocoloptionsProxyredirectId = "string",
        Ports = new[]
        {
            0,
        },
        Scopetype = "string",
        Status = "string",
    });
    
    example, err := fortimanager.NewObjectFirewallProfileprotocoloptionsProxyredirect(ctx, "objectFirewallProfileprotocoloptionsProxyredirectResource", &fortimanager.ObjectFirewallProfileprotocoloptionsProxyredirectArgs{
    	ProfileProtocolOptions: pulumi.String("string"),
    	Adom:                   pulumi.String("string"),
    	ObjectFirewallProfileprotocoloptionsProxyredirectId: pulumi.String("string"),
    	Ports: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	Scopetype: pulumi.String("string"),
    	Status:    pulumi.String("string"),
    })
    
    var objectFirewallProfileprotocoloptionsProxyredirectResource = new ObjectFirewallProfileprotocoloptionsProxyredirect("objectFirewallProfileprotocoloptionsProxyredirectResource", ObjectFirewallProfileprotocoloptionsProxyredirectArgs.builder()
        .profileProtocolOptions("string")
        .adom("string")
        .objectFirewallProfileprotocoloptionsProxyredirectId("string")
        .ports(0.0)
        .scopetype("string")
        .status("string")
        .build());
    
    object_firewall_profileprotocoloptions_proxyredirect_resource = fortimanager.ObjectFirewallProfileprotocoloptionsProxyredirect("objectFirewallProfileprotocoloptionsProxyredirectResource",
        profile_protocol_options="string",
        adom="string",
        object_firewall_profileprotocoloptions_proxyredirect_id="string",
        ports=[0],
        scopetype="string",
        status="string")
    
    const objectFirewallProfileprotocoloptionsProxyredirectResource = new fortimanager.ObjectFirewallProfileprotocoloptionsProxyredirect("objectFirewallProfileprotocoloptionsProxyredirectResource", {
        profileProtocolOptions: "string",
        adom: "string",
        objectFirewallProfileprotocoloptionsProxyredirectId: "string",
        ports: [0],
        scopetype: "string",
        status: "string",
    });
    
    type: fortimanager:ObjectFirewallProfileprotocoloptionsProxyredirect
    properties:
        adom: string
        objectFirewallProfileprotocoloptionsProxyredirectId: string
        ports:
            - 0
        profileProtocolOptions: string
        scopetype: string
        status: string
    

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

    ProfileProtocolOptions string
    Profile Protocol Options.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    ObjectFirewallProfileprotocoloptionsProxyredirectId string
    an identifier for the resource.
    Ports List<double>
    Ports.
    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.
    Status string
    Status. Valid values: disable, enable.
    ProfileProtocolOptions string
    Profile Protocol Options.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    ObjectFirewallProfileprotocoloptionsProxyredirectId string
    an identifier for the resource.
    Ports []float64
    Ports.
    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.
    Status string
    Status. Valid values: disable, enable.
    profileProtocolOptions String
    Profile Protocol Options.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    objectFirewallProfileprotocoloptionsProxyredirectId String
    an identifier for the resource.
    ports List<Double>
    Ports.
    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.
    status String
    Status. Valid values: disable, enable.
    profileProtocolOptions string
    Profile Protocol Options.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    objectFirewallProfileprotocoloptionsProxyredirectId string
    an identifier for the resource.
    ports number[]
    Ports.
    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.
    status string
    Status. Valid values: disable, enable.
    profile_protocol_options str
    Profile Protocol Options.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    object_firewall_profileprotocoloptions_proxyredirect_id str
    an identifier for the resource.
    ports Sequence[float]
    Ports.
    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.
    status str
    Status. Valid values: disable, enable.
    profileProtocolOptions String
    Profile Protocol Options.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    objectFirewallProfileprotocoloptionsProxyredirectId String
    an identifier for the resource.
    ports List<Number>
    Ports.
    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.
    status String
    Status. Valid values: disable, enable.

    Outputs

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

    Get an existing ObjectFirewallProfileprotocoloptionsProxyredirect 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?: ObjectFirewallProfileprotocoloptionsProxyredirectState, opts?: CustomResourceOptions): ObjectFirewallProfileprotocoloptionsProxyredirect
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            object_firewall_profileprotocoloptions_proxyredirect_id: Optional[str] = None,
            ports: Optional[Sequence[float]] = None,
            profile_protocol_options: Optional[str] = None,
            scopetype: Optional[str] = None,
            status: Optional[str] = None) -> ObjectFirewallProfileprotocoloptionsProxyredirect
    func GetObjectFirewallProfileprotocoloptionsProxyredirect(ctx *Context, name string, id IDInput, state *ObjectFirewallProfileprotocoloptionsProxyredirectState, opts ...ResourceOption) (*ObjectFirewallProfileprotocoloptionsProxyredirect, error)
    public static ObjectFirewallProfileprotocoloptionsProxyredirect Get(string name, Input<string> id, ObjectFirewallProfileprotocoloptionsProxyredirectState? state, CustomResourceOptions? opts = null)
    public static ObjectFirewallProfileprotocoloptionsProxyredirect get(String name, Output<String> id, ObjectFirewallProfileprotocoloptionsProxyredirectState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectFirewallProfileprotocoloptionsProxyredirect    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.
    ObjectFirewallProfileprotocoloptionsProxyredirectId string
    an identifier for the resource.
    Ports List<double>
    Ports.
    ProfileProtocolOptions string
    Profile Protocol Options.
    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.
    Status string
    Status. Valid values: disable, enable.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    ObjectFirewallProfileprotocoloptionsProxyredirectId string
    an identifier for the resource.
    Ports []float64
    Ports.
    ProfileProtocolOptions string
    Profile Protocol Options.
    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.
    Status string
    Status. Valid values: disable, enable.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    objectFirewallProfileprotocoloptionsProxyredirectId String
    an identifier for the resource.
    ports List<Double>
    Ports.
    profileProtocolOptions String
    Profile Protocol Options.
    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.
    status String
    Status. Valid values: disable, enable.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    objectFirewallProfileprotocoloptionsProxyredirectId string
    an identifier for the resource.
    ports number[]
    Ports.
    profileProtocolOptions string
    Profile Protocol Options.
    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.
    status string
    Status. Valid values: disable, enable.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    object_firewall_profileprotocoloptions_proxyredirect_id str
    an identifier for the resource.
    ports Sequence[float]
    Ports.
    profile_protocol_options str
    Profile Protocol Options.
    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.
    status str
    Status. Valid values: disable, enable.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    objectFirewallProfileprotocoloptionsProxyredirectId String
    an identifier for the resource.
    ports List<Number>
    Ports.
    profileProtocolOptions String
    Profile Protocol Options.
    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.
    status String
    Status. Valid values: disable, enable.

    Import

    ObjectFirewall ProfileProtocolOptionsProxyRedirect can be imported using any of these accepted formats:

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

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectFirewallProfileprotocoloptionsProxyredirect:ObjectFirewallProfileprotocoloptionsProxyredirect labelname ObjectFirewallProfileProtocolOptionsProxyRedirect
    

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