1. Packages
  2. Fortios
  3. API Docs
  4. router
  5. getPolicy6
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.router.getPolicy6

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Use this data source to get information on an fortios router policy6

    Using getPolicy6

    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 getPolicy6(args: GetPolicy6Args, opts?: InvokeOptions): Promise<GetPolicy6Result>
    function getPolicy6Output(args: GetPolicy6OutputArgs, opts?: InvokeOptions): Output<GetPolicy6Result>
    def get_policy6(seq_num: Optional[int] = None,
                    vdomparam: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetPolicy6Result
    def get_policy6_output(seq_num: Optional[pulumi.Input[int]] = None,
                    vdomparam: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetPolicy6Result]
    func LookupPolicy6(ctx *Context, args *LookupPolicy6Args, opts ...InvokeOption) (*LookupPolicy6Result, error)
    func LookupPolicy6Output(ctx *Context, args *LookupPolicy6OutputArgs, opts ...InvokeOption) LookupPolicy6ResultOutput

    > Note: This function is named LookupPolicy6 in the Go SDK.

    public static class GetPolicy6 
    {
        public static Task<GetPolicy6Result> InvokeAsync(GetPolicy6Args args, InvokeOptions? opts = null)
        public static Output<GetPolicy6Result> Invoke(GetPolicy6InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicy6Result> getPolicy6(GetPolicy6Args args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:router/getPolicy6:getPolicy6
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SeqNum int
    Specify the seq_num of the desired router policy6.
    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.
    SeqNum int
    Specify the seq_num of the desired router policy6.
    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.
    seqNum Integer
    Specify the seq_num of the desired router policy6.
    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.
    seqNum number
    Specify the seq_num of the desired router policy6.
    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.
    seq_num int
    Specify the seq_num of the desired router policy6.
    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.
    seqNum Number
    Specify the seq_num of the desired router policy6.
    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.

    getPolicy6 Result

    The following output properties are available:

    Action string
    Action of the policy route.
    Comments string
    Optional comments.
    Dst string
    Destination IPv6 prefix.
    DstNegate string
    Enable/disable negating destination address match.
    Dstaddrs List<Pulumiverse.Fortios.Router.Outputs.GetPolicy6Dstaddr>
    Destination address name. The structure of dstaddr block is documented below.
    EndPort int
    End destination port number (1 - 65535).
    EndSourcePort int
    End source port number (1 - 65535).
    Gateway string
    IPv6 address of the gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputDevice string
    Incoming interface name.
    InputDeviceNegate string
    Enable/disable negation of input device match.
    InternetServiceCustoms List<Pulumiverse.Fortios.Router.Outputs.GetPolicy6InternetServiceCustom>
    Custom Destination Internet Service name. The structure of internet_service_custom block is documented below.
    InternetServiceIds List<Pulumiverse.Fortios.Router.Outputs.GetPolicy6InternetServiceId>
    Destination Internet Service ID. The structure of internet_service_id block is documented below.
    OutputDevice string
    Outgoing interface name.
    Protocol int
    Protocol number (0 - 255).
    SeqNum int
    Sequence number.
    Src string
    Source IPv6 prefix.
    SrcNegate string
    Enable/disable negating source address match.
    Srcaddrs List<Pulumiverse.Fortios.Router.Outputs.GetPolicy6Srcaddr>
    Source address name. The structure of srcaddr block is documented below.
    StartPort int
    Start destination port number (1 - 65535).
    StartSourcePort int
    Start source port number (1 - 65535).
    Status string
    Enable/disable this policy route.
    Tos string
    Type of service bit pattern.
    TosMask string
    Type of service evaluated bits.
    Vdomparam string
    Action string
    Action of the policy route.
    Comments string
    Optional comments.
    Dst string
    Destination IPv6 prefix.
    DstNegate string
    Enable/disable negating destination address match.
    Dstaddrs []GetPolicy6Dstaddr
    Destination address name. The structure of dstaddr block is documented below.
    EndPort int
    End destination port number (1 - 65535).
    EndSourcePort int
    End source port number (1 - 65535).
    Gateway string
    IPv6 address of the gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    InputDevice string
    Incoming interface name.
    InputDeviceNegate string
    Enable/disable negation of input device match.
    InternetServiceCustoms []GetPolicy6InternetServiceCustom
    Custom Destination Internet Service name. The structure of internet_service_custom block is documented below.
    InternetServiceIds []GetPolicy6InternetServiceId
    Destination Internet Service ID. The structure of internet_service_id block is documented below.
    OutputDevice string
    Outgoing interface name.
    Protocol int
    Protocol number (0 - 255).
    SeqNum int
    Sequence number.
    Src string
    Source IPv6 prefix.
    SrcNegate string
    Enable/disable negating source address match.
    Srcaddrs []GetPolicy6Srcaddr
    Source address name. The structure of srcaddr block is documented below.
    StartPort int
    Start destination port number (1 - 65535).
    StartSourcePort int
    Start source port number (1 - 65535).
    Status string
    Enable/disable this policy route.
    Tos string
    Type of service bit pattern.
    TosMask string
    Type of service evaluated bits.
    Vdomparam string
    action String
    Action of the policy route.
    comments String
    Optional comments.
    dst String
    Destination IPv6 prefix.
    dstNegate String
    Enable/disable negating destination address match.
    dstaddrs List<GetPolicy6Dstaddr>
    Destination address name. The structure of dstaddr block is documented below.
    endPort Integer
    End destination port number (1 - 65535).
    endSourcePort Integer
    End source port number (1 - 65535).
    gateway String
    IPv6 address of the gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    inputDevice String
    Incoming interface name.
    inputDeviceNegate String
    Enable/disable negation of input device match.
    internetServiceCustoms List<GetPolicy6InternetServiceCustom>
    Custom Destination Internet Service name. The structure of internet_service_custom block is documented below.
    internetServiceIds List<GetPolicy6InternetServiceId>
    Destination Internet Service ID. The structure of internet_service_id block is documented below.
    outputDevice String
    Outgoing interface name.
    protocol Integer
    Protocol number (0 - 255).
    seqNum Integer
    Sequence number.
    src String
    Source IPv6 prefix.
    srcNegate String
    Enable/disable negating source address match.
    srcaddrs List<GetPolicy6Srcaddr>
    Source address name. The structure of srcaddr block is documented below.
    startPort Integer
    Start destination port number (1 - 65535).
    startSourcePort Integer
    Start source port number (1 - 65535).
    status String
    Enable/disable this policy route.
    tos String
    Type of service bit pattern.
    tosMask String
    Type of service evaluated bits.
    vdomparam String
    action string
    Action of the policy route.
    comments string
    Optional comments.
    dst string
    Destination IPv6 prefix.
    dstNegate string
    Enable/disable negating destination address match.
    dstaddrs GetPolicy6Dstaddr[]
    Destination address name. The structure of dstaddr block is documented below.
    endPort number
    End destination port number (1 - 65535).
    endSourcePort number
    End source port number (1 - 65535).
    gateway string
    IPv6 address of the gateway.
    id string
    The provider-assigned unique ID for this managed resource.
    inputDevice string
    Incoming interface name.
    inputDeviceNegate string
    Enable/disable negation of input device match.
    internetServiceCustoms GetPolicy6InternetServiceCustom[]
    Custom Destination Internet Service name. The structure of internet_service_custom block is documented below.
    internetServiceIds GetPolicy6InternetServiceId[]
    Destination Internet Service ID. The structure of internet_service_id block is documented below.
    outputDevice string
    Outgoing interface name.
    protocol number
    Protocol number (0 - 255).
    seqNum number
    Sequence number.
    src string
    Source IPv6 prefix.
    srcNegate string
    Enable/disable negating source address match.
    srcaddrs GetPolicy6Srcaddr[]
    Source address name. The structure of srcaddr block is documented below.
    startPort number
    Start destination port number (1 - 65535).
    startSourcePort number
    Start source port number (1 - 65535).
    status string
    Enable/disable this policy route.
    tos string
    Type of service bit pattern.
    tosMask string
    Type of service evaluated bits.
    vdomparam string
    action str
    Action of the policy route.
    comments str
    Optional comments.
    dst str
    Destination IPv6 prefix.
    dst_negate str
    Enable/disable negating destination address match.
    dstaddrs Sequence[GetPolicy6Dstaddr]
    Destination address name. The structure of dstaddr block is documented below.
    end_port int
    End destination port number (1 - 65535).
    end_source_port int
    End source port number (1 - 65535).
    gateway str
    IPv6 address of the gateway.
    id str
    The provider-assigned unique ID for this managed resource.
    input_device str
    Incoming interface name.
    input_device_negate str
    Enable/disable negation of input device match.
    internet_service_customs Sequence[GetPolicy6InternetServiceCustom]
    Custom Destination Internet Service name. The structure of internet_service_custom block is documented below.
    internet_service_ids Sequence[GetPolicy6InternetServiceId]
    Destination Internet Service ID. The structure of internet_service_id block is documented below.
    output_device str
    Outgoing interface name.
    protocol int
    Protocol number (0 - 255).
    seq_num int
    Sequence number.
    src str
    Source IPv6 prefix.
    src_negate str
    Enable/disable negating source address match.
    srcaddrs Sequence[GetPolicy6Srcaddr]
    Source address name. The structure of srcaddr block is documented below.
    start_port int
    Start destination port number (1 - 65535).
    start_source_port int
    Start source port number (1 - 65535).
    status str
    Enable/disable this policy route.
    tos str
    Type of service bit pattern.
    tos_mask str
    Type of service evaluated bits.
    vdomparam str
    action String
    Action of the policy route.
    comments String
    Optional comments.
    dst String
    Destination IPv6 prefix.
    dstNegate String
    Enable/disable negating destination address match.
    dstaddrs List<Property Map>
    Destination address name. The structure of dstaddr block is documented below.
    endPort Number
    End destination port number (1 - 65535).
    endSourcePort Number
    End source port number (1 - 65535).
    gateway String
    IPv6 address of the gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    inputDevice String
    Incoming interface name.
    inputDeviceNegate String
    Enable/disable negation of input device match.
    internetServiceCustoms List<Property Map>
    Custom Destination Internet Service name. The structure of internet_service_custom block is documented below.
    internetServiceIds List<Property Map>
    Destination Internet Service ID. The structure of internet_service_id block is documented below.
    outputDevice String
    Outgoing interface name.
    protocol Number
    Protocol number (0 - 255).
    seqNum Number
    Sequence number.
    src String
    Source IPv6 prefix.
    srcNegate String
    Enable/disable negating source address match.
    srcaddrs List<Property Map>
    Source address name. The structure of srcaddr block is documented below.
    startPort Number
    Start destination port number (1 - 65535).
    startSourcePort Number
    Start source port number (1 - 65535).
    status String
    Enable/disable this policy route.
    tos String
    Type of service bit pattern.
    tosMask String
    Type of service evaluated bits.
    vdomparam String

    Supporting Types

    GetPolicy6Dstaddr

    Name string
    Custom Destination Internet Service name.
    Name string
    Custom Destination Internet Service name.
    name String
    Custom Destination Internet Service name.
    name string
    Custom Destination Internet Service name.
    name str
    Custom Destination Internet Service name.
    name String
    Custom Destination Internet Service name.

    GetPolicy6InternetServiceCustom

    Name string
    Custom Destination Internet Service name.
    Name string
    Custom Destination Internet Service name.
    name String
    Custom Destination Internet Service name.
    name string
    Custom Destination Internet Service name.
    name str
    Custom Destination Internet Service name.
    name String
    Custom Destination Internet Service name.

    GetPolicy6InternetServiceId

    Id int
    Destination Internet Service ID.
    Id int
    Destination Internet Service ID.
    id Integer
    Destination Internet Service ID.
    id number
    Destination Internet Service ID.
    id int
    Destination Internet Service ID.
    id Number
    Destination Internet Service ID.

    GetPolicy6Srcaddr

    Name string
    Custom Destination Internet Service name.
    Name string
    Custom Destination Internet Service name.
    name String
    Custom Destination Internet Service name.
    name string
    Custom Destination Internet Service name.
    name str
    Custom Destination Internet Service name.
    name String
    Custom Destination Internet Service 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.5 published on Tuesday, Apr 9, 2024 by pulumiverse