import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Db System resource in Oracle Cloud Infrastructure Psql service. * * Gets a database system by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbSystem = oci.psql.getDbSystem({ * dbSystemId: testDbSystemOciPsqlDbSystem.id, * excludedFields: dbSystemExcludedFields, * }); * ``` */ export declare function getDbSystem(args: GetDbSystemArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbSystem. */ export interface GetDbSystemArgs { /** * A unique identifier for the database system. */ dbSystemId: string; /** * A filter to exclude database configuration when this query parameter is set to OverrideDbConfig. */ excludedFields?: string; } /** * A collection of values returned by getDbSystem. */ export interface GetDbSystemResult { /** * The database system administrator username. */ readonly adminUsername: string; readonly applyChangeModeToStandAlone: string; readonly applyConfig: string; /** * target compartment to place a new backup */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration associated with the database system. */ readonly configId: string; /** * List of Kerberos Credentials to be configured for the dbsystem. Currently supports only one entry. */ readonly credentials: outputs.Psql.GetDbSystemCredential[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source database system which will be used to perform point-in-time recovery. */ readonly dbSystemId: string; /** * The major and minor versions of the database system software. */ readonly dbVersion: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Description of the database instance node. */ readonly description: string; /** * A user-friendly display name for the database instance node. Avoid entering confidential information. */ readonly displayName: string; readonly excludedFields?: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * A unique identifier for the database instance node. Immutable on creation. */ readonly id: string; /** * Count of instances, or nodes, in the database system. */ readonly instanceCount: number; /** * The total amount of memory available to each database instance node, in gigabytes. */ readonly instanceMemorySizeInGbs: number; /** * The total number of OCPUs available to each database instance node. */ readonly instanceOcpuCount: number; /** * The list of instances, or nodes, in the database system. */ readonly instances: outputs.Psql.GetDbSystemInstance[]; readonly instancesDetails: outputs.Psql.GetDbSystemInstancesDetail[]; /** * Kerberos Authentication details for the database system. */ readonly kerberosAuthDetails: outputs.Psql.GetDbSystemKerberosAuthDetail[]; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; /** * PostgreSQL database system management policy. */ readonly managementPolicies: outputs.Psql.GetDbSystemManagementPolicy[]; /** * Network details for the database system. */ readonly networkDetails: outputs.Psql.GetDbSystemNetworkDetail[]; /** * ODSP Insight details for the database system. */ readonly odspInsightDetails: outputs.Psql.GetDbSystemOdspInsightDetail[]; readonly patchOperations: outputs.Psql.GetDbSystemPatchOperation[]; /** * Replication configuration that is applicable on database systems with the PRIMARY_DB_SYSTEM role. */ readonly replicationConfigs: outputs.Psql.GetDbSystemReplicationConfig[]; /** * The name of the shape for the database instance. Example: `VM.Standard.E4.Flex` */ readonly shape: string; /** * The source of the database system. */ readonly sources: outputs.Psql.GetDbSystemSource[]; /** * The current state of the database system. */ readonly state: string; /** * Storage details of the database system. */ readonly storageDetails: outputs.Psql.GetDbSystemStorageDetail[]; /** * Type of the database system. */ readonly systemRole: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * Type of the database system. */ readonly systemType: string; /** * The date and time that the database system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time that the database system was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; } /** * This data source provides details about a specific Db System resource in Oracle Cloud Infrastructure Psql service. * * Gets a database system by identifier. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDbSystem = oci.psql.getDbSystem({ * dbSystemId: testDbSystemOciPsqlDbSystem.id, * excludedFields: dbSystemExcludedFields, * }); * ``` */ export declare function getDbSystemOutput(args: GetDbSystemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbSystem. */ export interface GetDbSystemOutputArgs { /** * A unique identifier for the database system. */ dbSystemId: pulumi.Input; /** * A filter to exclude database configuration when this query parameter is set to OverrideDbConfig. */ excludedFields?: pulumi.Input; } //# sourceMappingURL=getDbSystem.d.ts.map