All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabaseProperty.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.oracledatabase.kotlin.outputs

import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property actualUsedDataStorageSizeTb The amount of storage currently being used for user and system data, in
 * terabytes.
 * @property allocatedStorageSizeTb The amount of storage currently allocated for the database tables and
 * billed for, rounded up in terabytes.
 * @property apexDetails Oracle APEX Application Development.
 * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex
 * @property arePrimaryAllowlistedIpsUsed This field indicates the status of Data Guard and Access control for the
 * Autonomous Database. The field's value is null if Data Guard is disabled
 * or Access Control is disabled. The field's value is TRUE if both Data Guard
 * and Access Control are enabled, and the Autonomous Database is using
 * primary IP access control list (ACL) for standby. The field's value is
 * FALSE if both Data Guard and Access Control are enabled, and the Autonomous
 * Database is using a different IP access control list (ACL) for standby
 * compared to primary.
 * @property autonomousContainerDatabaseId The Autonomous Container Database OCID.
 * @property availableUpgradeVersions The list of available Oracle Database upgrade versions for an Autonomous
 * Database.
 * @property backupRetentionPeriodDays The retention period for the Autonomous Database. This field is specified
 * in days, can range from 1 day to 60 days, and has a default value of
 * 60 days.
 * @property characterSet The character set for the Autonomous Database. The default is AL32UTF8.
 * @property computeCount The number of compute servers for the Autonomous Database.
 * @property connectionStrings The connection string used to connect to the Autonomous Database.
 * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings
 * @property connectionUrls The URLs for accessing Oracle Application Express (APEX) and SQL Developer
 * Web with a browser from a Compute instance.
 * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionUrls
 * @property customerContacts The list of customer contacts.
 * @property dataSafeState The current state of the Data Safe registration for the
 * Autonomous Database.
 *  Possible values:
 *  DATA_SAFE_STATE_UNSPECIFIED
 * REGISTERING
 * REGISTERED
 * DEREGISTERING
 * NOT_REGISTERED
 * FAILED
 * @property dataStorageSizeGb The size of the data stored in the database, in gigabytes.
 * @property dataStorageSizeTb The size of the data stored in the database, in terabytes.
 * @property databaseManagementState The current state of database management for the Autonomous Database.
 *  Possible values:
 *  DATABASE_MANAGEMENT_STATE_UNSPECIFIED
 * ENABLING
 * ENABLED
 * DISABLING
 * NOT_ENABLED
 * FAILED_ENABLING
 * FAILED_DISABLING
 * @property dbEdition The edition of the Autonomous Databases.
 *  Possible values:
 *  DATABASE_EDITION_UNSPECIFIED
 * STANDARD_EDITION
 * ENTERPRISE_EDITION
 * @property dbVersion The Oracle Database version for the Autonomous Database.
 * @property dbWorkload Possible values:
 *  DB_WORKLOAD_UNSPECIFIED
 * OLTP
 * DW
 * AJD
 * APEX
 * @property failedDataRecoveryDuration This field indicates the number of seconds of data loss during a Data
 * Guard failover.
 * @property isAutoScalingEnabled This field indicates if auto scaling is enabled for the Autonomous Database
 * CPU core count.
 * @property isLocalDataGuardEnabled This field indicates whether the Autonomous Database has local (in-region)
 * Data Guard enabled.
 * @property isStorageAutoScalingEnabled This field indicates if auto scaling is enabled for the Autonomous Database
 * storage.
 * @property licenseType The license type used for the Autonomous Database.
 *  Possible values:
 *  LICENSE_TYPE_UNSPECIFIED
 * LICENSE_INCLUDED
 * BRING_YOUR_OWN_LICENSE
 * @property lifecycleDetails The details of the current lifestyle state of the Autonomous Database.
 * @property localAdgAutoFailoverMaxDataLossLimit This field indicates the maximum data loss limit for an Autonomous
 * Database, in seconds.
 * @property localDisasterRecoveryType This field indicates the local disaster recovery (DR) type of an
 * Autonomous Database.
 *  Possible values:
 *  LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED
 * ADG
 * BACKUP_BASED
 * @property localStandbyDbs Autonomous Data Guard standby database details.
 * https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary
 * @property maintenanceBeginTime The date and time when maintenance will begin.
 * @property maintenanceEndTime The date and time when maintenance will end.
 * @property maintenanceScheduleType The maintenance schedule of the Autonomous Database.
 *  Possible values:
 *  MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED
 * EARLY
 * REGULAR
 * @property memoryPerOracleComputeUnitGbs The amount of memory enabled per ECPU, in gigabytes.
 * @property memoryTableGbs The memory assigned to in-memory tables in an Autonomous Database.
 * @property mtlsConnectionRequired This field specifies if the Autonomous Database requires mTLS connections.
 * @property nCharacterSet The national character set for the Autonomous Database. The default is
 * AL16UTF16.
 * @property nextLongTermBackupTime The long term backup schedule of the Autonomous Database.
 * @property ociUrl The Oracle Cloud Infrastructure link for the Autonomous Database.
 * @property ocid OCID of the Autonomous Database.
 * https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
 * @property openMode This field indicates the current mode of the Autonomous Database.
 *  Possible values:
 *  OPEN_MODE_UNSPECIFIED
 * READ_ONLY
 * READ_WRITE
 * @property operationsInsightsState Possible values:
 *  OPERATIONS_INSIGHTS_STATE_UNSPECIFIED
 * ENABLING
 * ENABLED
 * DISABLING
 * NOT_ENABLED
 * FAILED_ENABLING
 * FAILED_DISABLING
 * @property peerDbIds The list of OCIDs of standby databases located in Autonomous Data Guard
 * remote regions that are associated with the source database.
 * @property permissionLevel The permission level of the Autonomous Database.
 *  Possible values:
 *  PERMISSION_LEVEL_UNSPECIFIED
 * RESTRICTED
 * UNRESTRICTED
 * @property privateEndpoint The private endpoint for the Autonomous Database.
 * @property privateEndpointIp The private endpoint IP address for the Autonomous Database.
 * @property privateEndpointLabel The private endpoint label for the Autonomous Database.
 * @property refreshableMode The refresh mode of the cloned Autonomous Database.
 *  Possible values:
 *  REFRESHABLE_MODE_UNSPECIFIED
 * AUTOMATIC
 * MANUAL
 * @property refreshableState The refresh State of the clone.
 *  Possible values:
 *  REFRESHABLE_STATE_UNSPECIFIED
 * REFRESHING
 * NOT_REFRESHING
 * @property role The Data Guard role of the Autonomous Database.
 *  Possible values:
 *  ROLE_UNSPECIFIED
 * PRIMARY
 * STANDBY
 * DISABLED_STANDBY
 * BACKUP_COPY
 * SNAPSHOT_STANDBY
 * @property scheduledOperationDetails The list and details of the scheduled operations of the Autonomous
 * Database.
 * @property sqlWebDeveloperUrl The SQL Web Developer URL for the Autonomous Database.
 * @property state Possible values:
 *  STATE_UNSPECIFIED
 * PROVISIONING
 * AVAILABLE
 * STOPPING
 * STOPPED
 * STARTING
 * TERMINATING
 * TERMINATED
 * UNAVAILABLE
 * RESTORE_IN_PROGRESS
 * RESTORE_FAILED
 * BACKUP_IN_PROGRESS
 * SCALE_IN_PROGRESS
 * AVAILABLE_NEEDS_ATTENTION
 * UPDATING
 * MAINTENANCE_IN_PROGRESS
 * RESTARTING
 * RECREATING
 * ROLE_CHANGE_IN_PROGRESS
 * UPGRADING
 * INACCESSIBLE
 * STANDBY
 * @property supportedCloneRegions The list of available regions that can be used to create a clone for the
 * Autonomous Database.
 * @property totalAutoBackupStorageSizeGbs The storage space used by automatic backups of Autonomous Database, in
 * gigabytes.
 * @property usedDataStorageSizeTbs The storage space used by Autonomous Database, in gigabytes.
 */
