Details¶
- class oci.fleet_apps_management.models.Details(**kwargs)¶
Bases:
objectThe details of the task.
Attributes:
A constant which can be used with the os_type property of a Details.
A constant which can be used with the os_type property of a Details.
A constant which can be used with the os_type property of a Details.
A constant which can be used with the scope property of a Details.
A constant which can be used with the scope property of a Details.
[Required] Gets the execution_details of this Details.
Gets the is_apply_subject_task of this Details.
Gets the is_discovery_output_task of this Details.
Gets the operation of this Details.
Gets the os_type of this Details.
Gets the platform of this Details.
Gets the properties of this Details.
[Required] Gets the scope of this Details.
Methods:
__init__(**kwargs)Initializes a new Details object with values from keyword arguments.
- OS_TYPE_GENERIC = 'GENERIC'¶
A constant which can be used with the os_type property of a Details. This constant has a value of “GENERIC”
- OS_TYPE_LINUX = 'LINUX'¶
A constant which can be used with the os_type property of a Details. This constant has a value of “LINUX”
- OS_TYPE_WINDOWS = 'WINDOWS'¶
A constant which can be used with the os_type property of a Details. This constant has a value of “WINDOWS”
- SCOPE_LOCAL = 'LOCAL'¶
A constant which can be used with the scope property of a Details. This constant has a value of “LOCAL”
- SCOPE_SHARED = 'SHARED'¶
A constant which can be used with the scope property of a Details. This constant has a value of “SHARED”
- __init__(**kwargs)¶
Initializes a new Details object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
execution_details (oci.fleet_apps_management.models.ExecutionDetails) – The value to assign to the execution_details property of this Details.
platform (str) – The value to assign to the platform property of this Details.
os_type (str) – The value to assign to the os_type property of this Details. Allowed values for this property are: “WINDOWS”, “LINUX”, “GENERIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
scope (str) – The value to assign to the scope property of this Details. Allowed values for this property are: “LOCAL”, “SHARED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
properties (oci.fleet_apps_management.models.Properties) – The value to assign to the properties property of this Details.
is_discovery_output_task (bool) – The value to assign to the is_discovery_output_task property of this Details.
is_apply_subject_task (bool) – The value to assign to the is_apply_subject_task property of this Details.
operation (str) – The value to assign to the operation property of this Details.
- property execution_details¶
[Required] Gets the execution_details of this Details.
- Returns
The execution_details of this Details.
- Return type
- property is_apply_subject_task¶
Gets the is_apply_subject_task of this Details. Is this an Apply Subject Task? Set this to true for a Patch Execution Task which applies patches(subjects) on a target.
- Returns
The is_apply_subject_task of this Details.
- Return type
bool
- property is_discovery_output_task¶
Gets the is_discovery_output_task of this Details. Is this a discovery output task?
- Returns
The is_discovery_output_task of this Details.
- Return type
bool
- property operation¶
Gets the operation of this Details. The lifecycle operation performed by the runbook.
- Returns
The operation of this Details.
- Return type
str
- property os_type¶
Gets the os_type of this Details. The OS for the task
Allowed values for this property are: “WINDOWS”, “LINUX”, “GENERIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The os_type of this Details.
- Return type
str
- property platform¶
Gets the platform of this Details. The platform of the runbook.
- Returns
The platform of this Details.
- Return type
str
- property properties¶
Gets the properties of this Details.
- Returns
The properties of this Details.
- Return type
- property scope¶
[Required] Gets the scope of this Details. The scope of the task
Allowed values for this property are: “LOCAL”, “SHARED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The scope of this Details.
- Return type
str