com.pulumi.gcp.netapp.kotlin.outputs.VolumeReplicationTransferStat.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.netapp.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property lagDuration (Output)
* The elapsed time since the creation of the snapshot on the source volume that was last replicated
* to the destination volume. Lag time represents the difference in age of the destination volume
* data in relation to the source volume data.
* @property lastTransferBytes (Output)
* Size of last completed transfer in bytes.
* @property lastTransferDuration (Output)
* Time taken during last completed transfer.
* @property lastTransferEndTime (Output)
* Time when last transfer completed. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
* @property lastTransferError (Output)
* A message describing the cause of the last transfer failure.
* @property totalTransferDuration (Output)
* Total time taken so far during current transfer.
* @property transferBytes (Output)
* Number of bytes transferred so far in current transfer.
* @property updateTime (Output)
* Time when progress was updated last. A timestamp in RFC3339 UTC "Zulu" format. Examples: "2023-06-22T09:13:01.617Z".
*/
public data class VolumeReplicationTransferStat(
public val lagDuration: String? = null,
public val lastTransferBytes: String? = null,
public val lastTransferDuration: String? = null,
public val lastTransferEndTime: String? = null,
public val lastTransferError: String? = null,
public val totalTransferDuration: String? = null,
public val transferBytes: String? = null,
public val updateTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.netapp.outputs.VolumeReplicationTransferStat): VolumeReplicationTransferStat = VolumeReplicationTransferStat(
lagDuration = javaType.lagDuration().map({ args0 -> args0 }).orElse(null),
lastTransferBytes = javaType.lastTransferBytes().map({ args0 -> args0 }).orElse(null),
lastTransferDuration = javaType.lastTransferDuration().map({ args0 -> args0 }).orElse(null),
lastTransferEndTime = javaType.lastTransferEndTime().map({ args0 -> args0 }).orElse(null),
lastTransferError = javaType.lastTransferError().map({ args0 -> args0 }).orElse(null),
totalTransferDuration = javaType.totalTransferDuration().map({ args0 -> args0 }).orElse(null),
transferBytes = javaType.transferBytes().map({ args0 -> args0 }).orElse(null),
updateTime = javaType.updateTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy