CreateMonitoredResourceTaskDetails

class oci.stack_monitoring.models.CreateMonitoredResourceTaskDetails(**kwargs)

Bases: object

The request details for the stack monitoring resource task.

Methods:

__init__(**kwargs)

Initializes a new CreateMonitoredResourceTaskDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateMonitoredResourceTaskDetails.

defined_tags

Gets the defined_tags of this CreateMonitoredResourceTaskDetails.

freeform_tags

Gets the freeform_tags of this CreateMonitoredResourceTaskDetails.

name

Gets the name of this CreateMonitoredResourceTaskDetails.

task_details

[Required] Gets the task_details of this CreateMonitoredResourceTaskDetails.

__init__(**kwargs)

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

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

  • name (str) – The value to assign to the name property of this CreateMonitoredResourceTaskDetails.

  • task_details (oci.stack_monitoring.models.MonitoredResourceTaskDetails) – The value to assign to the task_details property of this CreateMonitoredResourceTaskDetails.

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

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

property compartment_id

[Required] Gets the compartment_id of this CreateMonitoredResourceTaskDetails. The OCID of the compartment identifier.

Returns

The compartment_id of this CreateMonitoredResourceTaskDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateMonitoredResourceTaskDetails. 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 CreateMonitoredResourceTaskDetails.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this CreateMonitoredResourceTaskDetails. 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 CreateMonitoredResourceTaskDetails.

Return type

dict(str, str)

property name

Gets the name of this CreateMonitoredResourceTaskDetails. Name of the task. If not provided by default the following names will be taken OCI tasks - namespace plus timestamp.

Returns

The name of this CreateMonitoredResourceTaskDetails.

Return type

str

property task_details

[Required] Gets the task_details of this CreateMonitoredResourceTaskDetails.

Returns

The task_details of this CreateMonitoredResourceTaskDetails.

Return type

oci.stack_monitoring.models.MonitoredResourceTaskDetails