1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectWebfilterProfileUrlextraction
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectWebfilterProfileUrlextraction

Explore with Pulumi AI

Configure URL Extraction

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

Create ObjectWebfilterProfileUrlextraction Resource

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

Constructor syntax

new ObjectWebfilterProfileUrlextraction(name: string, args: ObjectWebfilterProfileUrlextractionArgs, opts?: CustomResourceOptions);
@overload
def ObjectWebfilterProfileUrlextraction(resource_name: str,
                                        args: ObjectWebfilterProfileUrlextractionArgs,
                                        opts: Optional[ResourceOptions] = None)

@overload
def ObjectWebfilterProfileUrlextraction(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        profile: Optional[str] = None,
                                        adom: Optional[str] = None,
                                        object_webfilter_profile_urlextraction_id: Optional[str] = None,
                                        redirect_header: Optional[str] = None,
                                        redirect_no_content: Optional[str] = None,
                                        redirect_url: Optional[str] = None,
                                        scopetype: Optional[str] = None,
                                        server_fqdn: Optional[str] = None,
                                        status: Optional[str] = None)
func NewObjectWebfilterProfileUrlextraction(ctx *Context, name string, args ObjectWebfilterProfileUrlextractionArgs, opts ...ResourceOption) (*ObjectWebfilterProfileUrlextraction, error)
public ObjectWebfilterProfileUrlextraction(string name, ObjectWebfilterProfileUrlextractionArgs args, CustomResourceOptions? opts = null)
public ObjectWebfilterProfileUrlextraction(String name, ObjectWebfilterProfileUrlextractionArgs args)
public ObjectWebfilterProfileUrlextraction(String name, ObjectWebfilterProfileUrlextractionArgs args, CustomResourceOptions options)
type: fortimanager:ObjectWebfilterProfileUrlextraction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectWebfilterProfileUrlextractionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectWebfilterProfileUrlextractionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectWebfilterProfileUrlextractionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectWebfilterProfileUrlextractionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectWebfilterProfileUrlextractionArgs
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 objectWebfilterProfileUrlextractionResource = new Fortimanager.ObjectWebfilterProfileUrlextraction("objectWebfilterProfileUrlextractionResource", new()
{
    Profile = "string",
    Adom = "string",
    ObjectWebfilterProfileUrlextractionId = "string",
    RedirectHeader = "string",
    RedirectNoContent = "string",
    RedirectUrl = "string",
    Scopetype = "string",
    ServerFqdn = "string",
    Status = "string",
});
Copy
example, err := fortimanager.NewObjectWebfilterProfileUrlextraction(ctx, "objectWebfilterProfileUrlextractionResource", &fortimanager.ObjectWebfilterProfileUrlextractionArgs{
Profile: pulumi.String("string"),
Adom: pulumi.String("string"),
ObjectWebfilterProfileUrlextractionId: pulumi.String("string"),
RedirectHeader: pulumi.String("string"),
RedirectNoContent: pulumi.String("string"),
RedirectUrl: pulumi.String("string"),
Scopetype: pulumi.String("string"),
ServerFqdn: pulumi.String("string"),
Status: pulumi.String("string"),
})
Copy
var objectWebfilterProfileUrlextractionResource = new ObjectWebfilterProfileUrlextraction("objectWebfilterProfileUrlextractionResource", ObjectWebfilterProfileUrlextractionArgs.builder()
    .profile("string")
    .adom("string")
    .objectWebfilterProfileUrlextractionId("string")
    .redirectHeader("string")
    .redirectNoContent("string")
    .redirectUrl("string")
    .scopetype("string")
    .serverFqdn("string")
    .status("string")
    .build());
Copy
object_webfilter_profile_urlextraction_resource = fortimanager.ObjectWebfilterProfileUrlextraction("objectWebfilterProfileUrlextractionResource",
    profile="string",
    adom="string",
    object_webfilter_profile_urlextraction_id="string",
    redirect_header="string",
    redirect_no_content="string",
    redirect_url="string",
    scopetype="string",
    server_fqdn="string",
    status="string")
Copy
const objectWebfilterProfileUrlextractionResource = new fortimanager.ObjectWebfilterProfileUrlextraction("objectWebfilterProfileUrlextractionResource", {
    profile: "string",
    adom: "string",
    objectWebfilterProfileUrlextractionId: "string",
    redirectHeader: "string",
    redirectNoContent: "string",
    redirectUrl: "string",
    scopetype: "string",
    serverFqdn: "string",
    status: "string",
});
Copy
type: fortimanager:ObjectWebfilterProfileUrlextraction
properties:
    adom: string
    objectWebfilterProfileUrlextractionId: string
    profile: string
    redirectHeader: string
    redirectNoContent: string
    redirectUrl: string
    scopetype: string
    serverFqdn: string
    status: string
Copy

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

Profile This property is required. string
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.
ObjectWebfilterProfileUrlextractionId string
an identifier for the resource.
RedirectHeader string
HTTP header name to use for client redirect on blocked requests
RedirectNoContent string
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
RedirectUrl string
HTTP header value to use for client redirect on blocked requests
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.
ServerFqdn string
URL extraction server FQDN (fully qualified domain name)
Status string
Enable URL Extraction Valid values: disable, enable.
Profile This property is required. string
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.
ObjectWebfilterProfileUrlextractionId string
an identifier for the resource.
RedirectHeader string
HTTP header name to use for client redirect on blocked requests
RedirectNoContent string
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
RedirectUrl string
HTTP header value to use for client redirect on blocked requests
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.
ServerFqdn string
URL extraction server FQDN (fully qualified domain name)
Status string
Enable URL Extraction Valid values: disable, enable.
profile This property is required. String
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.
objectWebfilterProfileUrlextractionId String
an identifier for the resource.
redirectHeader String
HTTP header name to use for client redirect on blocked requests
redirectNoContent String
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirectUrl String
HTTP header value to use for client redirect on blocked requests
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.
serverFqdn String
URL extraction server FQDN (fully qualified domain name)
status String
Enable URL Extraction Valid values: disable, enable.
profile This property is required. string
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.
objectWebfilterProfileUrlextractionId string
an identifier for the resource.
redirectHeader string
HTTP header name to use for client redirect on blocked requests
redirectNoContent string
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirectUrl string
HTTP header value to use for client redirect on blocked requests
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.
serverFqdn string
URL extraction server FQDN (fully qualified domain name)
status string
Enable URL Extraction Valid values: disable, enable.
profile This property is required. str
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.
object_webfilter_profile_urlextraction_id str
an identifier for the resource.
redirect_header str
HTTP header name to use for client redirect on blocked requests
redirect_no_content str
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirect_url str
HTTP header value to use for client redirect on blocked requests
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.
server_fqdn str
URL extraction server FQDN (fully qualified domain name)
status str
Enable URL Extraction Valid values: disable, enable.
profile This property is required. String
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.
objectWebfilterProfileUrlextractionId String
an identifier for the resource.
redirectHeader String
HTTP header name to use for client redirect on blocked requests
redirectNoContent String
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirectUrl String
HTTP header value to use for client redirect on blocked requests
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.
serverFqdn String
URL extraction server FQDN (fully qualified domain name)
status String
Enable URL Extraction Valid values: disable, enable.

Outputs

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

Get an existing ObjectWebfilterProfileUrlextraction 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?: ObjectWebfilterProfileUrlextractionState, opts?: CustomResourceOptions): ObjectWebfilterProfileUrlextraction
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        object_webfilter_profile_urlextraction_id: Optional[str] = None,
        profile: Optional[str] = None,
        redirect_header: Optional[str] = None,
        redirect_no_content: Optional[str] = None,
        redirect_url: Optional[str] = None,
        scopetype: Optional[str] = None,
        server_fqdn: Optional[str] = None,
        status: Optional[str] = None) -> ObjectWebfilterProfileUrlextraction
func GetObjectWebfilterProfileUrlextraction(ctx *Context, name string, id IDInput, state *ObjectWebfilterProfileUrlextractionState, opts ...ResourceOption) (*ObjectWebfilterProfileUrlextraction, error)
public static ObjectWebfilterProfileUrlextraction Get(string name, Input<string> id, ObjectWebfilterProfileUrlextractionState? state, CustomResourceOptions? opts = null)
public static ObjectWebfilterProfileUrlextraction get(String name, Output<String> id, ObjectWebfilterProfileUrlextractionState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectWebfilterProfileUrlextraction    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
ObjectWebfilterProfileUrlextractionId string
an identifier for the resource.
Profile string
Profile.
RedirectHeader string
HTTP header name to use for client redirect on blocked requests
RedirectNoContent string
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
RedirectUrl string
HTTP header value to use for client redirect on blocked requests
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.
ServerFqdn string
URL extraction server FQDN (fully qualified domain name)
Status string
Enable URL Extraction 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.
ObjectWebfilterProfileUrlextractionId string
an identifier for the resource.
Profile string
Profile.
RedirectHeader string
HTTP header name to use for client redirect on blocked requests
RedirectNoContent string
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
RedirectUrl string
HTTP header value to use for client redirect on blocked requests
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.
ServerFqdn string
URL extraction server FQDN (fully qualified domain name)
Status string
Enable URL Extraction 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.
objectWebfilterProfileUrlextractionId String
an identifier for the resource.
profile String
Profile.
redirectHeader String
HTTP header name to use for client redirect on blocked requests
redirectNoContent String
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirectUrl String
HTTP header value to use for client redirect on blocked requests
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.
serverFqdn String
URL extraction server FQDN (fully qualified domain name)
status String
Enable URL Extraction 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.
objectWebfilterProfileUrlextractionId string
an identifier for the resource.
profile string
Profile.
redirectHeader string
HTTP header name to use for client redirect on blocked requests
redirectNoContent string
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirectUrl string
HTTP header value to use for client redirect on blocked requests
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.
serverFqdn string
URL extraction server FQDN (fully qualified domain name)
status string
Enable URL Extraction 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_webfilter_profile_urlextraction_id str
an identifier for the resource.
profile str
Profile.
redirect_header str
HTTP header name to use for client redirect on blocked requests
redirect_no_content str
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirect_url str
HTTP header value to use for client redirect on blocked requests
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.
server_fqdn str
URL extraction server FQDN (fully qualified domain name)
status str
Enable URL Extraction 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.
objectWebfilterProfileUrlextractionId String
an identifier for the resource.
profile String
Profile.
redirectHeader String
HTTP header name to use for client redirect on blocked requests
redirectNoContent String
Enable / Disable empty message-body entity in HTTP response Valid values: disable, enable.
redirectUrl String
HTTP header value to use for client redirect on blocked requests
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.
serverFqdn String
URL extraction server FQDN (fully qualified domain name)
status String
Enable URL Extraction Valid values: disable, enable.

Import

ObjectWebfilter ProfileUrlExtraction can be imported using any of these accepted formats:

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectWebfilterProfileUrlextraction:ObjectWebfilterProfileUrlextraction labelname ObjectWebfilterProfileUrlExtraction
Copy

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