CreateTaskRecordDetails

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

Bases: object

Attributes to create a task record.

Methods:

__init__(**kwargs)

Initializes a new CreateTaskRecordDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateTaskRecordDetails.

defined_tags

Gets the defined_tags of this CreateTaskRecordDetails.

description

Gets the description of this CreateTaskRecordDetails.

details

[Required] Gets the details of this CreateTaskRecordDetails.

display_name

[Required] Gets the display_name of this CreateTaskRecordDetails.

freeform_tags

Gets the freeform_tags of this CreateTaskRecordDetails.

__init__(**kwargs)

Initializes a new CreateTaskRecordDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • display_name (str) – The value to assign to the display_name property of this CreateTaskRecordDetails.

  • description (str) – The value to assign to the description property of this CreateTaskRecordDetails.

  • details (oci.fleet_apps_management.models.Details) – The value to assign to the details property of this CreateTaskRecordDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateTaskRecordDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateTaskRecordDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateTaskRecordDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateTaskRecordDetails. OCID of the compartment to which the resource belongs to.

Returns

The compartment_id of this CreateTaskRecordDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateTaskRecordDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateTaskRecordDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateTaskRecordDetails. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

Returns

The description of this CreateTaskRecordDetails.

Return type

str

property details

[Required] Gets the details of this CreateTaskRecordDetails.

Returns

The details of this CreateTaskRecordDetails.

Return type

oci.fleet_apps_management.models.Details

property display_name

[Required] Gets the display_name of this CreateTaskRecordDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Example: My new resource

Returns

The display_name of this CreateTaskRecordDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateTaskRecordDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateTaskRecordDetails.

Return type

dict(str, str)