AssociatedLocalTaskDetails

class oci.fleet_apps_management.models.AssociatedLocalTaskDetails(**kwargs)

Bases: oci.fleet_apps_management.models.associated_task_details.AssociatedTaskDetails

The details of the local task. The local tasks are specific to a single runbook.

Attributes

OS_TYPE_GENERIC A constant which can be used with the os_type property of a AssociatedLocalTaskDetails.
OS_TYPE_LINUX A constant which can be used with the os_type property of a AssociatedLocalTaskDetails.
OS_TYPE_WINDOWS A constant which can be used with the os_type property of a AssociatedLocalTaskDetails.
SCOPE_LOCAL str(object=’’) -> str
SCOPE_SHARED str(object=’’) -> str
description Gets the description of this AssociatedLocalTaskDetails.
execution_details [Required] Gets the execution_details of this AssociatedLocalTaskDetails.
is_apply_subject_task Gets the is_apply_subject_task of this AssociatedLocalTaskDetails.
is_copy_to_library_enabled Gets the is_copy_to_library_enabled of this AssociatedLocalTaskDetails.
is_discovery_output_task Gets the is_discovery_output_task of this AssociatedLocalTaskDetails.
name Gets the name of this AssociatedLocalTaskDetails.
os_type [Required] Gets the os_type of this AssociatedLocalTaskDetails.
platform Gets the platform of this AssociatedLocalTaskDetails.
properties Gets the properties of this AssociatedLocalTaskDetails.
scope [Required] Gets the scope of this AssociatedTaskDetails.

Methods

__init__(**kwargs) Initializes a new AssociatedLocalTaskDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
OS_TYPE_GENERIC = 'GENERIC'

A constant which can be used with the os_type property of a AssociatedLocalTaskDetails. This constant has a value of “GENERIC”

OS_TYPE_LINUX = 'LINUX'

A constant which can be used with the os_type property of a AssociatedLocalTaskDetails. This constant has a value of “LINUX”

OS_TYPE_WINDOWS = 'WINDOWS'

A constant which can be used with the os_type property of a AssociatedLocalTaskDetails. This constant has a value of “WINDOWS”

SCOPE_LOCAL = 'LOCAL'
SCOPE_SHARED = 'SHARED'
__init__(**kwargs)

Initializes a new AssociatedLocalTaskDetails object with values from keyword arguments. The default value of the scope attribute of this class is LOCAL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • scope (str) – The value to assign to the scope property of this AssociatedLocalTaskDetails. 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’.
  • execution_details (oci.fleet_apps_management.models.ExecutionDetails) – The value to assign to the execution_details property of this AssociatedLocalTaskDetails.
  • description (str) – The value to assign to the description property of this AssociatedLocalTaskDetails.
  • platform (str) – The value to assign to the platform property of this AssociatedLocalTaskDetails.
  • is_copy_to_library_enabled (bool) – The value to assign to the is_copy_to_library_enabled property of this AssociatedLocalTaskDetails.
  • os_type (str) – The value to assign to the os_type property of this AssociatedLocalTaskDetails. 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’.
  • properties (oci.fleet_apps_management.models.Properties) – The value to assign to the properties property of this AssociatedLocalTaskDetails.
  • is_discovery_output_task (bool) – The value to assign to the is_discovery_output_task property of this AssociatedLocalTaskDetails.
  • is_apply_subject_task (bool) – The value to assign to the is_apply_subject_task property of this AssociatedLocalTaskDetails.
  • name (str) – The value to assign to the name property of this AssociatedLocalTaskDetails.
description

Gets the description of this AssociatedLocalTaskDetails. The description of the task.

Returns:The description of this AssociatedLocalTaskDetails.
Return type:str
execution_details

[Required] Gets the execution_details of this AssociatedLocalTaskDetails.

Returns:The execution_details of this AssociatedLocalTaskDetails.
Return type:oci.fleet_apps_management.models.ExecutionDetails
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_apply_subject_task

Gets the is_apply_subject_task of this AssociatedLocalTaskDetails. Is this an Apply Subject Task? Ex. Patch Execution Task

Returns:The is_apply_subject_task of this AssociatedLocalTaskDetails.
Return type:bool
is_copy_to_library_enabled

Gets the is_copy_to_library_enabled of this AssociatedLocalTaskDetails. Make a copy of this task in Library

Returns:The is_copy_to_library_enabled of this AssociatedLocalTaskDetails.
Return type:bool
is_discovery_output_task

Gets the is_discovery_output_task of this AssociatedLocalTaskDetails. Is this a discovery output task?

Returns:The is_discovery_output_task of this AssociatedLocalTaskDetails.
Return type:bool
name

Gets the name of this AssociatedLocalTaskDetails. The name of the task

Returns:The name of this AssociatedLocalTaskDetails.
Return type:str
os_type

[Required] Gets the os_type of this AssociatedLocalTaskDetails. 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 AssociatedLocalTaskDetails.
Return type:str
platform

Gets the platform of this AssociatedLocalTaskDetails. The platform of the runbook.

Returns:The platform of this AssociatedLocalTaskDetails.
Return type:str
properties

Gets the properties of this AssociatedLocalTaskDetails.

Returns:The properties of this AssociatedLocalTaskDetails.
Return type:oci.fleet_apps_management.models.Properties
scope

[Required] Gets the scope of this AssociatedTaskDetails. 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 AssociatedTaskDetails.
Return type:str