DesktopAction¶
- class oci.desktops.models.DesktopAction(**kwargs)¶
Bases:
objectProvides information about actions performed on a desktop, including type and time.
Attributes:
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
A constant which can be used with the action property of a DesktopAction.
[Required] Gets the action of this DesktopAction.
[Required] Gets the time_applied of this DesktopAction.
Methods:
__init__(**kwargs)Initializes a new DesktopAction object with values from keyword arguments.
- ACTION_API_START = 'API_START'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “API_START”
- ACTION_API_STOP = 'API_STOP'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “API_STOP”
- ACTION_AVAILABILITY_START = 'AVAILABILITY_START'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “AVAILABILITY_START”
- ACTION_AVAILABILITY_STOP = 'AVAILABILITY_STOP'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “AVAILABILITY_STOP”
- ACTION_CONNECTED = 'CONNECTED'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “CONNECTED”
- ACTION_DISCONNECTED = 'DISCONNECTED'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “DISCONNECTED”
- ACTION_DISCONNECTED_DELETE = 'DISCONNECTED_DELETE'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “DISCONNECTED_DELETE”
- ACTION_DISCONNECTED_STOP = 'DISCONNECTED_STOP'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “DISCONNECTED_STOP”
- ACTION_SCHEDULED_START = 'SCHEDULED_START'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “SCHEDULED_START”
- ACTION_SCHEDULED_STOP = 'SCHEDULED_STOP'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “SCHEDULED_STOP”
- ACTION_SYNCHRONIZE = 'SYNCHRONIZE'¶
A constant which can be used with the action property of a DesktopAction. This constant has a value of “SYNCHRONIZE”
- __init__(**kwargs)¶
Initializes a new DesktopAction 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 DesktopAction. Allowed values for this property are: “API_START”, “API_STOP”, “AVAILABILITY_START”, “AVAILABILITY_STOP”, “DISCONNECTED_STOP”, “DISCONNECTED_DELETE”, “SCHEDULED_START”, “SCHEDULED_STOP”, “SYNCHRONIZE”, “CONNECTED”, “DISCONNECTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_applied (datetime) – The value to assign to the time_applied property of this DesktopAction.
- property action¶
[Required] Gets the action of this DesktopAction. An action performed on a desktop.
Allowed values for this property are: “API_START”, “API_STOP”, “AVAILABILITY_START”, “AVAILABILITY_STOP”, “DISCONNECTED_STOP”, “DISCONNECTED_DELETE”, “SCHEDULED_START”, “SCHEDULED_STOP”, “SYNCHRONIZE”, “CONNECTED”, “DISCONNECTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The action of this DesktopAction.
- Return type
str
- property time_applied¶
[Required] Gets the time_applied of this DesktopAction. The time of an action performed on a desktop.
- Returns
The time_applied of this DesktopAction.
- Return type
datetime