Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.system.getSessionttl
Explore with Pulumi AI
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. Get Sessionttl Port> - 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
[]Get
Sessionttl Port - 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<Get
Sessionttl Port> - 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
Get
Sessionttl Port[] - 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[Get
Sessionttl Port] - 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
- 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).
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.