AssociatedSharedTaskDetails

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

Bases: AssociatedTaskDetails

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

Attributes:

SCOPE_LOCAL

A constant which can be used with the scope property of a AssociatedTaskDetails.

SCOPE_SHARED

A constant which can be used with the scope property of a AssociatedTaskDetails.

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'

A constant which can be used with the scope property of a AssociatedTaskDetails. This constant has a value of “LOCAL”

SCOPE_SHARED = 'SHARED'

A constant which can be used with the scope property of a AssociatedTaskDetails. This constant has a value of “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.

property 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

property 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