oci.DatabaseManagement.ExternalDbNode
Explore with Pulumi AI
This resource provides the External Db Node resource in Oracle Cloud Infrastructure Database Management service.
Updates the external DB node specified by externalDbNodeId
.
Create ExternalDbNode Resource
new ExternalDbNode(name: string, args: ExternalDbNodeArgs, opts?: CustomResourceOptions);
@overload
def ExternalDbNode(resource_name: str,
opts: Optional[ResourceOptions] = None,
external_connector_id: Optional[str] = None,
external_db_node_id: Optional[str] = None)
@overload
def ExternalDbNode(resource_name: str,
args: ExternalDbNodeArgs,
opts: Optional[ResourceOptions] = None)
func NewExternalDbNode(ctx *Context, name string, args ExternalDbNodeArgs, opts ...ResourceOption) (*ExternalDbNode, error)
public ExternalDbNode(string name, ExternalDbNodeArgs args, CustomResourceOptions? opts = null)
public ExternalDbNode(String name, ExternalDbNodeArgs args)
public ExternalDbNode(String name, ExternalDbNodeArgs args, CustomResourceOptions options)
type: oci:DatabaseManagement:ExternalDbNode
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalDbNodeArgs
- 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 ExternalDbNodeArgs
- 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 ExternalDbNodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExternalDbNodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExternalDbNodeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ExternalDbNode 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 ExternalDbNode resource accepts the following input properties:
- External
Db stringNode Id The OCID of the external database node.
** 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
- External
Connector stringId (Updatable) The OCID of the external connector.
- External
Db stringNode Id The OCID of the external database node.
** 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
- External
Connector stringId (Updatable) The OCID of the external connector.
- external
Db StringNode Id The OCID of the external database node.
** 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
- external
Connector StringId (Updatable) The OCID of the external connector.
- external
Db stringNode Id The OCID of the external database node.
** 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
- external
Connector stringId (Updatable) The OCID of the external connector.
- external_
db_ strnode_ id The OCID of the external database node.
** 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
- external_
connector_ strid (Updatable) The OCID of the external connector.
- external
Db StringNode Id The OCID of the external database node.
** 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
- external
Connector StringId (Updatable) The OCID of the external connector.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExternalDbNode resource produces the following output properties:
- Additional
Details Dictionary<string, object> The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string The OCID of the compartment.
- Component
Name string The name of the external DB node.
- Cpu
Core doubleCount The number of CPU cores available on the DB node.
- Display
Name string The user-friendly name for the external DB node. The name does not have to be unique.
- Domain
Name string Name of the domain.
- External
Db stringSystem Id The OCID of the external DB system that the DB node is a part of.
- Host
Name string The host name for the DB node.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Memory
Size doubleIn Gbs The total memory in gigabytes (GB) on the DB node.
- State string
The current lifecycle state of the external DB node.
- Time
Created string The date and time the external DB node was created.
- Time
Updated string The date and time the external DB node was last updated.
- Additional
Details map[string]interface{} The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string The OCID of the compartment.
- Component
Name string The name of the external DB node.
- Cpu
Core float64Count The number of CPU cores available on the DB node.
- Display
Name string The user-friendly name for the external DB node. The name does not have to be unique.
- Domain
Name string Name of the domain.
- External
Db stringSystem Id The OCID of the external DB system that the DB node is a part of.
- Host
Name string The host name for the DB node.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Memory
Size float64In Gbs The total memory in gigabytes (GB) on the DB node.
- State string
The current lifecycle state of the external DB node.
- Time
Created string The date and time the external DB node was created.
- Time
Updated string The date and time the external DB node was last updated.
- additional
Details Map<String,Object> The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String The OCID of the compartment.
- component
Name String The name of the external DB node.
- cpu
Core DoubleCount The number of CPU cores available on the DB node.
- display
Name String The user-friendly name for the external DB node. The name does not have to be unique.
- domain
Name String Name of the domain.
- external
Db StringSystem Id The OCID of the external DB system that the DB node is a part of.
- host
Name String The host name for the DB node.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String Additional information about the current lifecycle state.
- memory
Size DoubleIn Gbs The total memory in gigabytes (GB) on the DB node.
- state String
The current lifecycle state of the external DB node.
- time
Created String The date and time the external DB node was created.
- time
Updated String The date and time the external DB node was last updated.
- additional
Details {[key: string]: any} The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id string The OCID of the compartment.
- component
Name string The name of the external DB node.
- cpu
Core numberCount The number of CPU cores available on the DB node.
- display
Name string The user-friendly name for the external DB node. The name does not have to be unique.
- domain
Name string Name of the domain.
- external
Db stringSystem Id The OCID of the external DB system that the DB node is a part of.
- host
Name string The host name for the DB node.
- id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Details string Additional information about the current lifecycle state.
- memory
Size numberIn Gbs The total memory in gigabytes (GB) on the DB node.
- state string
The current lifecycle state of the external DB node.
- time
Created string The date and time the external DB node was created.
- time
Updated string The date and time the external DB node was last updated.
- additional_
details Mapping[str, Any] The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment_
id str The OCID of the compartment.
- component_
name str The name of the external DB node.
- cpu_
core_ floatcount The number of CPU cores available on the DB node.
- display_
name str The user-friendly name for the external DB node. The name does not have to be unique.
- domain_
name str Name of the domain.
- external_
db_ strsystem_ id The OCID of the external DB system that the DB node is a part of.
- host_
name str The host name for the DB node.
- id str
The provider-assigned unique ID for this managed resource.
- lifecycle_
details str Additional information about the current lifecycle state.
- memory_
size_ floatin_ gbs The total memory in gigabytes (GB) on the DB node.
- state str
The current lifecycle state of the external DB node.
- time_
created str The date and time the external DB node was created.
- time_
updated str The date and time the external DB node was last updated.
- additional
Details Map<Any> The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String The OCID of the compartment.
- component
Name String The name of the external DB node.
- cpu
Core NumberCount The number of CPU cores available on the DB node.
- display
Name String The user-friendly name for the external DB node. The name does not have to be unique.
- domain
Name String Name of the domain.
- external
Db StringSystem Id The OCID of the external DB system that the DB node is a part of.
- host
Name String The host name for the DB node.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String Additional information about the current lifecycle state.
- memory
Size NumberIn Gbs The total memory in gigabytes (GB) on the DB node.
- state String
The current lifecycle state of the external DB node.
- time
Created String The date and time the external DB node was created.
- time
Updated String The date and time the external DB node was last updated.
Look up Existing ExternalDbNode Resource
Get an existing ExternalDbNode 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?: ExternalDbNodeState, opts?: CustomResourceOptions): ExternalDbNode
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_details: Optional[Mapping[str, Any]] = None,
compartment_id: Optional[str] = None,
component_name: Optional[str] = None,
cpu_core_count: Optional[float] = None,
display_name: Optional[str] = None,
domain_name: Optional[str] = None,
external_connector_id: Optional[str] = None,
external_db_node_id: Optional[str] = None,
external_db_system_id: Optional[str] = None,
host_name: Optional[str] = None,
lifecycle_details: Optional[str] = None,
memory_size_in_gbs: Optional[float] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> ExternalDbNode
func GetExternalDbNode(ctx *Context, name string, id IDInput, state *ExternalDbNodeState, opts ...ResourceOption) (*ExternalDbNode, error)
public static ExternalDbNode Get(string name, Input<string> id, ExternalDbNodeState? state, CustomResourceOptions? opts = null)
public static ExternalDbNode get(String name, Output<String> id, ExternalDbNodeState 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.
- Additional
Details Dictionary<string, object> The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string The OCID of the compartment.
- Component
Name string The name of the external DB node.
- Cpu
Core doubleCount The number of CPU cores available on the DB node.
- Display
Name string The user-friendly name for the external DB node. The name does not have to be unique.
- Domain
Name string Name of the domain.
- External
Connector stringId (Updatable) The OCID of the external connector.
- External
Db stringNode Id The OCID of the external database node.
** 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
- External
Db stringSystem Id The OCID of the external DB system that the DB node is a part of.
- Host
Name string The host name for the DB node.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Memory
Size doubleIn Gbs The total memory in gigabytes (GB) on the DB node.
- State string
The current lifecycle state of the external DB node.
- Time
Created string The date and time the external DB node was created.
- Time
Updated string The date and time the external DB node was last updated.
- Additional
Details map[string]interface{} The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string The OCID of the compartment.
- Component
Name string The name of the external DB node.
- Cpu
Core float64Count The number of CPU cores available on the DB node.
- Display
Name string The user-friendly name for the external DB node. The name does not have to be unique.
- Domain
Name string Name of the domain.
- External
Connector stringId (Updatable) The OCID of the external connector.
- External
Db stringNode Id The OCID of the external database node.
** 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
- External
Db stringSystem Id The OCID of the external DB system that the DB node is a part of.
- Host
Name string The host name for the DB node.
- Lifecycle
Details string Additional information about the current lifecycle state.
- Memory
Size float64In Gbs The total memory in gigabytes (GB) on the DB node.
- State string
The current lifecycle state of the external DB node.
- Time
Created string The date and time the external DB node was created.
- Time
Updated string The date and time the external DB node was last updated.
- additional
Details Map<String,Object> The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String The OCID of the compartment.
- component
Name String The name of the external DB node.
- cpu
Core DoubleCount The number of CPU cores available on the DB node.
- display
Name String The user-friendly name for the external DB node. The name does not have to be unique.
- domain
Name String Name of the domain.
- external
Connector StringId (Updatable) The OCID of the external connector.
- external
Db StringNode Id The OCID of the external database node.
** 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
- external
Db StringSystem Id The OCID of the external DB system that the DB node is a part of.
- host
Name String The host name for the DB node.
- lifecycle
Details String Additional information about the current lifecycle state.
- memory
Size DoubleIn Gbs The total memory in gigabytes (GB) on the DB node.
- state String
The current lifecycle state of the external DB node.
- time
Created String The date and time the external DB node was created.
- time
Updated String The date and time the external DB node was last updated.
- additional
Details {[key: string]: any} The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id string The OCID of the compartment.
- component
Name string The name of the external DB node.
- cpu
Core numberCount The number of CPU cores available on the DB node.
- display
Name string The user-friendly name for the external DB node. The name does not have to be unique.
- domain
Name string Name of the domain.
- external
Connector stringId (Updatable) The OCID of the external connector.
- external
Db stringNode Id The OCID of the external database node.
** 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
- external
Db stringSystem Id The OCID of the external DB system that the DB node is a part of.
- host
Name string The host name for the DB node.
- lifecycle
Details string Additional information about the current lifecycle state.
- memory
Size numberIn Gbs The total memory in gigabytes (GB) on the DB node.
- state string
The current lifecycle state of the external DB node.
- time
Created string The date and time the external DB node was created.
- time
Updated string The date and time the external DB node was last updated.
- additional_
details Mapping[str, Any] The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment_
id str The OCID of the compartment.
- component_
name str The name of the external DB node.
- cpu_
core_ floatcount The number of CPU cores available on the DB node.
- display_
name str The user-friendly name for the external DB node. The name does not have to be unique.
- domain_
name str Name of the domain.
- external_
connector_ strid (Updatable) The OCID of the external connector.
- external_
db_ strnode_ id The OCID of the external database node.
** 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
- external_
db_ strsystem_ id The OCID of the external DB system that the DB node is a part of.
- host_
name str The host name for the DB node.
- lifecycle_
details str Additional information about the current lifecycle state.
- memory_
size_ floatin_ gbs The total memory in gigabytes (GB) on the DB node.
- state str
The current lifecycle state of the external DB node.
- time_
created str The date and time the external DB node was created.
- time_
updated str The date and time the external DB node was last updated.
- additional
Details Map<Any> The additional details of the external DB node defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String The OCID of the compartment.
- component
Name String The name of the external DB node.
- cpu
Core NumberCount The number of CPU cores available on the DB node.
- display
Name String The user-friendly name for the external DB node. The name does not have to be unique.
- domain
Name String Name of the domain.
- external
Connector StringId (Updatable) The OCID of the external connector.
- external
Db StringNode Id The OCID of the external database node.
** 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
- external
Db StringSystem Id The OCID of the external DB system that the DB node is a part of.
- host
Name String The host name for the DB node.
- lifecycle
Details String Additional information about the current lifecycle state.
- memory
Size NumberIn Gbs The total memory in gigabytes (GB) on the DB node.
- state String
The current lifecycle state of the external DB node.
- time
Created String The date and time the external DB node was created.
- time
Updated String The date and time the external DB node was last updated.
Import
ExternalDbNodes can be imported using the id
, e.g.
$ pulumi import oci:DatabaseManagement/externalDbNode:ExternalDbNode test_external_db_node "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.