DisconnectConfig¶
- class oci.desktops.models.DisconnectConfig(**kwargs)¶
Bases:
objectAction and grace period for disconnect
Attributes:
A constant which can be used with the action property of a DisconnectConfig.
A constant which can be used with the action property of a DisconnectConfig.
A constant which can be used with the action property of a DisconnectConfig.
[Required] Gets the action of this DisconnectConfig.
Gets the grace_period_in_minutes of this DisconnectConfig.
Methods:
__init__(**kwargs)Initializes a new DisconnectConfig object with values from keyword arguments.
- ACTION_DELETE = 'DELETE'¶
A constant which can be used with the action property of a DisconnectConfig. This constant has a value of “DELETE”
- 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”, “DELETE”, ‘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.
- property action¶
[Required] Gets the action of this DisconnectConfig. a disconnect action to be triggered
Allowed values for this property are: “NONE”, “STOP”, “DELETE”, ‘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
- property 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