oci.DatabaseMigration.Agent
Explore with Pulumi AI
This resource provides the Agent resource in Oracle Cloud Infrastructure Database Migration service.
Modifies the ODMS Agent represented by the given ODMS Agent ID.
Create Agent Resource
new Agent(name: string, args: AgentArgs, opts?: CustomResourceOptions);
@overload
def Agent(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
public_key: Optional[str] = None,
stream_id: Optional[str] = None,
version: Optional[str] = None)
@overload
def Agent(resource_name: str,
args: AgentArgs,
opts: Optional[ResourceOptions] = None)
func NewAgent(ctx *Context, name string, args AgentArgs, opts ...ResourceOption) (*Agent, error)
public Agent(string name, AgentArgs args, CustomResourceOptions? opts = null)
type: oci:DatabaseMigration:Agent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Agent Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Agent resource accepts the following input properties:
- Agent
Id string The OCID of the agent
- Compartment
Id string (Updatable) OCID of the compartment
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) ODMS Agent name
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Public
Key string (Updatable) ODMS Agent public key.
- Stream
Id string (Updatable) The OCID of the Stream
- Version string
(Updatable) ODMS Agent version
** 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
- Agent
Id string The OCID of the agent
- Compartment
Id string (Updatable) OCID of the compartment
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) ODMS Agent name
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Public
Key string (Updatable) ODMS Agent public key.
- Stream
Id string (Updatable) The OCID of the Stream
- Version string
(Updatable) ODMS Agent version
** 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
- agent
Id String The OCID of the agent
- compartment
Id String (Updatable) OCID of the compartment
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) ODMS Agent name
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- public
Key String (Updatable) ODMS Agent public key.
- stream
Id String (Updatable) The OCID of the Stream
- version String
(Updatable) ODMS Agent version
** 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
- agent
Id string The OCID of the agent
- compartment
Id string (Updatable) OCID of the compartment
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string (Updatable) ODMS Agent name
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- public
Key string (Updatable) ODMS Agent public key.
- stream
Id string (Updatable) The OCID of the Stream
- version string
(Updatable) ODMS Agent version
** 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
- agent_
id str The OCID of the agent
- compartment_
id str (Updatable) OCID of the compartment
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str (Updatable) ODMS Agent name
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- public_
key str (Updatable) ODMS Agent public key.
- stream_
id str (Updatable) The OCID of the Stream
- version str
(Updatable) ODMS Agent version
** 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
- agent
Id String The OCID of the agent
- compartment
Id String (Updatable) OCID of the compartment
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) ODMS Agent name
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- public
Key String (Updatable) ODMS Agent public key.
- stream
Id String (Updatable) The OCID of the Stream
- version String
(Updatable) ODMS Agent version
** 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
Outputs
All input properties are implicitly available as output properties. Additionally, the Agent resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
The current state of the ODMS on-premises Agent.
- Dictionary<string, object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string The time of the last Agent details update. An RFC3339 formatted datetime string.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
The current state of the ODMS on-premises Agent.
- map[string]interface{}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string The time of the last Agent details update. An RFC3339 formatted datetime string.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
The current state of the ODMS on-premises Agent.
- Map<String,Object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the Agent was created. An RFC3339 formatted datetime string.
- time
Updated String The time of the last Agent details update. An RFC3339 formatted datetime string.
- id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state string
The current state of the ODMS on-premises Agent.
- {[key: string]: any}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The time the Agent was created. An RFC3339 formatted datetime string.
- time
Updated string The time of the last Agent details update. An RFC3339 formatted datetime string.
- id str
The provider-assigned unique ID for this managed resource.
- lifecycle_
details str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state str
The current state of the ODMS on-premises Agent.
- Mapping[str, Any]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The time the Agent was created. An RFC3339 formatted datetime string.
- time_
updated str The time of the last Agent details update. An RFC3339 formatted datetime string.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
The current state of the ODMS on-premises Agent.
- Map<Any>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the Agent was created. An RFC3339 formatted datetime string.
- time
Updated String The time of the last Agent details update. An RFC3339 formatted datetime string.
Look up Existing Agent Resource
Get an existing Agent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AgentState, opts?: CustomResourceOptions): Agent
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_id: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
lifecycle_details: Optional[str] = None,
public_key: Optional[str] = None,
state: Optional[str] = None,
stream_id: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
version: Optional[str] = None) -> Agent
func GetAgent(ctx *Context, name string, id IDInput, state *AgentState, opts ...ResourceOption) (*Agent, error)
public static Agent Get(string name, Input<string> id, AgentState? state, CustomResourceOptions? opts = null)
public static Agent get(String name, Output<String> id, AgentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Agent
Id string The OCID of the agent
- Compartment
Id string (Updatable) OCID of the compartment
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) ODMS Agent name
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Public
Key string (Updatable) ODMS Agent public key.
- State string
The current state of the ODMS on-premises Agent.
- Stream
Id string (Updatable) The OCID of the Stream
- Dictionary<string, object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string The time of the last Agent details update. An RFC3339 formatted datetime string.
- Version string
(Updatable) ODMS Agent version
** 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
- Agent
Id string The OCID of the agent
- Compartment
Id string (Updatable) OCID of the compartment
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Display
Name string (Updatable) ODMS Agent name
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Public
Key string (Updatable) ODMS Agent public key.
- State string
The current state of the ODMS on-premises Agent.
- Stream
Id string (Updatable) The OCID of the Stream
- map[string]interface{}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The time the Agent was created. An RFC3339 formatted datetime string.
- Time
Updated string The time of the last Agent details update. An RFC3339 formatted datetime string.
- Version string
(Updatable) ODMS Agent version
** 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
- agent
Id String The OCID of the agent
- compartment
Id String (Updatable) OCID of the compartment
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) ODMS Agent name
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- public
Key String (Updatable) ODMS Agent public key.
- state String
The current state of the ODMS on-premises Agent.
- stream
Id String (Updatable) The OCID of the Stream
- Map<String,Object>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the Agent was created. An RFC3339 formatted datetime string.
- time
Updated String The time of the last Agent details update. An RFC3339 formatted datetime string.
- version String
(Updatable) ODMS Agent version
** 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
- agent
Id string The OCID of the agent
- compartment
Id string (Updatable) OCID of the compartment
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name string (Updatable) ODMS Agent name
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- public
Key string (Updatable) ODMS Agent public key.
- state string
The current state of the ODMS on-premises Agent.
- stream
Id string (Updatable) The OCID of the Stream
- {[key: string]: any}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The time the Agent was created. An RFC3339 formatted datetime string.
- time
Updated string The time of the last Agent details update. An RFC3339 formatted datetime string.
- version string
(Updatable) ODMS Agent version
** 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
- agent_
id str The OCID of the agent
- compartment_
id str (Updatable) OCID of the compartment
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display_
name str (Updatable) ODMS Agent name
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle_
details str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- public_
key str (Updatable) ODMS Agent public key.
- state str
The current state of the ODMS on-premises Agent.
- stream_
id str (Updatable) The OCID of the Stream
- Mapping[str, Any]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The time the Agent was created. An RFC3339 formatted datetime string.
- time_
updated str The time of the last Agent details update. An RFC3339 formatted datetime string.
- version str
(Updatable) ODMS Agent version
** 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
- agent
Id String The OCID of the agent
- compartment
Id String (Updatable) OCID of the compartment
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- display
Name String (Updatable) ODMS Agent name
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- public
Key String (Updatable) ODMS Agent public key.
- state String
The current state of the ODMS on-premises Agent.
- stream
Id String (Updatable) The OCID of the Stream
- Map<Any>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The time the Agent was created. An RFC3339 formatted datetime string.
- time
Updated String The time of the last Agent details update. An RFC3339 formatted datetime string.
- version String
(Updatable) ODMS Agent version
** 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
Import
Agents can be imported using the id
, e.g.
$ pulumi import oci:DatabaseMigration/agent:Agent test_agent "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.