DisconnectConfig¶
-
class
oci.desktops.models.DisconnectConfig(**kwargs)¶ Bases:
objectAction and grace period for disconnect
Attributes
ACTION_NONEA constant which can be used with the action property of a DisconnectConfig. ACTION_STOPA constant which can be used with the action property of a DisconnectConfig. action[Required] Gets the action of this DisconnectConfig. grace_period_in_minutesGets the grace_period_in_minutes of this DisconnectConfig. Methods
__init__(**kwargs)Initializes a new DisconnectConfig object with values from keyword arguments. -
ACTION_NONE= 'NONE'¶ A constant which can be used with the action property of a DisconnectConfig. This constant has a value of “NONE”
-
ACTION_STOP= 'STOP'¶ A constant which can be used with the action property of a DisconnectConfig. This constant has a value of “STOP”
-
__init__(**kwargs)¶ Initializes a new DisconnectConfig 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 DisconnectConfig. Allowed values for this property are: “NONE”, “STOP”, ‘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 DisconnectConfig.
-
action¶ [Required] Gets the action of this DisconnectConfig. a disconnect action to be triggered
Allowed values for this property are: “NONE”, “STOP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The action of this DisconnectConfig. Return type: str
-
grace_period_in_minutes¶ Gets the grace_period_in_minutes of this DisconnectConfig. The period of time (in minutes) after disconnect before any action occurs. If the value is not provided, a default value is used.
Returns: The grace_period_in_minutes of this DisconnectConfig. Return type: int
-