CreateAgentConfigDetails¶
-
class
oci.apm_config.models.
CreateAgentConfigDetails
(**kwargs)¶ Bases:
oci.apm_config.models.create_config_details.CreateConfigDetails
Agent configuration for any Agent complying with the OpAMP specification.
Attributes
CONFIG_TYPE_AGENT
str(object=’’) -> str CONFIG_TYPE_APDEX
str(object=’’) -> str CONFIG_TYPE_MACS_APM_EXTENSION
str(object=’’) -> str CONFIG_TYPE_METRIC_GROUP
str(object=’’) -> str CONFIG_TYPE_OPTIONS
str(object=’’) -> str CONFIG_TYPE_SPAN_FILTER
str(object=’’) -> str config
Gets the config of this CreateAgentConfigDetails. config_type
[Required] Gets the config_type of this CreateConfigDetails. defined_tags
Gets the defined_tags of this CreateConfigDetails. freeform_tags
Gets the freeform_tags of this CreateConfigDetails. match_agents_with_attribute_value
[Required] Gets the match_agents_with_attribute_value of this CreateAgentConfigDetails. overrides
Gets the overrides of this CreateAgentConfigDetails. Methods
__init__
(**kwargs)Initializes a new CreateAgentConfigDetails 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. -
CONFIG_TYPE_AGENT
= 'AGENT'¶
-
CONFIG_TYPE_APDEX
= 'APDEX'¶
-
CONFIG_TYPE_MACS_APM_EXTENSION
= 'MACS_APM_EXTENSION'¶
-
CONFIG_TYPE_METRIC_GROUP
= 'METRIC_GROUP'¶
-
CONFIG_TYPE_OPTIONS
= 'OPTIONS'¶
-
CONFIG_TYPE_SPAN_FILTER
= 'SPAN_FILTER'¶
-
__init__
(**kwargs)¶ Initializes a new CreateAgentConfigDetails object with values from keyword arguments. The default value of the
config_type
attribute of this class isAGENT
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - config_type (str) – The value to assign to the config_type property of this CreateAgentConfigDetails. Allowed values for this property are: “SPAN_FILTER”, “METRIC_GROUP”, “APDEX”, “OPTIONS”, “AGENT”, “MACS_APM_EXTENSION”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAgentConfigDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAgentConfigDetails.
- match_agents_with_attribute_value (str) – The value to assign to the match_agents_with_attribute_value property of this CreateAgentConfigDetails.
- config (oci.apm_config.models.AgentConfigMap) – The value to assign to the config property of this CreateAgentConfigDetails.
- overrides (oci.apm_config.models.AgentConfigOverrides) – The value to assign to the overrides property of this CreateAgentConfigDetails.
-
config
¶ Gets the config of this CreateAgentConfigDetails.
Returns: The config of this CreateAgentConfigDetails. Return type: oci.apm_config.models.AgentConfigMap
-
config_type
¶ [Required] Gets the config_type of this CreateConfigDetails. The type of configuration item.
Allowed values for this property are: “SPAN_FILTER”, “METRIC_GROUP”, “APDEX”, “OPTIONS”, “AGENT”, “MACS_APM_EXTENSION”
Returns: The config_type of this CreateConfigDetails. Return type: str
Gets the defined_tags of this CreateConfigDetails. 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 CreateConfigDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this CreateConfigDetails. 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 CreateConfigDetails. Return type: dict(str, str)
-
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.
-
match_agents_with_attribute_value
¶ [Required] Gets the match_agents_with_attribute_value of this CreateAgentConfigDetails. The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
Returns: The match_agents_with_attribute_value of this CreateAgentConfigDetails. Return type: str
-
overrides
¶ Gets the overrides of this CreateAgentConfigDetails.
Returns: The overrides of this CreateAgentConfigDetails. Return type: oci.apm_config.models.AgentConfigOverrides
-