published on Saturday, Mar 7, 2026 by fortinetdev
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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Dynamic
Sort stringSubtable - 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<Object
Webproxy Redirectprofile Entry> - Entries. The structure of
entriesblock is documented below. - Name string
- Name.
- Object
Webproxy stringRedirectprofile Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Dynamic
Sort stringSubtable - 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
[]Object
Webproxy Redirectprofile Entry Args - Entries. The structure of
entriesblock is documented below. - Name string
- Name.
- Object
Webproxy stringRedirectprofile Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic
Sort StringSubtable - 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<Object
Webproxy Redirectprofile Entry> - Entries. The structure of
entriesblock is documented below. - name String
- Name.
- object
Webproxy StringRedirectprofile Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic
Sort stringSubtable - 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
Object
Webproxy Redirectprofile Entry[] - Entries. The structure of
entriesblock is documented below. - name string
- Name.
- object
Webproxy stringRedirectprofile Id - an identifier for the resource with format {{name}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic_
sort_ strsubtable - 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[Object
Webproxy Redirectprofile Entry Args] - Entries. The structure of
entriesblock is documented below. - name str
- Name.
- object_
webproxy_ strredirectprofile_ id - an identifier for the resource with format {{name}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic
Sort StringSubtable - 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
entriesblock is documented below. - name String
- Name.
- object
Webproxy StringRedirectprofile Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
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) -> ObjectWebproxyRedirectprofilefunc 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Dynamic
Sort stringSubtable - 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<Object
Webproxy Redirectprofile Entry> - Entries. The structure of
entriesblock is documented below. - Name string
- Name.
- Object
Webproxy stringRedirectprofile Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Dynamic
Sort stringSubtable - 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
[]Object
Webproxy Redirectprofile Entry Args - Entries. The structure of
entriesblock is documented below. - Name string
- Name.
- Object
Webproxy stringRedirectprofile Id - an identifier for the resource with format {{name}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic
Sort StringSubtable - 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<Object
Webproxy Redirectprofile Entry> - Entries. The structure of
entriesblock is documented below. - name String
- Name.
- object
Webproxy StringRedirectprofile Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic
Sort stringSubtable - 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
Object
Webproxy Redirectprofile Entry[] - Entries. The structure of
entriesblock is documented below. - name string
- Name.
- object
Webproxy stringRedirectprofile Id - an identifier for the resource with format {{name}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic_
sort_ strsubtable - 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[Object
Webproxy Redirectprofile Entry Args] - Entries. The structure of
entriesblock is documented below. - name str
- Name.
- object_
webproxy_ strredirectprofile_ id - an identifier for the resource with format {{name}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - dynamic
Sort StringSubtable - 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
entriesblock is documented below. - name String
- Name.
- object
Webproxy StringRedirectprofile Id - an identifier for the resource with format {{name}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
Supporting Types
ObjectWebproxyRedirectprofileEntry, ObjectWebproxyRedirectprofileEntryArgs
- Id double
- Id.
- Redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - Redirect
Url string - Redirect-Url.
- Type string
- Type. Valid values:
wildcard,regex,simple. - Url string
- Url.
- Id float64
- Id.
- Redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - Redirect
Url string - Redirect-Url.
- Type string
- Type. Valid values:
wildcard,regex,simple. - Url string
- Url.
- id Double
- Id.
- redirect
Code String - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Url String - Redirect-Url.
- type String
- Type. Valid values:
wildcard,regex,simple. - url String
- Url.
- id number
- Id.
- redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Url 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.
- redirect
Code String - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Url 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
fortimanagerTerraform Provider.
published on Saturday, Mar 7, 2026 by fortinetdev
