import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Db Node resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified database node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbNode = oci.database.getDbNode({ * dbNodeId: dbNodeId, * }); * ``` */ export declare function getDbNode(args: GetDbNodeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbNode. */ export interface GetDbNodeArgs { /** * The database node [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbNodeId: string; } /** * A collection of values returned by getDbNode. */ export interface GetDbNodeResult { /** * Additional information about the planned maintenance. */ readonly additionalDetails: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup IPv4 address associated with the database node. Use this OCID with either the [GetPrivateIp](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/GetPrivateIp) or the [GetPublicIpByPrivateIpId](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/GetPublicIpByPrivateIpId) API to get the IPv4 address needed to make a database connection. */ readonly backupIpId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup IPv6 address associated with the database node. Use this OCID with the [GetIpv6](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/GetIpv6) API to get the IPv6 address needed to make a database connection. */ readonly backupIpv6id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second backup VNIC. */ readonly backupVnic2id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup VNIC. */ readonly backupVnicId: string; /** * The number of compute servers for the DB system. */ readonly computeCount: number; /** * The compute model for Base Database Service. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. */ readonly computeModel: string; /** * The number of CPU cores enabled on the Db node. */ readonly cpuCoreCount: number; readonly dbNodeId: string; /** * The allocated local node storage in GBs on the Db node. */ readonly dbNodeStorageSizeInGbs: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exacc Db server associated with the database node. */ readonly dbServerId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system. */ readonly dbSystemId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: { [key: string]: string; }; /** * The name of the Fault Domain the instance is contained in. */ readonly faultDomain: string; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host IPv4 address associated with the database node. Use this OCID with either the [GetPrivateIp](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/GetPrivateIp) or the [GetPublicIpByPrivateIpId](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/PublicIp/GetPublicIpByPrivateIpId) API to get the IPv4 address needed to make a database connection. */ readonly hostIpId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host IPv6 address associated with the database node. Use this OCID with the [GetIpv6](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/GetIpv6) API to get the IPv6 address needed to make a database connection. */ readonly hostIpv6id: string; /** * The host name for the database node. */ readonly hostname: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database node. */ readonly id: string; /** * Indicates whether the database node must be rebooted after applying Operating System patches. This flag becomes true after operations such as OS/kernel updates to indicate that a reboot of the node is required. After a successful reboot, this value is expected to return to false. */ readonly isOsPatchRebootRequired: boolean; /** * Information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The type of database node maintenance. */ readonly maintenanceType: string; /** * The allocated memory in GBs on the Db node. */ readonly memorySizeInGbs: number; /** * The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems. */ readonly softwareStorageSizeInGb: number; /** * The current state of the database node. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: { [key: string]: string; }; /** * The date and time that the database node was created. */ readonly timeCreated: string; /** * End date and time of maintenance window. */ readonly timeMaintenanceWindowEnd: string; /** * Start date and time of maintenance window. */ readonly timeMaintenanceWindowStart: string; /** * The total number of CPU cores reserved on the Db node. */ readonly totalCpuCoreCount: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second VNIC. */ readonly vnic2id: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. */ readonly vnicId: string; } /** * This data source provides details about a specific Db Node resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified database node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbNode = oci.database.getDbNode({ * dbNodeId: dbNodeId, * }); * ``` */ export declare function getDbNodeOutput(args: GetDbNodeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbNode. */ export interface GetDbNodeOutputArgs { /** * The database node [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbNodeId: pulumi.Input; } //# sourceMappingURL=getDbNode.d.ts.map