oci.Database.DbNode
Explore with Pulumi AI
This resource provides the Db Node resource in Oracle Cloud Infrastructure Database service.
Updates the specified database node.
Create DbNode Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbNode(name: string, args: DbNodeArgs, opts?: CustomResourceOptions);
@overload
def DbNode(resource_name: str,
args: DbNodeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbNode(resource_name: str,
opts: Optional[ResourceOptions] = None,
db_node_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None)
func NewDbNode(ctx *Context, name string, args DbNodeArgs, opts ...ResourceOption) (*DbNode, error)
public DbNode(string name, DbNodeArgs args, CustomResourceOptions? opts = null)
public DbNode(String name, DbNodeArgs args)
public DbNode(String name, DbNodeArgs args, CustomResourceOptions options)
type: oci:Database:DbNode
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DbNodeArgs
- 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 DbNodeArgs
- 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 DbNodeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbNodeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbNodeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dbNodeResource = new Oci.Database.DbNode("dbNodeResource", new()
{
DbNodeId = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
});
example, err := Database.NewDbNode(ctx, "dbNodeResource", &Database.DbNodeArgs{
DbNodeId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var dbNodeResource = new DbNode("dbNodeResource", DbNodeArgs.builder()
.dbNodeId("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.build());
db_node_resource = oci.database.DbNode("dbNodeResource",
db_node_id="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
})
const dbNodeResource = new oci.database.DbNode("dbNodeResource", {
dbNodeId: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
});
type: oci:Database:DbNode
properties:
dbNodeId: string
definedTags:
string: string
freeformTags:
string: string
DbNode Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DbNode resource accepts the following input properties:
- Db
Node stringId - The database node OCID.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- Db
Node stringId - The database node OCID.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- db
Node StringId - The database node OCID.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- db
Node stringId - The database node OCID.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- db_
node_ strid - The database node OCID.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- db
Node StringId - The database node OCID.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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 DbNode resource produces the following output properties:
- Additional
Details string - Additional information about the planned maintenance.
- Backup
Ip stringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Backup
Vnic2id string - The OCID of the second backup VNIC.
- Backup
Vnic stringId - The OCID of the backup VNIC.
- Cpu
Core intCount - The number of CPU cores enabled on the Db node.
- Db
Node intStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- Db
Server stringId - The OCID of the Exacc Db server associated with the database node.
- Db
System stringId - The OCID of the DB system.
- Fault
Domain string - The name of the Fault Domain the instance is contained in.
- Host
Ip stringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Hostname string
- The host name for the database node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Information about the current lifecycle state.
- Maintenance
Type string - The type of database node maintenance.
- Memory
Size intIn Gbs - The allocated memory in GBs on the Db node.
- Software
Storage intSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- State string
- The current state of the database node.
- Time
Created string - The date and time that the database node was created.
- Time
Maintenance stringWindow End - End date and time of maintenance window.
- Time
Maintenance stringWindow Start - Start date and time of maintenance window.
- Total
Cpu intCore Count - The total number of CPU cores reserved on the Db node.
- Vnic2id string
- The OCID of the second VNIC.
- Vnic
Id string - The OCID of the VNIC.
- Additional
Details string - Additional information about the planned maintenance.
- Backup
Ip stringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Backup
Vnic2id string - The OCID of the second backup VNIC.
- Backup
Vnic stringId - The OCID of the backup VNIC.
- Cpu
Core intCount - The number of CPU cores enabled on the Db node.
- Db
Node intStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- Db
Server stringId - The OCID of the Exacc Db server associated with the database node.
- Db
System stringId - The OCID of the DB system.
- Fault
Domain string - The name of the Fault Domain the instance is contained in.
- Host
Ip stringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Hostname string
- The host name for the database node.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Information about the current lifecycle state.
- Maintenance
Type string - The type of database node maintenance.
- Memory
Size intIn Gbs - The allocated memory in GBs on the Db node.
- Software
Storage intSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- State string
- The current state of the database node.
- Time
Created string - The date and time that the database node was created.
- Time
Maintenance stringWindow End - End date and time of maintenance window.
- Time
Maintenance stringWindow Start - Start date and time of maintenance window.
- Total
Cpu intCore Count - The total number of CPU cores reserved on the Db node.
- Vnic2id string
- The OCID of the second VNIC.
- Vnic
Id string - The OCID of the VNIC.
- additional
Details String - Additional information about the planned maintenance.
- backup
Ip StringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup
Vnic2id String - The OCID of the second backup VNIC.
- backup
Vnic StringId - The OCID of the backup VNIC.
- cpu
Core IntegerCount - The number of CPU cores enabled on the Db node.
- db
Node IntegerStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- db
Server StringId - The OCID of the Exacc Db server associated with the database node.
- db
System StringId - The OCID of the DB system.
- fault
Domain String - The name of the Fault Domain the instance is contained in.
- host
Ip StringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname String
- The host name for the database node.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Information about the current lifecycle state.
- maintenance
Type String - The type of database node maintenance.
- memory
Size IntegerIn Gbs - The allocated memory in GBs on the Db node.
- software
Storage IntegerSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state String
- The current state of the database node.
- time
Created String - The date and time that the database node was created.
- time
Maintenance StringWindow End - End date and time of maintenance window.
- time
Maintenance StringWindow Start - Start date and time of maintenance window.
- total
Cpu IntegerCore Count - The total number of CPU cores reserved on the Db node.
- vnic2id String
- The OCID of the second VNIC.
- vnic
Id String - The OCID of the VNIC.
- additional
Details string - Additional information about the planned maintenance.
- backup
Ip stringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup
Vnic2id string - The OCID of the second backup VNIC.
- backup
Vnic stringId - The OCID of the backup VNIC.
- cpu
Core numberCount - The number of CPU cores enabled on the Db node.
- db
Node numberStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- db
Server stringId - The OCID of the Exacc Db server associated with the database node.
- db
System stringId - The OCID of the DB system.
- fault
Domain string - The name of the Fault Domain the instance is contained in.
- host
Ip stringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname string
- The host name for the database node.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Information about the current lifecycle state.
- maintenance
Type string - The type of database node maintenance.
- memory
Size numberIn Gbs - The allocated memory in GBs on the Db node.
- software
Storage numberSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state string
- The current state of the database node.
- time
Created string - The date and time that the database node was created.
- time
Maintenance stringWindow End - End date and time of maintenance window.
- time
Maintenance stringWindow Start - Start date and time of maintenance window.
- total
Cpu numberCore Count - The total number of CPU cores reserved on the Db node.
- vnic2id string
- The OCID of the second VNIC.
- vnic
Id string - The OCID of the VNIC.
- additional_
details str - Additional information about the planned maintenance.
- backup_
ip_ strid - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup_
vnic2id str - The OCID of the second backup VNIC.
- backup_
vnic_ strid - The OCID of the backup VNIC.
- cpu_
core_ intcount - The number of CPU cores enabled on the Db node.
- db_
node_ intstorage_ size_ in_ gbs - The allocated local node storage in GBs on the Db node.
- db_
server_ strid - The OCID of the Exacc Db server associated with the database node.
- db_
system_ strid - The OCID of the DB system.
- fault_
domain str - The name of the Fault Domain the instance is contained in.
- host_
ip_ strid - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname str
- The host name for the database node.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - Information about the current lifecycle state.
- maintenance_
type str - The type of database node maintenance.
- memory_
size_ intin_ gbs - The allocated memory in GBs on the Db node.
- software_
storage_ intsize_ in_ gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state str
- The current state of the database node.
- time_
created str - The date and time that the database node was created.
- time_
maintenance_ strwindow_ end - End date and time of maintenance window.
- time_
maintenance_ strwindow_ start - Start date and time of maintenance window.
- total_
cpu_ intcore_ count - The total number of CPU cores reserved on the Db node.
- vnic2id str
- The OCID of the second VNIC.
- vnic_
id str - The OCID of the VNIC.
- additional
Details String - Additional information about the planned maintenance.
- backup
Ip StringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup
Vnic2id String - The OCID of the second backup VNIC.
- backup
Vnic StringId - The OCID of the backup VNIC.
- cpu
Core NumberCount - The number of CPU cores enabled on the Db node.
- db
Node NumberStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- db
Server StringId - The OCID of the Exacc Db server associated with the database node.
- db
System StringId - The OCID of the DB system.
- fault
Domain String - The name of the Fault Domain the instance is contained in.
- host
Ip StringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname String
- The host name for the database node.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Information about the current lifecycle state.
- maintenance
Type String - The type of database node maintenance.
- memory
Size NumberIn Gbs - The allocated memory in GBs on the Db node.
- software
Storage NumberSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state String
- The current state of the database node.
- time
Created String - The date and time that the database node was created.
- time
Maintenance StringWindow End - End date and time of maintenance window.
- time
Maintenance StringWindow Start - Start date and time of maintenance window.
- total
Cpu NumberCore Count - The total number of CPU cores reserved on the Db node.
- vnic2id String
- The OCID of the second VNIC.
- vnic
Id String - The OCID of the VNIC.
Look up Existing DbNode Resource
Get an existing DbNode 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?: DbNodeState, opts?: CustomResourceOptions): DbNode
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_details: Optional[str] = None,
backup_ip_id: Optional[str] = None,
backup_vnic2id: Optional[str] = None,
backup_vnic_id: Optional[str] = None,
cpu_core_count: Optional[int] = None,
db_node_id: Optional[str] = None,
db_node_storage_size_in_gbs: Optional[int] = None,
db_server_id: Optional[str] = None,
db_system_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
fault_domain: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
host_ip_id: Optional[str] = None,
hostname: Optional[str] = None,
lifecycle_details: Optional[str] = None,
maintenance_type: Optional[str] = None,
memory_size_in_gbs: Optional[int] = None,
software_storage_size_in_gb: Optional[int] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_maintenance_window_end: Optional[str] = None,
time_maintenance_window_start: Optional[str] = None,
total_cpu_core_count: Optional[int] = None,
vnic2id: Optional[str] = None,
vnic_id: Optional[str] = None) -> DbNode
func GetDbNode(ctx *Context, name string, id IDInput, state *DbNodeState, opts ...ResourceOption) (*DbNode, error)
public static DbNode Get(string name, Input<string> id, DbNodeState? state, CustomResourceOptions? opts = null)
public static DbNode get(String name, Output<String> id, DbNodeState 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 string - Additional information about the planned maintenance.
- Backup
Ip stringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Backup
Vnic2id string - The OCID of the second backup VNIC.
- Backup
Vnic stringId - The OCID of the backup VNIC.
- Cpu
Core intCount - The number of CPU cores enabled on the Db node.
- Db
Node stringId - The database node OCID.
- Db
Node intStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- Db
Server stringId - The OCID of the Exacc Db server associated with the database node.
- Db
System stringId - The OCID of the DB system.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Fault
Domain string - The name of the Fault Domain the instance is contained in.
- Dictionary<string, string>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- Host
Ip stringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Hostname string
- The host name for the database node.
- Lifecycle
Details string - Information about the current lifecycle state.
- Maintenance
Type string - The type of database node maintenance.
- Memory
Size intIn Gbs - The allocated memory in GBs on the Db node.
- Software
Storage intSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- State string
- The current state of the database node.
- Time
Created string - The date and time that the database node was created.
- Time
Maintenance stringWindow End - End date and time of maintenance window.
- Time
Maintenance stringWindow Start - Start date and time of maintenance window.
- Total
Cpu intCore Count - The total number of CPU cores reserved on the Db node.
- Vnic2id string
- The OCID of the second VNIC.
- Vnic
Id string - The OCID of the VNIC.
- Additional
Details string - Additional information about the planned maintenance.
- Backup
Ip stringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Backup
Vnic2id string - The OCID of the second backup VNIC.
- Backup
Vnic stringId - The OCID of the backup VNIC.
- Cpu
Core intCount - The number of CPU cores enabled on the Db node.
- Db
Node stringId - The database node OCID.
- Db
Node intStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- Db
Server stringId - The OCID of the Exacc Db server associated with the database node.
- Db
System stringId - The OCID of the DB system.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Fault
Domain string - The name of the Fault Domain the instance is contained in.
- map[string]string
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- Host
Ip stringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- Hostname string
- The host name for the database node.
- Lifecycle
Details string - Information about the current lifecycle state.
- Maintenance
Type string - The type of database node maintenance.
- Memory
Size intIn Gbs - The allocated memory in GBs on the Db node.
- Software
Storage intSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- State string
- The current state of the database node.
- Time
Created string - The date and time that the database node was created.
- Time
Maintenance stringWindow End - End date and time of maintenance window.
- Time
Maintenance stringWindow Start - Start date and time of maintenance window.
- Total
Cpu intCore Count - The total number of CPU cores reserved on the Db node.
- Vnic2id string
- The OCID of the second VNIC.
- Vnic
Id string - The OCID of the VNIC.
- additional
Details String - Additional information about the planned maintenance.
- backup
Ip StringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup
Vnic2id String - The OCID of the second backup VNIC.
- backup
Vnic StringId - The OCID of the backup VNIC.
- cpu
Core IntegerCount - The number of CPU cores enabled on the Db node.
- db
Node StringId - The database node OCID.
- db
Node IntegerStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- db
Server StringId - The OCID of the Exacc Db server associated with the database node.
- db
System StringId - The OCID of the DB system.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- fault
Domain String - The name of the Fault Domain the instance is contained in.
- Map<String,String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- host
Ip StringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname String
- The host name for the database node.
- lifecycle
Details String - Information about the current lifecycle state.
- maintenance
Type String - The type of database node maintenance.
- memory
Size IntegerIn Gbs - The allocated memory in GBs on the Db node.
- software
Storage IntegerSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state String
- The current state of the database node.
- time
Created String - The date and time that the database node was created.
- time
Maintenance StringWindow End - End date and time of maintenance window.
- time
Maintenance StringWindow Start - Start date and time of maintenance window.
- total
Cpu IntegerCore Count - The total number of CPU cores reserved on the Db node.
- vnic2id String
- The OCID of the second VNIC.
- vnic
Id String - The OCID of the VNIC.
- additional
Details string - Additional information about the planned maintenance.
- backup
Ip stringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup
Vnic2id string - The OCID of the second backup VNIC.
- backup
Vnic stringId - The OCID of the backup VNIC.
- cpu
Core numberCount - The number of CPU cores enabled on the Db node.
- db
Node stringId - The database node OCID.
- db
Node numberStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- db
Server stringId - The OCID of the Exacc Db server associated with the database node.
- db
System stringId - The OCID of the DB system.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- fault
Domain string - The name of the Fault Domain the instance is contained in.
- {[key: string]: string}
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- host
Ip stringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname string
- The host name for the database node.
- lifecycle
Details string - Information about the current lifecycle state.
- maintenance
Type string - The type of database node maintenance.
- memory
Size numberIn Gbs - The allocated memory in GBs on the Db node.
- software
Storage numberSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state string
- The current state of the database node.
- time
Created string - The date and time that the database node was created.
- time
Maintenance stringWindow End - End date and time of maintenance window.
- time
Maintenance stringWindow Start - Start date and time of maintenance window.
- total
Cpu numberCore Count - The total number of CPU cores reserved on the Db node.
- vnic2id string
- The OCID of the second VNIC.
- vnic
Id string - The OCID of the VNIC.
- additional_
details str - Additional information about the planned maintenance.
- backup_
ip_ strid - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup_
vnic2id str - The OCID of the second backup VNIC.
- backup_
vnic_ strid - The OCID of the backup VNIC.
- cpu_
core_ intcount - The number of CPU cores enabled on the Db node.
- db_
node_ strid - The database node OCID.
- db_
node_ intstorage_ size_ in_ gbs - The allocated local node storage in GBs on the Db node.
- db_
server_ strid - The OCID of the Exacc Db server associated with the database node.
- db_
system_ strid - The OCID of the DB system.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- fault_
domain str - The name of the Fault Domain the instance is contained in.
- Mapping[str, str]
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- host_
ip_ strid - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname str
- The host name for the database node.
- lifecycle_
details str - Information about the current lifecycle state.
- maintenance_
type str - The type of database node maintenance.
- memory_
size_ intin_ gbs - The allocated memory in GBs on the Db node.
- software_
storage_ intsize_ in_ gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state str
- The current state of the database node.
- time_
created str - The date and time that the database node was created.
- time_
maintenance_ strwindow_ end - End date and time of maintenance window.
- time_
maintenance_ strwindow_ start - Start date and time of maintenance window.
- total_
cpu_ intcore_ count - The total number of CPU cores reserved on the Db node.
- vnic2id str
- The OCID of the second VNIC.
- vnic_
id str - The OCID of the VNIC.
- additional
Details String - Additional information about the planned maintenance.
- backup
Ip StringId - The OCID of the backup IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- backup
Vnic2id String - The OCID of the second backup VNIC.
- backup
Vnic StringId - The OCID of the backup VNIC.
- cpu
Core NumberCount - The number of CPU cores enabled on the Db node.
- db
Node StringId - The database node OCID.
- db
Node NumberStorage Size In Gbs - The allocated local node storage in GBs on the Db node.
- db
Server StringId - The OCID of the Exacc Db server associated with the database node.
- db
System StringId - The OCID of the DB system.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- fault
Domain String - The name of the Fault Domain the instance is contained in.
- Map<String>
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
** 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
- host
Ip StringId - The OCID of the host IP address associated with the database node. Use this OCID with either the GetPrivateIp or the GetPublicIpByPrivateIpId API to get the IP address needed to make a database connection.
- hostname String
- The host name for the database node.
- lifecycle
Details String - Information about the current lifecycle state.
- maintenance
Type String - The type of database node maintenance.
- memory
Size NumberIn Gbs - The allocated memory in GBs on the Db node.
- software
Storage NumberSize In Gb - The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
- state String
- The current state of the database node.
- time
Created String - The date and time that the database node was created.
- time
Maintenance StringWindow End - End date and time of maintenance window.
- time
Maintenance StringWindow Start - Start date and time of maintenance window.
- total
Cpu NumberCore Count - The total number of CPU cores reserved on the Db node.
- vnic2id String
- The OCID of the second VNIC.
- vnic
Id String - The OCID of the VNIC.
Import
DbNodes can be imported using the id
, e.g.
$ pulumi import oci:Database/dbNode:DbNode test_db_node "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.