InstanceAgentPluginConfigDetails¶
-
class
oci.cloud_migrations.models.
InstanceAgentPluginConfigDetails
(**kwargs)¶ Bases:
object
The configuration of plugins associated with this instance.
Attributes
DESIRED_STATE_DISABLED
A constant which can be used with the desired_state property of a InstanceAgentPluginConfigDetails. DESIRED_STATE_ENABLED
A constant which can be used with the desired_state property of a InstanceAgentPluginConfigDetails. desired_state
[Required] Gets the desired_state of this InstanceAgentPluginConfigDetails. name
[Required] Gets the name of this InstanceAgentPluginConfigDetails. Methods
__init__
(**kwargs)Initializes a new InstanceAgentPluginConfigDetails object with values from keyword arguments. -
DESIRED_STATE_DISABLED
= 'DISABLED'¶ A constant which can be used with the desired_state property of a InstanceAgentPluginConfigDetails. This constant has a value of “DISABLED”
-
DESIRED_STATE_ENABLED
= 'ENABLED'¶ A constant which can be used with the desired_state property of a InstanceAgentPluginConfigDetails. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new InstanceAgentPluginConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - name (str) – The value to assign to the name property of this InstanceAgentPluginConfigDetails.
- desired_state (str) – The value to assign to the desired_state property of this InstanceAgentPluginConfigDetails. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
desired_state
¶ [Required] Gets the desired_state of this InstanceAgentPluginConfigDetails. Whether the plugin should be enabled or disabled.
To enable the monitoring and management plugins, the isMonitoringDisabled and isManagementDisabled attributes must also be set to false.
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The desired_state of this InstanceAgentPluginConfigDetails. Return type: str
-
name
¶ [Required] Gets the name of this InstanceAgentPluginConfigDetails. The plugin name. To get a list of available plugins, use the
list_instanceagent_available_plugins()
operation in the Oracle Cloud Agent API. For more information about the available plugins, see Managing Plugins with Oracle Cloud Agent.Returns: The name of this InstanceAgentPluginConfigDetails. Return type: str
-