import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for manging db server linked to exadata infrastructure of Oracle Database@AWS. * * You can find out more about Oracle Database@AWS from [User Guide](https://docs.aws.amazon.com/odb/latest/UserGuide/what-is-odb.html). * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.odb.getDbServer({ * cloudExadataInfrastructureId: "exadata_infra_id", * id: "db_server_id", * }); * ``` */ export declare function getDbServer(args: GetDbServerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbServer. */ export interface GetDbServerArgs { /** * Unique identifier of the cloud vm cluster. */ cloudExadataInfrastructureId: string; /** * Unique identifier of db node associated with vm cluster. * * The following arguments are optional: */ id: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getDbServer. */ export interface GetDbServerResult { /** * List of unique identifiers for the Autonomous VMs associated with this database server. */ readonly autonomousVirtualMachineIds: string[]; /** * OCID of the autonomous VM clusters that are associated with the database server. */ readonly autonomousVmClusterIds: string[]; readonly cloudExadataInfrastructureId: string; /** * Compute model of the database server. */ readonly computeModel: string; /** * Number of CPU cores enabled on the database server. */ readonly cpuCoreCount: number; /** * Date and time when the database server was created. */ readonly createdAt: string; /** * Allocated local node storage in GBs on the database server. */ readonly dbNodeStorageSizeInGbs: number; /** * Scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window. */ readonly dbServerPatchingDetails: outputs.odb.GetDbServerDbServerPatchingDetail[]; /** * Display name of the database server. */ readonly displayName: string; /** * Exadata infrastructure ID of the database server. */ readonly exadataInfrastructureId: string; readonly id: string; /** * Total number of CPU cores available. */ readonly maxCpuCount: number; /** * Total local node storage available in GBs. */ readonly maxDbNodeStorageInGbs: number; /** * Total memory available in GBs. */ readonly maxMemoryInGbs: number; /** * Allocated memory in GBs on the database server. */ readonly memorySizeInGbs: number; /** * Name of the OCI resource anchor. */ readonly ociResourceAnchorName: string; /** * OCID of the database server to retrieve information about. */ readonly ocid: string; readonly region: string; /** * Shape of the database server. The shape determines the amount of CPU, storage, and memory resources available. */ readonly shape: string; /** * Status of the database server. */ readonly status: string; /** * Additional information about the current status of the database server. */ readonly statusReason: string; /** * OCID of the VM clusters that are associated with the database server. */ readonly vmClusterIds: string[]; } /** * Data source for manging db server linked to exadata infrastructure of Oracle Database@AWS. * * You can find out more about Oracle Database@AWS from [User Guide](https://docs.aws.amazon.com/odb/latest/UserGuide/what-is-odb.html). * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.odb.getDbServer({ * cloudExadataInfrastructureId: "exadata_infra_id", * id: "db_server_id", * }); * ``` */ export declare function getDbServerOutput(args: GetDbServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbServer. */ export interface GetDbServerOutputArgs { /** * Unique identifier of the cloud vm cluster. */ cloudExadataInfrastructureId: pulumi.Input; /** * Unique identifier of db node associated with vm cluster. * * The following arguments are optional: */ id: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; } //# sourceMappingURL=getDbServer.d.ts.map