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

fortios.system.getSessionttl

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 fortios system sessionttl

    Using getSessionttl

    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 getSessionttl(args: GetSessionttlArgs, opts?: InvokeOptions): Promise<GetSessionttlResult>
    function getSessionttlOutput(args: GetSessionttlOutputArgs, opts?: InvokeOptions): Output<GetSessionttlResult>
    def get_sessionttl(vdomparam: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetSessionttlResult
    def get_sessionttl_output(vdomparam: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetSessionttlResult]
    func LookupSessionttl(ctx *Context, args *LookupSessionttlArgs, opts ...InvokeOption) (*LookupSessionttlResult, error)
    func LookupSessionttlOutput(ctx *Context, args *LookupSessionttlOutputArgs, opts ...InvokeOption) LookupSessionttlResultOutput

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

    public static class GetSessionttl 
    {
        public static Task<GetSessionttlResult> InvokeAsync(GetSessionttlArgs args, InvokeOptions? opts = null)
        public static Output<GetSessionttlResult> Invoke(GetSessionttlInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSessionttlResult> getSessionttl(GetSessionttlArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: fortios:system/getSessionttl:getSessionttl
      arguments:
        # arguments dictionary

    The following arguments are supported:

    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.
    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.
    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.
    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.
    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.
    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.

    getSessionttl Result

    The following output properties are available:

    Default string
    Default timeout.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ports List<Pulumiverse.Fortios.System.Outputs.GetSessionttlPort>
    Session TTL port. The structure of port block is documented below.
    Vdomparam string
    Default string
    Default timeout.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ports []GetSessionttlPort
    Session TTL port. The structure of port block is documented below.
    Vdomparam string
    default_ String
    Default timeout.
    id String
    The provider-assigned unique ID for this managed resource.
    ports List<GetSessionttlPort>
    Session TTL port. The structure of port block is documented below.
    vdomparam String
    default string
    Default timeout.
    id string
    The provider-assigned unique ID for this managed resource.
    ports GetSessionttlPort[]
    Session TTL port. The structure of port block is documented below.
    vdomparam string
    default str
    Default timeout.
    id str
    The provider-assigned unique ID for this managed resource.
    ports Sequence[GetSessionttlPort]
    Session TTL port. The structure of port block is documented below.
    vdomparam str
    default String
    Default timeout.
    id String
    The provider-assigned unique ID for this managed resource.
    ports List<Property Map>
    Session TTL port. The structure of port block is documented below.
    vdomparam String

    Supporting Types

    GetSessionttlPort

    EndPort int
    End port number.
    Id int
    Table entry ID.
    Protocol int
    Protocol (0 - 255).
    RefreshDirection string
    Refresh direction: Both, outgoing, incoming
    StartPort int
    Start port number.
    Timeout string
    Session timeout (TTL).
    EndPort int
    End port number.
    Id int
    Table entry ID.
    Protocol int
    Protocol (0 - 255).
    RefreshDirection string
    Refresh direction: Both, outgoing, incoming
    StartPort int
    Start port number.
    Timeout string
    Session timeout (TTL).
    endPort Integer
    End port number.
    id Integer
    Table entry ID.
    protocol Integer
    Protocol (0 - 255).
    refreshDirection String
    Refresh direction: Both, outgoing, incoming
    startPort Integer
    Start port number.
    timeout String
    Session timeout (TTL).
    endPort number
    End port number.
    id number
    Table entry ID.
    protocol number
    Protocol (0 - 255).
    refreshDirection string
    Refresh direction: Both, outgoing, incoming
    startPort number
    Start port number.
    timeout string
    Session timeout (TTL).
    end_port int
    End port number.
    id int
    Table entry ID.
    protocol int
    Protocol (0 - 255).
    refresh_direction str
    Refresh direction: Both, outgoing, incoming
    start_port int
    Start port number.
    timeout str
    Session timeout (TTL).
    endPort Number
    End port number.
    id Number
    Table entry ID.
    protocol Number
    Protocol (0 - 255).
    refreshDirection String
    Refresh direction: Both, outgoing, incoming
    startPort Number
    Start port number.
    timeout String
    Session timeout (TTL).

    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