public data class GetAutonomousDatabasesAutonomousDatabaseProperty(
    public val actualUsedDataStorageSizeTb: Double,
    public val allocatedStorageSizeTb: Double,
    public val apexDetails: List,
    public val arePrimaryAllowlistedIpsUsed: Boolean,
    public val autonomousContainerDatabaseId: String,
    public val availableUpgradeVersions: List,
    public val backupRetentionPeriodDays: Int,
    public val characterSet: String,
    public val computeCount: Double,
    public val connectionStrings: List,
    public val connectionUrls: List,
    public val customerContacts: List,
    public val dataSafeState: String,
    public val dataStorageSizeGb: Int,
    public val dataStorageSizeTb: Int,
    public val databaseManagementState: String,
    public val dbEdition: String,
    public val dbVersion: String,
    public val dbWorkload: String,
    public val failedDataRecoveryDuration: String,
    public val isAutoScalingEnabled: Boolean,
    public val isLocalDataGuardEnabled: Boolean,
    public val isStorageAutoScalingEnabled: Boolean,
    public val licenseType: String,
    public val lifecycleDetails: String,
    public val localAdgAutoFailoverMaxDataLossLimit: Int,
    public val localDisasterRecoveryType: String,
    public val localStandbyDbs: List,
    public val maintenanceBeginTime: String,
    public val maintenanceEndTime: String,
    public val maintenanceScheduleType: String,
    public val memoryPerOracleComputeUnitGbs: Int,
    public val memoryTableGbs: Int,
    public val mtlsConnectionRequired: Boolean,
    public val nCharacterSet: String,
    public val nextLongTermBackupTime: String,
    public val ociUrl: String,
    public val ocid: String,
    public val openMode: String,
    public val operationsInsightsState: String,
    public val peerDbIds: List,
    public val permissionLevel: String,
    public val privateEndpoint: String,
    public val privateEndpointIp: String,
    public val privateEndpointLabel: String,
    public val refreshableMode: String,
    public val refreshableState: String,
    public val role: String,
    public val scheduledOperationDetails: List,
    public val sqlWebDeveloperUrl: String,
    public val state: String,
    public val supportedCloneRegions: List,
    public val totalAutoBackupStorageSizeGbs: Double,
    public val usedDataStorageSizeTbs: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.oracledatabase.outputs.GetAutonomousDatabasesAutonomousDatabaseProperty): GetAutonomousDatabasesAutonomousDatabaseProperty =
            GetAutonomousDatabasesAutonomousDatabaseProperty(
                actualUsedDataStorageSizeTb = javaType.actualUsedDataStorageSizeTb(),
                allocatedStorageSizeTb = javaType.allocatedStorageSizeTb(),
                apexDetails = javaType.apexDetails().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabasePropertyApexDetail.Companion.toKotlin(args0)
                    })
                }),
                arePrimaryAllowlistedIpsUsed = javaType.arePrimaryAllowlistedIpsUsed(),
                autonomousContainerDatabaseId = javaType.autonomousContainerDatabaseId(),
                availableUpgradeVersions = javaType.availableUpgradeVersions().map({ args0 -> args0 }),
                backupRetentionPeriodDays = javaType.backupRetentionPeriodDays(),
                characterSet = javaType.characterSet(),
                computeCount = javaType.computeCount(),
                connectionStrings = javaType.connectionStrings().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabasePropertyConnectionString.Companion.toKotlin(args0)
                    })
                }),
                connectionUrls = javaType.connectionUrls().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabasePropertyConnectionUrl.Companion.toKotlin(args0)
                    })
                }),
                customerContacts = javaType.customerContacts().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabasePropertyCustomerContact.Companion.toKotlin(args0)
                    })
                }),
                dataSafeState = javaType.dataSafeState(),
                dataStorageSizeGb = javaType.dataStorageSizeGb(),
                dataStorageSizeTb = javaType.dataStorageSizeTb(),
                databaseManagementState = javaType.databaseManagementState(),
                dbEdition = javaType.dbEdition(),
                dbVersion = javaType.dbVersion(),
                dbWorkload = javaType.dbWorkload(),
                failedDataRecoveryDuration = javaType.failedDataRecoveryDuration(),
                isAutoScalingEnabled = javaType.isAutoScalingEnabled(),
                isLocalDataGuardEnabled = javaType.isLocalDataGuardEnabled(),
                isStorageAutoScalingEnabled = javaType.isStorageAutoScalingEnabled(),
                licenseType = javaType.licenseType(),
                lifecycleDetails = javaType.lifecycleDetails(),
                localAdgAutoFailoverMaxDataLossLimit = javaType.localAdgAutoFailoverMaxDataLossLimit(),
                localDisasterRecoveryType = javaType.localDisasterRecoveryType(),
                localStandbyDbs = javaType.localStandbyDbs().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabasePropertyLocalStandbyDb.Companion.toKotlin(args0)
                    })
                }),
                maintenanceBeginTime = javaType.maintenanceBeginTime(),
                maintenanceEndTime = javaType.maintenanceEndTime(),
                maintenanceScheduleType = javaType.maintenanceScheduleType(),
                memoryPerOracleComputeUnitGbs = javaType.memoryPerOracleComputeUnitGbs(),
                memoryTableGbs = javaType.memoryTableGbs(),
                mtlsConnectionRequired = javaType.mtlsConnectionRequired(),
                nCharacterSet = javaType.nCharacterSet(),
                nextLongTermBackupTime = javaType.nextLongTermBackupTime(),
                ociUrl = javaType.ociUrl(),
                ocid = javaType.ocid(),
                openMode = javaType.openMode(),
                operationsInsightsState = javaType.operationsInsightsState(),
                peerDbIds = javaType.peerDbIds().map({ args0 -> args0 }),
                permissionLevel = javaType.permissionLevel(),
                privateEndpoint = javaType.privateEndpoint(),
                privateEndpointIp = javaType.privateEndpointIp(),
                privateEndpointLabel = javaType.privateEndpointLabel(),
                refreshableMode = javaType.refreshableMode(),
                refreshableState = javaType.refreshableState(),
                role = javaType.role(),
                scheduledOperationDetails = javaType.scheduledOperationDetails().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.oracledatabase.kotlin.outputs.GetAutonomousDatabasesAutonomousDatabasePropertyScheduledOperationDetail.Companion.toKotlin(args0)
                    })
                }),
                sqlWebDeveloperUrl = javaType.sqlWebDeveloperUrl(),
                state = javaType.state(),
                supportedCloneRegions = javaType.supportedCloneRegions().map({ args0 -> args0 }),
                totalAutoBackupStorageSizeGbs = javaType.totalAutoBackupStorageSizeGbs(),
                usedDataStorageSizeTbs = javaType.usedDataStorageSizeTbs(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy