UpdateResourceTypeConfigTaskDetails

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

Bases: oci.stack_monitoring.models.monitored_resource_task_details.MonitoredResourceTaskDetails

Update the availability metrics and the handler configuration for the telegraf/collectd resource types.

Attributes

HANDLER_TYPE_COLLECTD A constant which can be used with the handler_type property of a UpdateResourceTypeConfigTaskDetails.
HANDLER_TYPE_TELEGRAF A constant which can be used with the handler_type property of a UpdateResourceTypeConfigTaskDetails.
TYPE_IMPORT_OCI_TELEMETRY_RESOURCES str(object=’’) -> str
TYPE_UPDATE_AGENT_RECEIVER str(object=’’) -> str
TYPE_UPDATE_RESOURCE_TYPE_CONFIGS str(object=’’) -> str
handler_type [Required] Gets the handler_type of this UpdateResourceTypeConfigTaskDetails.
resource_types_configuration [Required] Gets the resource_types_configuration of this UpdateResourceTypeConfigTaskDetails.
type [Required] Gets the type of this MonitoredResourceTaskDetails.

Methods

__init__(**kwargs) Initializes a new UpdateResourceTypeConfigTaskDetails 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.
HANDLER_TYPE_COLLECTD = 'COLLECTD'

A constant which can be used with the handler_type property of a UpdateResourceTypeConfigTaskDetails. This constant has a value of “COLLECTD”

HANDLER_TYPE_TELEGRAF = 'TELEGRAF'

A constant which can be used with the handler_type property of a UpdateResourceTypeConfigTaskDetails. This constant has a value of “TELEGRAF”

TYPE_IMPORT_OCI_TELEMETRY_RESOURCES = 'IMPORT_OCI_TELEMETRY_RESOURCES'
TYPE_UPDATE_AGENT_RECEIVER = 'UPDATE_AGENT_RECEIVER'
TYPE_UPDATE_RESOURCE_TYPE_CONFIGS = 'UPDATE_RESOURCE_TYPE_CONFIGS'
__init__(**kwargs)

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

Parameters:
  • type (str) – The value to assign to the type property of this UpdateResourceTypeConfigTaskDetails. Allowed values for this property are: “IMPORT_OCI_TELEMETRY_RESOURCES”, “UPDATE_AGENT_RECEIVER”, “UPDATE_RESOURCE_TYPE_CONFIGS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • handler_type (str) – The value to assign to the handler_type property of this UpdateResourceTypeConfigTaskDetails. Allowed values for this property are: “TELEGRAF”, “COLLECTD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • resource_types_configuration (list[oci.stack_monitoring.models.ResourceTypeConfigDetails]) – The value to assign to the resource_types_configuration property of this UpdateResourceTypeConfigTaskDetails.
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.

handler_type

[Required] Gets the handler_type of this UpdateResourceTypeConfigTaskDetails. Type of the handler.

Allowed values for this property are: “TELEGRAF”, “COLLECTD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The handler_type of this UpdateResourceTypeConfigTaskDetails.
Return type:str
resource_types_configuration

[Required] Gets the resource_types_configuration of this UpdateResourceTypeConfigTaskDetails. A collection of resource type configuration details. User can provide availability proxy metrics list for resource types along with the telegraf/collectd handler configuration for the resource types.

Returns:The resource_types_configuration of this UpdateResourceTypeConfigTaskDetails.
Return type:list[oci.stack_monitoring.models.ResourceTypeConfigDetails]
type

[Required] Gets the type of this MonitoredResourceTaskDetails. Task type.

Allowed values for this property are: “IMPORT_OCI_TELEMETRY_RESOURCES”, “UPDATE_AGENT_RECEIVER”, “UPDATE_RESOURCE_TYPE_CONFIGS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this MonitoredResourceTaskDetails.
Return type:str