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

fortios.firewall.getPolicy64

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 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.GetPolicy64Dstaddr>
    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.
    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 permit any host in.
    Policyid int
    Policy ID.
    Poolnames List<Pulumiverse.Fortios.Firewall.Outputs.GetPolicy64Poolname>
    Policy IP pool names. The structure of poolname block is documented below.
    Schedule string
    Schedule name.
    Services List<Pulumiverse.Fortios.Firewall.Outputs.GetPolicy64Service>
    Service name. The structure of service block is documented below.
    Srcaddrs List<Pulumiverse.Fortios.Firewall.Outputs.GetPolicy64Srcaddr>
    Source address name. The structure of srcaddr block is documented below.
    Srcintf string
    Source interface name.
    Status string
    Enable/disable policy status.
    TcpMssReceiver int
    TCP MSS value of receiver.
    TcpMssSender int
    TCP MSS value of sender.
    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
    Policy action.
    Comments string
    Comment.
    Dstaddrs []GetPolicy64Dstaddr
    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.
    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 permit any host in.
    Policyid int
    Policy ID.
    Poolnames []GetPolicy64Poolname
    Policy IP pool names. The structure of poolname block is documented below.
    Schedule string
    Schedule name.
    Services []GetPolicy64Service
    Service name. The structure of service block is documented below.
    Srcaddrs []GetPolicy64Srcaddr
    Source address name. The structure of srcaddr block is documented below.
    Srcintf string
    Source interface name.
    Status string
    Enable/disable policy status.
    TcpMssReceiver int
    TCP MSS value of receiver.
    TcpMssSender int
    TCP MSS value of sender.
    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
    Policy action.
    comments String
    Comment.
    dstaddrs List<GetPolicy64Dstaddr>
    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.
    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 permit any host in.
    policyid Integer
    Policy ID.
    poolnames List<GetPolicy64Poolname>
    Policy IP pool names. The structure of poolname block is documented below.
    schedule String
    Schedule name.
    services List<GetPolicy64Service>
    Service name. The structure of service block is documented below.
    srcaddrs List<GetPolicy64Srcaddr>
    Source address name. The structure of srcaddr block is documented below.
    srcintf String
    Source interface name.
    status String
    Enable/disable policy status.
    tcpMssReceiver Integer
    TCP MSS value of receiver.
    tcpMssSender Integer
    TCP MSS value of sender.
    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
    Policy action.
    comments string
    Comment.
    dstaddrs GetPolicy64Dstaddr[]
    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.
    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 permit any host in.
    policyid number
    Policy ID.
    poolnames GetPolicy64Poolname[]
    Policy IP pool names. The structure of poolname block is documented below.
    schedule string
    Schedule name.
    services GetPolicy64Service[]
    Service name. The structure of service block is documented below.
    srcaddrs GetPolicy64Srcaddr[]
    Source address name. The structure of srcaddr block is documented below.
    srcintf string
    Source interface name.
    status string
    Enable/disable policy status.
    tcpMssReceiver number
    TCP MSS value of receiver.
    tcpMssSender number
    TCP MSS value of sender.
    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
    Policy action.
    comments str
    Comment.
    dstaddrs Sequence[GetPolicy64Dstaddr]
    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_shaper str
    Per-IP traffic shaper.
    permit_any_host str
    Enable/disable permit any host in.
    policyid int
    Policy ID.
    poolnames Sequence[GetPolicy64Poolname]
    Policy IP pool names. The structure of poolname block is documented below.
    schedule str
    Schedule name.
    services Sequence[GetPolicy64Service]
    Service name. The structure of service block is documented below.
    srcaddrs Sequence[GetPolicy64Srcaddr]
    Source address name. The structure of srcaddr block is documented below.
    srcintf str
    Source interface name.
    status str
    Enable/disable policy status.
    tcp_mss_receiver int
    TCP MSS value of receiver.
    tcp_mss_sender int
    TCP MSS value of sender.
    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
    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.
    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 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.
    tcpMssReceiver Number
    TCP MSS value of receiver.
    tcpMssSender Number
    TCP MSS value of sender.
    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

    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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse