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 string
- The unique name of the resource.
- args CustomArgs
- 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 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 string
- The unique name of the resource.
- args CustomArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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
The Custom resource accepts the following input properties:
- Category 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 string
- Signature tag.
- Technology string
- Custom application signature technology.
- Vdomparam 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 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 string
- Signature tag.
- Technology string
- Custom application signature technology.
- Vdomparam 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 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 String
- Signature tag.
- technology String
- Custom application signature technology.
- vdomparam 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 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 string
- Signature tag.
- technology string
- Custom application signature technology.
- vdomparam 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 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 str
- Signature tag.
- technology str
- Custom application signature technology.
- vdomparam 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 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 String
- Signature tag.
- technology String
- Custom application signature technology.
- vdomparam 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)
Resource lookup is not supported in YAML
- 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.
- 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 string
- Signature tag.
- Technology string
- Custom application signature technology.
- Vdomparam 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 string
- Signature tag.
- Technology string
- Custom application signature technology.
- Vdomparam 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 String
- Signature tag.
- technology String
- Custom application signature technology.
- vdomparam 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 string
- Signature tag.
- technology string
- Custom application signature technology.
- vdomparam 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 str
- Signature tag.
- technology str
- Custom application signature technology.
- vdomparam 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 String
- Signature tag.
- technology String
- Custom application signature technology.
- vdomparam 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}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:application/custom:Custom labelname {{tag}}
$ 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.