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

fortios.system.getSessionttl

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 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>
Copy
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]
Copy
func LookupSessionttl(ctx *Context, args *LookupSessionttlArgs, opts ...InvokeOption) (*LookupSessionttlResult, error)
func LookupSessionttlOutput(ctx *Context, args *LookupSessionttlOutputArgs, opts ...InvokeOption) LookupSessionttlResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSessionttlResult> getSessionttl(GetSessionttlArgs args, InvokeOptions options)
public static Output<GetSessionttlResult> getSessionttl(GetSessionttlArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:system/getSessionttl:getSessionttl
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Vdomparam Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 This property is required. int
End port number.
Id This property is required. int
Table entry ID.
Protocol This property is required. int
Protocol (0 - 255).
RefreshDirection This property is required. string
Refresh direction: Both, outgoing, incoming
StartPort This property is required. int
Start port number.
Timeout This property is required. string
Session timeout (TTL).
EndPort This property is required. int
End port number.
Id This property is required. int
Table entry ID.
Protocol This property is required. int
Protocol (0 - 255).
RefreshDirection This property is required. string
Refresh direction: Both, outgoing, incoming
StartPort This property is required. int
Start port number.
Timeout This property is required. string
Session timeout (TTL).
endPort This property is required. Integer
End port number.
id This property is required. Integer
Table entry ID.
protocol This property is required. Integer
Protocol (0 - 255).
refreshDirection This property is required. String
Refresh direction: Both, outgoing, incoming
startPort This property is required. Integer
Start port number.
timeout This property is required. String
Session timeout (TTL).
endPort This property is required. number
End port number.
id This property is required. number
Table entry ID.
protocol This property is required. number
Protocol (0 - 255).
refreshDirection This property is required. string
Refresh direction: Both, outgoing, incoming
startPort This property is required. number
Start port number.
timeout This property is required. string
Session timeout (TTL).
end_port This property is required. int
End port number.
id This property is required. int
Table entry ID.
protocol This property is required. int
Protocol (0 - 255).
refresh_direction This property is required. str
Refresh direction: Both, outgoing, incoming
start_port This property is required. int
Start port number.
timeout This property is required. str
Session timeout (TTL).
endPort This property is required. Number
End port number.
id This property is required. Number
Table entry ID.
protocol This property is required. Number
Protocol (0 - 255).
refreshDirection This property is required. String
Refresh direction: Both, outgoing, incoming
startPort This property is required. Number
Start port number.
timeout This property is required. 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 v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse