Action¶
-
class
oci.optimizer.models.
Action
(**kwargs)¶ Bases:
object
Details about the recommended action.
Attributes
TYPE_KB_ARTICLE
A constant which can be used with the type property of a Action. description
[Required] Gets the description of this Action. type
[Required] Gets the type of this Action. url
[Required] Gets the url of this Action. Methods
__init__
(**kwargs)Initializes a new Action object with values from keyword arguments. -
TYPE_KB_ARTICLE
= 'KB_ARTICLE'¶ A constant which can be used with the type property of a Action. This constant has a value of “KB_ARTICLE”
-
__init__
(**kwargs)¶ Initializes a new Action object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this Action. Allowed values for this property are: “KB_ARTICLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- description (str) – The value to assign to the description property of this Action.
- url (str) – The value to assign to the url property of this Action.
-
description
¶ [Required] Gets the description of this Action. Text describing the recommended action.
Returns: The description of this Action. Return type: str
-
type
¶ [Required] Gets the type of this Action. The status of the resource action.
Allowed values for this property are: “KB_ARTICLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this Action. Return type: str
-
url
¶ [Required] Gets the url of this Action. The URL path to documentation that explains how to perform the action.
Returns: The url of this Action. Return type: str
-