AssociatedSharedTaskDetails

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

Bases: oci.fleet_apps_management.models.associated_task_details.AssociatedTaskDetails

The details of the shared task. Tasks that are part of the task library and can be reused across runbooks.

Attributes

SCOPE_LOCAL str(object=’’) -> str
SCOPE_SHARED str(object=’’) -> str
scope [Required] Gets the scope of this AssociatedTaskDetails.
task_record_id [Required] Gets the task_record_id of this AssociatedSharedTaskDetails.

Methods

__init__(**kwargs) Initializes a new AssociatedSharedTaskDetails 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.
SCOPE_LOCAL = 'LOCAL'
SCOPE_SHARED = 'SHARED'
__init__(**kwargs)

Initializes a new AssociatedSharedTaskDetails object with values from keyword arguments. The default value of the scope attribute of this class is SHARED 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 AssociatedSharedTaskDetails. Allowed values for this property are: “LOCAL”, “SHARED”
  • task_record_id (str) – The value to assign to the task_record_id property of this AssociatedSharedTaskDetails.
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.

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
task_record_id

[Required] Gets the task_record_id of this AssociatedSharedTaskDetails. The ID of taskRecord.

Returns:The task_record_id of this AssociatedSharedTaskDetails.
Return type:str