import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Mysql Db System resource in Oracle Cloud Infrastructure MySQL Database service. * * Get information about the specified DB System. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMysqlDbSystem = oci.mysql.getMysqlDbSystem({ * dbSystemId: testDbSystem.id, * }); * ``` */ export declare function getMysqlDbSystem(args: GetMysqlDbSystemArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMysqlDbSystem. */ export interface GetMysqlDbSystemArgs { /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId: string; } /** * A collection of values returned by getMysqlDbSystem. */ export interface GetMysqlDbSystemResult { /** * The access mode indicating if the database access is unrestricted (to all MySQL user accounts), or restricted (to only certain users with specific privileges): * * UNRESTRICTED: the access to the database is not restricted; * * RESTRICTED: the access is allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offlineMode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON. */ readonly accessMode: string; readonly adminPassword: string; readonly adminUsername: string; /** * The availability domain in which the DB System is placed. */ readonly availabilityDomain: string; /** * The Backup policy for the DB System. */ readonly backupPolicies: outputs.Mysql.GetMysqlDbSystemBackupPolicy[]; /** * A list with a summary of all the Channels attached to the DB System. */ readonly channels: outputs.Mysql.GetMysqlDbSystemChannel[]; /** * The OCID of the compartment the DB System belongs in. */ readonly compartmentId: string; /** * The OCID of the Configuration to be used for Instances in this DB System. */ readonly configurationId: string; /** * Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. */ readonly crashRecovery: string; /** * The availability domain and fault domain a DB System is placed in. */ readonly currentPlacements: outputs.Mysql.GetMysqlDbSystemCurrentPlacement[]; /** * The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. */ readonly customerContacts: outputs.Mysql.GetMysqlDbSystemCustomerContact[]; /** * Initial size of the data volume in GiBs that will be created and attached. */ readonly dataStorageSizeInGb: number; /** * Data Storage information. */ readonly dataStorages: outputs.Mysql.GetMysqlDbSystemDataStorage[]; /** * Database console configuration details. */ readonly databaseConsoles: outputs.Mysql.GetMysqlDbSystemDatabaseConsole[]; /** * Whether to enable monitoring via the Database Management service. */ readonly databaseManagement: string; /** * The database mode indicating the types of statements that are allowed to run in the the DB system. This mode applies only to statements run by user connections. Replicated write statements continue to be allowed regardless of the DatabaseMode. * * READ_WRITE: allow running read and write statements on the DB system; * * READ_ONLY: only allow running read statements on the DB system. */ readonly databaseMode: string; /** * The OCID of the DB System from which a backup shall be selected to be restored when creating the new DB System. Use this together with recovery point to perform a point in time recovery operation. */ readonly dbSystemId: 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; }; /** * The Deletion policy for the DB System. */ readonly deletionPolicies: outputs.Mysql.GetMysqlDbSystemDeletionPolicy[]; /** * User-provided data about the DB System. */ readonly description: string; /** * The user-friendly name for the DB System. It does not have to be unique. */ readonly displayName: string; /** * Encrypt data details. */ readonly encryptDatas: outputs.Mysql.GetMysqlDbSystemEncryptData[]; /** * The network endpoints available for this DB System. */ readonly endpoints: outputs.Mysql.GetMysqlDbSystemEndpoint[]; /** * The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance. */ readonly faultDomain: 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 summary of a HeatWave cluster. */ readonly heatWaveClusters: outputs.Mysql.GetMysqlDbSystemHeatWaveCluster[]; /** * The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123. */ readonly hostnameLabel: string; /** * The OCID of the DB System. */ readonly id: string; /** * The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a "dotted-quad" style IPv4 address. */ readonly ipAddress: string; /** * Details to assign an IPv6 subnet prefix or IPv6 address to a resource. */ readonly ipv6addressIpv6subnetCidrPairDetails: outputs.Mysql.GetMysqlDbSystemIpv6addressIpv6subnetCidrPairDetail[]; /** * If the DB System has a HeatWave Cluster attached. */ readonly isHeatWaveClusterAttached: boolean; /** * Specifies if the DB System is highly available. */ readonly isHighlyAvailable: boolean; /** * Whether an IPv6 address has been allocated for the DB system when attached to an IPv6 enabled subnet. Default: False. */ readonly isIpv6enabled: boolean; /** * Additional information about the current lifecycleState. */ readonly lifecycleDetails: string; /** * The Maintenance Policy for the DB System or Read Replica that this model is included in. */ readonly maintenances: outputs.Mysql.GetMysqlDbSystemMaintenance[]; /** * Name of the MySQL Version in use for the DB System. */ readonly mysqlVersion: string; /** * Network Security Group OCIDs used for the VNIC attachment. */ readonly nsgIds: string[]; /** * Point-in-time Recovery details like earliest and latest recovery time point for the DB System. */ readonly pointInTimeRecoveryDetails: outputs.Mysql.GetMysqlDbSystemPointInTimeRecoveryDetail[]; /** * The port for REST to listen on. Supported port numbers are 443 and from 1024 to 65535. */ readonly port: number; /** * The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port. */ readonly portX: number; /** * The read endpoint of a DB System. */ readonly readEndpoints: outputs.Mysql.GetMysqlDbSystemReadEndpoint[]; /** * REST configuration details. */ readonly rests: outputs.Mysql.GetMysqlDbSystemRest[]; /** * Secure connection configuration details. */ readonly secureConnections: outputs.Mysql.GetMysqlDbSystemSecureConnection[]; /** * Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [ZPR Artifacts](https://docs.oracle.com/en-us/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm). Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "audit"}}}` */ readonly securityAttributes: { [key: string]: string; }; /** * The shape of the primary instances of the DB System. The shape determines resources allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use (the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20181021/ShapeSummary/ListShapes) operation. */ readonly shapeName: string; readonly shutdownType: string; /** * Parameters detailing how to provision the initial data of the DB System. */ readonly sources: outputs.Mysql.GetMysqlDbSystemSource[]; /** * The current state of the DB System. */ readonly state: string; /** * The OCID of the subnet the DB System is associated with. */ readonly subnetId: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * Telemetry configuration details of a DB System or a read replica. */ readonly telemetryConfigurations: outputs.Mysql.GetMysqlDbSystemTelemetryConfiguration[]; /** * The date and time the DB System was created. */ readonly timeCreated: string; /** * The time the DB System was last updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Mysql Db System resource in Oracle Cloud Infrastructure MySQL Database service. * * Get information about the specified DB System. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMysqlDbSystem = oci.mysql.getMysqlDbSystem({ * dbSystemId: testDbSystem.id, * }); * ``` */ export declare function getMysqlDbSystemOutput(args: GetMysqlDbSystemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMysqlDbSystem. */ export interface GetMysqlDbSystemOutputArgs { /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ dbSystemId: pulumi.Input; } //# sourceMappingURL=getMysqlDbSystem.d.ts.map