DesktopConnection¶
-
class
oci.desktops.models.DesktopConnection(**kwargs)¶ Bases:
objectProvides information about a connection to a desktop, including connect and disconnect time, and client properties.
Methods
__init__(**kwargs)Initializes a new DesktopConnection object with values from keyword arguments. Attributes
client_platformGets the client_platform of this DesktopConnection. client_typeGets the client_type of this DesktopConnection. client_versionGets the client_version of this DesktopConnection. last_actionGets the last_action of this DesktopConnection. next_actionGets the next_action of this DesktopConnection. time_connectedGets the time_connected of this DesktopConnection. time_disconnectedGets the time_disconnected of this DesktopConnection. -
__init__(**kwargs)¶ Initializes a new DesktopConnection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - time_connected (datetime) – The value to assign to the time_connected property of this DesktopConnection.
- time_disconnected (datetime) – The value to assign to the time_disconnected property of this DesktopConnection.
- next_action (oci.desktops.models.DesktopAction) – The value to assign to the next_action property of this DesktopConnection.
- last_action (oci.desktops.models.DesktopAction) – The value to assign to the last_action property of this DesktopConnection.
- client_type (str) – The value to assign to the client_type property of this DesktopConnection.
- client_version (str) – The value to assign to the client_version property of this DesktopConnection.
- client_platform (str) – The value to assign to the client_platform property of this DesktopConnection.
-
client_platform¶ Gets the client_platform of this DesktopConnection. The platform on which the Secure Desktops client runs.
Returns: The client_platform of this DesktopConnection. Return type: str
-
client_type¶ Gets the client_type of this DesktopConnection. The type of Secure Desktops client connected to a desktop.
Returns: The client_type of this DesktopConnection. Return type: str
-
client_version¶ Gets the client_version of this DesktopConnection. The version of the Secure Desktops client connected to a desktop, applicable only to the installed client type.
Returns: The client_version of this DesktopConnection. Return type: str
-
last_action¶ Gets the last_action of this DesktopConnection.
Returns: The last_action of this DesktopConnection. Return type: oci.desktops.models.DesktopAction
-
next_action¶ Gets the next_action of this DesktopConnection.
Returns: The next_action of this DesktopConnection. Return type: oci.desktops.models.DesktopAction
-
time_connected¶ Gets the time_connected of this DesktopConnection. The time when the last connection to a desktop started.
Returns: The time_connected of this DesktopConnection. Return type: datetime
-
time_disconnected¶ Gets the time_disconnected of this DesktopConnection. The time when the last connection to a desktop ended.
Returns: The time_disconnected of this DesktopConnection. Return type: datetime
-