fortios.firewall.DoSpolicy6
Explore with Pulumi AI
Configure IPv6 DoS policies.
Create DoSpolicy6 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DoSpolicy6(name: string, args: DoSpolicy6Args, opts?: CustomResourceOptions);
@overload
def DoSpolicy6(resource_name: str,
args: DoSpolicy6Args,
opts: Optional[ResourceOptions] = None)
@overload
def DoSpolicy6(resource_name: str,
opts: Optional[ResourceOptions] = None,
dstaddrs: Optional[Sequence[DoSpolicy6DstaddrArgs]] = None,
interface: Optional[str] = None,
srcaddrs: Optional[Sequence[DoSpolicy6SrcaddrArgs]] = None,
anomalies: Optional[Sequence[DoSpolicy6AnomalyArgs]] = None,
comments: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
name: Optional[str] = None,
policyid: Optional[int] = None,
services: Optional[Sequence[DoSpolicy6ServiceArgs]] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewDoSpolicy6(ctx *Context, name string, args DoSpolicy6Args, opts ...ResourceOption) (*DoSpolicy6, error)
public DoSpolicy6(string name, DoSpolicy6Args args, CustomResourceOptions? opts = null)
public DoSpolicy6(String name, DoSpolicy6Args args)
public DoSpolicy6(String name, DoSpolicy6Args args, CustomResourceOptions options)
type: fortios:firewall:DoSpolicy6
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 DoSpolicy6Args
- 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 DoSpolicy6Args
- 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 DoSpolicy6Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DoSpolicy6Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DoSpolicy6Args
- 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 doSpolicy6Resource = new Fortios.Firewall.DoSpolicy6("doSpolicy6Resource", new()
{
Dstaddrs = new[]
{
new Fortios.Firewall.Inputs.DoSpolicy6DstaddrArgs
{
Name = "string",
},
},
Interface = "string",
Srcaddrs = new[]
{
new Fortios.Firewall.Inputs.DoSpolicy6SrcaddrArgs
{
Name = "string",
},
},
Anomalies = new[]
{
new Fortios.Firewall.Inputs.DoSpolicy6AnomalyArgs
{
Action = "string",
Log = "string",
Name = "string",
Quarantine = "string",
QuarantineExpiry = "string",
QuarantineLog = "string",
Status = "string",
Threshold = 0,
Thresholddefault = 0,
},
},
Comments = "string",
DynamicSortSubtable = "string",
GetAllTables = "string",
Name = "string",
Policyid = 0,
Services = new[]
{
new Fortios.Firewall.Inputs.DoSpolicy6ServiceArgs
{
Name = "string",
},
},
Status = "string",
Vdomparam = "string",
});
example, err := firewall.NewDoSpolicy6(ctx, "doSpolicy6Resource", &firewall.DoSpolicy6Args{
Dstaddrs: firewall.DoSpolicy6DstaddrArray{
&firewall.DoSpolicy6DstaddrArgs{
Name: pulumi.String("string"),
},
},
Interface: pulumi.String("string"),
Srcaddrs: firewall.DoSpolicy6SrcaddrArray{
&firewall.DoSpolicy6SrcaddrArgs{
Name: pulumi.String("string"),
},
},
Anomalies: firewall.DoSpolicy6AnomalyArray{
&firewall.DoSpolicy6AnomalyArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
Name: pulumi.String("string"),
Quarantine: pulumi.String("string"),
QuarantineExpiry: pulumi.String("string"),
QuarantineLog: pulumi.String("string"),
Status: pulumi.String("string"),
Threshold: pulumi.Int(0),
Thresholddefault: pulumi.Int(0),
},
},
Comments: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
GetAllTables: pulumi.String("string"),
Name: pulumi.String("string"),
Policyid: pulumi.Int(0),
Services: firewall.DoSpolicy6ServiceArray{
&firewall.DoSpolicy6ServiceArgs{
Name: pulumi.String("string"),
},
},
Status: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var doSpolicy6Resource = new DoSpolicy6("doSpolicy6Resource", DoSpolicy6Args.builder()
.dstaddrs(DoSpolicy6DstaddrArgs.builder()
.name("string")
.build())
.interface_("string")
.srcaddrs(DoSpolicy6SrcaddrArgs.builder()
.name("string")
.build())
.anomalies(DoSpolicy6AnomalyArgs.builder()
.action("string")
.log("string")
.name("string")
.quarantine("string")
.quarantineExpiry("string")
.quarantineLog("string")
.status("string")
.threshold(0)
.thresholddefault(0)
.build())
.comments("string")
.dynamicSortSubtable("string")
.getAllTables("string")
.name("string")
.policyid(0)
.services(DoSpolicy6ServiceArgs.builder()
.name("string")
.build())
.status("string")
.vdomparam("string")
.build());
do_spolicy6_resource = fortios.firewall.DoSpolicy6("doSpolicy6Resource",
dstaddrs=[fortios.firewall.DoSpolicy6DstaddrArgs(
name="string",
)],
interface="string",
srcaddrs=[fortios.firewall.DoSpolicy6SrcaddrArgs(
name="string",
)],
anomalies=[fortios.firewall.DoSpolicy6AnomalyArgs(
action="string",
log="string",
name="string",
quarantine="string",
quarantine_expiry="string",
quarantine_log="string",
status="string",
threshold=0,
thresholddefault=0,
)],
comments="string",
dynamic_sort_subtable="string",
get_all_tables="string",
name="string",
policyid=0,
services=[fortios.firewall.DoSpolicy6ServiceArgs(
name="string",
)],
status="string",
vdomparam="string")
const doSpolicy6Resource = new fortios.firewall.DoSpolicy6("doSpolicy6Resource", {
dstaddrs: [{
name: "string",
}],
"interface": "string",
srcaddrs: [{
name: "string",
}],
anomalies: [{
action: "string",
log: "string",
name: "string",
quarantine: "string",
quarantineExpiry: "string",
quarantineLog: "string",
status: "string",
threshold: 0,
thresholddefault: 0,
}],
comments: "string",
dynamicSortSubtable: "string",
getAllTables: "string",
name: "string",
policyid: 0,
services: [{
name: "string",
}],
status: "string",
vdomparam: "string",
});
type: fortios:firewall:DoSpolicy6
properties:
anomalies:
- action: string
log: string
name: string
quarantine: string
quarantineExpiry: string
quarantineLog: string
status: string
threshold: 0
thresholddefault: 0
comments: string
dstaddrs:
- name: string
dynamicSortSubtable: string
getAllTables: string
interface: string
name: string
policyid: 0
services:
- name: string
srcaddrs:
- name: string
status: string
vdomparam: string
DoSpolicy6 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 DoSpolicy6 resource accepts the following input properties:
- Dstaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Dstaddr> - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - Interface string
- Incoming interface name from available interfaces.
- Srcaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Srcaddr> - Source address name from available addresses. The structure of
srcaddr
block is documented below. - Anomalies
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Anomaly> - Anomaly name. The structure of
anomaly
block is documented below. - Comments string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Name string
- Policy name.
- Policyid int
- Policy ID.
- Services
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Service> - Service object from available options. The structure of
service
block is documented below. - Status string
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- Dstaddrs
[]Do
Spolicy6Dstaddr Args - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - Interface string
- Incoming interface name from available interfaces.
- Srcaddrs
[]Do
Spolicy6Srcaddr Args - Source address name from available addresses. The structure of
srcaddr
block is documented below. - Anomalies
[]Do
Spolicy6Anomaly Args - Anomaly name. The structure of
anomaly
block is documented below. - Comments string
- Comment.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Name string
- Policy name.
- Policyid int
- Policy ID.
- Services
[]Do
Spolicy6Service Args - Service object from available options. The structure of
service
block is documented below. - Status string
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- dstaddrs
List<Do
Spolicy6Dstaddr> - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - interface_ String
- Incoming interface name from available interfaces.
- srcaddrs
List<Do
Spolicy6Srcaddr> - Source address name from available addresses. The structure of
srcaddr
block is documented below. - anomalies
List<Do
Spolicy6Anomaly> - Anomaly name. The structure of
anomaly
block is documented below. - comments String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name String
- Policy name.
- policyid Integer
- Policy ID.
- services
List<Do
Spolicy6Service> - Service object from available options. The structure of
service
block is documented below. - status String
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- dstaddrs
Do
Spolicy6Dstaddr[] - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - interface string
- Incoming interface name from available interfaces.
- srcaddrs
Do
Spolicy6Srcaddr[] - Source address name from available addresses. The structure of
srcaddr
block is documented below. - anomalies
Do
Spolicy6Anomaly[] - Anomaly name. The structure of
anomaly
block is documented below. - comments string
- Comment.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name string
- Policy name.
- policyid number
- Policy ID.
- services
Do
Spolicy6Service[] - Service object from available options. The structure of
service
block is documented below. - status string
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- dstaddrs
Sequence[Do
Spolicy6Dstaddr Args] - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - interface str
- Incoming interface name from available interfaces.
- srcaddrs
Sequence[Do
Spolicy6Srcaddr Args] - Source address name from available addresses. The structure of
srcaddr
block is documented below. - anomalies
Sequence[Do
Spolicy6Anomaly Args] - Anomaly name. The structure of
anomaly
block is documented below. - comments str
- Comment.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name str
- Policy name.
- policyid int
- Policy ID.
- services
Sequence[Do
Spolicy6Service Args] - Service object from available options. The structure of
service
block is documented below. - status str
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- dstaddrs List<Property Map>
- Destination address name from available addresses. The structure of
dstaddr
block is documented below. - interface String
- Incoming interface name from available interfaces.
- srcaddrs List<Property Map>
- Source address name from available addresses. The structure of
srcaddr
block is documented below. - anomalies List<Property Map>
- Anomaly name. The structure of
anomaly
block is documented below. - comments String
- Comment.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- name String
- Policy name.
- policyid Number
- Policy ID.
- services List<Property Map>
- Service object from available options. The structure of
service
block is documented below. - status String
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the DoSpolicy6 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 DoSpolicy6 Resource
Get an existing DoSpolicy6 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?: DoSpolicy6State, opts?: CustomResourceOptions): DoSpolicy6
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anomalies: Optional[Sequence[DoSpolicy6AnomalyArgs]] = None,
comments: Optional[str] = None,
dstaddrs: Optional[Sequence[DoSpolicy6DstaddrArgs]] = None,
dynamic_sort_subtable: Optional[str] = None,
get_all_tables: Optional[str] = None,
interface: Optional[str] = None,
name: Optional[str] = None,
policyid: Optional[int] = None,
services: Optional[Sequence[DoSpolicy6ServiceArgs]] = None,
srcaddrs: Optional[Sequence[DoSpolicy6SrcaddrArgs]] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None) -> DoSpolicy6
func GetDoSpolicy6(ctx *Context, name string, id IDInput, state *DoSpolicy6State, opts ...ResourceOption) (*DoSpolicy6, error)
public static DoSpolicy6 Get(string name, Input<string> id, DoSpolicy6State? state, CustomResourceOptions? opts = null)
public static DoSpolicy6 get(String name, Output<String> id, DoSpolicy6State 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.
- Anomalies
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Anomaly> - Anomaly name. The structure of
anomaly
block is documented below. - Comments string
- Comment.
- Dstaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Dstaddr> - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- Incoming interface name from available interfaces.
- Name string
- Policy name.
- Policyid int
- Policy ID.
- Services
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Service> - Service object from available options. The structure of
service
block is documented below. - Srcaddrs
List<Pulumiverse.
Fortios. Firewall. Inputs. Do Spolicy6Srcaddr> - Source address name from available addresses. The structure of
srcaddr
block is documented below. - Status string
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- Anomalies
[]Do
Spolicy6Anomaly Args - Anomaly name. The structure of
anomaly
block is documented below. - Comments string
- Comment.
- Dstaddrs
[]Do
Spolicy6Dstaddr Args - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- Incoming interface name from available interfaces.
- Name string
- Policy name.
- Policyid int
- Policy ID.
- Services
[]Do
Spolicy6Service Args - Service object from available options. The structure of
service
block is documented below. - Srcaddrs
[]Do
Spolicy6Srcaddr Args - Source address name from available addresses. The structure of
srcaddr
block is documented below. - Status string
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- anomalies
List<Do
Spolicy6Anomaly> - Anomaly name. The structure of
anomaly
block is documented below. - comments String
- Comment.
- dstaddrs
List<Do
Spolicy6Dstaddr> - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface_ String
- Incoming interface name from available interfaces.
- name String
- Policy name.
- policyid Integer
- Policy ID.
- services
List<Do
Spolicy6Service> - Service object from available options. The structure of
service
block is documented below. - srcaddrs
List<Do
Spolicy6Srcaddr> - Source address name from available addresses. The structure of
srcaddr
block is documented below. - status String
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- anomalies
Do
Spolicy6Anomaly[] - Anomaly name. The structure of
anomaly
block is documented below. - comments string
- Comment.
- dstaddrs
Do
Spolicy6Dstaddr[] - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface string
- Incoming interface name from available interfaces.
- name string
- Policy name.
- policyid number
- Policy ID.
- services
Do
Spolicy6Service[] - Service object from available options. The structure of
service
block is documented below. - srcaddrs
Do
Spolicy6Srcaddr[] - Source address name from available addresses. The structure of
srcaddr
block is documented below. - status string
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- anomalies
Sequence[Do
Spolicy6Anomaly Args] - Anomaly name. The structure of
anomaly
block is documented below. - comments str
- Comment.
- dstaddrs
Sequence[Do
Spolicy6Dstaddr Args] - Destination address name from available addresses. The structure of
dstaddr
block is documented below. - dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface str
- Incoming interface name from available interfaces.
- name str
- Policy name.
- policyid int
- Policy ID.
- services
Sequence[Do
Spolicy6Service Args] - Service object from available options. The structure of
service
block is documented below. - srcaddrs
Sequence[Do
Spolicy6Srcaddr Args] - Source address name from available addresses. The structure of
srcaddr
block is documented below. - status str
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
- anomalies List<Property Map>
- Anomaly name. The structure of
anomaly
block is documented below. - comments String
- Comment.
- dstaddrs List<Property Map>
- Destination address name from available addresses. The structure of
dstaddr
block is documented below. - dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface String
- Incoming interface name from available interfaces.
- name String
- Policy name.
- policyid Number
- Policy ID.
- services List<Property Map>
- Service object from available options. The structure of
service
block is documented below. - srcaddrs List<Property Map>
- Source address name from available addresses. The structure of
srcaddr
block is documented below. - status String
- Enable/disable this policy. Valid values:
enable
,disable
. - 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.
Supporting Types
DoSpolicy6Anomaly, DoSpolicy6AnomalyArgs
- Action string
- Action taken when the threshold is reached.
- Log string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - Name string
- Anomaly name.
- Quarantine string
- Quarantine method. Valid values:
none
,attacker
. - Quarantine
Expiry string - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- Quarantine
Log string - Enable/disable quarantine logging. Valid values:
disable
,enable
. - Status string
- Enable/disable this anomaly. Valid values:
disable
,enable
. - Threshold int
- Anomaly threshold. Number of detected instances that triggers the anomaly action. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- Thresholddefault int
- Number of detected instances which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- Action string
- Action taken when the threshold is reached.
- Log string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - Name string
- Anomaly name.
- Quarantine string
- Quarantine method. Valid values:
none
,attacker
. - Quarantine
Expiry string - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- Quarantine
Log string - Enable/disable quarantine logging. Valid values:
disable
,enable
. - Status string
- Enable/disable this anomaly. Valid values:
disable
,enable
. - Threshold int
- Anomaly threshold. Number of detected instances that triggers the anomaly action. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- Thresholddefault int
- Number of detected instances which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- action String
- Action taken when the threshold is reached.
- log String
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - name String
- Anomaly name.
- quarantine String
- Quarantine method. Valid values:
none
,attacker
. - quarantine
Expiry String - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- quarantine
Log String - Enable/disable quarantine logging. Valid values:
disable
,enable
. - status String
- Enable/disable this anomaly. Valid values:
disable
,enable
. - threshold Integer
- Anomaly threshold. Number of detected instances that triggers the anomaly action. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- thresholddefault Integer
- Number of detected instances which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- action string
- Action taken when the threshold is reached.
- log string
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - name string
- Anomaly name.
- quarantine string
- Quarantine method. Valid values:
none
,attacker
. - quarantine
Expiry string - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- quarantine
Log string - Enable/disable quarantine logging. Valid values:
disable
,enable
. - status string
- Enable/disable this anomaly. Valid values:
disable
,enable
. - threshold number
- Anomaly threshold. Number of detected instances that triggers the anomaly action. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- thresholddefault number
- Number of detected instances which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- action str
- Action taken when the threshold is reached.
- log str
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - name str
- Anomaly name.
- quarantine str
- Quarantine method. Valid values:
none
,attacker
. - quarantine_
expiry str - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- quarantine_
log str - Enable/disable quarantine logging. Valid values:
disable
,enable
. - status str
- Enable/disable this anomaly. Valid values:
disable
,enable
. - threshold int
- Anomaly threshold. Number of detected instances that triggers the anomaly action. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- thresholddefault int
- Number of detected instances which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- action String
- Action taken when the threshold is reached.
- log String
- Enable/disable anomaly logging. Valid values:
enable
,disable
. - name String
- Anomaly name.
- quarantine String
- Quarantine method. Valid values:
none
,attacker
. - quarantine
Expiry String - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- quarantine
Log String - Enable/disable quarantine logging. Valid values:
disable
,enable
. - status String
- Enable/disable this anomaly. Valid values:
disable
,enable
. - threshold Number
- Anomaly threshold. Number of detected instances that triggers the anomaly action. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
- thresholddefault Number
- Number of detected instances which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it. On FortiOS versions 6.2.0-6.4.2, 7.0.0-7.0.5, 7.2.0: packets per minute. On FortiOS versions 6.4.10-6.4.14, 7.0.6-7.0.13, >= 7.2.1: packets per second or concurrent session number.
DoSpolicy6Dstaddr, DoSpolicy6DstaddrArgs
- Name string
- Address name.
- Name string
- Address name.
- name String
- Address name.
- name string
- Address name.
- name str
- Address name.
- name String
- Address name.
DoSpolicy6Service, DoSpolicy6ServiceArgs
- Name string
- Service name.
- Name string
- Service name.
- name String
- Service name.
- name string
- Service name.
- name str
- Service name.
- name String
- Service name.
DoSpolicy6Srcaddr, DoSpolicy6SrcaddrArgs
- Name string
- Service name.
- Name string
- Service name.
- name String
- Service name.
- name string
- Service name.
- name str
- Service name.
- name String
- Service name.
Import
Firewall DosPolicy6 can be imported using any of these accepted formats:
$ pulumi import fortios:firewall/doSpolicy6:DoSpolicy6 labelname {{policyid}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:firewall/doSpolicy6:DoSpolicy6 labelname {{policyid}}
$ 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.