Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.oracledatabase.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.oracledatabase.inputs.AutonomousDatabasePropertiesArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property actualUsedDataStorageSizeTb (Output)
* The amount of storage currently being used for user and system data, in
* terabytes.
* @property allocatedStorageSizeTb (Output)
* The amount of storage currently allocated for the database tables and
* billed for, rounded up in terabytes.
* @property apexDetails (Output)
* Oracle APEX Application Development.
* https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex
* Structure is documented below.
* @property arePrimaryAllowlistedIpsUsed (Output)
* 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 (Output)
* The Autonomous Container Database OCID.
* @property availableUpgradeVersions (Output)
* 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 (Output)
* The connection string used to connect to the Autonomous Database.
* https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseConnectionStrings
* Structure is documented below.
* @property connectionUrls (Output)
* 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
* Structure is documented below.
* @property customerContacts The list of customer contacts.
* Structure is documented below.
* @property dataSafeState (Output)
* 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 (Output)
* 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 (Output)
* 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 (Output)
* 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 (Output)
* The details of the current lifestyle state of the Autonomous Database.
* @property localAdgAutoFailoverMaxDataLossLimit (Output)
* This field indicates the maximum data loss limit for an Autonomous
* Database, in seconds.
* @property localDisasterRecoveryType (Output)
* 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 (Output)
* Autonomous Data Guard standby database details.
* https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary
* Structure is documented below.
* @property maintenanceBeginTime (Output)
* The date and time when maintenance will begin.
* @property maintenanceEndTime (Output)
* 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 (Output)
* The amount of memory enabled per ECPU, in gigabytes.
* @property memoryTableGbs (Output)
* 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 (Output)
* The long term backup schedule of the Autonomous Database.
* @property ociUrl (Output)
* The Oracle Cloud Infrastructure link for the Autonomous Database.
* @property ocid (Output)
* OCID of the Autonomous Database.
* https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
* @property openMode (Output)
* 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 (Output)
* The list of OCIDs of standby databases located in Autonomous Data Guard
* remote regions that are associated with the source database.
* @property permissionLevel (Output)
* The permission level of the Autonomous Database.
* Possible values:
* PERMISSION_LEVEL_UNSPECIFIED
* RESTRICTED
* UNRESTRICTED
* @property privateEndpoint (Output)
* 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 (Output)
* The refresh mode of the cloned Autonomous Database.
* Possible values:
* REFRESHABLE_MODE_UNSPECIFIED
* AUTOMATIC
* MANUAL
* @property refreshableState (Output)
* The refresh State of the clone.
* Possible values:
* REFRESHABLE_STATE_UNSPECIFIED
* REFRESHING
* NOT_REFRESHING
* @property role (Output)
* The Data Guard role of the Autonomous Database.
* Possible values:
* ROLE_UNSPECIFIED
* PRIMARY
* STANDBY
* DISABLED_STANDBY
* BACKUP_COPY
* SNAPSHOT_STANDBY
* @property scheduledOperationDetails (Output)
* The list and details of the scheduled operations of the Autonomous
* Database.
* Structure is documented below.
* @property sqlWebDeveloperUrl (Output)
* The SQL Web Developer URL for the Autonomous Database.
* @property state (Output)
* 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 (Output)
* The list of available regions that can be used to create a clone for the
* Autonomous Database.
* @property totalAutoBackupStorageSizeGbs (Output)
* The storage space used by automatic backups of Autonomous Database, in
* gigabytes.
* @property usedDataStorageSizeTbs (Output)
* The storage space used by Autonomous Database, in gigabytes.
*/
public data class AutonomousDatabasePropertiesArgs(
public val actualUsedDataStorageSizeTb: Output? = null,
public val allocatedStorageSizeTb: Output? = null,
public val apexDetails: Output>? = null,
public val arePrimaryAllowlistedIpsUsed: Output? = null,
public val autonomousContainerDatabaseId: Output? = null,
public val availableUpgradeVersions: Output>? = null,
public val backupRetentionPeriodDays: Output? = null,
public val characterSet: Output? = null,
public val computeCount: Output? = null,
public val connectionStrings: Output>? =
null,
public val connectionUrls: Output>? = null,
public val customerContacts: Output>? =
null,
public val dataSafeState: Output? = null,
public val dataStorageSizeGb: Output? = null,
public val dataStorageSizeTb: Output? = null,
public val databaseManagementState: Output? = null,
public val dbEdition: Output? = null,
public val dbVersion: Output? = null,
public val dbWorkload: Output,
public val failedDataRecoveryDuration: Output? = null,
public val isAutoScalingEnabled: Output? = null,
public val isLocalDataGuardEnabled: Output? = null,
public val isStorageAutoScalingEnabled: Output? = null,
public val licenseType: Output,
public val lifecycleDetails: Output? = null,
public val localAdgAutoFailoverMaxDataLossLimit: Output? = null,
public val localDisasterRecoveryType: Output? = null,
public val localStandbyDbs: Output>? = null,
public val maintenanceBeginTime: Output? = null,
public val maintenanceEndTime: Output? = null,
public val maintenanceScheduleType: Output? = null,
public val memoryPerOracleComputeUnitGbs: Output? = null,
public val memoryTableGbs: Output? = null,
public val mtlsConnectionRequired: Output? = null,
public val nCharacterSet: Output? = null,
public val nextLongTermBackupTime: Output? = null,
public val ociUrl: Output? = null,
public val ocid: Output? = null,
public val openMode: Output? = null,
public val operationsInsightsState: Output? = null,
public val peerDbIds: Output>? = null,
public val permissionLevel: Output? = null,
public val privateEndpoint: Output? = null,
public val privateEndpointIp: Output? = null,
public val privateEndpointLabel: Output? = null,
public val refreshableMode: Output? = null,
public val refreshableState: Output? = null,
public val role: Output? = null,
public val scheduledOperationDetails: Output>? = null,
public val sqlWebDeveloperUrl: Output? = null,
public val state: Output? = null,
public val supportedCloneRegions: Output>? = null,
public val totalAutoBackupStorageSizeGbs: Output? = null,
public val usedDataStorageSizeTbs: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.oracledatabase.inputs.AutonomousDatabasePropertiesArgs =
com.pulumi.gcp.oracledatabase.inputs.AutonomousDatabasePropertiesArgs.builder()
.actualUsedDataStorageSizeTb(actualUsedDataStorageSizeTb?.applyValue({ args0 -> args0 }))
.allocatedStorageSizeTb(allocatedStorageSizeTb?.applyValue({ args0 -> args0 }))
.apexDetails(
apexDetails?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.arePrimaryAllowlistedIpsUsed(arePrimaryAllowlistedIpsUsed?.applyValue({ args0 -> args0 }))
.autonomousContainerDatabaseId(autonomousContainerDatabaseId?.applyValue({ args0 -> args0 }))
.availableUpgradeVersions(
availableUpgradeVersions?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.backupRetentionPeriodDays(backupRetentionPeriodDays?.applyValue({ args0 -> args0 }))
.characterSet(characterSet?.applyValue({ args0 -> args0 }))
.computeCount(computeCount?.applyValue({ args0 -> args0 }))
.connectionStrings(
connectionStrings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.connectionUrls(
connectionUrls?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.customerContacts(
customerContacts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.dataSafeState(dataSafeState?.applyValue({ args0 -> args0 }))
.dataStorageSizeGb(dataStorageSizeGb?.applyValue({ args0 -> args0 }))
.dataStorageSizeTb(dataStorageSizeTb?.applyValue({ args0 -> args0 }))
.databaseManagementState(databaseManagementState?.applyValue({ args0 -> args0 }))
.dbEdition(dbEdition?.applyValue({ args0 -> args0 }))
.dbVersion(dbVersion?.applyValue({ args0 -> args0 }))
.dbWorkload(dbWorkload.applyValue({ args0 -> args0 }))
.failedDataRecoveryDuration(failedDataRecoveryDuration?.applyValue({ args0 -> args0 }))
.isAutoScalingEnabled(isAutoScalingEnabled?.applyValue({ args0 -> args0 }))
.isLocalDataGuardEnabled(isLocalDataGuardEnabled?.applyValue({ args0 -> args0 }))
.isStorageAutoScalingEnabled(isStorageAutoScalingEnabled?.applyValue({ args0 -> args0 }))
.licenseType(licenseType.applyValue({ args0 -> args0 }))
.lifecycleDetails(lifecycleDetails?.applyValue({ args0 -> args0 }))
.localAdgAutoFailoverMaxDataLossLimit(
localAdgAutoFailoverMaxDataLossLimit?.applyValue({ args0 ->
args0
}),
)
.localDisasterRecoveryType(localDisasterRecoveryType?.applyValue({ args0 -> args0 }))
.localStandbyDbs(
localStandbyDbs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.maintenanceBeginTime(maintenanceBeginTime?.applyValue({ args0 -> args0 }))
.maintenanceEndTime(maintenanceEndTime?.applyValue({ args0 -> args0 }))
.maintenanceScheduleType(maintenanceScheduleType?.applyValue({ args0 -> args0 }))
.memoryPerOracleComputeUnitGbs(memoryPerOracleComputeUnitGbs?.applyValue({ args0 -> args0 }))
.memoryTableGbs(memoryTableGbs?.applyValue({ args0 -> args0 }))
.mtlsConnectionRequired(mtlsConnectionRequired?.applyValue({ args0 -> args0 }))
.nCharacterSet(nCharacterSet?.applyValue({ args0 -> args0 }))
.nextLongTermBackupTime(nextLongTermBackupTime?.applyValue({ args0 -> args0 }))
.ociUrl(ociUrl?.applyValue({ args0 -> args0 }))
.ocid(ocid?.applyValue({ args0 -> args0 }))
.openMode(openMode?.applyValue({ args0 -> args0 }))
.operationsInsightsState(operationsInsightsState?.applyValue({ args0 -> args0 }))
.peerDbIds(peerDbIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.permissionLevel(permissionLevel?.applyValue({ args0 -> args0 }))
.privateEndpoint(privateEndpoint?.applyValue({ args0 -> args0 }))
.privateEndpointIp(privateEndpointIp?.applyValue({ args0 -> args0 }))
.privateEndpointLabel(privateEndpointLabel?.applyValue({ args0 -> args0 }))
.refreshableMode(refreshableMode?.applyValue({ args0 -> args0 }))
.refreshableState(refreshableState?.applyValue({ args0 -> args0 }))
.role(role?.applyValue({ args0 -> args0 }))
.scheduledOperationDetails(
scheduledOperationDetails?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.sqlWebDeveloperUrl(sqlWebDeveloperUrl?.applyValue({ args0 -> args0 }))
.state(state?.applyValue({ args0 -> args0 }))
.supportedCloneRegions(supportedCloneRegions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.totalAutoBackupStorageSizeGbs(totalAutoBackupStorageSizeGbs?.applyValue({ args0 -> args0 }))
.usedDataStorageSizeTbs(usedDataStorageSizeTbs?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AutonomousDatabasePropertiesArgs].
*/
@PulumiTagMarker
public class AutonomousDatabasePropertiesArgsBuilder internal constructor() {
private var actualUsedDataStorageSizeTb: Output? = null
private var allocatedStorageSizeTb: Output? = null
private var apexDetails: Output>? = null
private var arePrimaryAllowlistedIpsUsed: Output? = null
private var autonomousContainerDatabaseId: Output? = null
private var availableUpgradeVersions: Output>? = null
private var backupRetentionPeriodDays: Output? = null
private var characterSet: Output? = null
private var computeCount: Output? = null
private var connectionStrings: Output>? =
null
private var connectionUrls: Output>? = null
private var customerContacts: Output>? =
null
private var dataSafeState: Output? = null
private var dataStorageSizeGb: Output? = null
private var dataStorageSizeTb: Output? = null
private var databaseManagementState: Output? = null
private var dbEdition: Output? = null
private var dbVersion: Output? = null
private var dbWorkload: Output? = null
private var failedDataRecoveryDuration: Output? = null
private var isAutoScalingEnabled: Output? = null
private var isLocalDataGuardEnabled: Output? = null
private var isStorageAutoScalingEnabled: Output? = null
private var licenseType: Output? = null
private var lifecycleDetails: Output? = null
private var localAdgAutoFailoverMaxDataLossLimit: Output? = null
private var localDisasterRecoveryType: Output? = null
private var localStandbyDbs: Output>? = null
private var maintenanceBeginTime: Output? = null
private var maintenanceEndTime: Output? = null
private var maintenanceScheduleType: Output? = null
private var memoryPerOracleComputeUnitGbs: Output? = null
private var memoryTableGbs: Output? = null
private var mtlsConnectionRequired: Output? = null
private var nCharacterSet: Output? = null
private var nextLongTermBackupTime: Output? = null
private var ociUrl: Output? = null
private var ocid: Output? = null
private var openMode: Output? = null
private var operationsInsightsState: Output? = null
private var peerDbIds: Output>? = null
private var permissionLevel: Output? = null
private var privateEndpoint: Output? = null
private var privateEndpointIp: Output? = null
private var privateEndpointLabel: Output? = null
private var refreshableMode: Output? = null
private var refreshableState: Output? = null
private var role: Output? = null
private var scheduledOperationDetails:
Output>? = null
private var sqlWebDeveloperUrl: Output? = null
private var state: Output? = null
private var supportedCloneRegions: Output>? = null
private var totalAutoBackupStorageSizeGbs: Output? = null
private var usedDataStorageSizeTbs: Output? = null
/**
* @param value (Output)
* The amount of storage currently being used for user and system data, in
* terabytes.
*/
@JvmName("knbkksbtpghuvbvw")
public suspend fun actualUsedDataStorageSizeTb(`value`: Output) {
this.actualUsedDataStorageSizeTb = value
}
/**
* @param value (Output)
* The amount of storage currently allocated for the database tables and
* billed for, rounded up in terabytes.
*/
@JvmName("lchhhomlqetbxito")
public suspend fun allocatedStorageSizeTb(`value`: Output) {
this.allocatedStorageSizeTb = value
}
/**
* @param value (Output)
* Oracle APEX Application Development.
* https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex
* Structure is documented below.
*/
@JvmName("mlwjmkfaddklrqum")
public suspend fun apexDetails(`value`: Output>) {
this.apexDetails = value
}
@JvmName("yiewkrmrmevpwemb")
public suspend fun apexDetails(vararg values: Output) {
this.apexDetails = Output.all(values.asList())
}
/**
* @param values (Output)
* Oracle APEX Application Development.
* https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseApex
* Structure is documented below.
*/
@JvmName("tqbblkstpjewkkxl")
public suspend fun apexDetails(values: List