InstanceAgentConfig¶
-
class
oci.core.models.
InstanceAgentConfig
(**kwargs)¶ Bases:
object
Configuration options for the Oracle Cloud Agent software running on the instance.
Methods
__init__
(**kwargs)Initializes a new InstanceAgentConfig object with values from keyword arguments. Attributes
are_all_plugins_disabled
Gets the are_all_plugins_disabled of this InstanceAgentConfig. is_management_disabled
Gets the is_management_disabled of this InstanceAgentConfig. is_monitoring_disabled
Gets the is_monitoring_disabled of this InstanceAgentConfig. plugins_config
Gets the plugins_config of this InstanceAgentConfig. -
__init__
(**kwargs)¶ Initializes a new InstanceAgentConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_monitoring_disabled (bool) – The value to assign to the is_monitoring_disabled property of this InstanceAgentConfig.
- is_management_disabled (bool) – The value to assign to the is_management_disabled property of this InstanceAgentConfig.
- are_all_plugins_disabled (bool) – The value to assign to the are_all_plugins_disabled property of this InstanceAgentConfig.
- plugins_config (list[oci.core.models.InstanceAgentPluginConfigDetails]) – The value to assign to the plugins_config property of this InstanceAgentConfig.
-
are_all_plugins_disabled
¶ Gets the are_all_plugins_disabled of this InstanceAgentConfig. Whether Oracle Cloud Agent can run all of the available plugins. This includes the management and monitoring plugins.
For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.
Returns: The are_all_plugins_disabled of this InstanceAgentConfig. Return type: bool
-
is_management_disabled
¶ Gets the is_management_disabled of this InstanceAgentConfig. Whether Oracle Cloud Agent can run all the available management plugins.
These are the management plugins: OS Management Service Agent and Compute Instance Run Command.
The management plugins are controlled by this parameter and by the per-plugin configuration in the pluginsConfig object.
- If isManagementDisabled is true, all of the management plugins are disabled, regardless of
the per-plugin configuration. - If isManagementDisabled is false, all of the management plugins are enabled. You can optionally disable individual management plugins by providing a value in the pluginsConfig object.
Returns: The is_management_disabled of this InstanceAgentConfig. Return type: bool
-
is_monitoring_disabled
¶ Gets the is_monitoring_disabled of this InstanceAgentConfig. Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins.
These are the monitoring plugins: Compute Instance Monitoring and Custom Logs Monitoring.
The monitoring plugins are controlled by this parameter and by the per-plugin configuration in the pluginsConfig object.
- If isMonitoringDisabled is true, all of the monitoring plugins are disabled, regardless of
the per-plugin configuration. - If isMonitoringDisabled is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the pluginsConfig object.
Returns: The is_monitoring_disabled of this InstanceAgentConfig. Return type: bool
-
plugins_config
¶ Gets the plugins_config of this InstanceAgentConfig. The configuration of plugins associated with this instance.
Returns: The plugins_config of this InstanceAgentConfig. Return type: list[oci.core.models.InstanceAgentPluginConfigDetails]
-