InactivityConfig

class oci.desktops.models.InactivityConfig(**kwargs)

Bases: object

Action and grace period for inactivity

Attributes

ACTION_DISCONNECT A constant which can be used with the action property of a InactivityConfig.
ACTION_NONE A constant which can be used with the action property of a InactivityConfig.
action [Required] Gets the action of this InactivityConfig.
grace_period_in_minutes Gets the grace_period_in_minutes of this InactivityConfig.

Methods

__init__(**kwargs) Initializes a new InactivityConfig object with values from keyword arguments.
ACTION_DISCONNECT = 'DISCONNECT'

A constant which can be used with the action property of a InactivityConfig. This constant has a value of “DISCONNECT”

ACTION_NONE = 'NONE'

A constant which can be used with the action property of a InactivityConfig. This constant has a value of “NONE”

__init__(**kwargs)

Initializes a new InactivityConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • action (str) – The value to assign to the action property of this InactivityConfig. Allowed values for this property are: “NONE”, “DISCONNECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • grace_period_in_minutes (int) – The value to assign to the grace_period_in_minutes property of this InactivityConfig.
action

[Required] Gets the action of this InactivityConfig. an inactivity action to be triggered

Allowed values for this property are: “NONE”, “DISCONNECT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The action of this InactivityConfig.
Return type:str
grace_period_in_minutes

Gets the grace_period_in_minutes of this InactivityConfig. The period of time (in minutes) during which the session must remain inactive before any action occurs. If the value is not provided, a default value is used.

Returns:The grace_period_in_minutes of this InactivityConfig.
Return type:int