@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
165 lines (164 loc) • 5.23 kB
TypeScript
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<GetDbServerResult>;
/**
* A collection of arguments for invoking getDbServer.
*/
export interface GetDbServerArgs {
/**
* The unique identifier of the cloud vm cluster.
*/
cloudExadataInfrastructureId: string;
/**
* The 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 {
/**
* The list of unique identifiers for the Autonomous VMs associated with this database server.
*/
readonly autonomousVirtualMachineIds: string[];
/**
* The OCID of the autonomous VM clusters that are associated with the database server.
*/
readonly autonomousVmClusterIds: string[];
readonly cloudExadataInfrastructureId: string;
/**
* The compute model of the database server.
*/
readonly computeModel: string;
/**
* The number of CPU cores enabled on the database server.
*/
readonly cpuCoreCount: number;
/**
* The date and time when the database server was created.
*/
readonly createdAt: string;
/**
* The allocated local node storage in GBs on the database server.
*/
readonly dbNodeStorageSizeInGbs: number;
/**
* The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
*/
readonly dbServerPatchingDetails: outputs.odb.GetDbServerDbServerPatchingDetail[];
/**
* The display name of the database server.
*/
readonly displayName: string;
/**
* The exadata infrastructure ID of the database server.
*/
readonly exadataInfrastructureId: string;
readonly id: 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 database server.
*/
readonly memorySizeInGbs: number;
/**
* The name of the OCI resource anchor.
*/
readonly ociResourceAnchorName: string;
/**
* The OCID of the database server to retrieve information about.
*/
readonly ocid: string;
readonly region: string;
/**
* The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
*/
readonly shape: string;
/**
* The status of the database server.
*/
readonly status: string;
/**
* Additional information about the current status of the database server.
*/
readonly statusReason: string;
/**
* The 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<GetDbServerResult>;
/**
* A collection of arguments for invoking getDbServer.
*/
export interface GetDbServerOutputArgs {
/**
* The unique identifier of the cloud vm cluster.
*/
cloudExadataInfrastructureId: pulumi.Input<string>;
/**
* The unique identifier of db node associated with vm cluster.
*
* The following arguments are optional:
*/
id: pulumi.Input<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?: pulumi.Input<string>;
}