Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.firewall.getPolicy64
Explore with Pulumi AI
Use this data source to get information on an fortios firewall policy64
Using getPolicy64
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 getPolicy64(args: GetPolicy64Args, opts?: InvokeOptions): Promise<GetPolicy64Result>
function getPolicy64Output(args: GetPolicy64OutputArgs, opts?: InvokeOptions): Output<GetPolicy64Result>
def get_policy64(policyid: Optional[int] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicy64Result
def get_policy64_output(policyid: Optional[pulumi.Input[int]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicy64Result]
func LookupPolicy64(ctx *Context, args *LookupPolicy64Args, opts ...InvokeOption) (*LookupPolicy64Result, error)
func LookupPolicy64Output(ctx *Context, args *LookupPolicy64OutputArgs, opts ...InvokeOption) LookupPolicy64ResultOutput
> Note: This function is named LookupPolicy64
in the Go SDK.
public static class GetPolicy64
{
public static Task<GetPolicy64Result> InvokeAsync(GetPolicy64Args args, InvokeOptions? opts = null)
public static Output<GetPolicy64Result> Invoke(GetPolicy64InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicy64Result> getPolicy64(GetPolicy64Args args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:firewall/getPolicy64:getPolicy64
arguments:
# arguments dictionary
The following arguments are supported:
- Policyid int
- Specify the policyid of the desired firewall policy64.
- 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 policy64.
- 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 policy64.
- 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 policy64.
- 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 policy64.
- 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 policy64.
- 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.
getPolicy64 Result
The following output properties are available:
- Action string
- Policy action.
- Comments string
- Comment.
- Dstaddrs
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy64Dstaddr> - Destination address name. The structure of
dstaddr
block is documented below. - Dstintf string
- Destination interface name.
- Fixedport string
- Enable/disable policy fixed port.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ippool string
- Enable/disable policy64 IP pool.
- Logtraffic string
- Enable/disable policy log traffic.
- 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 permit any host in.
- Policyid int
- Policy ID.
- Poolnames
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy64Poolname> - Policy IP pool names. The structure of
poolname
block is documented below. - Schedule string
- Schedule name.
- Services
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy64Service> - Service name. The structure of
service
block is documented below. - Srcaddrs
List<Pulumiverse.
Fortios. Firewall. Outputs. Get Policy64Srcaddr> - Source address name. The structure of
srcaddr
block is documented below. - Srcintf string
- Source interface name.
- Status string
- Enable/disable policy status.
- Tcp
Mss intReceiver - TCP MSS value of receiver.
- Tcp
Mss intSender - TCP MSS value of sender.
- 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
- Policy action.
- Comments string
- Comment.
- Dstaddrs
[]Get
Policy64Dstaddr - Destination address name. The structure of
dstaddr
block is documented below. - Dstintf string
- Destination interface name.
- Fixedport string
- Enable/disable policy fixed port.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ippool string
- Enable/disable policy64 IP pool.
- Logtraffic string
- Enable/disable policy log traffic.
- 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 permit any host in.
- Policyid int
- Policy ID.
- Poolnames
[]Get
Policy64Poolname - Policy IP pool names. The structure of
poolname
block is documented below. - Schedule string
- Schedule name.
- Services
[]Get
Policy64Service - Service name. The structure of
service
block is documented below. - Srcaddrs
[]Get
Policy64Srcaddr - Source address name. The structure of
srcaddr
block is documented below. - Srcintf string
- Source interface name.
- Status string
- Enable/disable policy status.
- Tcp
Mss intReceiver - TCP MSS value of receiver.
- Tcp
Mss intSender - TCP MSS value of sender.
- 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
- Policy action.
- comments String
- Comment.
- dstaddrs
List<Get
Policy64Dstaddr> - Destination address name. The structure of
dstaddr
block is documented below. - dstintf String
- Destination interface name.
- fixedport String
- Enable/disable policy fixed port.
- id String
- The provider-assigned unique ID for this managed resource.
- ippool String
- Enable/disable policy64 IP pool.
- logtraffic String
- Enable/disable policy log traffic.
- 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 permit any host in.
- policyid Integer
- Policy ID.
- poolnames
List<Get
Policy64Poolname> - Policy IP pool names. The structure of
poolname
block is documented below. - schedule String
- Schedule name.
- services
List<Get
Policy64Service> - Service name. The structure of
service
block is documented below. - srcaddrs
List<Get
Policy64Srcaddr> - Source address name. The structure of
srcaddr
block is documented below. - srcintf String
- Source interface name.
- status String
- Enable/disable policy status.
- tcp
Mss IntegerReceiver - TCP MSS value of receiver.
- tcp
Mss IntegerSender - TCP MSS value of sender.
- 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
- Policy action.
- comments string
- Comment.
- dstaddrs
Get
Policy64Dstaddr[] - Destination address name. The structure of
dstaddr
block is documented below. - dstintf string
- Destination interface name.
- fixedport string
- Enable/disable policy fixed port.
- id string
- The provider-assigned unique ID for this managed resource.
- ippool string
- Enable/disable policy64 IP pool.
- logtraffic string
- Enable/disable policy log traffic.
- 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 permit any host in.
- policyid number
- Policy ID.
- poolnames
Get
Policy64Poolname[] - Policy IP pool names. The structure of
poolname
block is documented below. - schedule string
- Schedule name.
- services
Get
Policy64Service[] - Service name. The structure of
service
block is documented below. - srcaddrs
Get
Policy64Srcaddr[] - Source address name. The structure of
srcaddr
block is documented below. - srcintf string
- Source interface name.
- status string
- Enable/disable policy status.
- tcp
Mss numberReceiver - TCP MSS value of receiver.
- tcp
Mss numberSender - TCP MSS value of sender.
- 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
- Policy action.
- comments str
- Comment.
- dstaddrs
Sequence[Get
Policy64Dstaddr] - Destination address name. The structure of
dstaddr
block is documented below. - dstintf str
- Destination interface name.
- fixedport str
- Enable/disable policy fixed port.
- id str
- The provider-assigned unique ID for this managed resource.
- ippool str
- Enable/disable policy64 IP pool.
- logtraffic str
- Enable/disable policy log traffic.
- 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 permit any host in.
- policyid int
- Policy ID.
- poolnames
Sequence[Get
Policy64Poolname] - Policy IP pool names. The structure of
poolname
block is documented below. - schedule str
- Schedule name.
- services
Sequence[Get
Policy64Service] - Service name. The structure of
service
block is documented below. - srcaddrs
Sequence[Get
Policy64Srcaddr] - Source address name. The structure of
srcaddr
block is documented below. - srcintf str
- Source interface name.
- status str
- Enable/disable policy status.
- tcp_
mss_ intreceiver - TCP MSS value of receiver.
- tcp_
mss_ intsender - TCP MSS value of sender.
- 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
- Policy action.
- comments String
- Comment.
- dstaddrs List<Property Map>
- Destination address name. The structure of
dstaddr
block is documented below. - dstintf String
- Destination interface name.
- fixedport String
- Enable/disable policy fixed port.
- id String
- The provider-assigned unique ID for this managed resource.
- ippool String
- Enable/disable policy64 IP pool.
- logtraffic String
- Enable/disable policy log traffic.
- 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 permit any host in.
- policyid Number
- Policy ID.
- poolnames List<Property Map>
- Policy 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 name. The structure of
srcaddr
block is documented below. - srcintf String
- Source interface name.
- status String
- Enable/disable policy status.
- tcp
Mss NumberReceiver - TCP MSS value of receiver.
- tcp
Mss NumberSender - TCP MSS value of sender.
- 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
GetPolicy64Dstaddr
- 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.
GetPolicy64Poolname
- 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.
GetPolicy64Service
- 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.
GetPolicy64Srcaddr
- 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.