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

fortios.firewall.getPolicy46

Explore with Pulumi AI

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

    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.GetPolicy46Dstaddr>
    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.
    LogtrafficStart string
    Record logs when a session starts and ends.
    Name string
    IP pool name.
    PerIpShaper string
    Per IP traffic shaper.
    PermitAnyHost string
    Enable/disable allowing any host.
    Policyid int
    Policy ID.
    Poolnames List<Pulumiverse.Fortios.Firewall.Outputs.GetPolicy46Poolname>
    IP Pool names. The structure of poolname block is documented below.
    Schedule string
    Schedule name.
    Services List<Pulumiverse.Fortios.Firewall.Outputs.GetPolicy46Service>
    Service name. The structure of service block is documented below.
    Srcaddrs List<Pulumiverse.Fortios.Firewall.Outputs.GetPolicy46Srcaddr>
    Source address objects. The structure of srcaddr block is documented below.
    Srcintf string
    Source interface name.
    Status string
    Enable/disable this policy.
    TcpMssReceiver int
    TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
    TcpMssSender int
    TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
    TrafficShaper string
    Traffic shaper.
    TrafficShaperReverse string
    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 []GetPolicy46Dstaddr
    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.
    LogtrafficStart string
    Record logs when a session starts and ends.
    Name string
    IP pool name.
    PerIpShaper string
    Per IP traffic shaper.
    PermitAnyHost string
    Enable/disable allowing any host.
    Policyid int
    Policy ID.
    Poolnames []GetPolicy46Poolname
    IP Pool names. The structure of poolname block is documented below.
    Schedule string
    Schedule name.
    Services []GetPolicy46Service
    Service name. The structure of service block is documented below.
    Srcaddrs []GetPolicy46Srcaddr
    Source address objects. The structure of srcaddr block is documented below.
    Srcintf string
    Source interface name.
    Status string
    Enable/disable this policy.
    TcpMssReceiver int
    TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
    TcpMssSender int
    TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
    TrafficShaper string
    Traffic shaper.
    TrafficShaperReverse string
    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<GetPolicy46Dstaddr>
    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.
    logtrafficStart String
    Record logs when a session starts and ends.
    name String
    IP pool name.
    perIpShaper String
    Per IP traffic shaper.
    permitAnyHost String
    Enable/disable allowing any host.
    policyid Integer
    Policy ID.
    poolnames List<GetPolicy46Poolname>
    IP Pool names. The structure of poolname block is documented below.
    schedule String
    Schedule name.
    services List<GetPolicy46Service>
    Service name. The structure of service block is documented below.
    srcaddrs List<GetPolicy46Srcaddr>
    Source address objects. The structure of srcaddr block is documented below.
    srcintf String
    Source interface name.
    status String
    Enable/disable this policy.
    tcpMssReceiver Integer
    TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
    tcpMssSender Integer
    TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
    trafficShaper String
    Traffic shaper.
    trafficShaperReverse String
    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 GetPolicy46Dstaddr[]
    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.
    logtrafficStart string
    Record logs when a session starts and ends.
    name string
    IP pool name.
    perIpShaper string
    Per IP traffic shaper.
    permitAnyHost string
    Enable/disable allowing any host.
    policyid number
    Policy ID.
    poolnames GetPolicy46Poolname[]
    IP Pool names. The structure of poolname block is documented below.
    schedule string
    Schedule name.
    services GetPolicy46Service[]
    Service name. The structure of service block is documented below.
    srcaddrs GetPolicy46Srcaddr[]
    Source address objects. The structure of srcaddr block is documented below.
    srcintf string
    Source interface name.
    status string
    Enable/disable this policy.
    tcpMssReceiver number
    TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
    tcpMssSender number
    TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
    trafficShaper string
    Traffic shaper.
    trafficShaperReverse string
    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[GetPolicy46Dstaddr]
    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_shaper str
    Per IP traffic shaper.
    permit_any_host str
    Enable/disable allowing any host.
    policyid int
    Policy ID.
    poolnames Sequence[GetPolicy46Poolname]
    IP Pool names. The structure of poolname block is documented below.
    schedule str
    Schedule name.
    services Sequence[GetPolicy46Service]
    Service name. The structure of service block is documented below.
    srcaddrs Sequence[GetPolicy46Srcaddr]
    Source address objects. The structure of srcaddr block is documented below.
    srcintf str
    Source interface name.
    status str
    Enable/disable this policy.
    tcp_mss_receiver int
    TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
    tcp_mss_sender int
    TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
    traffic_shaper str
    Traffic shaper.
    traffic_shaper_reverse str
    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.
    logtrafficStart String
    Record logs when a session starts and ends.
    name String
    IP pool name.
    perIpShaper String
    Per IP traffic shaper.
    permitAnyHost String
    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.
    tcpMssReceiver Number
    TCP Maximum Segment Size value of receiver (0 - 65535, default = 0)
    tcpMssSender Number
    TCP Maximum Segment Size value of sender (0 - 65535, default = 0).
    trafficShaper String
    Traffic shaper.
    trafficShaperReverse String
    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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse