1. Packages
  2. Fortios
  3. API Docs
  4. application
  5. Custom
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.application.Custom

Explore with Pulumi AI

Configure custom application signatures.

Create Custom Resource

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

Constructor syntax

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

@overload
def Custom(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           category: Optional[int] = None,
           behavior: Optional[str] = None,
           comment: Optional[str] = None,
           fosid: Optional[int] = None,
           name: Optional[str] = None,
           protocol: Optional[str] = None,
           signature: Optional[str] = None,
           tag: Optional[str] = None,
           technology: Optional[str] = None,
           vdomparam: Optional[str] = None,
           vendor: Optional[str] = None)
func NewCustom(ctx *Context, name string, args CustomArgs, opts ...ResourceOption) (*Custom, error)
public Custom(string name, CustomArgs args, CustomResourceOptions? opts = null)
public Custom(String name, CustomArgs args)
public Custom(String name, CustomArgs args, CustomResourceOptions options)
type: fortios:application:Custom
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. CustomArgs
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. CustomArgs
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. CustomArgs
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. CustomArgs
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. CustomArgs
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 customResource = new Fortios.Application.Custom("customResource", new()
{
    Category = 0,
    Behavior = "string",
    Comment = "string",
    Fosid = 0,
    Name = "string",
    Protocol = "string",
    Signature = "string",
    Tag = "string",
    Technology = "string",
    Vdomparam = "string",
    Vendor = "string",
});
Copy
example, err := application.NewCustom(ctx, "customResource", &application.CustomArgs{
	Category:   pulumi.Int(0),
	Behavior:   pulumi.String("string"),
	Comment:    pulumi.String("string"),
	Fosid:      pulumi.Int(0),
	Name:       pulumi.String("string"),
	Protocol:   pulumi.String("string"),
	Signature:  pulumi.String("string"),
	Tag:        pulumi.String("string"),
	Technology: pulumi.String("string"),
	Vdomparam:  pulumi.String("string"),
	Vendor:     pulumi.String("string"),
})
Copy
var customResource = new Custom("customResource", CustomArgs.builder()
    .category(0)
    .behavior("string")
    .comment("string")
    .fosid(0)
    .name("string")
    .protocol("string")
    .signature("string")
    .tag("string")
    .technology("string")
    .vdomparam("string")
    .vendor("string")
    .build());
Copy
custom_resource = fortios.application.Custom("customResource",
    category=0,
    behavior="string",
    comment="string",
    fosid=0,
    name="string",
    protocol="string",
    signature="string",
    tag="string",
    technology="string",
    vdomparam="string",
    vendor="string")
Copy
const customResource = new fortios.application.Custom("customResource", {
    category: 0,
    behavior: "string",
    comment: "string",
    fosid: 0,
    name: "string",
    protocol: "string",
    signature: "string",
    tag: "string",
    technology: "string",
    vdomparam: "string",
    vendor: "string",
});
Copy
type: fortios:application:Custom
properties:
    behavior: string
    category: 0
    comment: string
    fosid: 0
    name: string
    protocol: string
    signature: string
    tag: string
    technology: string
    vdomparam: string
    vendor: string
Copy

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

Category This property is required. int
Custom application category ID (use ? to view available options).
Behavior string
Custom application signature behavior.
Comment string
Comment.
Fosid int
Custom application category ID (use ? to view available options).
Name string
Name of this custom application signature.
Protocol string
Custom application signature protocol.
Signature string
The text that makes up the actual custom application signature.
Tag Changes to this property will trigger replacement. string
Signature tag.
Technology string
Custom application signature technology.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Vendor string
Custom application signature vendor.
Category This property is required. int
Custom application category ID (use ? to view available options).
Behavior string
Custom application signature behavior.
Comment string
Comment.
Fosid int
Custom application category ID (use ? to view available options).
Name string
Name of this custom application signature.
Protocol string
Custom application signature protocol.
Signature string
The text that makes up the actual custom application signature.
Tag Changes to this property will trigger replacement. string
Signature tag.
Technology string
Custom application signature technology.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Vendor string
Custom application signature vendor.
category This property is required. Integer
Custom application category ID (use ? to view available options).
behavior String
Custom application signature behavior.
comment String
Comment.
fosid Integer
Custom application category ID (use ? to view available options).
name String
Name of this custom application signature.
protocol String
Custom application signature protocol.
signature String
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. String
Signature tag.
technology String
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor String
Custom application signature vendor.
category This property is required. number
Custom application category ID (use ? to view available options).
behavior string
Custom application signature behavior.
comment string
Comment.
fosid number
Custom application category ID (use ? to view available options).
name string
Name of this custom application signature.
protocol string
Custom application signature protocol.
signature string
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. string
Signature tag.
technology string
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor string
Custom application signature vendor.
category This property is required. int
Custom application category ID (use ? to view available options).
behavior str
Custom application signature behavior.
comment str
Comment.
fosid int
Custom application category ID (use ? to view available options).
name str
Name of this custom application signature.
protocol str
Custom application signature protocol.
signature str
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. str
Signature tag.
technology str
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor str
Custom application signature vendor.
category This property is required. Number
Custom application category ID (use ? to view available options).
behavior String
Custom application signature behavior.
comment String
Comment.
fosid Number
Custom application category ID (use ? to view available options).
name String
Name of this custom application signature.
protocol String
Custom application signature protocol.
signature String
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. String
Signature tag.
technology String
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor String
Custom application signature vendor.

