import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Db Server resource in Oracle Cloud Infrastructure Database service. * * Gets information about the Exadata Db server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbServer = oci.database.getDbServer({ * dbServerId: testDbServerOciDatabaseDbServer.id, * exadataInfrastructureId: testExadataInfrastructure.id, * }); * ``` */ export declare function getDbServer(args: GetDbServerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbServer. */ export interface GetDbServerArgs { /** * The DB server [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbServerId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ExadataInfrastructure. */ exadataInfrastructureId: string; } /** * A collection of values returned by getDbServer. */ export interface GetDbServerResult { /** * The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Virtual Machines associated with the Db server. */ readonly autonomousVirtualMachineIds: string[]; /** * The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous VM Clusters associated with the Db server. */ readonly autonomousVmClusterIds: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The compute model of the Autonomous AI Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. */ readonly computeModel: string; /** * The number of CPU cores enabled on the Db server. */ readonly cpuCoreCount: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db nodes associated with the Db server. */ readonly dbNodeIds: string[]; /** * The allocated local node storage in GBs on the Db server. */ readonly dbNodeStorageSizeInGbs: number; readonly dbServerId: string; /** * The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ readonly dbServerPatchingDetails: outputs.Database.GetDbServerDbServerPatchingDetail[]; /** * 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 user-friendly name for the Db server. The name does not need to be unique. */ readonly displayName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. */ readonly exadataInfrastructureId: 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 provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The total number of CPU cores available. */ readonly maxCpuCount: number; /** * The total local node storage available in GBs. */ readonly maxDbNodeStorageInGbs: number; /** * The total memory available in GBs. */ readonly maxMemoryInGbs: number; /** * The allocated memory in GBs on the Db server. */ readonly memorySizeInGbs: number; /** * The shape of the Db server. The shape determines the amount of CPU, storage, and memory resources available. */ readonly shape: string; /** * The current state of the Db server. */ 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 Db Server was created. */ readonly timeCreated: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Clusters associated with the Db server. */ readonly vmClusterIds: string[]; } /** * This data source provides details about a specific Db Server resource in Oracle Cloud Infrastructure Database service. * * Gets information about the Exadata Db server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbServer = oci.database.getDbServer({ * dbServerId: testDbServerOciDatabaseDbServer.id, * exadataInfrastructureId: testExadataInfrastructure.id, * }); * ``` */ export declare function getDbServerOutput(args: GetDbServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbServer. */ export interface GetDbServerOutputArgs { /** * The DB server [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbServerId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ExadataInfrastructure. */ exadataInfrastructureId: pulumi.Input; } //# sourceMappingURL=getDbServer.d.ts.map