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

fortios.firewall.getDoSpolicy

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

Use this data source to get information on an fortios firewall DoSpolicy

Using getDoSpolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDoSpolicy(args: GetDoSpolicyArgs, opts?: InvokeOptions): Promise<GetDoSpolicyResult>
function getDoSpolicyOutput(args: GetDoSpolicyOutputArgs, opts?: InvokeOptions): Output<GetDoSpolicyResult>
Copy
def get_do_spolicy(policyid: Optional[int] = None,
                   vdomparam: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDoSpolicyResult
def get_do_spolicy_output(policyid: Optional[pulumi.Input[int]] = None,
                   vdomparam: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDoSpolicyResult]
Copy
func LookupDoSpolicy(ctx *Context, args *LookupDoSpolicyArgs, opts ...InvokeOption) (*LookupDoSpolicyResult, error)
func LookupDoSpolicyOutput(ctx *Context, args *LookupDoSpolicyOutputArgs, opts ...InvokeOption) LookupDoSpolicyResultOutput
Copy

> Note: This function is named LookupDoSpolicy in the Go SDK.

public static class GetDoSpolicy 
{
    public static Task<GetDoSpolicyResult> InvokeAsync(GetDoSpolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetDoSpolicyResult> Invoke(GetDoSpolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDoSpolicyResult> getDoSpolicy(GetDoSpolicyArgs args, InvokeOptions options)
public static Output<GetDoSpolicyResult> getDoSpolicy(GetDoSpolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:firewall/getDoSpolicy:getDoSpolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Policyid This property is required. int
Specify the policyid of the desired firewall DoSpolicy.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source 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.
Policyid This property is required. int
Specify the policyid of the desired firewall DoSpolicy.
Vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source 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.
policyid This property is required. Integer
Specify the policyid of the desired firewall DoSpolicy.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source 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.
policyid This property is required. number
Specify the policyid of the desired firewall DoSpolicy.
vdomparam Changes to this property will trigger replacement. string
Specifies the vdom to which the data source 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.
policyid This property is required. int
Specify the policyid of the desired firewall DoSpolicy.
vdomparam Changes to this property will trigger replacement. str
Specifies the vdom to which the data source 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.
policyid This property is required. Number
Specify the policyid of the desired firewall DoSpolicy.
vdomparam Changes to this property will trigger replacement. String
Specifies the vdom to which the data source 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.

getDoSpolicy Result

The following output properties are available:

Anomalies List<Pulumiverse.Fortios.Firewall.Outputs.GetDoSpolicyAnomaly>
Anomaly name. The structure of anomaly block is documented below.
Comments string
Comment.
Dstaddrs List<Pulumiverse.Fortios.Firewall.Outputs.GetDoSpolicyDstaddr>
Destination address name from available addresses. The structure of dstaddr block is documented below.
Id string
The provider-assigned unique ID for this managed resource.
Interface string
Incoming interface name from available interfaces.
Name string
Anomaly name.
Policyid int
Policy ID.
Services List<Pulumiverse.Fortios.Firewall.Outputs.GetDoSpolicyService>
Service object from available options. The structure of service block is documented below.
Srcaddrs List<Pulumiverse.Fortios.Firewall.Outputs.GetDoSpolicySrcaddr>
Source address name from available addresses. The structure of srcaddr block is documented below.
Status string
Enable/disable this anomaly.
Vdomparam string
Anomalies []GetDoSpolicyAnomaly
Anomaly name. The structure of anomaly block is documented below.
Comments string
Comment.
Dstaddrs []GetDoSpolicyDstaddr
Destination address name from available addresses. The structure of dstaddr block is documented below.
Id string
The provider-assigned unique ID for this managed resource.
Interface string
Incoming interface name from available interfaces.
Name string
Anomaly name.
Policyid int
Policy ID.
Services []GetDoSpolicyService
Service object from available options. The structure of service block is documented below.
Srcaddrs []GetDoSpolicySrcaddr
Source address name from available addresses. The structure of srcaddr block is documented below.
Status string
Enable/disable this anomaly.
Vdomparam string
anomalies List<GetDoSpolicyAnomaly>
Anomaly name. The structure of anomaly block is documented below.
comments String
Comment.
dstaddrs List<GetDoSpolicyDstaddr>
Destination address name from available addresses. The structure of dstaddr block is documented below.
id String
The provider-assigned unique ID for this managed resource.
interface_ String
Incoming interface name from available interfaces.
name String
Anomaly name.
policyid Integer
Policy ID.
services List<GetDoSpolicyService>
Service object from available options. The structure of service block is documented below.
srcaddrs List<GetDoSpolicySrcaddr>
Source address name from available addresses. The structure of srcaddr block is documented below.
status String
Enable/disable this anomaly.
vdomparam String
anomalies GetDoSpolicyAnomaly[]
Anomaly name. The structure of anomaly block is documented below.
comments string
Comment.
dstaddrs GetDoSpolicyDstaddr[]
Destination address name from available addresses. The structure of dstaddr block is documented below.
id string
The provider-assigned unique ID for this managed resource.
interface string
Incoming interface name from available interfaces.
name string
Anomaly name.
policyid number
Policy ID.
services GetDoSpolicyService[]
Service object from available options. The structure of service block is documented below.
srcaddrs GetDoSpolicySrcaddr[]
Source address name from available addresses. The structure of srcaddr block is documented below.
status string
Enable/disable this anomaly.
vdomparam string
anomalies Sequence[GetDoSpolicyAnomaly]
Anomaly name. The structure of anomaly block is documented below.
comments str
Comment.
dstaddrs Sequence[GetDoSpolicyDstaddr]
Destination address name from available addresses. The structure of dstaddr block is documented below.
id str
The provider-assigned unique ID for this managed resource.
interface str
Incoming interface name from available interfaces.
name str
Anomaly name.
policyid int
Policy ID.
services Sequence[GetDoSpolicyService]
Service object from available options. The structure of service block is documented below.
srcaddrs Sequence[GetDoSpolicySrcaddr]
Source address name from available addresses. The structure of srcaddr block is documented below.
status str
Enable/disable this anomaly.
vdomparam str
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.
id String
The provider-assigned unique ID for this managed resource.
interface String
Incoming interface name from available interfaces.
name String
Anomaly 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 anomaly.
vdomparam String

Supporting Types

GetDoSpolicyAnomaly

Action This property is required. string
Action taken when the threshold is reached.
Log This property is required. string
Enable/disable anomaly logging.
Name This property is required. string
Anomaly name.
Quarantine This property is required. string
Quarantine method.
QuarantineExpiry This property is required. string
Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
QuarantineLog This property is required. string
Enable/disable quarantine logging.
Status This property is required. string
Enable/disable this anomaly.
Threshold This property is required. int
Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
Thresholddefault This property is required. int
Number of detected instances per minute which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it.
Action This property is required. string
Action taken when the threshold is reached.
Log This property is required. string
Enable/disable anomaly logging.
Name This property is required. string
Anomaly name.
Quarantine This property is required. string
Quarantine method.
QuarantineExpiry This property is required. string
Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
QuarantineLog This property is required. string
Enable/disable quarantine logging.
Status This property is required. string
Enable/disable this anomaly.
Threshold This property is required. int
Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
Thresholddefault This property is required. int
Number of detected instances per minute which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it.
action This property is required. String
Action taken when the threshold is reached.
log This property is required. String
Enable/disable anomaly logging.
name This property is required. String
Anomaly name.
quarantine This property is required. String
Quarantine method.
quarantineExpiry This property is required. String
Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
quarantineLog This property is required. String
Enable/disable quarantine logging.
status This property is required. String
Enable/disable this anomaly.
threshold This property is required. Integer
Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
thresholddefault This property is required. Integer
Number of detected instances per minute which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it.
action This property is required. string
Action taken when the threshold is reached.
log This property is required. string
Enable/disable anomaly logging.
name This property is required. string
Anomaly name.
quarantine This property is required. string
Quarantine method.
quarantineExpiry This property is required. string
Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
quarantineLog This property is required. string
Enable/disable quarantine logging.
status This property is required. string
Enable/disable this anomaly.
threshold This property is required. number
Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
thresholddefault This property is required. number
Number of detected instances per minute which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it.
action This property is required. str
Action taken when the threshold is reached.
log This property is required. str
Enable/disable anomaly logging.
name This property is required. str
Anomaly name.
quarantine This property is required. str
Quarantine method.
quarantine_expiry This property is required. str
Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
quarantine_log This property is required. str
Enable/disable quarantine logging.
status This property is required. str
Enable/disable this anomaly.
threshold This property is required. int
Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
thresholddefault This property is required. int
Number of detected instances per minute which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it.
action This property is required. String
Action taken when the threshold is reached.
log This property is required. String
Enable/disable anomaly logging.
name This property is required. String
Anomaly name.
quarantine This property is required. String
Quarantine method.
quarantineExpiry This property is required. String
Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
quarantineLog This property is required. String
Enable/disable quarantine logging.
status This property is required. String
Enable/disable this anomaly.
threshold This property is required. Number
Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
thresholddefault This property is required. Number
Number of detected instances per minute which triggers action (1 - 2147483647, default = 1000). Note that each anomaly has a different threshold value assigned to it.

GetDoSpolicyDstaddr

Name This property is required. string
Anomaly name.
Name This property is required. string
Anomaly name.
name This property is required. String
Anomaly name.
name This property is required. string
Anomaly name.
name This property is required. str
Anomaly name.
name This property is required. String
Anomaly name.

GetDoSpolicyService

Name This property is required. string
Anomaly name.
Name This property is required. string
Anomaly name.
name This property is required. String
Anomaly name.
name This property is required. string
Anomaly name.
name This property is required. str
Anomaly name.
name This property is required. String
Anomaly name.

GetDoSpolicySrcaddr

Name This property is required. string
Anomaly name.
Name This property is required. string
Anomaly name.
name This property is required. String
Anomaly name.
name This property is required. string
Anomaly name.
name This property is required. str
Anomaly name.
name This property is required. String
Anomaly name.

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse