Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.firewall.getPolicy46
Explore with Pulumi AI
Use this data source to get information on an fortios firewall policy46
Using getPolicy46
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 getPolicy46(args: GetPolicy46Args, opts?: InvokeOptions): Promise<GetPolicy46Result>
function getPolicy46Output(args: GetPolicy46OutputArgs, opts?: InvokeOptions): Output<GetPolicy46Result>
def get_policy46(policyid: Optional[int] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicy46Result
def get_policy46_output(policyid: Optional[pulumi.Input[int]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicy46Result]
func LookupPolicy46(ctx *Context, args *LookupPolicy46Args, opts ...InvokeOption) (*LookupPolicy46Result, error)
func LookupPolicy46Output(ctx *Context, args *LookupPolicy46OutputArgs, opts ...InvokeOption) LookupPolicy46ResultOutput
> Note: This function is named LookupPolicy46
in the Go SDK.
public static class GetPolicy46
{
public static Task<GetPolicy46Result> InvokeAsync(GetPolicy46Args args, InvokeOptions? opts = null)
public static Output<GetPolicy46Result> Invoke(GetPolicy46InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicy46Result> getPolicy46(GetPolicy46Args args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:firewall/getPolicy46:getPolicy46
arguments:
# arguments dictionary
The following arguments are supported:
- Policyid int
- Specify the policyid of the desired firewall policy46.
- 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 policy46.
- 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 policy46.
- 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 policy46.
- 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 policy46.
- 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 policy46.
- 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.
getPolicy46 Result
The following output properties are available:
- Action string
- Accept or deny traffic matching the policy.
- Comments string
- Comment.
- Dstaddrs
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy46Dstaddr> - Destination address objects. The structure of
dstaddr
block is documented below. - Dstintf string
- Destination interface name.
- Fixedport string
- Enable/disable fixed port for this policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ippool string
- Enable/disable use of IP Pools for source NAT.
- Logtraffic string
- Enable/disable traffic logging for this policy.
- Logtraffic
Start string - Record logs when a session starts and ends.
- Name string
- IP pool name.
- Per
Ip stringShaper - Per IP traffic shaper.
- Permit
Any stringHost - Enable/disable allowing any host.
- Policyid int
- Policy ID.
- Poolnames
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy46Poolname> - IP Pool names. The structure of
poolname
block is documented below. - Schedule string
- Schedule name.
- Services
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy46Service> - Service name. The structure of
service
block is documented below. - Srcaddrs
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy46Srcaddr> - Source address objects. The structure of
srcaddr
block is documented below. - Srcintf string
- Source interface name.
- Status string
- Enable/disable this policy.
- Tcp
Mss intReceiver - TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
- Tcp
Mss intSender - TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
- Traffic
Shaper string - Traffic shaper.
- Traffic
Shaper stringReverse - Reverse traffic shaper.
- Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- Action string
- Accept or deny traffic matching the policy.
- Comments string
- Comment.
- Dstaddrs
[]Get
Policy46Dstaddr - Destination address objects. The structure of
dstaddr
block is documented below. - Dstintf string
- Destination interface name.
- Fixedport string
- Enable/disable fixed port for this policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ippool string
- Enable/disable use of IP Pools for source NAT.
- Logtraffic string
- Enable/disable traffic logging for this policy.
- Logtraffic
Start string - Record logs when a session starts and ends.
- Name string
- IP pool name.
- Per
Ip stringShaper - Per IP traffic shaper.
- Permit
Any stringHost - Enable/disable allowing any host.
- Policyid int
- Policy ID.
- Poolnames
[]Get
Policy46Poolname - IP Pool names. The structure of
poolname
block is documented below. - Schedule string
- Schedule name.
- Services
[]Get
Policy46Service - Service name. The structure of
service
block is documented below. - Srcaddrs
[]Get
Policy46Srcaddr - Source address objects. The structure of
srcaddr
block is documented below. - Srcintf string
- Source interface name.
- Status string
- Enable/disable this policy.
- Tcp
Mss intReceiver - TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
- Tcp
Mss intSender - TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
- Traffic
Shaper string - Traffic shaper.
- Traffic
Shaper stringReverse - Reverse traffic shaper.
- Uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- Vdomparam string
- action String
- Accept or deny traffic matching the policy.
- comments String
- Comment.
- dstaddrs
List<Get
Policy46Dstaddr> - Destination address objects. The structure of
dstaddr
block is documented below. - dstintf String
- Destination interface name.
- fixedport String
- Enable/disable fixed port for this policy.
- id String
- The provider-assigned unique ID for this managed resource.
- ippool String
- Enable/disable use of IP Pools for source NAT.
- logtraffic String
- Enable/disable traffic logging for this policy.
- logtraffic
Start String - Record logs when a session starts and ends.
- name String
- IP pool name.
- per
Ip StringShaper - Per IP traffic shaper.
- permit
Any StringHost - Enable/disable allowing any host.
- policyid Integer
- Policy ID.
- poolnames
List<Get
Policy46Poolname> - IP Pool names. The structure of
poolname
block is documented below. - schedule String
- Schedule name.
- services
List<Get
Policy46Service> - Service name. The structure of
service
block is documented below. - srcaddrs
List<Get
Policy46Srcaddr> - Source address objects. The structure of
srcaddr
block is documented below. - srcintf String
- Source interface name.
- status String
- Enable/disable this policy.
- tcp
Mss IntegerReceiver - TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
- tcp
Mss IntegerSender - TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
- traffic
Shaper String - Traffic shaper.
- traffic
Shaper StringReverse - Reverse traffic shaper.
- uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
- action string
- Accept or deny traffic matching the policy.
- comments string
- Comment.
- dstaddrs
Get
Policy46Dstaddr[] - Destination address objects. The structure of
dstaddr
block is documented below. - dstintf string
- Destination interface name.
- fixedport string
- Enable/disable fixed port for this policy.
- id string
- The provider-assigned unique ID for this managed resource.
- ippool string
- Enable/disable use of IP Pools for source NAT.
- logtraffic string
- Enable/disable traffic logging for this policy.
- logtraffic
Start string - Record logs when a session starts and ends.
- name string
- IP pool name.
- per
Ip stringShaper - Per IP traffic shaper.
- permit
Any stringHost - Enable/disable allowing any host.
- policyid number
- Policy ID.
- poolnames
Get
Policy46Poolname[] - IP Pool names. The structure of
poolname
block is documented below. - schedule string
- Schedule name.
- services
Get
Policy46Service[] - Service name. The structure of
service
block is documented below. - srcaddrs
Get
Policy46Srcaddr[] - Source address objects. The structure of
srcaddr
block is documented below. - srcintf string
- Source interface name.
- status string
- Enable/disable this policy.
- tcp
Mss numberReceiver - TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
- tcp
Mss numberSender - TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
- traffic
Shaper string - Traffic shaper.
- traffic
Shaper stringReverse - Reverse traffic shaper.
- uuid string
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam string
- action str
- Accept or deny traffic matching the policy.
- comments str
- Comment.
- dstaddrs
Sequence[Get
Policy46Dstaddr] - Destination address objects. The structure of
dstaddr
block is documented below. - dstintf str
- Destination interface name.
- fixedport str
- Enable/disable fixed port for this policy.
- id str
- The provider-assigned unique ID for this managed resource.
- ippool str
- Enable/disable use of IP Pools for source NAT.
- logtraffic str
- Enable/disable traffic logging for this policy.
- logtraffic_
start str - Record logs when a session starts and ends.
- name str
- IP pool name.
- per_
ip_ strshaper - Per IP traffic shaper.
- permit_
any_ strhost - Enable/disable allowing any host.
- policyid int
- Policy ID.
- poolnames
Sequence[Get
Policy46Poolname] - IP Pool names. The structure of
poolname
block is documented below. - schedule str
- Schedule name.
- services
Sequence[Get
Policy46Service] - Service name. The structure of
service
block is documented below. - srcaddrs
Sequence[Get
Policy46Srcaddr] - Source address objects. The structure of
srcaddr
block is documented below. - srcintf str
- Source interface name.
- status str
- Enable/disable this policy.
- tcp_
mss_ intreceiver - TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
- tcp_
mss_ intsender - TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
- traffic_
shaper str - Traffic shaper.
- traffic_
shaper_ strreverse - Reverse traffic shaper.
- uuid str
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam str
- action String
- Accept or deny traffic matching the policy.
- comments String
- Comment.
- dstaddrs List<Property Map>
- Destination address objects. The structure of
dstaddr
block is documented below. - dstintf String
- Destination interface name.
- fixedport String
- Enable/disable fixed port for this policy.
- id String
- The provider-assigned unique ID for this managed resource.
- ippool String
- Enable/disable use of IP Pools for source NAT.
- logtraffic String
- Enable/disable traffic logging for this policy.
- logtraffic
Start String - Record logs when a session starts and ends.
- name String
- IP pool name.
- per
Ip StringShaper - Per IP traffic shaper.
- permit
Any StringHost - Enable/disable allowing any host.
- policyid Number
- Policy ID.
- poolnames List<Property Map>
- IP Pool names. The structure of
poolname
block is documented below. - schedule String
- Schedule name.
- services List<Property Map>
- Service name. The structure of
service
block is documented below. - srcaddrs List<Property Map>
- Source address objects. The structure of
srcaddr
block is documented below. - srcintf String
- Source interface name.
- status String
- Enable/disable this policy.
- tcp
Mss NumberReceiver - TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
- tcp
Mss NumberSender - TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
- traffic
Shaper String - Traffic shaper.
- traffic
Shaper StringReverse - Reverse traffic shaper.
- uuid String
- Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
- vdomparam String
Supporting Types
GetPolicy46Dstaddr
- Name string
- IP pool name.
- Name string
- IP pool name.
- name String
- IP pool name.
- name string
- IP pool name.
- name str
- IP pool name.
- name String
- IP pool name.
GetPolicy46Poolname
- Name string
- IP pool name.
- Name string
- IP pool name.
- name String
- IP pool name.
- name string
- IP pool name.
- name str
- IP pool name.
- name String
- IP pool name.
GetPolicy46Service
- Name string
- IP pool name.
- Name string
- IP pool name.
- name String
- IP pool name.
- name string
- IP pool name.
- name str
- IP pool name.
- name String
- IP pool name.
GetPolicy46Srcaddr
- Name string
- IP pool name.
- Name string
- IP pool name.
- name String
- IP pool name.
- name string
- IP pool name.
- name str
- IP pool name.
- name String
- IP pool name.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.