com.pulumi.gcp.oracledatabase.kotlin.outputs.AutonomousDatabasePropertiesLocalStandbyDb.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.oracledatabase.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property dataGuardRoleChangedTime The date and time the Autonomous Data Guard role was switched for the
* standby Autonomous Database.
* @property disasterRecoveryRoleChangedTime The date and time the Disaster Recovery role was switched for the standby
* Autonomous Database.
* @property lagTimeDuration The amount of time, in seconds, that the data of the standby database lags
* in comparison to the data of the primary database.
* @property lifecycleDetails The additional details about the current lifecycle state of 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
*/
public data class AutonomousDatabasePropertiesLocalStandbyDb(
public val dataGuardRoleChangedTime: String? = null,
public val disasterRecoveryRoleChangedTime: String? = null,
public val lagTimeDuration: String? = null,
public val lifecycleDetails: String? = null,
public val state: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.oracledatabase.outputs.AutonomousDatabasePropertiesLocalStandbyDb): AutonomousDatabasePropertiesLocalStandbyDb = AutonomousDatabasePropertiesLocalStandbyDb(
dataGuardRoleChangedTime = javaType.dataGuardRoleChangedTime().map({ args0 -> args0 }).orElse(null),
disasterRecoveryRoleChangedTime = javaType.disasterRecoveryRoleChangedTime().map({ args0 ->
args0
}).orElse(null),
lagTimeDuration = javaType.lagTimeDuration().map({ args0 -> args0 }).orElse(null),
lifecycleDetails = javaType.lifecycleDetails().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy