Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.firewall.getDoSpolicy
Explore with Pulumi AI
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>
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]
func LookupDoSpolicy(ctx *Context, args *LookupDoSpolicyArgs, opts ...InvokeOption) (*LookupDoSpolicyResult, error)
func LookupDoSpolicyOutput(ctx *Context, args *LookupDoSpolicyOutputArgs, opts ...InvokeOption) LookupDoSpolicyResultOutput
> 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)
}
public static CompletableFuture<GetDoSpolicyResult> getDoSpolicy(GetDoSpolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:firewall/getDoSpolicy:getDoSpolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Policyid int
- Specify the policyid of the desired firewall DoSpolicy.
- Vdomparam 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 int
- Specify the policyid of the desired firewall DoSpolicy.
- Vdomparam 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 Integer
- Specify the policyid of the desired firewall DoSpolicy.
- vdomparam 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 number
- Specify the policyid of the desired firewall DoSpolicy.
- vdomparam 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 int
- Specify the policyid of the desired firewall DoSpolicy.
- vdomparam 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 Number
- Specify the policyid of the desired firewall DoSpolicy.
- vdomparam 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. Get Do Spolicy Anomaly> - Anomaly name. The structure of
anomaly
block is documented below. - Comments string
- Comment.
- Dstaddrs
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Do Spolicy Dstaddr> - 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. Get Do Spolicy Service> - Service object from available options. The structure of
service
block is documented below. - Srcaddrs
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Do Spolicy Srcaddr> - Source address name from available addresses. The structure of
srcaddr
block is documented below. - Status string
- Enable/disable this anomaly.
- Vdomparam string
- Anomalies
[]Get
Do Spolicy Anomaly - Anomaly name. The structure of
anomaly
block is documented below. - Comments string
- Comment.
- Dstaddrs
[]Get
Do Spolicy Dstaddr - 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
[]Get
Do Spolicy Service - Service object from available options. The structure of
service
block is documented below. - Srcaddrs
[]Get
Do Spolicy Srcaddr - Source address name from available addresses. The structure of
srcaddr
block is documented below. - Status string
- Enable/disable this anomaly.
- Vdomparam string
- anomalies
List<Get
Do Spolicy Anomaly> - Anomaly name. The structure of
anomaly
block is documented below. - comments String
- Comment.
- dstaddrs
List<Get
Do Spolicy Dstaddr> - 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<Get
Do Spolicy Service> - Service object from available options. The structure of
service
block is documented below. - srcaddrs
List<Get
Do Spolicy Srcaddr> - Source address name from available addresses. The structure of
srcaddr
block is documented below. - status String
- Enable/disable this anomaly.
- vdomparam String
- anomalies
Get
Do Spolicy Anomaly[] - Anomaly name. The structure of
anomaly
block is documented below. - comments string
- Comment.
- dstaddrs
Get
Do Spolicy Dstaddr[] - 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
Get
Do Spolicy Service[] - Service object from available options. The structure of
service
block is documented below. - srcaddrs
Get
Do Spolicy Srcaddr[] - Source address name from available addresses. The structure of
srcaddr
block is documented below. - status string
- Enable/disable this anomaly.
- vdomparam string
- anomalies
Sequence[Get
Do Spolicy Anomaly] - Anomaly name. The structure of
anomaly
block is documented below. - comments str
- Comment.
- dstaddrs
Sequence[Get
Do Spolicy Dstaddr] - 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[Get
Do Spolicy Service] - Service object from available options. The structure of
service
block is documented below. - srcaddrs
Sequence[Get
Do Spolicy Srcaddr] - 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 string
- Action taken when the threshold is reached.
- Log string
- Enable/disable anomaly logging.
- Name string
- Anomaly name.
- Quarantine string
- Quarantine method.
- 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.
- Status string
- Enable/disable this anomaly.
- Threshold int
- Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
- Thresholddefault 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 string
- Action taken when the threshold is reached.
- Log string
- Enable/disable anomaly logging.
- Name string
- Anomaly name.
- Quarantine string
- Quarantine method.
- 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.
- Status string
- Enable/disable this anomaly.
- Threshold int
- Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
- Thresholddefault 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 String
- Action taken when the threshold is reached.
- log String
- Enable/disable anomaly logging.
- name String
- Anomaly name.
- quarantine String
- Quarantine method.
- 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.
- status String
- Enable/disable this anomaly.
- threshold Integer
- Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
- thresholddefault 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 string
- Action taken when the threshold is reached.
- log string
- Enable/disable anomaly logging.
- name string
- Anomaly name.
- quarantine string
- Quarantine method.
- 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.
- status string
- Enable/disable this anomaly.
- threshold number
- Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
- thresholddefault 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 str
- Action taken when the threshold is reached.
- log str
- Enable/disable anomaly logging.
- name str
- Anomaly name.
- quarantine str
- Quarantine method.
- 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.
- status str
- Enable/disable this anomaly.
- threshold int
- Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
- thresholddefault 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 String
- Action taken when the threshold is reached.
- log String
- Enable/disable anomaly logging.
- name String
- Anomaly name.
- quarantine String
- Quarantine method.
- 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.
- status String
- Enable/disable this anomaly.
- threshold Number
- Anomaly threshold. Number of detected instances per minute that triggers the anomaly action.
- thresholddefault 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 string
- Anomaly name.
- Name string
- Anomaly name.
- name String
- Anomaly name.
- name string
- Anomaly name.
- name str
- Anomaly name.
- name String
- Anomaly name.
GetDoSpolicyService
- Name string
- Anomaly name.
- Name string
- Anomaly name.
- name String
- Anomaly name.
- name string
- Anomaly name.
- name str
- Anomaly name.
- name String
- Anomaly name.
GetDoSpolicySrcaddr
- Name string
- Anomaly name.
- Name string
- Anomaly name.
- name String
- Anomaly name.
- name string
- Anomaly name.
- name str
- Anomaly name.
- name 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.