Outputs

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

Get an existing Custom 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?: CustomState, opts?: CustomResourceOptions): Custom
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        behavior: Optional[str] = None,
        category: Optional[int] = None,
        comment: Optional[str] = None,
        fosid: Optional[int] = None,
        name: Optional[str] = None,
        protocol: Optional[str] = None,
        signature: Optional[str] = None,
        tag: Optional[str] = None,
        technology: Optional[str] = None,
        vdomparam: Optional[str] = None,
        vendor: Optional[str] = None) -> Custom
func GetCustom(ctx *Context, name string, id IDInput, state *CustomState, opts ...ResourceOption) (*Custom, error)
public static Custom Get(string name, Input<string> id, CustomState? state, CustomResourceOptions? opts = null)
public static Custom get(String name, Output<String> id, CustomState state, CustomResourceOptions options)
resources:  _:    type: fortios:application:Custom    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:
Behavior string
Custom application signature behavior.
Category int
Custom application category ID (use ? to view available options).
Comment string
Comment.
Fosid int
Custom application category ID (use ? to view available options).
Name string
Name of this custom application signature.
Protocol string
Custom application signature protocol.
Signature string
The text that makes up the actual custom application signature.
Tag Changes to this property will trigger replacement. string
Signature tag.
Technology string
Custom application signature technology.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Vendor string
Custom application signature vendor.
Behavior string
Custom application signature behavior.
Category int
Custom application category ID (use ? to view available options).
Comment string
Comment.
Fosid int
Custom application category ID (use ? to view available options).
Name string
Name of this custom application signature.
Protocol string
Custom application signature protocol.
Signature string
The text that makes up the actual custom application signature.
Tag Changes to this property will trigger replacement. string
Signature tag.
Technology string
Custom application signature technology.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Vendor string
Custom application signature vendor.
behavior String
Custom application signature behavior.
category Integer
Custom application category ID (use ? to view available options).
comment String
Comment.
fosid Integer
Custom application category ID (use ? to view available options).
name String
Name of this custom application signature.
protocol String
Custom application signature protocol.
signature String
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. String
Signature tag.
technology String
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor String
Custom application signature vendor.
behavior string
Custom application signature behavior.
category number
Custom application category ID (use ? to view available options).
comment string
Comment.
fosid number
Custom application category ID (use ? to view available options).
name string
Name of this custom application signature.
protocol string
Custom application signature protocol.
signature string
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. string
Signature tag.
technology string
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor string
Custom application signature vendor.
behavior str
Custom application signature behavior.
category int
Custom application category ID (use ? to view available options).
comment str
Comment.
fosid int
Custom application category ID (use ? to view available options).
name str
Name of this custom application signature.
protocol str
Custom application signature protocol.
signature str
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. str
Signature tag.
technology str
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor str
Custom application signature vendor.
behavior String
Custom application signature behavior.
category Number
Custom application category ID (use ? to view available options).
comment String
Comment.
fosid Number
Custom application category ID (use ? to view available options).
name String
Name of this custom application signature.
protocol String
Custom application signature protocol.
signature String
The text that makes up the actual custom application signature.
tag Changes to this property will trigger replacement. String
Signature tag.
technology String
Custom application signature technology.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
vendor String
Custom application signature vendor.

Import

Application Custom can be imported using any of these accepted formats:

$ pulumi import fortios:application/custom:Custom labelname {{tag}}
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:application/custom:Custom labelname {{tag}}
Copy

$ unset “FORTIOS_IMPORT_TABLE”

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.