oci_cloud_bridge_agent_plugin
This resource provides the Agent Plugin resource in Oracle Cloud Infrastructure Cloud Bridge service.
Updates the plugin.
Example Usage
resource "oci_cloud_bridge_agent_plugin" "test_agent_plugin" {
#Required
agent_id = oci_cloud_bridge_agent.test_agent.id
plugin_name = var.agent_plugin_plugin_name
#Optional
desired_state = var.agent_plugin_desired_state
}
Argument Reference
The following arguments are supported:
agent_id
- (Required) Unique Agent identifier path parameter.desired_state
- (Optional) (Updatable) State to which the customer wants the plugin to move to.plugin_name
- (Required) Unique plugin identifier path parameter.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Attributes Reference
The following attributes are exported:
agent_id
- Agent identifier.defined_tags
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
desired_state
- State to which the customer wants the plugin to move to.freeform_tags
- The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:{"Department": "Finance"}
lifecycle_details
- A message describing the current state in more detail. For example, it can be used to provide actionable information for a resource in Failed state.name
- Plugin identifier, which can be renamed.plugin_version
- Plugin version.state
- The current state of the plugin.system_tags
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:{orcl-cloud: {free-tier-retain: true}}
time_created
- The time when the Agent was created. An RFC3339 formatted datetime string.time_updated
- The time when the Agent was updated. An RFC3339 formatted datetime string.
Timeouts
The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the Agent Plugin
* update
- (Defaults to 20 minutes), when updating the Agent Plugin
* delete
- (Defaults to 20 minutes), when destroying the Agent Plugin
Import
AgentPlugins can be imported using the id
, e.g.
$ terraform import oci_cloud_bridge_agent_plugin.test_agent_plugin "agents/{agentId}/plugins/{pluginName}"