published on Saturday, Mar 7, 2026 by fortinetdev
published on Saturday, Mar 7, 2026 by fortinetdev
ObjectWebProxy RedirectProfileEntries
This resource is a sub resource for variable
entriesof resourcefortimanager.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:
- Redirect
Profile string - Redirect Profile.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fosid double
- Id.
- Object
Webproxy stringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- Redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - Redirect
Url string - Redirect-Url.
- 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. - Type string
- Type. Valid values:
wildcard,regex,simple. - Url string
- Url.
- Redirect
Profile string - Redirect Profile.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fosid float64
- Id.
- Object
Webproxy stringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- Redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - Redirect
Url string - Redirect-Url.
- 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. - Type string
- Type. Valid values:
wildcard,regex,simple. - Url string
- Url.
- redirect
Profile String - Redirect Profile.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid Double
- Id.
- object
Webproxy StringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- redirect
Code String - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Url String - Redirect-Url.
- 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. - type String
- Type. Valid values:
wildcard,regex,simple. - url String
- Url.
- redirect
Profile string - Redirect Profile.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid number
- Id.
- object
Webproxy stringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Url string - Redirect-Url.
- 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. - 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
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid float
- Id.
- object_
webproxy_ strredirectprofile_ entries_ id - 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - type str
- Type. Valid values:
wildcard,regex,simple. - url str
- Url.
- redirect
Profile String - Redirect Profile.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid Number
- Id.
- object
Webproxy StringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- redirect
Code String - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Url String - Redirect-Url.
- 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. - 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) -> ObjectWebproxyRedirectprofileEntriesfunc 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.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fosid double
- Id.
- Object
Webproxy stringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- Redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - Redirect
Profile string - Redirect Profile.
- Redirect
Url string - Redirect-Url.
- 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. - Type string
- Type. Valid values:
wildcard,regex,simple. - Url string
- Url.
- Adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - Fosid float64
- Id.
- Object
Webproxy stringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- Redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - Redirect
Profile string - Redirect Profile.
- Redirect
Url string - Redirect-Url.
- 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. - Type string
- Type. Valid values:
wildcard,regex,simple. - Url string
- Url.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid Double
- Id.
- object
Webproxy StringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- redirect
Code String - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Profile String - Redirect Profile.
- redirect
Url String - Redirect-Url.
- 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. - type String
- Type. Valid values:
wildcard,regex,simple. - url String
- Url.
- adom string
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid number
- Id.
- object
Webproxy stringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- redirect
Code string - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Profile string - Redirect Profile.
- redirect
Url string - Redirect-Url.
- 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. - type string
- Type. Valid values:
wildcard,regex,simple. - url string
- Url.
- adom str
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid float
- Id.
- object_
webproxy_ strredirectprofile_ entries_ id - 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit. - type str
- Type. Valid values:
wildcard,regex,simple. - url str
- Url.
- adom String
- Adom. This value is valid only when the
scopetypeisadom, otherwise the value of adom in the provider will be inherited. - fosid Number
- Id.
- object
Webproxy StringRedirectprofile Entries Id - an identifier for the resource with format {{fosid}}.
- redirect
Code String - Redirect-Code. Valid values:
auto,301,302,303,307,308. - redirect
Profile String - Redirect Profile.
- redirect
Url String - Redirect-Url.
- 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. - 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
fortimanagerTerraform Provider.
published on Saturday, Mar 7, 2026 by fortinetdev
