DesktopConnection

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

Bases: object

Provides 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_platform

Gets the client_platform of this DesktopConnection.

client_type

Gets the client_type of this DesktopConnection.

client_version

Gets the client_version of this DesktopConnection.

last_action

Gets the last_action of this DesktopConnection.

next_action

Gets the next_action of this DesktopConnection.

time_connected

Gets the time_connected of this DesktopConnection.

time_disconnected

Gets 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.

property 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

property 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

property 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

property last_action

Gets the last_action of this DesktopConnection.

Returns

The last_action of this DesktopConnection.

Return type

oci.desktops.models.DesktopAction

property next_action

Gets the next_action of this DesktopConnection.

Returns

The next_action of this DesktopConnection.

Return type

oci.desktops.models.DesktopAction

property 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

property 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