Fortios v0.0.6 published on Tuesday, Jul 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)
public static Output<GetDoSpolicyResult> getDoSpolicy(GetDoSpolicyArgs args, InvokeOptions options)
fn::invoke:
function: fortios:firewall/getDoSpolicy:getDoSpolicy
arguments:
# arguments dictionary
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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
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.
- Quarantine
Expiry This property is required. string - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- Quarantine
Log 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.
- Quarantine
Expiry This property is required. string - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- Quarantine
Log 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.
- quarantine
Expiry This property is required. String - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- quarantine
Log 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.
- quarantine
Expiry This property is required. string - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- quarantine
Log 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.
- quarantine
Expiry This property is required. String - Duration of quarantine. (Format ###d##h##m, minimum 1m, maximum 364d23h59m, default = 5m). Requires quarantine set to attacker.
- quarantine
Log 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.